]> git.saurik.com Git - wxWidgets.git/blame - contrib/build/deprecated/makefile.wat
Fixed wxBufferedPaintDC for scrolled windows
[wxWidgets.git] / contrib / build / deprecated / makefile.wat
CommitLineData
15e8daec
VS
1# =========================================================================
2# This makefile was generated by
b14abf14 3# Bakefile 0.1.6 (http://bakefile.sourceforge.net)
15e8daec
VS
4# Do not modify, all changes will be overwritten!
5# =========================================================================
6
fd9f42b6 7!include ../../../build/msw/config.wat
15e8daec
VS
8
9# -------------------------------------------------------------------------
10# Do not modify the rest of this file!
11# -------------------------------------------------------------------------
12
13# Speed up compilation a bit:
14!ifdef __LOADDLL__
15! loaddll wcc wccd
16! loaddll wccaxp wccdaxp
17! loaddll wcc386 wccd386
18! loaddll wpp wppdi86
19! loaddll wppaxp wppdaxp
20! loaddll wpp386 wppd386
21! loaddll wlink wlink
22! loaddll wlib wlibd
23!endif
24
25# We need these variables in some bakefile-made rules:
26WATCOM_CWD = $+ $(%cdrive):$(%cwd) $-
27
28### Conditionally set variables: ###
29
30PORTNAME =
31!ifeq USE_GUI 0
32PORTNAME = base
33!endif
34!ifeq USE_GUI 1
35PORTNAME = msw
36!endif
37VENDORTAG =
38!ifeq OFFICIAL_BUILD 0
39VENDORTAG = _$(VENDOR)
40!endif
41!ifeq OFFICIAL_BUILD 1
42VENDORTAG =
43!endif
44WXDEBUGFLAG =
45!ifeq BUILD debug
46!ifeq DEBUG_FLAG default
47WXDEBUGFLAG = d
48!endif
49!endif
50!ifeq DEBUG_FLAG 1
51WXDEBUGFLAG = d
52!endif
15e8daec
VS
53WXUNICODEFLAG =
54!ifeq UNICODE 1
55WXUNICODEFLAG = u
56!endif
57WXUNIVNAME =
58!ifeq WXUNIV 1
59WXUNIVNAME = univ
60!endif
b17c1746
DE
61WXDLLFLAG =
62!ifeq SHARED 1
63WXDLLFLAG = dll
15e8daec 64!endif
b14abf14
JS
65LIBTYPE_SUFFIX =
66!ifeq SHARED 0
67LIBTYPE_SUFFIX = lib
68!endif
69!ifeq SHARED 1
70LIBTYPE_SUFFIX = dll
71!endif
dd65d8c8
RN
72EXTRALIBS_FOR_BASE =
73!ifeq MONOLITHIC 0
74EXTRALIBS_FOR_BASE =
75!endif
76!ifeq MONOLITHIC 1
77EXTRALIBS_FOR_BASE =
78!endif
b17c1746
DE
79__deprecateddll___depname =
80!ifeq SHARED 1
81__deprecateddll___depname = &
c33fae85 82 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_deprecated_wat$(VENDORTAG).dll
15e8daec 83!endif
c4839ccf 84__DEBUGINFO_2 =
15e8daec
VS
85!ifeq BUILD debug
86!ifeq DEBUG_INFO default
c4839ccf 87__DEBUGINFO_2 = debug all
15e8daec
VS
88!endif
89!endif
90!ifeq BUILD release
91!ifeq DEBUG_INFO default
c4839ccf 92__DEBUGINFO_2 =
15e8daec
VS
93!endif
94!endif
95!ifeq DEBUG_INFO 0
c4839ccf 96__DEBUGINFO_2 =
15e8daec
VS
97!endif
98!ifeq DEBUG_INFO 1
c4839ccf 99__DEBUGINFO_2 = debug all
15e8daec 100!endif
b17c1746
DE
101__WXLIB_MONO_p =
102!ifeq MONOLITHIC 1
103__WXLIB_MONO_p = &
c33fae85 104 wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib
a4ad36cd 105!endif
b17c1746
DE
106__LIB_TIFF_p =
107!ifeq USE_GUI 1
9c2d002b 108__LIB_TIFF_p = wxtiff$(WXDEBUGFLAG).lib
a4ad36cd 109!endif
15e8daec
VS
110__LIB_JPEG_p =
111!ifeq USE_GUI 1
9c2d002b 112__LIB_JPEG_p = wxjpeg$(WXDEBUGFLAG).lib
15e8daec
VS
113!endif
114__LIB_PNG_p =
115!ifeq USE_GUI 1
9c2d002b 116__LIB_PNG_p = wxpng$(WXDEBUGFLAG).lib
15e8daec 117!endif
b17c1746
DE
118__WXLIB_CORE_p =
119!ifeq MONOLITHIC 0
120__WXLIB_CORE_p = &
c33fae85 121 wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_core.lib
b17c1746
DE
122!endif
123__WXLIB_BASE_p =
124!ifeq MONOLITHIC 0
c33fae85
RN
125__WXLIB_BASE_p = &
126 wxbase$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib
b17c1746
DE
127!endif
128__deprecatedlib___depname =
129!ifeq SHARED 0
130__deprecatedlib___depname = &
c33fae85 131 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_deprecated.lib
b17c1746 132!endif
c4839ccf 133__DEBUGINFO_1 =
b17c1746
DE
134!ifeq BUILD debug
135!ifeq DEBUG_INFO default
c4839ccf 136__DEBUGINFO_1 = -d2
b17c1746
DE
137!endif
138!endif
139!ifeq BUILD release
140!ifeq DEBUG_INFO default
c4839ccf 141__DEBUGINFO_1 = -d0
b17c1746
DE
142!endif
143!endif
144!ifeq DEBUG_INFO 0
c4839ccf 145__DEBUGINFO_1 = -d0
b17c1746
DE
146!endif
147!ifeq DEBUG_INFO 1
c4839ccf 148__DEBUGINFO_1 = -d2
15e8daec
VS
149!endif
150__OPTIMIZEFLAG =
151!ifeq BUILD debug
152__OPTIMIZEFLAG = -od
153!endif
154!ifeq BUILD release
155__OPTIMIZEFLAG = -ot -ox
156!endif
157__RUNTIME_LIBS =
158!ifeq RUNTIME_LIBS dynamic
159__RUNTIME_LIBS = -br
160!endif
161!ifeq RUNTIME_LIBS static
162__RUNTIME_LIBS =
163!endif
b17c1746
DE
164__EXCEPTIONSFLAG =
165!ifeq USE_EXCEPTIONS 0
166__EXCEPTIONSFLAG =
15e8daec 167!endif
b17c1746 168!ifeq USE_EXCEPTIONS 1
b14abf14
JS
169__EXCEPTIONSFLAG = -xr
170!endif
171__EXCEPTIONSFLAG_0 =
172!ifeq USE_EXCEPTIONS 0
173__EXCEPTIONSFLAG_0 =
174!endif
175!ifeq USE_EXCEPTIONS 1
176__EXCEPTIONSFLAG_0 = -xs
15e8daec
VS
177!endif
178__WXUNIV_DEFINE_p =
179!ifeq WXUNIV 1
180__WXUNIV_DEFINE_p = -d__WXUNIVERSAL__
181!endif
b17c1746
DE
182__DEBUG_DEFINE_p =
183!ifeq BUILD debug
184!ifeq DEBUG_FLAG default
185__DEBUG_DEFINE_p = -d__WXDEBUG__
15e8daec 186!endif
b17c1746
DE
187!endif
188!ifeq DEBUG_FLAG 1
189__DEBUG_DEFINE_p = -d__WXDEBUG__
190!endif
191__UNICODE_DEFINE_p =
192!ifeq UNICODE 1
193__UNICODE_DEFINE_p = -d_UNICODE
194!endif
15e8daec
VS
195
196### Variables: ###
197
c33fae85 198WX_RELEASE_NODOT = 25
b14abf14 199WX_VERSION_NODOT = $(WX_RELEASE_NODOT)4
b17c1746
DE
200OBJS = &
201 wat_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)
b14abf14 202LIBDIRNAME = ..\..\src\deprecated\..\..\..\lib\wat_$(LIBTYPE_SUFFIX)$(CFG)
b17c1746
DE
203SETUPHDIR = &
204 $(LIBDIRNAME)\$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)
c4839ccf 205DEPRECATEDDLL_CFLAGS = -bd $(__DEBUGINFO_1) $(__OPTIMIZEFLAG) -bm &
15e8daec
VS
206 $(__RUNTIME_LIBS) -d__WXMSW__ $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) &
207 $(__UNICODE_DEFINE_p) -i=..\..\src\deprecated\..\..\..\include &
b14abf14 208 -i=$(SETUPHDIR) -wx -wcd=549 -wcd=656 -wcd=657 -wcd=667 &
dd65d8c8 209 -i=..\..\src\deprecated\..\..\include -dWXUSINGDLL &
9bfe7ad9 210 -dWXMAKINGDLL_DEPRECATED -i=..\..\src\deprecated $(CPPFLAGS) $(CFLAGS)
c4839ccf 211DEPRECATEDDLL_CXXFLAGS = -bd $(__DEBUGINFO_1) $(__OPTIMIZEFLAG) -bm &
15e8daec
VS
212 $(__RUNTIME_LIBS) -d__WXMSW__ $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) &
213 $(__UNICODE_DEFINE_p) -i=..\..\src\deprecated\..\..\..\include &
b14abf14 214 -i=$(SETUPHDIR) -wx -wcd=549 -wcd=656 -wcd=657 -wcd=667 &
dd65d8c8 215 -i=..\..\src\deprecated\..\..\include -dWXUSINGDLL &
9bfe7ad9 216 -dWXMAKINGDLL_DEPRECATED -i=..\..\src\deprecated &
b14abf14
JS
217 /fh=$(OBJS)\wxprec_deprecateddll.pch $(__EXCEPTIONSFLAG) &
218 $(__EXCEPTIONSFLAG_0) $(CPPFLAGS) $(CXXFLAGS)
15e8daec
VS
219DEPRECATEDDLL_OBJECTS = &
220 $(OBJS)\deprecateddll_dummy.obj &
221 $(OBJS)\deprecateddll_prop.obj &
222 $(OBJS)\deprecateddll_propform.obj &
223 $(OBJS)\deprecateddll_proplist.obj &
224 $(OBJS)\deprecateddll_resource.obj &
8a82c9ec 225 $(OBJS)\deprecateddll_tbarsmpl.obj &
15e8daec
VS
226 $(OBJS)\deprecateddll_treelay.obj &
227 $(OBJS)\deprecateddll_wxexpr.obj &
228 $(OBJS)\deprecateddll_dosyacc.obj
c4839ccf 229DEPRECATEDLIB_CFLAGS = $(__DEBUGINFO_1) $(__OPTIMIZEFLAG) -bm $(__RUNTIME_LIBS) &
9bfe7ad9 230 -d__WXMSW__ $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) $(__UNICODE_DEFINE_p) &
b14abf14
JS
231 -i=..\..\src\deprecated\..\..\..\include -i=$(SETUPHDIR) -wx -wcd=549 &
232 -wcd=656 -wcd=657 -wcd=667 -i=..\..\src\deprecated\..\..\include &
233 -i=..\..\src\deprecated $(CPPFLAGS) $(CFLAGS)
c4839ccf
JS
234DEPRECATEDLIB_CXXFLAGS = $(__DEBUGINFO_1) $(__OPTIMIZEFLAG) -bm &
235 $(__RUNTIME_LIBS) -d__WXMSW__ $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) &
236 $(__UNICODE_DEFINE_p) -i=..\..\src\deprecated\..\..\..\include &
b14abf14 237 -i=$(SETUPHDIR) -wx -wcd=549 -wcd=656 -wcd=657 -wcd=667 &
dd65d8c8 238 -i=..\..\src\deprecated\..\..\include -i=..\..\src\deprecated &
b14abf14
JS
239 /fh=$(OBJS)\wxprec_deprecatedlib.pch $(__EXCEPTIONSFLAG) &
240 $(__EXCEPTIONSFLAG_0) $(CPPFLAGS) $(CXXFLAGS)
15e8daec
VS
241DEPRECATEDLIB_OBJECTS = &
242 $(OBJS)\deprecatedlib_dummy.obj &
243 $(OBJS)\deprecatedlib_prop.obj &
244 $(OBJS)\deprecatedlib_propform.obj &
245 $(OBJS)\deprecatedlib_proplist.obj &
246 $(OBJS)\deprecatedlib_resource.obj &
8a82c9ec 247 $(OBJS)\deprecatedlib_tbarsmpl.obj &
15e8daec
VS
248 $(OBJS)\deprecatedlib_treelay.obj &
249 $(OBJS)\deprecatedlib_wxexpr.obj &
250 $(OBJS)\deprecatedlib_dosyacc.obj
15e8daec 251
15e8daec
VS
252
253all : $(OBJS)
254$(OBJS) :
255 -if not exist $(OBJS) mkdir $(OBJS)
256
257### Targets: ###
258
259all : .SYMBOLIC $(__deprecateddll___depname) $(__deprecatedlib___depname)
260
b17c1746
DE
261clean : .SYMBOLIC
262 -if exist $(OBJS)\*.obj del $(OBJS)\*.obj
263 -if exist $(OBJS)\*.res del $(OBJS)\*.res
264 -if exist $(OBJS)\*.lbc del $(OBJS)\*.lbc
265 -if exist $(OBJS)\*.ilk del $(OBJS)\*.ilk
b14abf14 266 -if exist $(OBJS)\*.pch del $(OBJS)\*.pch
c33fae85
RN
267 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_deprecated_wat$(VENDORTAG).dll del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_deprecated_wat$(VENDORTAG).dll
268 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_deprecated.lib del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_deprecated.lib
269 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_deprecated.lib del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_deprecated.lib
b17c1746
DE
270
271!ifeq SHARED 1
c33fae85 272$(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_deprecated_wat$(VENDORTAG).dll : $(DEPRECATEDDLL_OBJECTS)
b17c1746
DE
273 @%create $(OBJS)\deprecateddll.lbc
274 @%append $(OBJS)\deprecateddll.lbc option quiet
275 @%append $(OBJS)\deprecateddll.lbc name $^@
276 @%append $(OBJS)\deprecateddll.lbc option caseexact
c4839ccf 277 @%append $(OBJS)\deprecateddll.lbc $(LDFLAGS) $(__DEBUGINFO_2) libpath $(LIBDIRNAME)
b17c1746 278 @for %i in ($(DEPRECATEDDLL_OBJECTS)) do @%append $(OBJS)\deprecateddll.lbc file %i
dd65d8c8 279 @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 $(EXTRALIBS_FOR_BASE) 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
b17c1746
DE
280 @%append $(OBJS)\deprecateddll.lbc
281 @%append $(OBJS)\deprecateddll.lbc system nt_dll
282 wlink @$(OBJS)\deprecateddll.lbc
c33fae85 283 wlib -q -n -b $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_deprecated.lib +$^@
b17c1746
DE
284!endif
285
286!ifeq SHARED 0
c33fae85 287$(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_deprecated.lib : $(DEPRECATEDLIB_OBJECTS)
b17c1746
DE
288 @%create $(OBJS)\deprecatedlib.lbc
289 @for %i in ($(DEPRECATEDLIB_OBJECTS)) do @%append $(OBJS)\deprecatedlib.lbc +%i
290 wlib -q -p4096 -n -b $^@ @$(OBJS)\deprecatedlib.lbc
291!endif
15e8daec
VS
292
293$(OBJS)\deprecateddll_dummy.obj : .AUTODEPEND ../../src/deprecated\..\..\..\src\msw\dummy.cpp
294 $(CXX) -zq -fo=$^@ $(DEPRECATEDDLL_CXXFLAGS) $<
295
296$(OBJS)\deprecateddll_prop.obj : .AUTODEPEND ../../src/deprecated\prop.cpp
297 $(CXX) -zq -fo=$^@ $(DEPRECATEDDLL_CXXFLAGS) $<
298
299$(OBJS)\deprecateddll_propform.obj : .AUTODEPEND ../../src/deprecated\propform.cpp
300 $(CXX) -zq -fo=$^@ $(DEPRECATEDDLL_CXXFLAGS) $<
301
302$(OBJS)\deprecateddll_proplist.obj : .AUTODEPEND ../../src/deprecated\proplist.cpp
303 $(CXX) -zq -fo=$^@ $(DEPRECATEDDLL_CXXFLAGS) $<
304
305$(OBJS)\deprecateddll_resource.obj : .AUTODEPEND ../../src/deprecated\resource.cpp
306 $(CXX) -zq -fo=$^@ $(DEPRECATEDDLL_CXXFLAGS) $<
307
8a82c9ec
JS
308$(OBJS)\deprecateddll_tbarsmpl.obj : .AUTODEPEND ../../src/deprecated\tbarsmpl.cpp
309 $(CXX) -zq -fo=$^@ $(DEPRECATEDDLL_CXXFLAGS) $<
310
15e8daec
VS
311$(OBJS)\deprecateddll_treelay.obj : .AUTODEPEND ../../src/deprecated\treelay.cpp
312 $(CXX) -zq -fo=$^@ $(DEPRECATEDDLL_CXXFLAGS) $<
313
314$(OBJS)\deprecateddll_wxexpr.obj : .AUTODEPEND ../../src/deprecated\wxexpr.cpp
315 $(CXX) -zq -fo=$^@ $(DEPRECATEDDLL_CXXFLAGS) $<
316
b17c1746
DE
317$(OBJS)\deprecateddll_dosyacc.obj : .AUTODEPEND ../../src/deprecated\dosyacc.c
318 $(CC) -zq -fo=$^@ $(DEPRECATEDDLL_CFLAGS) $<
15e8daec
VS
319
320$(OBJS)\deprecatedlib_dummy.obj : .AUTODEPEND ../../src/deprecated\..\..\..\src\msw\dummy.cpp
321 $(CXX) -zq -fo=$^@ $(DEPRECATEDLIB_CXXFLAGS) $<
322
323$(OBJS)\deprecatedlib_prop.obj : .AUTODEPEND ../../src/deprecated\prop.cpp
324 $(CXX) -zq -fo=$^@ $(DEPRECATEDLIB_CXXFLAGS) $<
325
326$(OBJS)\deprecatedlib_propform.obj : .AUTODEPEND ../../src/deprecated\propform.cpp
327 $(CXX) -zq -fo=$^@ $(DEPRECATEDLIB_CXXFLAGS) $<
328
329$(OBJS)\deprecatedlib_proplist.obj : .AUTODEPEND ../../src/deprecated\proplist.cpp
330 $(CXX) -zq -fo=$^@ $(DEPRECATEDLIB_CXXFLAGS) $<
331
332$(OBJS)\deprecatedlib_resource.obj : .AUTODEPEND ../../src/deprecated\resource.cpp
333 $(CXX) -zq -fo=$^@ $(DEPRECATEDLIB_CXXFLAGS) $<
334
8a82c9ec
JS
335$(OBJS)\deprecatedlib_tbarsmpl.obj : .AUTODEPEND ../../src/deprecated\tbarsmpl.cpp
336 $(CXX) -zq -fo=$^@ $(DEPRECATEDLIB_CXXFLAGS) $<
337
15e8daec
VS
338$(OBJS)\deprecatedlib_treelay.obj : .AUTODEPEND ../../src/deprecated\treelay.cpp
339 $(CXX) -zq -fo=$^@ $(DEPRECATEDLIB_CXXFLAGS) $<
340
341$(OBJS)\deprecatedlib_wxexpr.obj : .AUTODEPEND ../../src/deprecated\wxexpr.cpp
342 $(CXX) -zq -fo=$^@ $(DEPRECATEDLIB_CXXFLAGS) $<
343
b17c1746
DE
344$(OBJS)\deprecatedlib_dosyacc.obj : .AUTODEPEND ../../src/deprecated\dosyacc.c
345 $(CC) -zq -fo=$^@ $(DEPRECATEDLIB_CFLAGS) $<
b14abf14 346