]> git.saurik.com Git - wxWidgets.git/blame - contrib/build/fl/makefile.wat
Typos fixed and further clarification of the Python situation on Panther
[wxWidgets.git] / contrib / build / fl / makefile.wat
CommitLineData
250700e4
RD
1# =========================================================================
2# This makefile was generated by
bdc408c4 3# Bakefile 0.1.1 (http://bakefile.sourceforge.net)
250700e4
RD
4# Do not modify, all changes will be overwritten!
5# =========================================================================
6
fd9f42b6 7!include ../../../build/msw/config.wat
250700e4
RD
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
75a0a7b7
VS
30LIBDIRNAME =
31!ifeq SHARED 0
32LIBDIRNAME = ..\..\src\fl\..\..\..\lib\wat_lib$(CFG)
33!endif
34!ifeq SHARED 1
35LIBDIRNAME = ..\..\src\fl\..\..\..\lib\wat_dll$(CFG)
36!endif
250700e4
RD
37PORTNAME =
38!ifeq USE_GUI 0
39PORTNAME = base
40!endif
41!ifeq USE_GUI 1
42PORTNAME = msw
43!endif
44VENDORTAG =
45!ifeq OFFICIAL_BUILD 0
46VENDORTAG = _$(VENDOR)
47!endif
48!ifeq OFFICIAL_BUILD 1
49VENDORTAG =
50!endif
51WXDEBUGFLAG =
52!ifeq BUILD debug
3f55f5b8
VS
53!ifeq DEBUG_FLAG default
54WXDEBUGFLAG = d
55!endif
56!endif
57!ifeq DEBUG_FLAG 1
250700e4
RD
58WXDEBUGFLAG = d
59!endif
60WXDLLFLAG =
61!ifeq SHARED 1
62WXDLLFLAG = dll
63!endif
64WXUNICODEFLAG =
65!ifeq UNICODE 1
66WXUNICODEFLAG = u
67!endif
68WXUNIVNAME =
69!ifeq WXUNIV 1
70WXUNIVNAME = univ
71!endif
3f55f5b8 72__DEBUGINFO =
250700e4 73!ifeq BUILD debug
3f55f5b8
VS
74!ifeq DEBUG_INFO default
75__DEBUGINFO = -d2
76!endif
250700e4
RD
77!endif
78!ifeq BUILD release
3f55f5b8
VS
79!ifeq DEBUG_INFO default
80__DEBUGINFO = -d0
81!endif
250700e4 82!endif
3f55f5b8
VS
83!ifeq DEBUG_INFO 0
84__DEBUGINFO = -d0
85!endif
86!ifeq DEBUG_INFO 1
87__DEBUGINFO = -d2
88!endif
89__DEBUGINFO_1 =
250700e4 90!ifeq BUILD debug
3f55f5b8
VS
91!ifeq DEBUG_INFO default
92__DEBUGINFO_1 = debug all
93!endif
250700e4
RD
94!endif
95!ifeq BUILD release
3f55f5b8
VS
96!ifeq DEBUG_INFO default
97__DEBUGINFO_1 =
98!endif
99!endif
100!ifeq DEBUG_INFO 0
101__DEBUGINFO_1 =
102!endif
103!ifeq DEBUG_INFO 1
104__DEBUGINFO_1 = debug all
250700e4
RD
105!endif
106__DEBUG_DEFINE_p =
107!ifeq BUILD debug
3f55f5b8 108!ifeq DEBUG_FLAG default
250700e4
RD
109__DEBUG_DEFINE_p = -d__WXDEBUG__
110!endif
3f55f5b8
VS
111!endif
112!ifeq DEBUG_FLAG 1
113__DEBUG_DEFINE_p = -d__WXDEBUG__
114!endif
a4ad36cd
VS
115__EXCEPTIONSFLAG =
116!ifeq USE_EXCEPTIONS 0
117__EXCEPTIONSFLAG =
118!endif
119!ifeq USE_EXCEPTIONS 1
120__EXCEPTIONSFLAG = -xs
121!endif
3f55f5b8
VS
122__LIB_JPEG_p =
123!ifeq USE_GUI 1
124__LIB_JPEG_p = wxjpeg$(WXDEBUGFLAG).lib
125!endif
126__LIB_PNG_p =
127!ifeq USE_GUI 1
128__LIB_PNG_p = wxpng$(WXDEBUGFLAG).lib
129!endif
130__LIB_TIFF_p =
131!ifeq USE_GUI 1
132__LIB_TIFF_p = wxtiff$(WXDEBUGFLAG).lib
133!endif
250700e4
RD
134__OPTIMIZEFLAG =
135!ifeq BUILD debug
136__OPTIMIZEFLAG = -od
137!endif
138!ifeq BUILD release
139__OPTIMIZEFLAG = -ot -ox
140!endif
141__RUNTIME_LIBS =
142!ifeq RUNTIME_LIBS dynamic
143__RUNTIME_LIBS = -br
144!endif
145!ifeq RUNTIME_LIBS static
146__RUNTIME_LIBS =
147!endif
148__UNICODE_DEFINE_p =
149!ifeq UNICODE 1
ec08d395 150__UNICODE_DEFINE_p = -d_UNICODE
250700e4
RD
151!endif
152__WXLIB_BASE_p =
153!ifeq MONOLITHIC 0
154__WXLIB_BASE_p = wxbase25$(WXUNICODEFLAG)$(WXDEBUGFLAG).lib
155!endif
156__WXLIB_CORE_p =
157!ifeq MONOLITHIC 0
3f55f5b8
VS
158__WXLIB_CORE_p = &
159 wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_core.lib
250700e4
RD
160!endif
161__WXLIB_MONO_p =
162!ifeq MONOLITHIC 1
3f55f5b8
VS
163__WXLIB_MONO_p = &
164 wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG).lib
250700e4
RD
165!endif
166__WXUNIV_DEFINE_p =
167!ifeq WXUNIV 1
168__WXUNIV_DEFINE_p = -d__WXUNIVERSAL__
169!endif
170__fldll___depname =
171!ifeq SHARED 1
3f55f5b8 172__fldll___depname = &
ec08d395 173 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)251$(WXUNICODEFLAG)$(WXDEBUGFLAG)_fl_wat$(VENDORTAG).dll
250700e4
RD
174!endif
175__fllib___depname =
176!ifeq SHARED 0
3f55f5b8
VS
177__fllib___depname = &
178 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_fl.lib
250700e4
RD
179!endif
180
181### Variables: ###
182
9bfe7ad9
VS
183FLDLL_CXXFLAGS = -bd $(__DEBUGINFO) $(__OPTIMIZEFLAG) -bm $(__RUNTIME_LIBS) &
184 -d__WXMSW__ $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) $(__UNICODE_DEFINE_p) &
185 -i=..\..\src\fl\..\..\..\include -i=$(SETUPHDIR) &
186 -i=..\..\src\fl\..\..\include -dWXUSINGDLL -dWXMAKINGDLL_FL &
187 /fh=$(OBJS)\wxprec_fldll.pch $(__EXCEPTIONSFLAG) $(CPPFLAGS) $(CXXFLAGS)
3f55f5b8
VS
188FLDLL_OBJECTS = &
189 $(OBJS)\fldll_dummy.obj &
190 $(OBJS)\fldll_antiflickpl.obj &
191 $(OBJS)\fldll_bardragpl.obj &
192 $(OBJS)\fldll_barhintspl.obj &
193 $(OBJS)\fldll_cbcustom.obj &
194 $(OBJS)\fldll_controlbar.obj &
195 $(OBJS)\fldll_dyntbar.obj &
196 $(OBJS)\fldll_dyntbarhnd.obj &
197 $(OBJS)\fldll_frmview.obj &
198 $(OBJS)\fldll_garbagec.obj &
199 $(OBJS)\fldll_gcupdatesmgr.obj &
200 $(OBJS)\fldll_hintanimpl.obj &
201 $(OBJS)\fldll_newbmpbtn.obj &
202 $(OBJS)\fldll_panedrawpl.obj &
203 $(OBJS)\fldll_rowdragpl.obj &
204 $(OBJS)\fldll_rowlayoutpl.obj &
205 $(OBJS)\fldll_toolwnd.obj &
206 $(OBJS)\fldll_updatesmgr.obj
9bfe7ad9
VS
207FLLIB_CXXFLAGS = $(__DEBUGINFO) $(__OPTIMIZEFLAG) -bm $(__RUNTIME_LIBS) &
208 -d__WXMSW__ $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) $(__UNICODE_DEFINE_p) &
209 -i=..\..\src\fl\..\..\..\include -i=$(SETUPHDIR) &
210 -i=..\..\src\fl\..\..\include /fh=$(OBJS)\wxprec_fllib.pch &
211 $(__EXCEPTIONSFLAG) $(CPPFLAGS) $(CXXFLAGS)
3f55f5b8
VS
212FLLIB_OBJECTS = &
213 $(OBJS)\fllib_dummy.obj &
214 $(OBJS)\fllib_antiflickpl.obj &
215 $(OBJS)\fllib_bardragpl.obj &
216 $(OBJS)\fllib_barhintspl.obj &
217 $(OBJS)\fllib_cbcustom.obj &
218 $(OBJS)\fllib_controlbar.obj &
219 $(OBJS)\fllib_dyntbar.obj &
220 $(OBJS)\fllib_dyntbarhnd.obj &
221 $(OBJS)\fllib_frmview.obj &
222 $(OBJS)\fllib_garbagec.obj &
223 $(OBJS)\fllib_gcupdatesmgr.obj &
224 $(OBJS)\fllib_hintanimpl.obj &
225 $(OBJS)\fllib_newbmpbtn.obj &
226 $(OBJS)\fllib_panedrawpl.obj &
227 $(OBJS)\fllib_rowdragpl.obj &
228 $(OBJS)\fllib_rowlayoutpl.obj &
229 $(OBJS)\fllib_toolwnd.obj &
230 $(OBJS)\fllib_updatesmgr.obj
3f55f5b8
VS
231OBJS = &
232 wat_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)
75a0a7b7
VS
233SETUPHDIR = &
234 $(LIBDIRNAME)\$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)
250700e4 235
250700e4
RD
236
237all : $(OBJS)
238$(OBJS) :
239 -if not exist $(OBJS) mkdir $(OBJS)
240
241### Targets: ###
242
243all : .SYMBOLIC $(__fldll___depname) $(__fllib___depname)
244
245$(OBJS)\fldll_antiflickpl.obj : .AUTODEPEND ../../src/fl\antiflickpl.cpp
246 $(CXX) -zq -fo=$^@ $(FLDLL_CXXFLAGS) $<
247
248$(OBJS)\fldll_bardragpl.obj : .AUTODEPEND ../../src/fl\bardragpl.cpp
249 $(CXX) -zq -fo=$^@ $(FLDLL_CXXFLAGS) $<
250
251$(OBJS)\fldll_barhintspl.obj : .AUTODEPEND ../../src/fl\barhintspl.cpp
252 $(CXX) -zq -fo=$^@ $(FLDLL_CXXFLAGS) $<
253
254$(OBJS)\fldll_cbcustom.obj : .AUTODEPEND ../../src/fl\cbcustom.cpp
255 $(CXX) -zq -fo=$^@ $(FLDLL_CXXFLAGS) $<
256
257$(OBJS)\fldll_controlbar.obj : .AUTODEPEND ../../src/fl\controlbar.cpp
258 $(CXX) -zq -fo=$^@ $(FLDLL_CXXFLAGS) $<
259
260$(OBJS)\fldll_dummy.obj : .AUTODEPEND ../../src/fl\..\..\..\src\msw\dummy.cpp
261 $(CXX) -zq -fo=$^@ $(FLDLL_CXXFLAGS) $<
262
263$(OBJS)\fldll_dyntbar.obj : .AUTODEPEND ../../src/fl\dyntbar.cpp
264 $(CXX) -zq -fo=$^@ $(FLDLL_CXXFLAGS) $<
265
266$(OBJS)\fldll_dyntbarhnd.obj : .AUTODEPEND ../../src/fl\dyntbarhnd.cpp
267 $(CXX) -zq -fo=$^@ $(FLDLL_CXXFLAGS) $<
268
269$(OBJS)\fldll_frmview.obj : .AUTODEPEND ../../src/fl\frmview.cpp
270 $(CXX) -zq -fo=$^@ $(FLDLL_CXXFLAGS) $<
271
272$(OBJS)\fldll_garbagec.obj : .AUTODEPEND ../../src/fl\garbagec.cpp
273 $(CXX) -zq -fo=$^@ $(FLDLL_CXXFLAGS) $<
274
275$(OBJS)\fldll_gcupdatesmgr.obj : .AUTODEPEND ../../src/fl\gcupdatesmgr.cpp
276 $(CXX) -zq -fo=$^@ $(FLDLL_CXXFLAGS) $<
277
278$(OBJS)\fldll_hintanimpl.obj : .AUTODEPEND ../../src/fl\hintanimpl.cpp
279 $(CXX) -zq -fo=$^@ $(FLDLL_CXXFLAGS) $<
280
281$(OBJS)\fldll_newbmpbtn.obj : .AUTODEPEND ../../src/fl\newbmpbtn.cpp
282 $(CXX) -zq -fo=$^@ $(FLDLL_CXXFLAGS) $<
283
284$(OBJS)\fldll_panedrawpl.obj : .AUTODEPEND ../../src/fl\panedrawpl.cpp
285 $(CXX) -zq -fo=$^@ $(FLDLL_CXXFLAGS) $<
286
287$(OBJS)\fldll_rowdragpl.obj : .AUTODEPEND ../../src/fl\rowdragpl.cpp
288 $(CXX) -zq -fo=$^@ $(FLDLL_CXXFLAGS) $<
289
290$(OBJS)\fldll_rowlayoutpl.obj : .AUTODEPEND ../../src/fl\rowlayoutpl.cpp
291 $(CXX) -zq -fo=$^@ $(FLDLL_CXXFLAGS) $<
292
293$(OBJS)\fldll_toolwnd.obj : .AUTODEPEND ../../src/fl\toolwnd.cpp
294 $(CXX) -zq -fo=$^@ $(FLDLL_CXXFLAGS) $<
295
296$(OBJS)\fldll_updatesmgr.obj : .AUTODEPEND ../../src/fl\updatesmgr.cpp
297 $(CXX) -zq -fo=$^@ $(FLDLL_CXXFLAGS) $<
298
299$(OBJS)\fllib_antiflickpl.obj : .AUTODEPEND ../../src/fl\antiflickpl.cpp
300 $(CXX) -zq -fo=$^@ $(FLLIB_CXXFLAGS) $<
301
302$(OBJS)\fllib_bardragpl.obj : .AUTODEPEND ../../src/fl\bardragpl.cpp
303 $(CXX) -zq -fo=$^@ $(FLLIB_CXXFLAGS) $<
304
305$(OBJS)\fllib_barhintspl.obj : .AUTODEPEND ../../src/fl\barhintspl.cpp
306 $(CXX) -zq -fo=$^@ $(FLLIB_CXXFLAGS) $<
307
308$(OBJS)\fllib_cbcustom.obj : .AUTODEPEND ../../src/fl\cbcustom.cpp
309 $(CXX) -zq -fo=$^@ $(FLLIB_CXXFLAGS) $<
310
311$(OBJS)\fllib_controlbar.obj : .AUTODEPEND ../../src/fl\controlbar.cpp
312 $(CXX) -zq -fo=$^@ $(FLLIB_CXXFLAGS) $<
313
314$(OBJS)\fllib_dummy.obj : .AUTODEPEND ../../src/fl\..\..\..\src\msw\dummy.cpp
315 $(CXX) -zq -fo=$^@ $(FLLIB_CXXFLAGS) $<
316
317$(OBJS)\fllib_dyntbar.obj : .AUTODEPEND ../../src/fl\dyntbar.cpp
318 $(CXX) -zq -fo=$^@ $(FLLIB_CXXFLAGS) $<
319
320$(OBJS)\fllib_dyntbarhnd.obj : .AUTODEPEND ../../src/fl\dyntbarhnd.cpp
321 $(CXX) -zq -fo=$^@ $(FLLIB_CXXFLAGS) $<
322
323$(OBJS)\fllib_frmview.obj : .AUTODEPEND ../../src/fl\frmview.cpp
324 $(CXX) -zq -fo=$^@ $(FLLIB_CXXFLAGS) $<
325
326$(OBJS)\fllib_garbagec.obj : .AUTODEPEND ../../src/fl\garbagec.cpp
327 $(CXX) -zq -fo=$^@ $(FLLIB_CXXFLAGS) $<
328
329$(OBJS)\fllib_gcupdatesmgr.obj : .AUTODEPEND ../../src/fl\gcupdatesmgr.cpp
330 $(CXX) -zq -fo=$^@ $(FLLIB_CXXFLAGS) $<
331
332$(OBJS)\fllib_hintanimpl.obj : .AUTODEPEND ../../src/fl\hintanimpl.cpp
333 $(CXX) -zq -fo=$^@ $(FLLIB_CXXFLAGS) $<
334
335$(OBJS)\fllib_newbmpbtn.obj : .AUTODEPEND ../../src/fl\newbmpbtn.cpp
336 $(CXX) -zq -fo=$^@ $(FLLIB_CXXFLAGS) $<
337
338$(OBJS)\fllib_panedrawpl.obj : .AUTODEPEND ../../src/fl\panedrawpl.cpp
339 $(CXX) -zq -fo=$^@ $(FLLIB_CXXFLAGS) $<
340
341$(OBJS)\fllib_rowdragpl.obj : .AUTODEPEND ../../src/fl\rowdragpl.cpp
342 $(CXX) -zq -fo=$^@ $(FLLIB_CXXFLAGS) $<
343
344$(OBJS)\fllib_rowlayoutpl.obj : .AUTODEPEND ../../src/fl\rowlayoutpl.cpp
345 $(CXX) -zq -fo=$^@ $(FLLIB_CXXFLAGS) $<
346
347$(OBJS)\fllib_toolwnd.obj : .AUTODEPEND ../../src/fl\toolwnd.cpp
348 $(CXX) -zq -fo=$^@ $(FLLIB_CXXFLAGS) $<
349
350$(OBJS)\fllib_updatesmgr.obj : .AUTODEPEND ../../src/fl\updatesmgr.cpp
351 $(CXX) -zq -fo=$^@ $(FLLIB_CXXFLAGS) $<
352
353clean : .SYMBOLIC
354 -if exist $(OBJS)\*.obj del $(OBJS)\*.obj
355 -if exist $(OBJS)\*.res del $(OBJS)\*.res
356 -if exist $(OBJS)\*.lbc del $(OBJS)\*.lbc
357 -if exist $(OBJS)\*.ilk del $(OBJS)\*.ilk
ec08d395 358 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)251$(WXUNICODEFLAG)$(WXDEBUGFLAG)_fl_wat$(VENDORTAG).dll del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)251$(WXUNICODEFLAG)$(WXDEBUGFLAG)_fl_wat$(VENDORTAG).dll
3f55f5b8
VS
359 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_fl.lib del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_fl.lib
360 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_fl.lib del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_fl.lib
250700e4
RD
361
362!ifeq SHARED 1
ec08d395 363$(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)251$(WXUNICODEFLAG)$(WXDEBUGFLAG)_fl_wat$(VENDORTAG).dll : $(FLDLL_OBJECTS)
250700e4
RD
364 @%create $(OBJS)\fldll.lbc
365 @%append $(OBJS)\fldll.lbc option quiet
366 @%append $(OBJS)\fldll.lbc name $^@
75a0a7b7 367 @%append $(OBJS)\fldll.lbc option caseexact
3f55f5b8
VS
368 @%append $(OBJS)\fldll.lbc $(LDFLAGS) $(__DEBUGINFO_1) libpath $(LIBDIRNAME)
369 @for %i in ($(FLDLL_OBJECTS)) do @%append $(OBJS)\fldll.lbc file %i
ec08d395 370 @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)\fldll.lbc library %i
250700e4
RD
371 @%append $(OBJS)\fldll.lbc
372 @%append $(OBJS)\fldll.lbc system nt_dll
373 wlink @$(OBJS)\fldll.lbc
3f55f5b8 374 wlib -q -n -b $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_fl.lib +$^@
250700e4
RD
375!endif
376
377!ifeq SHARED 0
3f55f5b8 378$(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_fl.lib : $(FLLIB_OBJECTS)
250700e4 379 @%create $(OBJS)\fllib.lbc
3f55f5b8 380 @for %i in ($(FLLIB_OBJECTS)) do @%append $(OBJS)\fllib.lbc +%i
9bfe7ad9 381 wlib -q -p4096 -n -b $^@ @$(OBJS)\fllib.lbc
250700e4 382!endif