]> git.saurik.com Git - wxWidgets.git/blame - contrib/build/fl/makefile.wat
removed old expat
[wxWidgets.git] / contrib / build / fl / makefile.wat
CommitLineData
250700e4
RD
1# =========================================================================
2# This makefile was generated by
3# Bakefile 0.1.1.20030719 (http://bakefile.sourceforge.net)
4# Do not modify, all changes will be overwritten!
5# =========================================================================
6
7!include ../../../build/config.wat
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
46WXDEBUGFLAG = d
47!endif
48WXDLLFLAG =
49!ifeq SHARED 1
50WXDLLFLAG = dll
51!endif
52WXUNICODEFLAG =
53!ifeq UNICODE 1
54WXUNICODEFLAG = u
55!endif
56WXUNIVNAME =
57!ifeq WXUNIV 1
58WXUNIVNAME = univ
59!endif
60__DEBUGFLAG =
61!ifeq BUILD debug
62__DEBUGFLAG = -d2
63!endif
64!ifeq BUILD release
65__DEBUGFLAG = -d0
66!endif
67__DEBUGFLAG_1 =
68!ifeq BUILD debug
69__DEBUGFLAG_1 = debug all
70!endif
71!ifeq BUILD release
72__DEBUGFLAG_1 =
73!endif
74__DEBUG_DEFINE_p =
75!ifeq BUILD debug
76__DEBUG_DEFINE_p = -d__WXDEBUG__
77!endif
78__OPTIMIZEFLAG =
79!ifeq BUILD debug
80__OPTIMIZEFLAG = -od
81!endif
82!ifeq BUILD release
83__OPTIMIZEFLAG = -ot -ox
84!endif
85__RUNTIME_LIBS =
86!ifeq RUNTIME_LIBS dynamic
87__RUNTIME_LIBS = -br
88!endif
89!ifeq RUNTIME_LIBS static
90__RUNTIME_LIBS =
91!endif
92__UNICODE_DEFINE_p =
93!ifeq UNICODE 1
94__UNICODE_DEFINE_p = -dwxUSE_UNICODE=1
95!endif
96__WXLIB_BASE_p =
97!ifeq MONOLITHIC 0
98__WXLIB_BASE_p = wxbase25$(WXUNICODEFLAG)$(WXDEBUGFLAG).lib
99!endif
100__WXLIB_CORE_p =
101!ifeq MONOLITHIC 0
102__WXLIB_CORE_p = wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_core.lib
103!endif
104__WXLIB_MONO_p =
105!ifeq MONOLITHIC 1
106__WXLIB_MONO_p = wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG).lib
107!endif
108__WXUNIV_DEFINE_p =
109!ifeq WXUNIV 1
110__WXUNIV_DEFINE_p = -d__WXUNIVERSAL__
111!endif
112__fldll___depname =
113!ifeq SHARED 1
114__fldll___depname = ..\..\src\fl\..\..\..\lib\wat_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_fl_wat$(VENDORTAG).dll
115!endif
116__fllib___depname =
117!ifeq SHARED 0
118__fllib___depname = ..\..\src\fl\..\..\..\lib\wat_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_fl.lib
119!endif
120
121### Variables: ###
122
123FLDLL_CXXFLAGS = $(CPPFLAGS) /fh=$(OBJS)\wxprec_fldll.pch -bd $(__DEBUGFLAG) $(__OPTIMIZEFLAG) -bm $(__RUNTIME_LIBS) -d__WXMSW__ $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) $(__UNICODE_DEFINE_p) -i=..\..\src\fl\..\..\..\include -i=..\..\src\fl\..\..\..\lib\wat_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG) -i=..\..\src\fl\..\..\..\src\tiff -i=..\..\src\fl\..\..\..\src\jpeg -i=..\..\src\fl\..\..\..\src\png -i=..\..\src\fl\..\..\..\src\zlib -i=..\..\src\fl\..\..\..\src\regex -i=..\..\src\fl\..\..\include -dWXUSINGDLL -dWXMAKINGDLL_FL $(CXXFLAGS)
124FLLIB_CXXFLAGS = $(CPPFLAGS) /fh=$(OBJS)\wxprec_fllib.pch $(__DEBUGFLAG) $(__OPTIMIZEFLAG) -bm $(__RUNTIME_LIBS) -d__WXMSW__ $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) $(__UNICODE_DEFINE_p) -i=..\..\src\fl\..\..\..\include -i=..\..\src\fl\..\..\..\lib\wat_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG) -i=..\..\src\fl\..\..\..\src\tiff -i=..\..\src\fl\..\..\..\src\jpeg -i=..\..\src\fl\..\..\..\src\png -i=..\..\src\fl\..\..\..\src\zlib -i=..\..\src\fl\..\..\..\src\regex -i=..\..\src\fl\..\..\include $(CXXFLAGS)
125OBJS = wat_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)
126
127
128
129all : $(OBJS)
130$(OBJS) :
131 -if not exist $(OBJS) mkdir $(OBJS)
132
133### Targets: ###
134
135all : .SYMBOLIC $(__fldll___depname) $(__fllib___depname)
136
137$(OBJS)\fldll_antiflickpl.obj : .AUTODEPEND ../../src/fl\antiflickpl.cpp
138 $(CXX) -zq -fo=$^@ $(FLDLL_CXXFLAGS) $<
139
140$(OBJS)\fldll_bardragpl.obj : .AUTODEPEND ../../src/fl\bardragpl.cpp
141 $(CXX) -zq -fo=$^@ $(FLDLL_CXXFLAGS) $<
142
143$(OBJS)\fldll_barhintspl.obj : .AUTODEPEND ../../src/fl\barhintspl.cpp
144 $(CXX) -zq -fo=$^@ $(FLDLL_CXXFLAGS) $<
145
146$(OBJS)\fldll_cbcustom.obj : .AUTODEPEND ../../src/fl\cbcustom.cpp
147 $(CXX) -zq -fo=$^@ $(FLDLL_CXXFLAGS) $<
148
149$(OBJS)\fldll_controlbar.obj : .AUTODEPEND ../../src/fl\controlbar.cpp
150 $(CXX) -zq -fo=$^@ $(FLDLL_CXXFLAGS) $<
151
152$(OBJS)\fldll_dummy.obj : .AUTODEPEND ../../src/fl\..\..\..\src\msw\dummy.cpp
153 $(CXX) -zq -fo=$^@ $(FLDLL_CXXFLAGS) $<
154
155$(OBJS)\fldll_dyntbar.obj : .AUTODEPEND ../../src/fl\dyntbar.cpp
156 $(CXX) -zq -fo=$^@ $(FLDLL_CXXFLAGS) $<
157
158$(OBJS)\fldll_dyntbarhnd.obj : .AUTODEPEND ../../src/fl\dyntbarhnd.cpp
159 $(CXX) -zq -fo=$^@ $(FLDLL_CXXFLAGS) $<
160
161$(OBJS)\fldll_frmview.obj : .AUTODEPEND ../../src/fl\frmview.cpp
162 $(CXX) -zq -fo=$^@ $(FLDLL_CXXFLAGS) $<
163
164$(OBJS)\fldll_garbagec.obj : .AUTODEPEND ../../src/fl\garbagec.cpp
165 $(CXX) -zq -fo=$^@ $(FLDLL_CXXFLAGS) $<
166
167$(OBJS)\fldll_gcupdatesmgr.obj : .AUTODEPEND ../../src/fl\gcupdatesmgr.cpp
168 $(CXX) -zq -fo=$^@ $(FLDLL_CXXFLAGS) $<
169
170$(OBJS)\fldll_hintanimpl.obj : .AUTODEPEND ../../src/fl\hintanimpl.cpp
171 $(CXX) -zq -fo=$^@ $(FLDLL_CXXFLAGS) $<
172
173$(OBJS)\fldll_newbmpbtn.obj : .AUTODEPEND ../../src/fl\newbmpbtn.cpp
174 $(CXX) -zq -fo=$^@ $(FLDLL_CXXFLAGS) $<
175
176$(OBJS)\fldll_panedrawpl.obj : .AUTODEPEND ../../src/fl\panedrawpl.cpp
177 $(CXX) -zq -fo=$^@ $(FLDLL_CXXFLAGS) $<
178
179$(OBJS)\fldll_rowdragpl.obj : .AUTODEPEND ../../src/fl\rowdragpl.cpp
180 $(CXX) -zq -fo=$^@ $(FLDLL_CXXFLAGS) $<
181
182$(OBJS)\fldll_rowlayoutpl.obj : .AUTODEPEND ../../src/fl\rowlayoutpl.cpp
183 $(CXX) -zq -fo=$^@ $(FLDLL_CXXFLAGS) $<
184
185$(OBJS)\fldll_toolwnd.obj : .AUTODEPEND ../../src/fl\toolwnd.cpp
186 $(CXX) -zq -fo=$^@ $(FLDLL_CXXFLAGS) $<
187
188$(OBJS)\fldll_updatesmgr.obj : .AUTODEPEND ../../src/fl\updatesmgr.cpp
189 $(CXX) -zq -fo=$^@ $(FLDLL_CXXFLAGS) $<
190
191$(OBJS)\fllib_antiflickpl.obj : .AUTODEPEND ../../src/fl\antiflickpl.cpp
192 $(CXX) -zq -fo=$^@ $(FLLIB_CXXFLAGS) $<
193
194$(OBJS)\fllib_bardragpl.obj : .AUTODEPEND ../../src/fl\bardragpl.cpp
195 $(CXX) -zq -fo=$^@ $(FLLIB_CXXFLAGS) $<
196
197$(OBJS)\fllib_barhintspl.obj : .AUTODEPEND ../../src/fl\barhintspl.cpp
198 $(CXX) -zq -fo=$^@ $(FLLIB_CXXFLAGS) $<
199
200$(OBJS)\fllib_cbcustom.obj : .AUTODEPEND ../../src/fl\cbcustom.cpp
201 $(CXX) -zq -fo=$^@ $(FLLIB_CXXFLAGS) $<
202
203$(OBJS)\fllib_controlbar.obj : .AUTODEPEND ../../src/fl\controlbar.cpp
204 $(CXX) -zq -fo=$^@ $(FLLIB_CXXFLAGS) $<
205
206$(OBJS)\fllib_dummy.obj : .AUTODEPEND ../../src/fl\..\..\..\src\msw\dummy.cpp
207 $(CXX) -zq -fo=$^@ $(FLLIB_CXXFLAGS) $<
208
209$(OBJS)\fllib_dyntbar.obj : .AUTODEPEND ../../src/fl\dyntbar.cpp
210 $(CXX) -zq -fo=$^@ $(FLLIB_CXXFLAGS) $<
211
212$(OBJS)\fllib_dyntbarhnd.obj : .AUTODEPEND ../../src/fl\dyntbarhnd.cpp
213 $(CXX) -zq -fo=$^@ $(FLLIB_CXXFLAGS) $<
214
215$(OBJS)\fllib_frmview.obj : .AUTODEPEND ../../src/fl\frmview.cpp
216 $(CXX) -zq -fo=$^@ $(FLLIB_CXXFLAGS) $<
217
218$(OBJS)\fllib_garbagec.obj : .AUTODEPEND ../../src/fl\garbagec.cpp
219 $(CXX) -zq -fo=$^@ $(FLLIB_CXXFLAGS) $<
220
221$(OBJS)\fllib_gcupdatesmgr.obj : .AUTODEPEND ../../src/fl\gcupdatesmgr.cpp
222 $(CXX) -zq -fo=$^@ $(FLLIB_CXXFLAGS) $<
223
224$(OBJS)\fllib_hintanimpl.obj : .AUTODEPEND ../../src/fl\hintanimpl.cpp
225 $(CXX) -zq -fo=$^@ $(FLLIB_CXXFLAGS) $<
226
227$(OBJS)\fllib_newbmpbtn.obj : .AUTODEPEND ../../src/fl\newbmpbtn.cpp
228 $(CXX) -zq -fo=$^@ $(FLLIB_CXXFLAGS) $<
229
230$(OBJS)\fllib_panedrawpl.obj : .AUTODEPEND ../../src/fl\panedrawpl.cpp
231 $(CXX) -zq -fo=$^@ $(FLLIB_CXXFLAGS) $<
232
233$(OBJS)\fllib_rowdragpl.obj : .AUTODEPEND ../../src/fl\rowdragpl.cpp
234 $(CXX) -zq -fo=$^@ $(FLLIB_CXXFLAGS) $<
235
236$(OBJS)\fllib_rowlayoutpl.obj : .AUTODEPEND ../../src/fl\rowlayoutpl.cpp
237 $(CXX) -zq -fo=$^@ $(FLLIB_CXXFLAGS) $<
238
239$(OBJS)\fllib_toolwnd.obj : .AUTODEPEND ../../src/fl\toolwnd.cpp
240 $(CXX) -zq -fo=$^@ $(FLLIB_CXXFLAGS) $<
241
242$(OBJS)\fllib_updatesmgr.obj : .AUTODEPEND ../../src/fl\updatesmgr.cpp
243 $(CXX) -zq -fo=$^@ $(FLLIB_CXXFLAGS) $<
244
245clean : .SYMBOLIC
246 -if exist $(OBJS)\*.obj del $(OBJS)\*.obj
247 -if exist $(OBJS)\*.res del $(OBJS)\*.res
248 -if exist $(OBJS)\*.lbc del $(OBJS)\*.lbc
249 -if exist $(OBJS)\*.ilk del $(OBJS)\*.ilk
250 -if exist ..\..\src\fl\..\..\..\lib\wat_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_fl_wat$(VENDORTAG).dll del ..\..\src\fl\..\..\..\lib\wat_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_fl_wat$(VENDORTAG).dll
251 -if exist ..\..\src\fl\..\..\..\lib\wat_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_fl.lib del ..\..\src\fl\..\..\..\lib\wat_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_fl.lib
252 -if exist ..\..\src\fl\..\..\..\lib\wat_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_fl.lib del ..\..\src\fl\..\..\..\lib\wat_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_fl.lib
253
254!ifeq SHARED 1
255..\..\src\fl\..\..\..\lib\wat_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_fl_wat$(VENDORTAG).dll : $(OBJS)\fldll_dummy.obj $(OBJS)\fldll_antiflickpl.obj $(OBJS)\fldll_bardragpl.obj $(OBJS)\fldll_barhintspl.obj $(OBJS)\fldll_cbcustom.obj $(OBJS)\fldll_controlbar.obj $(OBJS)\fldll_dyntbar.obj $(OBJS)\fldll_dyntbarhnd.obj $(OBJS)\fldll_frmview.obj $(OBJS)\fldll_garbagec.obj $(OBJS)\fldll_gcupdatesmgr.obj $(OBJS)\fldll_hintanimpl.obj $(OBJS)\fldll_newbmpbtn.obj $(OBJS)\fldll_panedrawpl.obj $(OBJS)\fldll_rowdragpl.obj $(OBJS)\fldll_rowlayoutpl.obj $(OBJS)\fldll_toolwnd.obj $(OBJS)\fldll_updatesmgr.obj
256 @%create $(OBJS)\fldll.lbc
257 @%append $(OBJS)\fldll.lbc option quiet
258 @%append $(OBJS)\fldll.lbc name $^@
259 @%append $(OBJS)\fldll.lbc option incremental
260 @%append $(OBJS)\fldll.lbc $(LDFLAGS) $(__DEBUGFLAG_1) libpath ..\..\src\fl\..\..\..\lib\wat_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)
261 @for %i in ( $(OBJS)\fldll_dummy.obj $(OBJS)\fldll_antiflickpl.obj $(OBJS)\fldll_bardragpl.obj $(OBJS)\fldll_barhintspl.obj $(OBJS)\fldll_cbcustom.obj $(OBJS)\fldll_controlbar.obj $(OBJS)\fldll_dyntbar.obj $(OBJS)\fldll_dyntbarhnd.obj $(OBJS)\fldll_frmview.obj $(OBJS)\fldll_garbagec.obj $(OBJS)\fldll_gcupdatesmgr.obj $(OBJS)\fldll_hintanimpl.obj $(OBJS)\fldll_newbmpbtn.obj $(OBJS)\fldll_panedrawpl.obj $(OBJS)\fldll_rowdragpl.obj $(OBJS)\fldll_rowlayoutpl.obj $(OBJS)\fldll_toolwnd.obj $(OBJS)\fldll_updatesmgr.obj) do @%append $(OBJS)\fldll.lbc file %i
262 @for %i in ( $(__WXLIB_MONO_p) wxtiff$(WXDEBUGFLAG).lib wxjpeg$(WXDEBUGFLAG).lib wxpng$(WXDEBUGFLAG).lib wxzlib$(WXDEBUGFLAG).lib wxregex$(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
263 @%append $(OBJS)\fldll.lbc
264 @%append $(OBJS)\fldll.lbc system nt_dll
265 wlink @$(OBJS)\fldll.lbc
266 wlib -q -n -b ..\..\src\fl\..\..\..\lib\wat_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_fl.lib +$^@
267!endif
268
269!ifeq SHARED 0
270..\..\src\fl\..\..\..\lib\wat_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_fl.lib : $(OBJS)\fllib_dummy.obj $(OBJS)\fllib_antiflickpl.obj $(OBJS)\fllib_bardragpl.obj $(OBJS)\fllib_barhintspl.obj $(OBJS)\fllib_cbcustom.obj $(OBJS)\fllib_controlbar.obj $(OBJS)\fllib_dyntbar.obj $(OBJS)\fllib_dyntbarhnd.obj $(OBJS)\fllib_frmview.obj $(OBJS)\fllib_garbagec.obj $(OBJS)\fllib_gcupdatesmgr.obj $(OBJS)\fllib_hintanimpl.obj $(OBJS)\fllib_newbmpbtn.obj $(OBJS)\fllib_panedrawpl.obj $(OBJS)\fllib_rowdragpl.obj $(OBJS)\fllib_rowlayoutpl.obj $(OBJS)\fllib_toolwnd.obj $(OBJS)\fllib_updatesmgr.obj
271 @%create $(OBJS)\fllib.lbc
272 @for %i in ( $(OBJS)\fllib_dummy.obj $(OBJS)\fllib_antiflickpl.obj $(OBJS)\fllib_bardragpl.obj $(OBJS)\fllib_barhintspl.obj $(OBJS)\fllib_cbcustom.obj $(OBJS)\fllib_controlbar.obj $(OBJS)\fllib_dyntbar.obj $(OBJS)\fllib_dyntbarhnd.obj $(OBJS)\fllib_frmview.obj $(OBJS)\fllib_garbagec.obj $(OBJS)\fllib_gcupdatesmgr.obj $(OBJS)\fllib_hintanimpl.obj $(OBJS)\fllib_newbmpbtn.obj $(OBJS)\fllib_panedrawpl.obj $(OBJS)\fllib_rowdragpl.obj $(OBJS)\fllib_rowlayoutpl.obj $(OBJS)\fllib_toolwnd.obj $(OBJS)\fllib_updatesmgr.obj) do @%append $(OBJS)\fllib.lbc +%i
273 wlib -q -p2048 -n -b $^@ @$(OBJS)\fllib.lbc
274!endif