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: ###
38 !ifeq OFFICIAL_BUILD 0
39 VENDORTAG = _$(VENDOR)
41 !ifeq OFFICIAL_BUILD 1
46 !ifeq DEBUG_FLAG default
67 !ifeq DEBUG_INFO default
72 !ifeq DEBUG_INFO default
84 !ifeq DEBUG_INFO default
85 __DEBUGINFO_1 = debug all
89 !ifeq DEBUG_INFO default
97 __DEBUGINFO_1 = debug all
101 !ifeq DEBUG_FLAG default
102 __DEBUG_DEFINE_p = -d__WXDEBUG__
106 __DEBUG_DEFINE_p = -d__WXDEBUG__
110 __LIB_JPEG_p = wxjpeg$(WXDEBUGFLAG).lib
114 __LIB_PNG_p = wxpng$(WXDEBUGFLAG).lib
118 __LIB_TIFF_p = wxtiff$(WXDEBUGFLAG).lib
125 __OPTIMIZEFLAG = -ot -ox
128 !ifeq RUNTIME_LIBS dynamic
131 !ifeq RUNTIME_LIBS static
136 __UNICODE_DEFINE_p = -dwxUSE_UNICODE=1
140 __WXLIB_BASE_p = wxbase25$(WXUNICODEFLAG)$(WXDEBUGFLAG).lib
145 wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_core.lib
150 wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG).lib
154 __WXUNIV_DEFINE_p = -d__WXUNIVERSAL__
156 __deprecateddll___depname =
158 __deprecateddll___depname = &
159 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)250$(WXUNICODEFLAG)$(WXDEBUGFLAG)_deprecated_wat$(VENDORTAG).dll
161 __deprecatedlib___depname =
163 __deprecatedlib___depname = &
164 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_deprecated.lib
169 DEPRECATEDDLL_CFLAGS = $(CPPFLAGS) -bd $(__DEBUGINFO) $(__OPTIMIZEFLAG) -bm &
170 $(__RUNTIME_LIBS) -d__WXMSW__ $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) &
171 $(__UNICODE_DEFINE_p) -i=..\..\src\deprecated\..\..\..\include &
172 -i=$(LIBDIRNAME) -i=..\..\src\deprecated\..\..\..\src\tiff &
173 -i=..\..\src\deprecated\..\..\..\src\jpeg &
174 -i=..\..\src\deprecated\..\..\..\src\png &
175 -i=..\..\src\deprecated\..\..\..\src\zlib &
176 -i=..\..\src\deprecated\..\..\..\src\regex &
177 -i=..\..\src\deprecated\..\..\..\src\expat\lib &
178 -i=..\..\src\deprecated\..\..\include -dWXUSINGDLL &
179 -dWXMAKINGDLL_DEPRECATED $(CFLAGS)
180 DEPRECATEDDLL_CXXFLAGS = $(CPPFLAGS) -bd $(__DEBUGINFO) $(__OPTIMIZEFLAG) -bm &
181 $(__RUNTIME_LIBS) -d__WXMSW__ $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) &
182 $(__UNICODE_DEFINE_p) -i=..\..\src\deprecated\..\..\..\include &
183 -i=$(LIBDIRNAME) -i=..\..\src\deprecated\..\..\..\src\tiff &
184 -i=..\..\src\deprecated\..\..\..\src\jpeg &
185 -i=..\..\src\deprecated\..\..\..\src\png &
186 -i=..\..\src\deprecated\..\..\..\src\zlib &
187 -i=..\..\src\deprecated\..\..\..\src\regex &
188 -i=..\..\src\deprecated\..\..\..\src\expat\lib &
189 -i=..\..\src\deprecated\..\..\include -dWXUSINGDLL &
190 -dWXMAKINGDLL_DEPRECATED $(CXXFLAGS) /fh=$(OBJS)\wxprec_deprecateddll.pch
191 DEPRECATEDDLL_OBJECTS = &
192 $(OBJS)\deprecateddll_dummy.obj &
193 $(OBJS)\deprecateddll_prop.obj &
194 $(OBJS)\deprecateddll_propform.obj &
195 $(OBJS)\deprecateddll_proplist.obj &
196 $(OBJS)\deprecateddll_resource.obj &
197 $(OBJS)\deprecateddll_treelay.obj &
198 $(OBJS)\deprecateddll_wxexpr.obj &
199 $(OBJS)\deprecateddll_dosyacc.obj
200 DEPRECATEDLIB_CFLAGS = $(CPPFLAGS) $(__DEBUGINFO) $(__OPTIMIZEFLAG) -bm &
201 $(__RUNTIME_LIBS) -d__WXMSW__ $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) &
202 $(__UNICODE_DEFINE_p) -i=..\..\src\deprecated\..\..\..\include &
203 -i=$(LIBDIRNAME) -i=..\..\src\deprecated\..\..\..\src\tiff &
204 -i=..\..\src\deprecated\..\..\..\src\jpeg &
205 -i=..\..\src\deprecated\..\..\..\src\png &
206 -i=..\..\src\deprecated\..\..\..\src\zlib &
207 -i=..\..\src\deprecated\..\..\..\src\regex &
208 -i=..\..\src\deprecated\..\..\..\src\expat\lib &
209 -i=..\..\src\deprecated\..\..\include $(CFLAGS)
210 DEPRECATEDLIB_CXXFLAGS = $(CPPFLAGS) $(__DEBUGINFO) $(__OPTIMIZEFLAG) -bm &
211 $(__RUNTIME_LIBS) -d__WXMSW__ $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) &
212 $(__UNICODE_DEFINE_p) -i=..\..\src\deprecated\..\..\..\include &
213 -i=$(LIBDIRNAME) -i=..\..\src\deprecated\..\..\..\src\tiff &
214 -i=..\..\src\deprecated\..\..\..\src\jpeg &
215 -i=..\..\src\deprecated\..\..\..\src\png &
216 -i=..\..\src\deprecated\..\..\..\src\zlib &
217 -i=..\..\src\deprecated\..\..\..\src\regex &
218 -i=..\..\src\deprecated\..\..\..\src\expat\lib &
219 -i=..\..\src\deprecated\..\..\include $(CXXFLAGS) &
220 /fh=$(OBJS)\wxprec_deprecatedlib.pch
221 DEPRECATEDLIB_OBJECTS = &
222 $(OBJS)\deprecatedlib_dummy.obj &
223 $(OBJS)\deprecatedlib_prop.obj &
224 $(OBJS)\deprecatedlib_propform.obj &
225 $(OBJS)\deprecatedlib_proplist.obj &
226 $(OBJS)\deprecatedlib_resource.obj &
227 $(OBJS)\deprecatedlib_treelay.obj &
228 $(OBJS)\deprecatedlib_wxexpr.obj &
229 $(OBJS)\deprecatedlib_dosyacc.obj
231 ..\..\src\deprecated\..\..\..\lib\wat_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)
233 wat_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)
238 -if not exist $(OBJS) mkdir $(OBJS)
242 all : .SYMBOLIC $(__deprecateddll___depname) $(__deprecatedlib___depname)
244 $(OBJS)\deprecateddll_dosyacc.obj : .AUTODEPEND ../../src/deprecated\dosyacc.c
245 $(CC) -zq -fo=$^@ $(DEPRECATEDDLL_CFLAGS) $<
247 $(OBJS)\deprecateddll_dummy.obj : .AUTODEPEND ../../src/deprecated\..\..\..\src\msw\dummy.cpp
248 $(CXX) -zq -fo=$^@ $(DEPRECATEDDLL_CXXFLAGS) $<
250 $(OBJS)\deprecateddll_prop.obj : .AUTODEPEND ../../src/deprecated\prop.cpp
251 $(CXX) -zq -fo=$^@ $(DEPRECATEDDLL_CXXFLAGS) $<
253 $(OBJS)\deprecateddll_propform.obj : .AUTODEPEND ../../src/deprecated\propform.cpp
254 $(CXX) -zq -fo=$^@ $(DEPRECATEDDLL_CXXFLAGS) $<
256 $(OBJS)\deprecateddll_proplist.obj : .AUTODEPEND ../../src/deprecated\proplist.cpp
257 $(CXX) -zq -fo=$^@ $(DEPRECATEDDLL_CXXFLAGS) $<
259 $(OBJS)\deprecateddll_resource.obj : .AUTODEPEND ../../src/deprecated\resource.cpp
260 $(CXX) -zq -fo=$^@ $(DEPRECATEDDLL_CXXFLAGS) $<
262 $(OBJS)\deprecateddll_treelay.obj : .AUTODEPEND ../../src/deprecated\treelay.cpp
263 $(CXX) -zq -fo=$^@ $(DEPRECATEDDLL_CXXFLAGS) $<
265 $(OBJS)\deprecateddll_wxexpr.obj : .AUTODEPEND ../../src/deprecated\wxexpr.cpp
266 $(CXX) -zq -fo=$^@ $(DEPRECATEDDLL_CXXFLAGS) $<
268 $(OBJS)\deprecatedlib_dosyacc.obj : .AUTODEPEND ../../src/deprecated\dosyacc.c
269 $(CC) -zq -fo=$^@ $(DEPRECATEDLIB_CFLAGS) $<
271 $(OBJS)\deprecatedlib_dummy.obj : .AUTODEPEND ../../src/deprecated\..\..\..\src\msw\dummy.cpp
272 $(CXX) -zq -fo=$^@ $(DEPRECATEDLIB_CXXFLAGS) $<
274 $(OBJS)\deprecatedlib_prop.obj : .AUTODEPEND ../../src/deprecated\prop.cpp
275 $(CXX) -zq -fo=$^@ $(DEPRECATEDLIB_CXXFLAGS) $<
277 $(OBJS)\deprecatedlib_propform.obj : .AUTODEPEND ../../src/deprecated\propform.cpp
278 $(CXX) -zq -fo=$^@ $(DEPRECATEDLIB_CXXFLAGS) $<
280 $(OBJS)\deprecatedlib_proplist.obj : .AUTODEPEND ../../src/deprecated\proplist.cpp
281 $(CXX) -zq -fo=$^@ $(DEPRECATEDLIB_CXXFLAGS) $<
283 $(OBJS)\deprecatedlib_resource.obj : .AUTODEPEND ../../src/deprecated\resource.cpp
284 $(CXX) -zq -fo=$^@ $(DEPRECATEDLIB_CXXFLAGS) $<
286 $(OBJS)\deprecatedlib_treelay.obj : .AUTODEPEND ../../src/deprecated\treelay.cpp
287 $(CXX) -zq -fo=$^@ $(DEPRECATEDLIB_CXXFLAGS) $<
289 $(OBJS)\deprecatedlib_wxexpr.obj : .AUTODEPEND ../../src/deprecated\wxexpr.cpp
290 $(CXX) -zq -fo=$^@ $(DEPRECATEDLIB_CXXFLAGS) $<
293 -if exist $(OBJS)\*.obj del $(OBJS)\*.obj
294 -if exist $(OBJS)\*.res del $(OBJS)\*.res
295 -if exist $(OBJS)\*.lbc del $(OBJS)\*.lbc
296 -if exist $(OBJS)\*.ilk del $(OBJS)\*.ilk
297 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)250$(WXUNICODEFLAG)$(WXDEBUGFLAG)_deprecated_wat$(VENDORTAG).dll del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)250$(WXUNICODEFLAG)$(WXDEBUGFLAG)_deprecated_wat$(VENDORTAG).dll
298 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_deprecated.lib del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_deprecated.lib
299 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_deprecated.lib del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_deprecated.lib
302 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)250$(WXUNICODEFLAG)$(WXDEBUGFLAG)_deprecated_wat$(VENDORTAG).dll : $(DEPRECATEDDLL_OBJECTS)
303 @%create $(OBJS)\deprecateddll.lbc
304 @%append $(OBJS)\deprecateddll.lbc option quiet
305 @%append $(OBJS)\deprecateddll.lbc name $^@
306 @%append $(OBJS)\deprecateddll.lbc option incremental
307 @%append $(OBJS)\deprecateddll.lbc $(LDFLAGS) $(__DEBUGINFO_1) libpath $(LIBDIRNAME)
308 @for %i in ($(DEPRECATEDDLL_OBJECTS)) do @%append $(OBJS)\deprecateddll.lbc file %i
309 @for %i in ( $(__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 $(__WXLIB_CORE_p) $(__WXLIB_BASE_p)) do @%append $(OBJS)\deprecateddll.lbc library %i
310 @%append $(OBJS)\deprecateddll.lbc
311 @%append $(OBJS)\deprecateddll.lbc system nt_dll
312 wlink @$(OBJS)\deprecateddll.lbc
313 wlib -q -n -b $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_deprecated.lib +$^@
317 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_deprecated.lib : $(DEPRECATEDLIB_OBJECTS)
318 @%create $(OBJS)\deprecatedlib.lbc
319 @for %i in ($(DEPRECATEDLIB_OBJECTS)) do @%append $(OBJS)\deprecatedlib.lbc +%i
320 wlib -q -p2048 -n -b $^@ @$(OBJS)\deprecatedlib.lbc