1 # =========================================================================
2 # This makefile was generated by
3 # Bakefile 0.1.8 (http://bakefile.sourceforge.net)
4 # Do not modify, all changes will be overwritten!
5 # =========================================================================
7 include ../../../build/msw/config.gcc
9 # -------------------------------------------------------------------------
10 # Do not modify the rest of this file!
11 # -------------------------------------------------------------------------
17 gcc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)
18 LIBDIRNAME = .\..\..\..\lib\gcc_$(LIBTYPE_SUFFIX)$(CFG)
20 $(LIBDIRNAME)\$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)
21 WXCONFIGTOOL_CXXFLAGS = $(__DEBUGINFO) $(__OPTIMIZEFLAG_2) $(__THREADSFLAG) \
22 $(GCCFLAGS) -DHAVE_W32API_H -D__WXMSW__ $(__WXUNIV_DEFINE_p) \
23 $(__DEBUG_DEFINE_p) $(__EXCEPTIONS_DEFINE_p) $(__RTTI_DEFINE_p) \
24 $(__THREAD_DEFINE_p) $(__UNICODE_DEFINE_p) -I.\..\..\..\include \
25 -I$(SETUPHDIR) -W -Wall -I. $(__DLLFLAG_p) -I.\..\..\..\samples -DNOPCH \
26 $(__RTTIFLAG_5) $(__EXCEPTIONSFLAG_6) -Wno-ctor-dtor-privacy $(CPPFLAGS) \
28 WXCONFIGTOOL_OBJECTS = \
29 $(OBJS)\wxconfigtool_sample_rc.o \
30 $(OBJS)\wxconfigtool_wxconfigtool.o \
31 $(OBJS)\wxconfigtool_appsettings.o \
32 $(OBJS)\wxconfigtool_configitem.o \
33 $(OBJS)\wxconfigtool_configitemselector.o \
34 $(OBJS)\wxconfigtool_configtooldoc.o \
35 $(OBJS)\wxconfigtool_configtoolview.o \
36 $(OBJS)\wxconfigtool_configtree.o \
37 $(OBJS)\wxconfigtool_custompropertydialog.o \
38 $(OBJS)\wxconfigtool_htmlparser.o \
39 $(OBJS)\wxconfigtool_mainframe.o \
40 $(OBJS)\wxconfigtool_propeditor.o \
41 $(OBJS)\wxconfigtool_property.o \
42 $(OBJS)\wxconfigtool_settingsdialog.o \
43 $(OBJS)\wxconfigtool_utils.o
45 ### Conditionally set variables: ###
47 ifeq ($(GCC_VERSION),2.95)
48 GCCFLAGS = -fvtable-thunks
57 ifeq ($(DEBUG_FLAG),default)
61 ifeq ($(DEBUG_FLAG),1)
79 ifeq ($(MONOLITHIC),0)
82 ifeq ($(MONOLITHIC),1)
86 __OPTIMIZEFLAG_2 = -O0
88 ifeq ($(BUILD),release)
89 __OPTIMIZEFLAG_2 = -O2
92 __RTTIFLAG_5 = -fno-rtti
97 ifeq ($(USE_EXCEPTIONS),0)
98 __EXCEPTIONSFLAG_6 = -fno-exceptions
100 ifeq ($(USE_EXCEPTIONS),1)
104 __WXUNIV_DEFINE_p = -D__WXUNIVERSAL__
107 __WXUNIV_DEFINE_p_1 = --define __WXUNIVERSAL__
109 ifeq ($(BUILD),debug)
110 ifeq ($(DEBUG_FLAG),default)
111 __DEBUG_DEFINE_p = -D__WXDEBUG__
114 ifeq ($(DEBUG_FLAG),1)
115 __DEBUG_DEFINE_p = -D__WXDEBUG__
117 ifeq ($(BUILD),debug)
118 ifeq ($(DEBUG_FLAG),default)
119 __DEBUG_DEFINE_p_1 = --define __WXDEBUG__
122 ifeq ($(DEBUG_FLAG),1)
123 __DEBUG_DEFINE_p_1 = --define __WXDEBUG__
125 ifeq ($(USE_EXCEPTIONS),0)
126 __EXCEPTIONS_DEFINE_p = -DwxNO_EXCEPTIONS
128 ifeq ($(USE_EXCEPTIONS),0)
129 __EXCEPTIONS_DEFINE_p_1 = --define wxNO_EXCEPTIONS
132 __RTTI_DEFINE_p = -DwxNO_RTTI
135 __RTTI_DEFINE_p_1 = --define wxNO_RTTI
137 ifeq ($(USE_THREADS),0)
138 __THREAD_DEFINE_p = -DwxNO_THREADS
140 ifeq ($(USE_THREADS),0)
141 __THREAD_DEFINE_p_1 = --define wxNO_THREADS
144 __UNICODE_DEFINE_p = -D_UNICODE
147 __UNICODE_DEFINE_p_1 = --define _UNICODE
150 __DLLFLAG_p = -DWXUSINGDLL
153 __DLLFLAG_p_1 = --define WXUSINGDLL
155 ifeq ($(MONOLITHIC),0)
157 -lwx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_adv
159 ifeq ($(MONOLITHIC),0)
161 -lwx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_html
163 ifeq ($(MONOLITHIC),0)
165 -lwx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_core
167 ifeq ($(MONOLITHIC),0)
169 -lwxbase$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_xml
171 ifeq ($(MONOLITHIC),0)
173 -lwxbase$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)
175 ifeq ($(MONOLITHIC),1)
177 -lwx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)
180 __LIB_TIFF_p = -lwxtiff$(WXDEBUGFLAG)
183 __LIB_JPEG_p = -lwxjpeg$(WXDEBUGFLAG)
186 __LIB_PNG_p = -lwxpng$(WXDEBUGFLAG)
189 __UNICOWS_LIB_p = -lunicows
191 ifeq ($(BUILD),debug)
192 ifeq ($(DEBUG_INFO),default)
196 ifeq ($(BUILD),release)
197 ifeq ($(DEBUG_INFO),default)
201 ifeq ($(DEBUG_INFO),0)
204 ifeq ($(DEBUG_INFO),1)
207 ifeq ($(USE_THREADS),0)
210 ifeq ($(USE_THREADS),1)
211 __THREADSFLAG = -mthreads
217 -if not exist $(OBJS) mkdir $(OBJS)
221 all: $(OBJS)\wxconfigtool.exe data
224 -if exist $(OBJS)\*.o del $(OBJS)\*.o
225 -if exist $(OBJS)\wxconfigtool.exe del $(OBJS)\wxconfigtool.exe
227 $(OBJS)\wxconfigtool.exe: $(WXCONFIGTOOL_OBJECTS) $(OBJS)\wxconfigtool_sample_rc.o
228 $(CXX) -o $@ $(WXCONFIGTOOL_OBJECTS) $(LDFLAGS) $(__DEBUGINFO) $(__THREADSFLAG) -L$(LIBDIRNAME) -Wl,--subsystem,windows -mwindows $(__WXLIB_ADV_p) $(__WXLIB_HTML_p) $(__WXLIB_CORE_p) $(__WXLIB_XML_p) $(__WXLIB_BASE_p) $(__WXLIB_MONO_p) $(__LIB_TIFF_p) $(__LIB_JPEG_p) $(__LIB_PNG_p) -lwxzlib$(WXDEBUGFLAG) -lwxregex$(WXUNICODEFLAG)$(WXDEBUGFLAG) -lwxexpat$(WXDEBUGFLAG) $(EXTRALIBS_FOR_BASE) $(__UNICOWS_LIB_p) -lkernel32 -luser32 -lgdi32 -lcomdlg32 -lwinspool -lwinmm -lshell32 -lcomctl32 -lole32 -loleaut32 -luuid -lrpcrt4 -ladvapi32 -lwsock32 -lodbc32
231 if not exist $(OBJS) mkdir $(OBJS)
232 for %%f in (wxwin250.wxs) do if not exist $(OBJS)\%%f copy .\..\configs\%%f $(OBJS)
234 $(OBJS)\wxconfigtool_sample_rc.o: ./../../../samples/sample.rc
235 windres --use-temp-file -i$< -o$@ --define __WXMSW__ $(__WXUNIV_DEFINE_p_1) $(__DEBUG_DEFINE_p_1) $(__EXCEPTIONS_DEFINE_p_1) $(__RTTI_DEFINE_p_1) $(__THREAD_DEFINE_p_1) $(__UNICODE_DEFINE_p_1) --include-dir ./../../../include --include-dir $(SETUPHDIR) --include-dir . $(__DLLFLAG_p_1) --include-dir ./../../../samples
237 $(OBJS)\wxconfigtool_wxconfigtool.o: ./wxconfigtool.cpp
238 $(CXX) -c -o $@ $(WXCONFIGTOOL_CXXFLAGS) $<
240 $(OBJS)\wxconfigtool_appsettings.o: ./appsettings.cpp
241 $(CXX) -c -o $@ $(WXCONFIGTOOL_CXXFLAGS) $<
243 $(OBJS)\wxconfigtool_configitem.o: ./configitem.cpp
244 $(CXX) -c -o $@ $(WXCONFIGTOOL_CXXFLAGS) $<
246 $(OBJS)\wxconfigtool_configitemselector.o: ./configitemselector.cpp
247 $(CXX) -c -o $@ $(WXCONFIGTOOL_CXXFLAGS) $<
249 $(OBJS)\wxconfigtool_configtooldoc.o: ./configtooldoc.cpp
250 $(CXX) -c -o $@ $(WXCONFIGTOOL_CXXFLAGS) $<
252 $(OBJS)\wxconfigtool_configtoolview.o: ./configtoolview.cpp
253 $(CXX) -c -o $@ $(WXCONFIGTOOL_CXXFLAGS) $<
255 $(OBJS)\wxconfigtool_configtree.o: ./configtree.cpp
256 $(CXX) -c -o $@ $(WXCONFIGTOOL_CXXFLAGS) $<
258 $(OBJS)\wxconfigtool_custompropertydialog.o: ./custompropertydialog.cpp
259 $(CXX) -c -o $@ $(WXCONFIGTOOL_CXXFLAGS) $<
261 $(OBJS)\wxconfigtool_htmlparser.o: ./htmlparser.cpp
262 $(CXX) -c -o $@ $(WXCONFIGTOOL_CXXFLAGS) $<
264 $(OBJS)\wxconfigtool_mainframe.o: ./mainframe.cpp
265 $(CXX) -c -o $@ $(WXCONFIGTOOL_CXXFLAGS) $<
267 $(OBJS)\wxconfigtool_propeditor.o: ./propeditor.cpp
268 $(CXX) -c -o $@ $(WXCONFIGTOOL_CXXFLAGS) $<
270 $(OBJS)\wxconfigtool_property.o: ./property.cpp
271 $(CXX) -c -o $@ $(WXCONFIGTOOL_CXXFLAGS) $<
273 $(OBJS)\wxconfigtool_settingsdialog.o: ./settingsdialog.cpp
274 $(CXX) -c -o $@ $(WXCONFIGTOOL_CXXFLAGS) $<
276 $(OBJS)\wxconfigtool_utils.o: ./utils.cpp
277 $(CXX) -c -o $@ $(WXCONFIGTOOL_CXXFLAGS) $<
279 .PHONY: all clean data