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 WXRCEDIT_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 -I.\..\..\include $(__RTTIFLAG_5) $(__EXCEPTIONSFLAG_6) \
27 -Wno-ctor-dtor-privacy $(CPPFLAGS) $(CXXFLAGS)
29 $(OBJS)\wxrcedit_edapp.o \
30 $(OBJS)\wxrcedit_editor.o \
31 $(OBJS)\wxrcedit_nodehnd.o \
32 $(OBJS)\wxrcedit_nodesdb.o \
33 $(OBJS)\wxrcedit_pe_adv.o \
34 $(OBJS)\wxrcedit_pe_basic.o \
35 $(OBJS)\wxrcedit_preview.o \
36 $(OBJS)\wxrcedit_propedit.o \
37 $(OBJS)\wxrcedit_propframe.o \
38 $(OBJS)\wxrcedit_splittree.o \
39 $(OBJS)\wxrcedit_xmlhelpr.o \
40 $(OBJS)\wxrcedit_wxrcedit_rc.o
42 ### Conditionally set variables: ###
44 ifeq ($(GCC_VERSION),2.95)
45 GCCFLAGS = -fvtable-thunks
54 ifeq ($(DEBUG_FLAG),default)
58 ifeq ($(DEBUG_FLAG),1)
76 ifeq ($(MONOLITHIC),0)
79 ifeq ($(MONOLITHIC),1)
83 __OPTIMIZEFLAG_2 = -O0
85 ifeq ($(BUILD),release)
86 __OPTIMIZEFLAG_2 = -O2
89 __RTTIFLAG_5 = -fno-rtti
94 ifeq ($(USE_EXCEPTIONS),0)
95 __EXCEPTIONSFLAG_6 = -fno-exceptions
97 ifeq ($(USE_EXCEPTIONS),1)
101 __WXUNIV_DEFINE_p = -D__WXUNIVERSAL__
104 __WXUNIV_DEFINE_p_1 = --define __WXUNIVERSAL__
106 ifeq ($(BUILD),debug)
107 ifeq ($(DEBUG_FLAG),default)
108 __DEBUG_DEFINE_p = -D__WXDEBUG__
111 ifeq ($(DEBUG_FLAG),1)
112 __DEBUG_DEFINE_p = -D__WXDEBUG__
114 ifeq ($(BUILD),debug)
115 ifeq ($(DEBUG_FLAG),default)
116 __DEBUG_DEFINE_p_1 = --define __WXDEBUG__
119 ifeq ($(DEBUG_FLAG),1)
120 __DEBUG_DEFINE_p_1 = --define __WXDEBUG__
122 ifeq ($(USE_EXCEPTIONS),0)
123 __EXCEPTIONS_DEFINE_p = -DwxNO_EXCEPTIONS
125 ifeq ($(USE_EXCEPTIONS),0)
126 __EXCEPTIONS_DEFINE_p_1 = --define wxNO_EXCEPTIONS
129 __RTTI_DEFINE_p = -DwxNO_RTTI
132 __RTTI_DEFINE_p_1 = --define wxNO_RTTI
134 ifeq ($(USE_THREADS),0)
135 __THREAD_DEFINE_p = -DwxNO_THREADS
137 ifeq ($(USE_THREADS),0)
138 __THREAD_DEFINE_p_1 = --define wxNO_THREADS
141 __UNICODE_DEFINE_p = -D_UNICODE
144 __UNICODE_DEFINE_p_1 = --define _UNICODE
147 __DLLFLAG_p = -DWXUSINGDLL
150 __DLLFLAG_p_1 = --define WXUSINGDLL
152 ifeq ($(MONOLITHIC),0)
154 -lwx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_xrc
156 ifeq ($(MONOLITHIC),0)
158 -lwx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_adv
160 ifeq ($(MONOLITHIC),0)
162 -lwx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_html
164 ifeq ($(MONOLITHIC),0)
166 -lwx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_core
168 ifeq ($(MONOLITHIC),0)
170 -lwxbase$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_xml
172 ifeq ($(MONOLITHIC),0)
174 -lwxbase$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)
176 ifeq ($(MONOLITHIC),1)
178 -lwx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)
181 __LIB_TIFF_p = -lwxtiff$(WXDEBUGFLAG)
184 __LIB_JPEG_p = -lwxjpeg$(WXDEBUGFLAG)
187 __LIB_PNG_p = -lwxpng$(WXDEBUGFLAG)
190 __UNICOWS_LIB_p = -lunicows
192 ifeq ($(BUILD),debug)
193 ifeq ($(DEBUG_INFO),default)
197 ifeq ($(BUILD),release)
198 ifeq ($(DEBUG_INFO),default)
202 ifeq ($(DEBUG_INFO),0)
205 ifeq ($(DEBUG_INFO),1)
208 ifeq ($(USE_THREADS),0)
211 ifeq ($(USE_THREADS),1)
212 __THREADSFLAG = -mthreads
218 -if not exist $(OBJS) mkdir $(OBJS)
222 all: $(OBJS)\wxrcedit.exe
225 -if exist $(OBJS)\*.o del $(OBJS)\*.o
226 -if exist $(OBJS)\wxrcedit.exe del $(OBJS)\wxrcedit.exe
228 $(OBJS)\wxrcedit.exe: $(WXRCEDIT_OBJECTS) $(OBJS)\wxrcedit_wxrcedit_rc.o
229 $(CXX) -o $@ $(WXRCEDIT_OBJECTS) $(LDFLAGS) $(__DEBUGINFO) $(__THREADSFLAG) -L$(LIBDIRNAME) -Wl,--subsystem,windows -mwindows $(__WXLIB_XRC_p) $(__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 $(OBJS)\wxrcedit_edapp.o: ./edapp.cpp
232 $(CXX) -c -o $@ $(WXRCEDIT_CXXFLAGS) $<
234 $(OBJS)\wxrcedit_editor.o: ./editor.cpp
235 $(CXX) -c -o $@ $(WXRCEDIT_CXXFLAGS) $<
237 $(OBJS)\wxrcedit_nodehnd.o: ./nodehnd.cpp
238 $(CXX) -c -o $@ $(WXRCEDIT_CXXFLAGS) $<
240 $(OBJS)\wxrcedit_nodesdb.o: ./nodesdb.cpp
241 $(CXX) -c -o $@ $(WXRCEDIT_CXXFLAGS) $<
243 $(OBJS)\wxrcedit_pe_adv.o: ./pe_adv.cpp
244 $(CXX) -c -o $@ $(WXRCEDIT_CXXFLAGS) $<
246 $(OBJS)\wxrcedit_pe_basic.o: ./pe_basic.cpp
247 $(CXX) -c -o $@ $(WXRCEDIT_CXXFLAGS) $<
249 $(OBJS)\wxrcedit_preview.o: ./preview.cpp
250 $(CXX) -c -o $@ $(WXRCEDIT_CXXFLAGS) $<
252 $(OBJS)\wxrcedit_propedit.o: ./propedit.cpp
253 $(CXX) -c -o $@ $(WXRCEDIT_CXXFLAGS) $<
255 $(OBJS)\wxrcedit_propframe.o: ./propframe.cpp
256 $(CXX) -c -o $@ $(WXRCEDIT_CXXFLAGS) $<
258 $(OBJS)\wxrcedit_splittree.o: ./splittree.cpp
259 $(CXX) -c -o $@ $(WXRCEDIT_CXXFLAGS) $<
261 $(OBJS)\wxrcedit_xmlhelpr.o: ./xmlhelpr.cpp
262 $(CXX) -c -o $@ $(WXRCEDIT_CXXFLAGS) $<
264 $(OBJS)\wxrcedit_wxrcedit_rc.o: ./wxrcedit.rc
265 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 --define NOPCH --include-dir ./../../include