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: ###
38 !ifeq OFFICIAL_BUILD 0
39 VENDORTAG = _$(VENDOR)
41 !ifeq OFFICIAL_BUILD 1
46 !ifeq DEBUG_FLAG default
65 __deprecateddll___depname =
67 __deprecateddll___depname = &
68 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)252$(WXUNICODEFLAG)$(WXDEBUGFLAG)_deprecated_wat$(VENDORTAG).dll
72 !ifeq DEBUG_INFO default
73 __DEBUGINFO_2 = debug all
77 !ifeq DEBUG_INFO default
85 __DEBUGINFO_2 = debug all
90 wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG).lib
94 __LIB_TIFF_p = wxtiff$(WXDEBUGFLAG).lib
98 __LIB_JPEG_p = wxjpeg$(WXDEBUGFLAG).lib
102 __LIB_PNG_p = wxpng$(WXDEBUGFLAG).lib
107 wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_core.lib
111 __WXLIB_BASE_p = wxbase25$(WXUNICODEFLAG)$(WXDEBUGFLAG).lib
113 __deprecatedlib___depname =
115 __deprecatedlib___depname = &
116 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_deprecated.lib
120 !ifeq DEBUG_INFO default
125 !ifeq DEBUG_INFO default
140 __OPTIMIZEFLAG = -ot -ox
143 !ifeq RUNTIME_LIBS dynamic
146 !ifeq RUNTIME_LIBS static
150 !ifeq USE_EXCEPTIONS 0
153 !ifeq USE_EXCEPTIONS 1
154 __EXCEPTIONSFLAG = -xs
158 __WXUNIV_DEFINE_p = -d__WXUNIVERSAL__
162 !ifeq DEBUG_FLAG default
163 __DEBUG_DEFINE_p = -d__WXDEBUG__
167 __DEBUG_DEFINE_p = -d__WXDEBUG__
171 __UNICODE_DEFINE_p = -d_UNICODE
175 LIBDIRNAME = ..\..\src\deprecated\..\..\..\lib\wat_lib$(CFG)
178 LIBDIRNAME = ..\..\src\deprecated\..\..\..\lib\wat_dll$(CFG)
184 wat_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)
186 $(LIBDIRNAME)\$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)
187 DEPRECATEDDLL_CFLAGS = -bd $(__DEBUGINFO_1) $(__OPTIMIZEFLAG) -bm &
188 $(__RUNTIME_LIBS) -d__WXMSW__ $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) &
189 $(__UNICODE_DEFINE_p) -i=..\..\src\deprecated\..\..\..\include &
190 -i=$(SETUPHDIR) -i=..\..\src\deprecated\..\..\include -dWXUSINGDLL &
191 -dWXMAKINGDLL_DEPRECATED -i=..\..\src\deprecated $(CPPFLAGS) $(CFLAGS)
192 DEPRECATEDDLL_CXXFLAGS = -bd $(__DEBUGINFO_1) $(__OPTIMIZEFLAG) -bm &
193 $(__RUNTIME_LIBS) -d__WXMSW__ $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) &
194 $(__UNICODE_DEFINE_p) -i=..\..\src\deprecated\..\..\..\include &
195 -i=$(SETUPHDIR) -i=..\..\src\deprecated\..\..\include -dWXUSINGDLL &
196 -dWXMAKINGDLL_DEPRECATED -i=..\..\src\deprecated &
197 /fh=$(OBJS)\wxprec_deprecateddll.pch $(__EXCEPTIONSFLAG) $(CPPFLAGS) &
199 DEPRECATEDDLL_OBJECTS = &
200 $(OBJS)\deprecateddll_dummy.obj &
201 $(OBJS)\deprecateddll_prop.obj &
202 $(OBJS)\deprecateddll_propform.obj &
203 $(OBJS)\deprecateddll_proplist.obj &
204 $(OBJS)\deprecateddll_resource.obj &
205 $(OBJS)\deprecateddll_tbarsmpl.obj &
206 $(OBJS)\deprecateddll_treelay.obj &
207 $(OBJS)\deprecateddll_wxexpr.obj &
208 $(OBJS)\deprecateddll_dosyacc.obj
209 DEPRECATEDLIB_CFLAGS = $(__DEBUGINFO_1) $(__OPTIMIZEFLAG) -bm $(__RUNTIME_LIBS) &
210 -d__WXMSW__ $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) $(__UNICODE_DEFINE_p) &
211 -i=..\..\src\deprecated\..\..\..\include -i=$(SETUPHDIR) &
212 -i=..\..\src\deprecated\..\..\include -i=..\..\src\deprecated $(CPPFLAGS) &
214 DEPRECATEDLIB_CXXFLAGS = $(__DEBUGINFO_1) $(__OPTIMIZEFLAG) -bm &
215 $(__RUNTIME_LIBS) -d__WXMSW__ $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) &
216 $(__UNICODE_DEFINE_p) -i=..\..\src\deprecated\..\..\..\include &
217 -i=$(SETUPHDIR) -i=..\..\src\deprecated\..\..\include &
218 -i=..\..\src\deprecated /fh=$(OBJS)\wxprec_deprecatedlib.pch &
219 $(__EXCEPTIONSFLAG) $(CPPFLAGS) $(CXXFLAGS)
220 DEPRECATEDLIB_OBJECTS = &
221 $(OBJS)\deprecatedlib_dummy.obj &
222 $(OBJS)\deprecatedlib_prop.obj &
223 $(OBJS)\deprecatedlib_propform.obj &
224 $(OBJS)\deprecatedlib_proplist.obj &
225 $(OBJS)\deprecatedlib_resource.obj &
226 $(OBJS)\deprecatedlib_tbarsmpl.obj &
227 $(OBJS)\deprecatedlib_treelay.obj &
228 $(OBJS)\deprecatedlib_wxexpr.obj &
229 $(OBJS)\deprecatedlib_dosyacc.obj
234 -if not exist $(OBJS) mkdir $(OBJS)
238 all : .SYMBOLIC $(__deprecateddll___depname) $(__deprecatedlib___depname)
241 -if exist $(OBJS)\*.obj del $(OBJS)\*.obj
242 -if exist $(OBJS)\*.res del $(OBJS)\*.res
243 -if exist $(OBJS)\*.lbc del $(OBJS)\*.lbc
244 -if exist $(OBJS)\*.ilk del $(OBJS)\*.ilk
245 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)252$(WXUNICODEFLAG)$(WXDEBUGFLAG)_deprecated_wat$(VENDORTAG).dll del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)252$(WXUNICODEFLAG)$(WXDEBUGFLAG)_deprecated_wat$(VENDORTAG).dll
246 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_deprecated.lib del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_deprecated.lib
247 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_deprecated.lib del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_deprecated.lib
250 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)252$(WXUNICODEFLAG)$(WXDEBUGFLAG)_deprecated_wat$(VENDORTAG).dll : $(DEPRECATEDDLL_OBJECTS)
251 @%create $(OBJS)\deprecateddll.lbc
252 @%append $(OBJS)\deprecateddll.lbc option quiet
253 @%append $(OBJS)\deprecateddll.lbc name $^@
254 @%append $(OBJS)\deprecateddll.lbc option caseexact
255 @%append $(OBJS)\deprecateddll.lbc $(LDFLAGS) $(__DEBUGINFO_2) libpath $(LIBDIRNAME)
256 @for %i in ($(DEPRECATEDDLL_OBJECTS)) do @%append $(OBJS)\deprecateddll.lbc file %i
257 @for %i in ( $(__WXLIB_MONO_p) $(__LIB_TIFF_p) $(__LIB_JPEG_p) $(__LIB_PNG_p) wxzlib$(WXDEBUGFLAG).lib wxregex$(WXUNICODEFLAG)$(WXDEBUGFLAG).lib wxexpat$(WXDEBUGFLAG).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 $(__WXLIB_CORE_p) $(__WXLIB_BASE_p) ) do @%append $(OBJS)\deprecateddll.lbc library %i
258 @%append $(OBJS)\deprecateddll.lbc
259 @%append $(OBJS)\deprecateddll.lbc system nt_dll
260 wlink @$(OBJS)\deprecateddll.lbc
261 wlib -q -n -b $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_deprecated.lib +$^@
265 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_deprecated.lib : $(DEPRECATEDLIB_OBJECTS)
266 @%create $(OBJS)\deprecatedlib.lbc
267 @for %i in ($(DEPRECATEDLIB_OBJECTS)) do @%append $(OBJS)\deprecatedlib.lbc +%i
268 wlib -q -p4096 -n -b $^@ @$(OBJS)\deprecatedlib.lbc
271 $(OBJS)\deprecateddll_dummy.obj : .AUTODEPEND ../../src/deprecated\..\..\..\src\msw\dummy.cpp
272 $(CXX) -zq -fo=$^@ $(DEPRECATEDDLL_CXXFLAGS) $<
274 $(OBJS)\deprecateddll_prop.obj : .AUTODEPEND ../../src/deprecated\prop.cpp
275 $(CXX) -zq -fo=$^@ $(DEPRECATEDDLL_CXXFLAGS) $<
277 $(OBJS)\deprecateddll_propform.obj : .AUTODEPEND ../../src/deprecated\propform.cpp
278 $(CXX) -zq -fo=$^@ $(DEPRECATEDDLL_CXXFLAGS) $<
280 $(OBJS)\deprecateddll_proplist.obj : .AUTODEPEND ../../src/deprecated\proplist.cpp
281 $(CXX) -zq -fo=$^@ $(DEPRECATEDDLL_CXXFLAGS) $<
283 $(OBJS)\deprecateddll_resource.obj : .AUTODEPEND ../../src/deprecated\resource.cpp
284 $(CXX) -zq -fo=$^@ $(DEPRECATEDDLL_CXXFLAGS) $<
286 $(OBJS)\deprecateddll_tbarsmpl.obj : .AUTODEPEND ../../src/deprecated\tbarsmpl.cpp
287 $(CXX) -zq -fo=$^@ $(DEPRECATEDDLL_CXXFLAGS) $<
289 $(OBJS)\deprecateddll_treelay.obj : .AUTODEPEND ../../src/deprecated\treelay.cpp
290 $(CXX) -zq -fo=$^@ $(DEPRECATEDDLL_CXXFLAGS) $<
292 $(OBJS)\deprecateddll_wxexpr.obj : .AUTODEPEND ../../src/deprecated\wxexpr.cpp
293 $(CXX) -zq -fo=$^@ $(DEPRECATEDDLL_CXXFLAGS) $<
295 $(OBJS)\deprecateddll_dosyacc.obj : .AUTODEPEND ../../src/deprecated\dosyacc.c
296 $(CC) -zq -fo=$^@ $(DEPRECATEDDLL_CFLAGS) $<
298 $(OBJS)\deprecatedlib_dummy.obj : .AUTODEPEND ../../src/deprecated\..\..\..\src\msw\dummy.cpp
299 $(CXX) -zq -fo=$^@ $(DEPRECATEDLIB_CXXFLAGS) $<
301 $(OBJS)\deprecatedlib_prop.obj : .AUTODEPEND ../../src/deprecated\prop.cpp
302 $(CXX) -zq -fo=$^@ $(DEPRECATEDLIB_CXXFLAGS) $<
304 $(OBJS)\deprecatedlib_propform.obj : .AUTODEPEND ../../src/deprecated\propform.cpp
305 $(CXX) -zq -fo=$^@ $(DEPRECATEDLIB_CXXFLAGS) $<
307 $(OBJS)\deprecatedlib_proplist.obj : .AUTODEPEND ../../src/deprecated\proplist.cpp
308 $(CXX) -zq -fo=$^@ $(DEPRECATEDLIB_CXXFLAGS) $<
310 $(OBJS)\deprecatedlib_resource.obj : .AUTODEPEND ../../src/deprecated\resource.cpp
311 $(CXX) -zq -fo=$^@ $(DEPRECATEDLIB_CXXFLAGS) $<
313 $(OBJS)\deprecatedlib_tbarsmpl.obj : .AUTODEPEND ../../src/deprecated\tbarsmpl.cpp
314 $(CXX) -zq -fo=$^@ $(DEPRECATEDLIB_CXXFLAGS) $<
316 $(OBJS)\deprecatedlib_treelay.obj : .AUTODEPEND ../../src/deprecated\treelay.cpp
317 $(CXX) -zq -fo=$^@ $(DEPRECATEDLIB_CXXFLAGS) $<
319 $(OBJS)\deprecatedlib_wxexpr.obj : .AUTODEPEND ../../src/deprecated\wxexpr.cpp
320 $(CXX) -zq -fo=$^@ $(DEPRECATEDLIB_CXXFLAGS) $<
322 $(OBJS)\deprecatedlib_dosyacc.obj : .AUTODEPEND ../../src/deprecated\dosyacc.c
323 $(CC) -zq -fo=$^@ $(DEPRECATEDLIB_CFLAGS) $<