1 # =========================================================================
2 # This makefile was generated by
3 # Bakefile 0.1.4 (http://bakefile.sourceforge.net)
4 # Do not modify, all changes will be overwritten!
5 # =========================================================================
7 !include ../../../build/msw/config.wat
9 # -------------------------------------------------------------------------
10 # Do not modify the rest of this file!
11 # -------------------------------------------------------------------------
13 # Speed up compilation a bit:
16 ! loaddll wccaxp wccdaxp
17 ! loaddll wcc386 wccd386
19 ! loaddll wppaxp wppdaxp
20 ! loaddll wpp386 wppd386
25 # We need these variables in some bakefile-made rules:
26 WATCOM_CWD = $+ $(%cdrive):$(%cwd) $-
28 ### Conditionally set variables: ###
39 !ifeq DEBUG_FLAG default
60 !ifeq DEBUG_INFO default
65 !ifeq DEBUG_INFO default
77 !ifeq DEBUG_INFO default
78 __DEBUGINFO_1 = debug all
82 !ifeq DEBUG_INFO default
90 __DEBUGINFO_1 = debug all
94 __OPTIMIZEFLAG_2 = -od
97 __OPTIMIZEFLAG_2 = -ot -ox
100 !ifeq RUNTIME_LIBS dynamic
101 __RUNTIME_LIBS_5 = -br
103 !ifeq RUNTIME_LIBS static
107 !ifeq USE_EXCEPTIONS 0
110 !ifeq USE_EXCEPTIONS 1
111 __EXCEPTIONSFLAG_7 = -xs
116 wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_xrc.lib
121 wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_adv.lib
126 wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_html.lib
131 wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_core.lib
136 wxbase$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_xml.lib
141 wxbase$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib
146 wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib
150 __LIB_TIFF_p = wxtiff$(WXDEBUGFLAG)$(WX_RELEASE_NODOT).lib
154 __LIB_JPEG_p = wxjpeg$(WXDEBUGFLAG)$(WX_RELEASE_NODOT).lib
158 __LIB_PNG_p = wxpng$(WXDEBUGFLAG)$(WX_RELEASE_NODOT).lib
162 LIBDIRNAME = .\..\..\..\lib\wat_lib$(CFG)
165 LIBDIRNAME = .\..\..\..\lib\wat_dll$(CFG)
169 __WXUNIV_DEFINE_p = -d__WXUNIVERSAL__
173 !ifeq DEBUG_FLAG default
174 __DEBUG_DEFINE_p = -d__WXDEBUG__
178 __DEBUG_DEFINE_p = -d__WXDEBUG__
182 __UNICODE_DEFINE_p = -d_UNICODE
186 __DLLFLAG_p = -dWXUSINGDLL
191 WX_RELEASE_NODOT = 25
193 wat_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)
195 $(LIBDIRNAME)\$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)
196 WXRCEDIT_CXXFLAGS = $(__DEBUGINFO_0) $(__OPTIMIZEFLAG_2) -bm &
197 $(__RUNTIME_LIBS_5) -d__WXMSW__ $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) &
198 $(__UNICODE_DEFINE_p) -i=.\..\..\..\include -i=$(SETUPHDIR) -i=. &
199 $(__DLLFLAG_p) -i=.\..\..\..\samples -dNOPCH -i=.\..\..\include &
200 $(__EXCEPTIONSFLAG_7) $(CPPFLAGS) $(CXXFLAGS)
202 $(OBJS)\wxrcedit_edapp.obj &
203 $(OBJS)\wxrcedit_editor.obj &
204 $(OBJS)\wxrcedit_nodehnd.obj &
205 $(OBJS)\wxrcedit_nodesdb.obj &
206 $(OBJS)\wxrcedit_pe_adv.obj &
207 $(OBJS)\wxrcedit_pe_basic.obj &
208 $(OBJS)\wxrcedit_preview.obj &
209 $(OBJS)\wxrcedit_propedit.obj &
210 $(OBJS)\wxrcedit_propframe.obj &
211 $(OBJS)\wxrcedit_splittree.obj &
212 $(OBJS)\wxrcedit_xmlhelpr.obj
217 -if not exist $(OBJS) mkdir $(OBJS)
221 all : .SYMBOLIC $(OBJS)\wxrcedit.exe
224 -if exist $(OBJS)\*.obj del $(OBJS)\*.obj
225 -if exist $(OBJS)\*.res del $(OBJS)\*.res
226 -if exist $(OBJS)\*.lbc del $(OBJS)\*.lbc
227 -if exist $(OBJS)\*.ilk del $(OBJS)\*.ilk
228 -if exist $(OBJS)\wxrcedit.exe del $(OBJS)\wxrcedit.exe
230 $(OBJS)\wxrcedit.exe : $(WXRCEDIT_OBJECTS) $(OBJS)\wxrcedit_wxrcedit.res
231 @%create $(OBJS)\wxrcedit.lbc
232 @%append $(OBJS)\wxrcedit.lbc option quiet
233 @%append $(OBJS)\wxrcedit.lbc name $^@
234 @%append $(OBJS)\wxrcedit.lbc option caseexact
235 @%append $(OBJS)\wxrcedit.lbc $(LDFLAGS) $(__DEBUGINFO_1) libpath $(LIBDIRNAME) system nt_win ref '_WinMain@16'
236 @for %i in ($(WXRCEDIT_OBJECTS)) do @%append $(OBJS)\wxrcedit.lbc file %i
237 @for %i in ( $(__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) wxzlib$(WXDEBUGFLAG)$(WX_RELEASE_NODOT).lib wxregex$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_RELEASE_NODOT).lib wxexpat$(WXDEBUGFLAG)$(WX_RELEASE_NODOT).lib kernel32.lib user32.lib gdi32.lib comdlg32.lib winspool.lib winmm.lib shell32.lib comctl32.lib ole32.lib oleaut32.lib uuid.lib rpcrt4.lib advapi32.lib wsock32.lib odbc32.lib ) do @%append $(OBJS)\wxrcedit.lbc library %i
238 @%append $(OBJS)\wxrcedit.lbc option resource=$(OBJS)\wxrcedit_wxrcedit.res
239 wlink @$(OBJS)\wxrcedit.lbc
241 $(OBJS)\wxrcedit_edapp.obj : .AUTODEPEND .\edapp.cpp
242 $(CXX) -zq -fo=$^@ $(WXRCEDIT_CXXFLAGS) $<
244 $(OBJS)\wxrcedit_editor.obj : .AUTODEPEND .\editor.cpp
245 $(CXX) -zq -fo=$^@ $(WXRCEDIT_CXXFLAGS) $<
247 $(OBJS)\wxrcedit_nodehnd.obj : .AUTODEPEND .\nodehnd.cpp
248 $(CXX) -zq -fo=$^@ $(WXRCEDIT_CXXFLAGS) $<
250 $(OBJS)\wxrcedit_nodesdb.obj : .AUTODEPEND .\nodesdb.cpp
251 $(CXX) -zq -fo=$^@ $(WXRCEDIT_CXXFLAGS) $<
253 $(OBJS)\wxrcedit_pe_adv.obj : .AUTODEPEND .\pe_adv.cpp
254 $(CXX) -zq -fo=$^@ $(WXRCEDIT_CXXFLAGS) $<
256 $(OBJS)\wxrcedit_pe_basic.obj : .AUTODEPEND .\pe_basic.cpp
257 $(CXX) -zq -fo=$^@ $(WXRCEDIT_CXXFLAGS) $<
259 $(OBJS)\wxrcedit_preview.obj : .AUTODEPEND .\preview.cpp
260 $(CXX) -zq -fo=$^@ $(WXRCEDIT_CXXFLAGS) $<
262 $(OBJS)\wxrcedit_propedit.obj : .AUTODEPEND .\propedit.cpp
263 $(CXX) -zq -fo=$^@ $(WXRCEDIT_CXXFLAGS) $<
265 $(OBJS)\wxrcedit_propframe.obj : .AUTODEPEND .\propframe.cpp
266 $(CXX) -zq -fo=$^@ $(WXRCEDIT_CXXFLAGS) $<
268 $(OBJS)\wxrcedit_splittree.obj : .AUTODEPEND .\splittree.cpp
269 $(CXX) -zq -fo=$^@ $(WXRCEDIT_CXXFLAGS) $<
271 $(OBJS)\wxrcedit_xmlhelpr.obj : .AUTODEPEND .\xmlhelpr.cpp
272 $(CXX) -zq -fo=$^@ $(WXRCEDIT_CXXFLAGS) $<
274 $(OBJS)\wxrcedit_wxrcedit.res : .AUTODEPEND .\wxrcedit.rc
275 wrc -q -ad -bt=nt -r -fo=$^@ -d__WXMSW__ $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) $(__UNICODE_DEFINE_p) -i=.\..\..\..\include -i=$(SETUPHDIR) -i=. $(__DLLFLAG_p) -i=.\..\..\..\samples -dNOPCH -i=.\..\..\include $<