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.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
61 __DEBUGINFO = debug all
65 !ifeq DEBUG_INFO default
73 __DEBUGINFO = debug all
77 !ifeq DEBUG_INFO default
82 !ifeq DEBUG_INFO default
94 !ifeq DEBUG_FLAG default
95 __DEBUG_DEFINE_p = -d__WXDEBUG__
99 __DEBUG_DEFINE_p = -d__WXDEBUG__
103 __DLLFLAG_p = -dWXUSINGDLL
107 __LIB_JPEG_p = wxjpeg$(WXDEBUGFLAG).lib
111 __LIB_PNG_p = wxpng$(WXDEBUGFLAG).lib
115 __LIB_TIFF_p = wxtiff$(WXDEBUGFLAG).lib
122 __OPTIMIZEFLAG = -ot -ox
125 !ifeq RUNTIME_LIBS dynamic
128 !ifeq RUNTIME_LIBS static
133 __UNICODE_DEFINE_p = -dwxUSE_UNICODE=1
137 __WXLIB_BASE_p = wxbase25$(WXUNICODEFLAG)$(WXDEBUGFLAG).lib
142 wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_core.lib
147 wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG).lib
151 __WXUNIV_DEFINE_p = -d__WXUNIVERSAL__
153 __renddll___depname =
155 __renddll___depname = &
156 $(OBJS)\renddll_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)250.dll
162 .\..\..\lib\wat_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)
164 wat_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)
165 RENDDLL_CXXFLAGS = $(CPPFLAGS) -bd $(__DEBUGINFO_2) $(__OPTIMIZEFLAG) -bm &
166 $(__RUNTIME_LIBS) -d__WXMSW__ $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) &
167 $(__UNICODE_DEFINE_p) -i=.\..\..\include -i=$(LIBDIRNAME) &
168 -i=.\..\..\src\tiff -i=.\..\..\src\jpeg -i=.\..\..\src\png &
169 -i=.\..\..\src\zlib -i=.\..\..\src\regex -i=.\..\..\src\expat\lib &
170 -dWXUSINGDLL $(CXXFLAGS)
172 $(OBJS)\renddll_renddll.obj
173 RENDER_CXXFLAGS = $(CPPFLAGS) $(__DEBUGINFO_2) $(__OPTIMIZEFLAG) -bm &
174 $(__RUNTIME_LIBS) -d__WXMSW__ $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) &
175 $(__UNICODE_DEFINE_p) -i=.\..\..\include -i=$(LIBDIRNAME) &
176 -i=.\..\..\src\tiff -i=.\..\..\src\jpeg -i=.\..\..\src\png &
177 -i=.\..\..\src\zlib -i=.\..\..\src\regex -i=.\..\..\src\expat\lib -i=. &
178 $(__DLLFLAG_p) $(CXXFLAGS)
180 $(OBJS)\render_render.obj
182 MAKEARGS = BUILD=$(BUILD) CFG=$(CFG) CPPFLAGS=$(CPPFLAGS) CXX=$(CXX) CXXFLAGS=$(CXXFLAGS) DEBUG_FLAG=$(DEBUG_FLAG) DEBUG_INFO=$(DEBUG_INFO) LDFLAGS=$(LDFLAGS) MONOLITHIC=$(MONOLITHIC) OFFICIAL_BUILD=$(OFFICIAL_BUILD) RUNTIME_LIBS=$(RUNTIME_LIBS) SHARED=$(SHARED) UNICODE=$(UNICODE) USE_GUI=$(USE_GUI) WXUNIV=$(WXUNIV)
187 -if not exist $(OBJS) mkdir $(OBJS)
191 all : .SYMBOLIC $(OBJS)\render.exe $(__renddll___depname)
193 $(OBJS)\renddll_renddll.obj : .AUTODEPEND .\renddll.cpp
194 $(CXX) -zq -fo=$^@ $(RENDDLL_CXXFLAGS) $<
196 $(OBJS)\render_render.obj : .AUTODEPEND .\render.cpp
197 $(CXX) -zq -fo=$^@ $(RENDER_CXXFLAGS) $<
199 $(OBJS)\render_sample.res : .AUTODEPEND .\..\..\samples\sample.rc
200 wrc -q -ad -bt=nt -r -fo=$^@ -d__WXMSW__ $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) $(__UNICODE_DEFINE_p) -i=.\..\..\include -i=$(LIBDIRNAME) -i=.\..\..\src\tiff -i=.\..\..\src\jpeg -i=.\..\..\src\png -i=.\..\..\src\zlib -i=.\..\..\src\regex -i=.\..\..\src\expat\lib -i=. $(__DLLFLAG_p) $<
203 -if exist $(OBJS)\*.obj del $(OBJS)\*.obj
204 -if exist $(OBJS)\*.res del $(OBJS)\*.res
205 -if exist $(OBJS)\*.lbc del $(OBJS)\*.lbc
206 -if exist $(OBJS)\*.ilk del $(OBJS)\*.ilk
207 -if exist $(OBJS)\render.exe del $(OBJS)\render.exe
208 -if exist $(OBJS)\renddll_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)250.dll del $(OBJS)\renddll_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)250.dll
211 $(OBJS)\renddll_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)250.dll : $(RENDDLL_OBJECTS)
212 @%create $(OBJS)\renddll.lbc
213 @%append $(OBJS)\renddll.lbc option quiet
214 @%append $(OBJS)\renddll.lbc name $^@
215 @%append $(OBJS)\renddll.lbc option incremental
216 @%append $(OBJS)\renddll.lbc $(LDFLAGS) $(__DEBUGINFO) libpath $(LIBDIRNAME)
217 @for %i in ($(RENDDLL_OBJECTS)) do @%append $(OBJS)\renddll.lbc file %i
218 @for %i in ( $(__WXLIB_CORE_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 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 ) do @%append $(OBJS)\renddll.lbc library %i
219 @%append $(OBJS)\renddll.lbc
220 @%append $(OBJS)\renddll.lbc system nt_dll
221 wlink @$(OBJS)\renddll.lbc
224 $(OBJS)\render.exe : $(RENDER_OBJECTS) $(OBJS)\render_sample.res
225 @%create $(OBJS)\render.lbc
226 @%append $(OBJS)\render.lbc option quiet
227 @%append $(OBJS)\render.lbc name $^@
228 @%append $(OBJS)\render.lbc option incremental
229 @%append $(OBJS)\render.lbc $(LDFLAGS) $(__DEBUGINFO) libpath $(LIBDIRNAME) system nt_win ref '_WinMain@16'
230 @for %i in ($(RENDER_OBJECTS)) do @%append $(OBJS)\render.lbc file %i
231 @for %i in ( $(__WXLIB_CORE_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 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 ) do @%append $(OBJS)\render.lbc library %i
232 @%append $(OBJS)\render.lbc option resource=$(OBJS)\render_sample.res
233 wlink @$(OBJS)\render.lbc