1 # =========================================================================
2 # This makefile was generated by
3 # Bakefile 0.1.1 (http://bakefile.sourceforge.net)
4 # Do not modify, all changes will be overwritten!
5 # =========================================================================
7 !include <../../../build/msw/config.vc>
9 # -------------------------------------------------------------------------
10 # Do not modify the rest of this file!
11 # -------------------------------------------------------------------------
16 vc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)
18 $(LIBDIRNAME)\$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)
19 WXRCEDIT_CXXFLAGS = $(CPPFLAGS) /M$(__RUNTIME_LIBS_7)$(__DEBUGRUNTIME_3) \
20 /DWIN32 $(__DEBUGINFO_0) /Fd$(OBJS)\wxrcedit.pdb $(____DEBUGRUNTIME_2_p) \
21 $(__OPTIMIZEFLAG_4) $(__NO_VC_CRTDBG_p) /D__WXMSW__ $(__WXUNIV_DEFINE_p) \
22 $(__DEBUG_DEFINE_p) $(__UNICODE_DEFINE_p) /I.\..\..\..\include \
23 /I$(SETUPHDIR) /W4 /I. $(__DLLFLAG_p) /D_WINDOWS /I.\..\..\..\samples \
24 /I.\..\..\include $(CXXFLAGS) /GR /GX
26 $(OBJS)\wxrcedit_edapp.obj \
27 $(OBJS)\wxrcedit_editor.obj \
28 $(OBJS)\wxrcedit_nodehnd.obj \
29 $(OBJS)\wxrcedit_nodesdb.obj \
30 $(OBJS)\wxrcedit_pe_adv.obj \
31 $(OBJS)\wxrcedit_pe_basic.obj \
32 $(OBJS)\wxrcedit_preview.obj \
33 $(OBJS)\wxrcedit_propedit.obj \
34 $(OBJS)\wxrcedit_propframe.obj \
35 $(OBJS)\wxrcedit_splittree.obj \
36 $(OBJS)\wxrcedit_xmlhelpr.obj \
37 $(OBJS)\wxrcedit_wxrcedit.res
39 ### Conditionally set variables: ###
41 !if "$(SHARED)" == "0"
42 LIBDIRNAME = .\..\..\..\lib\vc_lib$(CFG)
44 !if "$(SHARED)" == "1"
45 LIBDIRNAME = .\..\..\..\lib\vc_dll$(CFG)
47 !if "$(USE_GUI)" == "0"
50 !if "$(USE_GUI)" == "1"
53 !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
56 !if "$(DEBUG_FLAG)" == "1"
59 !if "$(SHARED)" == "1"
62 !if "$(UNICODE)" == "1"
65 !if "$(WXUNIV)" == "1"
68 !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
71 !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
74 !if "$(DEBUG_INFO)" == "0"
77 !if "$(DEBUG_INFO)" == "1"
80 !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
81 __DEBUGINFO_1 = /DEBUG
83 !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
86 !if "$(DEBUG_INFO)" == "0"
89 !if "$(DEBUG_INFO)" == "1"
90 __DEBUGINFO_1 = /DEBUG
92 !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
95 !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
98 !if "$(DEBUG_INFO)" == "0"
101 !if "$(DEBUG_INFO)" == "1"
104 !if "$(DEBUG_RUNTIME_LIBS)" == "0"
107 !if "$(DEBUG_RUNTIME_LIBS)" == "1"
110 !if "$(DEBUG_RUNTIME_LIBS)" == "default"
111 __DEBUGRUNTIME_3 = $(__DEBUGINFO_3)
113 !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
114 __DEBUG_DEFINE_p = /D__WXDEBUG__
116 !if "$(DEBUG_FLAG)" == "1"
117 __DEBUG_DEFINE_p = /D__WXDEBUG__
119 !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
120 __DEBUG_DEFINE_p_1 = /d __WXDEBUG__
122 !if "$(DEBUG_FLAG)" == "1"
123 __DEBUG_DEFINE_p_1 = /d __WXDEBUG__
125 !if "$(SHARED)" == "1"
126 __DLLFLAG_p = /DWXUSINGDLL
128 !if "$(SHARED)" == "1"
129 __DLLFLAG_p_1 = /d WXUSINGDLL
131 !if "$(USE_GUI)" == "1"
132 __LIB_JPEG_p = wxjpeg$(WXDEBUGFLAG).lib
134 !if "$(USE_GUI)" == "1"
135 __LIB_PNG_p = wxpng$(WXDEBUGFLAG).lib
137 !if "$(USE_GUI)" == "1"
138 __LIB_TIFF_p = wxtiff$(WXDEBUGFLAG).lib
140 !if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "0"
141 __NO_VC_CRTDBG_p = /D__NO_VC_CRTDBG__
143 !if "$(BUILD)" == "release" && "$(DEBUG_FLAG)" == "1"
144 __NO_VC_CRTDBG_p = /D__NO_VC_CRTDBG__
146 !if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "0"
147 __NO_VC_CRTDBG_p_1 = /d __NO_VC_CRTDBG__
149 !if "$(BUILD)" == "release" && "$(DEBUG_FLAG)" == "1"
150 __NO_VC_CRTDBG_p_1 = /d __NO_VC_CRTDBG__
152 !if "$(BUILD)" == "debug"
153 __OPTIMIZEFLAG_4 = /Od
155 !if "$(BUILD)" == "release"
156 __OPTIMIZEFLAG_4 = /O2
158 !if "$(RUNTIME_LIBS)" == "dynamic"
161 !if "$(RUNTIME_LIBS)" == "static"
164 !if "$(UNICODE)" == "1"
165 __UNICODE_DEFINE_p = /D_UNICODE
167 !if "$(UNICODE)" == "1"
168 __UNICODE_DEFINE_p_1 = /d _UNICODE
171 __UNICOWS_LIB_p = unicows.lib
173 !if "$(MONOLITHIC)" == "0"
175 wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_adv.lib
177 !if "$(MONOLITHIC)" == "0"
178 __WXLIB_BASE_p = wxbase25$(WXUNICODEFLAG)$(WXDEBUGFLAG).lib
180 !if "$(MONOLITHIC)" == "0"
182 wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_core.lib
184 !if "$(MONOLITHIC)" == "0"
186 wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_html.lib
188 !if "$(MONOLITHIC)" == "1"
190 wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG).lib
192 !if "$(MONOLITHIC)" == "0"
193 __WXLIB_XML_p = wxbase25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_xml.lib
195 !if "$(WXUNIV)" == "1"
196 __WXUNIV_DEFINE_p = /D__WXUNIVERSAL__
198 !if "$(WXUNIV)" == "1"
199 __WXUNIV_DEFINE_p_1 = /d __WXUNIVERSAL__
201 !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
202 ____DEBUGINFO_2_p = /D_DEBUG
204 !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
207 !if "$(DEBUG_INFO)" == "0"
210 !if "$(DEBUG_INFO)" == "1"
211 ____DEBUGINFO_2_p = /D_DEBUG
213 !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
214 ____DEBUGINFO_2_p_1 = /d _DEBUG
216 !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
217 ____DEBUGINFO_2_p_1 =
219 !if "$(DEBUG_INFO)" == "0"
220 ____DEBUGINFO_2_p_1 =
222 !if "$(DEBUG_INFO)" == "1"
223 ____DEBUGINFO_2_p_1 = /d _DEBUG
225 !if "$(DEBUG_RUNTIME_LIBS)" == "0"
226 ____DEBUGRUNTIME_2_p =
228 !if "$(DEBUG_RUNTIME_LIBS)" == "1"
229 ____DEBUGRUNTIME_2_p = /D_DEBUG
231 !if "$(DEBUG_RUNTIME_LIBS)" == "default"
232 ____DEBUGRUNTIME_2_p = $(____DEBUGINFO_2_p)
234 !if "$(DEBUG_RUNTIME_LIBS)" == "0"
235 ____DEBUGRUNTIME_2_p_1 =
237 !if "$(DEBUG_RUNTIME_LIBS)" == "1"
238 ____DEBUGRUNTIME_2_p_1 = /d _DEBUG
240 !if "$(DEBUG_RUNTIME_LIBS)" == "default"
241 ____DEBUGRUNTIME_2_p_1 = $(____DEBUGINFO_2_p_1)
247 -if not exist $(OBJS) mkdir $(OBJS)
251 all: $(OBJS)\wxrcedit.exe
253 $(OBJS)\wxrcedit_edapp.obj: .\edapp.cpp
254 $(CXX) /c /nologo /TP /Fo$@ $(WXRCEDIT_CXXFLAGS) $**
256 $(OBJS)\wxrcedit_editor.obj: .\editor.cpp
257 $(CXX) /c /nologo /TP /Fo$@ $(WXRCEDIT_CXXFLAGS) $**
259 $(OBJS)\wxrcedit_nodehnd.obj: .\nodehnd.cpp
260 $(CXX) /c /nologo /TP /Fo$@ $(WXRCEDIT_CXXFLAGS) $**
262 $(OBJS)\wxrcedit_nodesdb.obj: .\nodesdb.cpp
263 $(CXX) /c /nologo /TP /Fo$@ $(WXRCEDIT_CXXFLAGS) $**
265 $(OBJS)\wxrcedit_pe_adv.obj: .\pe_adv.cpp
266 $(CXX) /c /nologo /TP /Fo$@ $(WXRCEDIT_CXXFLAGS) $**
268 $(OBJS)\wxrcedit_pe_basic.obj: .\pe_basic.cpp
269 $(CXX) /c /nologo /TP /Fo$@ $(WXRCEDIT_CXXFLAGS) $**
271 $(OBJS)\wxrcedit_preview.obj: .\preview.cpp
272 $(CXX) /c /nologo /TP /Fo$@ $(WXRCEDIT_CXXFLAGS) $**
274 $(OBJS)\wxrcedit_propedit.obj: .\propedit.cpp
275 $(CXX) /c /nologo /TP /Fo$@ $(WXRCEDIT_CXXFLAGS) $**
277 $(OBJS)\wxrcedit_propframe.obj: .\propframe.cpp
278 $(CXX) /c /nologo /TP /Fo$@ $(WXRCEDIT_CXXFLAGS) $**
280 $(OBJS)\wxrcedit_splittree.obj: .\splittree.cpp
281 $(CXX) /c /nologo /TP /Fo$@ $(WXRCEDIT_CXXFLAGS) $**
283 $(OBJS)\wxrcedit_wxrcedit.res: .\wxrcedit.rc
284 rc /fo$@ /d WIN32 $(____DEBUGRUNTIME_2_p_1) $(__NO_VC_CRTDBG_p_1) /d __WXMSW__ $(__WXUNIV_DEFINE_p_1) $(__DEBUG_DEFINE_p_1) $(__UNICODE_DEFINE_p_1) /i .\..\..\..\include /i $(SETUPHDIR) /i . $(__DLLFLAG_p_1) /d _WINDOWS /i .\..\..\..\samples /i .\..\..\include $**
286 $(OBJS)\wxrcedit_xmlhelpr.obj: .\xmlhelpr.cpp
287 $(CXX) /c /nologo /TP /Fo$@ $(WXRCEDIT_CXXFLAGS) $**
290 -if exist $(OBJS)\*.obj del $(OBJS)\*.obj
291 -if exist $(OBJS)\*.res del $(OBJS)\*.res
292 -if exist $(OBJS)\wxrcedit.exe del $(OBJS)\wxrcedit.exe
293 -if exist $(OBJS)\wxrcedit.ilk del $(OBJS)\wxrcedit.ilk
294 -if exist $(OBJS)\wxrcedit.pdb del $(OBJS)\wxrcedit.pdb
296 $(OBJS)\wxrcedit.exe: $(WXRCEDIT_OBJECTS) $(OBJS)\wxrcedit_wxrcedit.res
297 link /NOLOGO /OUT:$@ $(LDFLAGS) $(__DEBUGINFO_1) /LIBPATH:$(LIBDIRNAME) /SUBSYSTEM:WINDOWS @<<
298 $(WXRCEDIT_OBJECTS) wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_xrc.lib $(__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) wxzlib$(WXDEBUGFLAG).lib wxregex$(WXDEBUGFLAG).lib wxexpat$(WXDEBUGFLAG).lib $(__UNICOWS_LIB_p) kernel32.lib user32.lib gdi32.lib comdlg32.lib winspool.lib winmm.lib shell32.lib comctl32.lib odbc32.lib ole32.lib oleaut32.lib uuid.lib rpcrt4.lib advapi32.lib wsock32.lib oleacc.lib