1 # =========================================================================
2 # This makefile was generated by
3 # Bakefile 0.1.3 (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 # -------------------------------------------------------------------------
16 gcc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)
18 $(LIBDIRNAME)\$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)
19 WXRCEDIT_CXXFLAGS = $(__DEBUGINFO) $(__OPTIMIZEFLAG_2) $(GCCFLAGS) \
20 -DHAVE_W32API_H -D__WXMSW__ $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) \
21 $(__UNICODE_DEFINE_p) -I.\..\..\..\include -I$(SETUPHDIR) -Wall -I. \
22 $(__DLLFLAG_p) -I.\..\..\..\samples -I.\..\..\include $(__EXCEPTIONSFLAG_4) \
23 $(__EXCEPTIONSFLAG_5) $(CPPFLAGS) $(CXXFLAGS)
25 $(OBJS)\wxrcedit_edapp.o \
26 $(OBJS)\wxrcedit_editor.o \
27 $(OBJS)\wxrcedit_nodehnd.o \
28 $(OBJS)\wxrcedit_nodesdb.o \
29 $(OBJS)\wxrcedit_pe_adv.o \
30 $(OBJS)\wxrcedit_pe_basic.o \
31 $(OBJS)\wxrcedit_preview.o \
32 $(OBJS)\wxrcedit_propedit.o \
33 $(OBJS)\wxrcedit_propframe.o \
34 $(OBJS)\wxrcedit_splittree.o \
35 $(OBJS)\wxrcedit_xmlhelpr.o \
36 $(OBJS)\wxrcedit_wxrcedit_rc.o
38 ### Conditionally set variables: ###
40 ifeq ($(GCC_VERSION),2.95)
41 GCCFLAGS = -fvtable-thunks
50 ifeq ($(DEBUG_FLAG),default)
54 ifeq ($(DEBUG_FLAG),1)
67 __OPTIMIZEFLAG_2 = -O0
69 ifeq ($(BUILD),release)
70 __OPTIMIZEFLAG_2 = -O2
72 ifeq ($(USE_EXCEPTIONS),0)
73 __EXCEPTIONSFLAG_4 = -fno-rtti
75 ifeq ($(USE_EXCEPTIONS),1)
78 ifeq ($(USE_EXCEPTIONS),0)
79 __EXCEPTIONSFLAG_5 = -fno-exceptions
81 ifeq ($(USE_EXCEPTIONS),1)
85 __WXUNIV_DEFINE_p = -D__WXUNIVERSAL__
88 __WXUNIV_DEFINE_p_1 = --define __WXUNIVERSAL__
91 ifeq ($(DEBUG_FLAG),default)
92 __DEBUG_DEFINE_p = -D__WXDEBUG__
95 ifeq ($(DEBUG_FLAG),1)
96 __DEBUG_DEFINE_p = -D__WXDEBUG__
99 ifeq ($(DEBUG_FLAG),default)
100 __DEBUG_DEFINE_p_1 = --define __WXDEBUG__
103 ifeq ($(DEBUG_FLAG),1)
104 __DEBUG_DEFINE_p_1 = --define __WXDEBUG__
107 __UNICODE_DEFINE_p = -D_UNICODE
110 __UNICODE_DEFINE_p_1 = --define _UNICODE
113 __DLLFLAG_p = -DWXUSINGDLL
116 __DLLFLAG_p_1 = --define WXUSINGDLL
118 ifeq ($(MONOLITHIC),0)
120 -lwx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_adv
122 ifeq ($(MONOLITHIC),0)
124 -lwx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_html
126 ifeq ($(MONOLITHIC),0)
128 -lwx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_core
130 ifeq ($(MONOLITHIC),0)
131 __WXLIB_XML_p = -lwxbase25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_xml
133 ifeq ($(MONOLITHIC),0)
134 __WXLIB_BASE_p = -lwxbase25$(WXUNICODEFLAG)$(WXDEBUGFLAG)
136 ifeq ($(MONOLITHIC),1)
138 -lwx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)
141 __LIB_TIFF_p = -lwxtiff$(WXDEBUGFLAG)
144 __LIB_JPEG_p = -lwxjpeg$(WXDEBUGFLAG)
147 __LIB_PNG_p = -lwxpng$(WXDEBUGFLAG)
150 __UNICOWS_LIB_p = -lunicows
153 LIBDIRNAME = .\..\..\..\lib\gcc_lib$(CFG)
156 LIBDIRNAME = .\..\..\..\lib\gcc_dll$(CFG)
158 ifeq ($(BUILD),debug)
159 ifeq ($(DEBUG_INFO),default)
163 ifeq ($(BUILD),release)
164 ifeq ($(DEBUG_INFO),default)
168 ifeq ($(DEBUG_INFO),0)
171 ifeq ($(DEBUG_INFO),1)
178 -if not exist $(OBJS) mkdir $(OBJS)
182 all: $(OBJS)\wxrcedit.exe
185 -if exist $(OBJS)\*.o del $(OBJS)\*.o
186 -if exist $(OBJS)\wxrcedit.exe del $(OBJS)\wxrcedit.exe
188 $(OBJS)\wxrcedit.exe: $(WXRCEDIT_OBJECTS) $(OBJS)\wxrcedit_wxrcedit_rc.o
189 $(CXX) -o $@ $(WXRCEDIT_OBJECTS) $(LDFLAGS) $(__DEBUGINFO) -mthreads -L$(LIBDIRNAME) -Wl,--subsystem,windows -mwindows -lwx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_xrc $(__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$(WXDEBUGFLAG) -lwxexpat$(WXDEBUGFLAG) $(__UNICOWS_LIB_p) -lkernel32 -luser32 -lgdi32 -lcomdlg32 -lwinspool -lwinmm -lshell32 -lcomctl32 -lole32 -loleaut32 -luuid -lrpcrt4 -ladvapi32 -lwsock32 -lodbc32
191 $(OBJS)\wxrcedit_edapp.o: ./edapp.cpp
192 $(CXX) -c -o $@ $(WXRCEDIT_CXXFLAGS) $<
194 $(OBJS)\wxrcedit_editor.o: ./editor.cpp
195 $(CXX) -c -o $@ $(WXRCEDIT_CXXFLAGS) $<
197 $(OBJS)\wxrcedit_nodehnd.o: ./nodehnd.cpp
198 $(CXX) -c -o $@ $(WXRCEDIT_CXXFLAGS) $<
200 $(OBJS)\wxrcedit_nodesdb.o: ./nodesdb.cpp
201 $(CXX) -c -o $@ $(WXRCEDIT_CXXFLAGS) $<
203 $(OBJS)\wxrcedit_pe_adv.o: ./pe_adv.cpp
204 $(CXX) -c -o $@ $(WXRCEDIT_CXXFLAGS) $<
206 $(OBJS)\wxrcedit_pe_basic.o: ./pe_basic.cpp
207 $(CXX) -c -o $@ $(WXRCEDIT_CXXFLAGS) $<
209 $(OBJS)\wxrcedit_preview.o: ./preview.cpp
210 $(CXX) -c -o $@ $(WXRCEDIT_CXXFLAGS) $<
212 $(OBJS)\wxrcedit_propedit.o: ./propedit.cpp
213 $(CXX) -c -o $@ $(WXRCEDIT_CXXFLAGS) $<
215 $(OBJS)\wxrcedit_propframe.o: ./propframe.cpp
216 $(CXX) -c -o $@ $(WXRCEDIT_CXXFLAGS) $<
218 $(OBJS)\wxrcedit_splittree.o: ./splittree.cpp
219 $(CXX) -c -o $@ $(WXRCEDIT_CXXFLAGS) $<
221 $(OBJS)\wxrcedit_xmlhelpr.o: ./xmlhelpr.cpp
222 $(CXX) -c -o $@ $(WXRCEDIT_CXXFLAGS) $<
224 $(OBJS)\wxrcedit_wxrcedit_rc.o: ./wxrcedit.rc
225 windres --use-temp-file -i$< -o$@ --define __WXMSW__ $(__WXUNIV_DEFINE_p_1) $(__DEBUG_DEFINE_p_1) $(__UNICODE_DEFINE_p_1) --include-dir ./../../../include --include-dir $(SETUPHDIR) --include-dir . $(__DLLFLAG_p_1) --include-dir ./../../../samples --include-dir ./../../include