]> git.saurik.com Git - wxWidgets.git/blob - contrib/build/fl/makefile.vc
more bakefile-based contrib makefiles
[wxWidgets.git] / contrib / build / fl / makefile.vc
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 # =========================================================================
6
7 !include <../../../build/config.vc>
8
9 # -------------------------------------------------------------------------
10 # Do not modify the rest of this file!
11 # -------------------------------------------------------------------------
12
13 ### Variables: ###
14
15 FLDLL_CXXFLAGS = $(CPPFLAGS) /M$(__RUNTIME_LIBS)$(__DEBUGRUNTIME_3) /DWIN32 \
16 $(__DEBUGINFO_2) \
17 /Fd$(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)250$(WXUNICODEFLAG)$(WXDEBUGFLAG)_fl_vc$(VENDORTAG).pdb \
18 $(____DEBUGRUNTIME_2_p) $(__OPTIMIZEFLAG) /D__WXMSW__ $(__WXUNIV_DEFINE_p) \
19 $(__DEBUG_DEFINE_p) $(__UNICODE_DEFINE_p) /I..\..\src\fl\..\..\..\include \
20 /I$(LIBDIRNAME) /I..\..\src\fl\..\..\..\src\tiff \
21 /I..\..\src\fl\..\..\..\src\jpeg /I..\..\src\fl\..\..\..\src\png \
22 /I..\..\src\fl\..\..\..\src\zlib /I..\..\src\fl\..\..\..\src\regex \
23 /I..\..\src\fl\..\..\..\src\expat\lib /I..\..\src\fl\..\..\include \
24 /DWXUSINGDLL /DWXMAKINGDLL_FL $(CXXFLAGS) /Yu"wx/wxprec.h" \
25 /Fp"$(OBJS)\wxprec_fldll.pch"
26 FLDLL_OBJECTS = \
27 $(OBJS)\fldll_dummy.obj \
28 $(OBJS)\fldll_antiflickpl.obj \
29 $(OBJS)\fldll_bardragpl.obj \
30 $(OBJS)\fldll_barhintspl.obj \
31 $(OBJS)\fldll_cbcustom.obj \
32 $(OBJS)\fldll_controlbar.obj \
33 $(OBJS)\fldll_dyntbar.obj \
34 $(OBJS)\fldll_dyntbarhnd.obj \
35 $(OBJS)\fldll_frmview.obj \
36 $(OBJS)\fldll_garbagec.obj \
37 $(OBJS)\fldll_gcupdatesmgr.obj \
38 $(OBJS)\fldll_hintanimpl.obj \
39 $(OBJS)\fldll_newbmpbtn.obj \
40 $(OBJS)\fldll_panedrawpl.obj \
41 $(OBJS)\fldll_rowdragpl.obj \
42 $(OBJS)\fldll_rowlayoutpl.obj \
43 $(OBJS)\fldll_toolwnd.obj \
44 $(OBJS)\fldll_updatesmgr.obj
45 FLLIB_CXXFLAGS = $(CPPFLAGS) /M$(__RUNTIME_LIBS)$(__DEBUGRUNTIME_12) /DWIN32 \
46 $(__DEBUGINFO_2) \
47 /Fd$(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_fl.pdb \
48 $(____DEBUGRUNTIME_11_p) $(__OPTIMIZEFLAG) /D__WXMSW__ $(__WXUNIV_DEFINE_p) \
49 $(__DEBUG_DEFINE_p) $(__UNICODE_DEFINE_p) /I..\..\src\fl\..\..\..\include \
50 /I$(LIBDIRNAME) /I..\..\src\fl\..\..\..\src\tiff \
51 /I..\..\src\fl\..\..\..\src\jpeg /I..\..\src\fl\..\..\..\src\png \
52 /I..\..\src\fl\..\..\..\src\zlib /I..\..\src\fl\..\..\..\src\regex \
53 /I..\..\src\fl\..\..\..\src\expat\lib /I..\..\src\fl\..\..\include \
54 $(CXXFLAGS) /Yu"wx/wxprec.h" /Fp"$(OBJS)\wxprec_fllib.pch"
55 FLLIB_OBJECTS = \
56 $(OBJS)\fllib_dummy.obj \
57 $(OBJS)\fllib_antiflickpl.obj \
58 $(OBJS)\fllib_bardragpl.obj \
59 $(OBJS)\fllib_barhintspl.obj \
60 $(OBJS)\fllib_cbcustom.obj \
61 $(OBJS)\fllib_controlbar.obj \
62 $(OBJS)\fllib_dyntbar.obj \
63 $(OBJS)\fllib_dyntbarhnd.obj \
64 $(OBJS)\fllib_frmview.obj \
65 $(OBJS)\fllib_garbagec.obj \
66 $(OBJS)\fllib_gcupdatesmgr.obj \
67 $(OBJS)\fllib_hintanimpl.obj \
68 $(OBJS)\fllib_newbmpbtn.obj \
69 $(OBJS)\fllib_panedrawpl.obj \
70 $(OBJS)\fllib_rowdragpl.obj \
71 $(OBJS)\fllib_rowlayoutpl.obj \
72 $(OBJS)\fllib_toolwnd.obj \
73 $(OBJS)\fllib_updatesmgr.obj
74 LIBDIRNAME = \
75 ..\..\src\fl\..\..\..\lib\vc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)
76 OBJS = \
77 vc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)
78
79 ### Conditionally set variables: ###
80
81 !if "$(USE_GUI)" == "0"
82 PORTNAME = base
83 !endif
84 !if "$(USE_GUI)" == "1"
85 PORTNAME = msw
86 !endif
87 !if "$(OFFICIAL_BUILD)" == "0"
88 VENDORTAG = _$(VENDOR)
89 !endif
90 !if "$(OFFICIAL_BUILD)" == "1"
91 VENDORTAG =
92 !endif
93 !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
94 WXDEBUGFLAG = d
95 !endif
96 !if "$(DEBUG_FLAG)" == "1"
97 WXDEBUGFLAG = d
98 !endif
99 !if "$(SHARED)" == "1"
100 WXDLLFLAG = dll
101 !endif
102 !if "$(UNICODE)" == "1"
103 WXUNICODEFLAG = u
104 !endif
105 !if "$(WXUNIV)" == "1"
106 WXUNIVNAME = univ
107 !endif
108 !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
109 __DEBUGINFO = d
110 !endif
111 !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
112 __DEBUGINFO =
113 !endif
114 !if "$(DEBUG_INFO)" == "0"
115 __DEBUGINFO =
116 !endif
117 !if "$(DEBUG_INFO)" == "1"
118 __DEBUGINFO = d
119 !endif
120 !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
121 __DEBUGINFO_1 = /DEBUG
122 !endif
123 !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
124 __DEBUGINFO_1 =
125 !endif
126 !if "$(DEBUG_INFO)" == "0"
127 __DEBUGINFO_1 =
128 !endif
129 !if "$(DEBUG_INFO)" == "1"
130 __DEBUGINFO_1 = /DEBUG
131 !endif
132 !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
133 __DEBUGINFO_2 = /Zi
134 !endif
135 !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
136 __DEBUGINFO_2 =
137 !endif
138 !if "$(DEBUG_INFO)" == "0"
139 __DEBUGINFO_2 =
140 !endif
141 !if "$(DEBUG_INFO)" == "1"
142 __DEBUGINFO_2 = /Zi
143 !endif
144 !if "$(DEBUG_RUNTIME_LIBS)" == "0"
145 __DEBUGRUNTIME_12 =
146 !endif
147 !if "$(DEBUG_RUNTIME_LIBS)" == "1"
148 __DEBUGRUNTIME_12 = d
149 !endif
150 !if "$(DEBUG_RUNTIME_LIBS)" == "default"
151 __DEBUGRUNTIME_12 = $(__DEBUGINFO)
152 !endif
153 !if "$(DEBUG_RUNTIME_LIBS)" == "0"
154 __DEBUGRUNTIME_3 =
155 !endif
156 !if "$(DEBUG_RUNTIME_LIBS)" == "1"
157 __DEBUGRUNTIME_3 = d
158 !endif
159 !if "$(DEBUG_RUNTIME_LIBS)" == "default"
160 __DEBUGRUNTIME_3 = $(__DEBUGINFO)
161 !endif
162 !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
163 __DEBUG_DEFINE_p = /D__WXDEBUG__
164 !endif
165 !if "$(DEBUG_FLAG)" == "1"
166 __DEBUG_DEFINE_p = /D__WXDEBUG__
167 !endif
168 !if "$(USE_GUI)" == "1"
169 __LIB_JPEG_p = wxjpeg$(WXDEBUGFLAG).lib
170 !endif
171 !if "$(USE_GUI)" == "1"
172 __LIB_PNG_p = wxpng$(WXDEBUGFLAG).lib
173 !endif
174 !if "$(USE_GUI)" == "1"
175 __LIB_TIFF_p = wxtiff$(WXDEBUGFLAG).lib
176 !endif
177 !if "$(BUILD)" == "debug"
178 __OPTIMIZEFLAG = /Od
179 !endif
180 !if "$(BUILD)" == "release"
181 __OPTIMIZEFLAG = /O2
182 !endif
183 !if "$(RUNTIME_LIBS)" == "dynamic"
184 __RUNTIME_LIBS = D
185 !endif
186 !if "$(RUNTIME_LIBS)" == "static"
187 __RUNTIME_LIBS = T
188 !endif
189 !if "$(UNICODE)" == "1"
190 __UNICODE_DEFINE_p = /DwxUSE_UNICODE=1
191 !endif
192 !if "$(MONOLITHIC)" == "0"
193 __WXLIB_BASE_p = wxbase25$(WXUNICODEFLAG)$(WXDEBUGFLAG).lib
194 !endif
195 !if "$(MONOLITHIC)" == "0"
196 __WXLIB_CORE_p = \
197 wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_core.lib
198 !endif
199 !if "$(MONOLITHIC)" == "1"
200 __WXLIB_MONO_p = \
201 wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG).lib
202 !endif
203 !if "$(WXUNIV)" == "1"
204 __WXUNIV_DEFINE_p = /D__WXUNIVERSAL__
205 !endif
206 !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
207 ____DEBUGINFO = /D_DEBUG
208 !endif
209 !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
210 ____DEBUGINFO =
211 !endif
212 !if "$(DEBUG_INFO)" == "0"
213 ____DEBUGINFO =
214 !endif
215 !if "$(DEBUG_INFO)" == "1"
216 ____DEBUGINFO = /D_DEBUG
217 !endif
218 !if "$(DEBUG_RUNTIME_LIBS)" == "0"
219 ____DEBUGRUNTIME_11_p =
220 !endif
221 !if "$(DEBUG_RUNTIME_LIBS)" == "1"
222 ____DEBUGRUNTIME_11_p = /D_DEBUG
223 !endif
224 !if "$(DEBUG_RUNTIME_LIBS)" == "default"
225 ____DEBUGRUNTIME_11_p = $(____DEBUGINFO)
226 !endif
227 !if "$(DEBUG_RUNTIME_LIBS)" == "0"
228 ____DEBUGRUNTIME_2_p =
229 !endif
230 !if "$(DEBUG_RUNTIME_LIBS)" == "1"
231 ____DEBUGRUNTIME_2_p = /D_DEBUG
232 !endif
233 !if "$(DEBUG_RUNTIME_LIBS)" == "default"
234 ____DEBUGRUNTIME_2_p = $(____DEBUGINFO)
235 !endif
236 !if "$(SHARED)" == "1"
237 __fldll___depname = \
238 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)250$(WXUNICODEFLAG)$(WXDEBUGFLAG)_fl_vc$(VENDORTAG).dll
239 !endif
240 !if "$(SHARED)" == "0"
241 __fllib___depname = \
242 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_fl.lib
243 !endif
244
245
246 all: $(OBJS)
247 $(OBJS):
248 -if not exist $(OBJS) mkdir $(OBJS)
249
250 ### Targets: ###
251
252 all: $(__fldll___depname) $(__fllib___depname)
253
254 $(OBJS)\fldll_antiflickpl.obj: ../../src/fl\antiflickpl.cpp
255 $(CXX) /c /nologo /TP /Fo$@ $(FLDLL_CXXFLAGS) $**
256
257 $(OBJS)\fldll_bardragpl.obj: ../../src/fl\bardragpl.cpp
258 $(CXX) /c /nologo /TP /Fo$@ $(FLDLL_CXXFLAGS) $**
259
260 $(OBJS)\fldll_barhintspl.obj: ../../src/fl\barhintspl.cpp
261 $(CXX) /c /nologo /TP /Fo$@ $(FLDLL_CXXFLAGS) $**
262
263 $(OBJS)\fldll_cbcustom.obj: ../../src/fl\cbcustom.cpp
264 $(CXX) /c /nologo /TP /Fo$@ $(FLDLL_CXXFLAGS) $**
265
266 $(OBJS)\fldll_controlbar.obj: ../../src/fl\controlbar.cpp
267 $(CXX) /c /nologo /TP /Fo$@ $(FLDLL_CXXFLAGS) $**
268
269 $(OBJS)\fldll_dummy.obj: ../../src/fl\..\..\..\src\msw\dummy.cpp
270 $(CXX) /c /nologo /TP /Fo$@ $(FLDLL_CXXFLAGS) /Ycwx/wxprec.h $**
271
272 $(OBJS)\fldll_dyntbar.obj: ../../src/fl\dyntbar.cpp
273 $(CXX) /c /nologo /TP /Fo$@ $(FLDLL_CXXFLAGS) $**
274
275 $(OBJS)\fldll_dyntbarhnd.obj: ../../src/fl\dyntbarhnd.cpp
276 $(CXX) /c /nologo /TP /Fo$@ $(FLDLL_CXXFLAGS) $**
277
278 $(OBJS)\fldll_frmview.obj: ../../src/fl\frmview.cpp
279 $(CXX) /c /nologo /TP /Fo$@ $(FLDLL_CXXFLAGS) $**
280
281 $(OBJS)\fldll_garbagec.obj: ../../src/fl\garbagec.cpp
282 $(CXX) /c /nologo /TP /Fo$@ $(FLDLL_CXXFLAGS) $**
283
284 $(OBJS)\fldll_gcupdatesmgr.obj: ../../src/fl\gcupdatesmgr.cpp
285 $(CXX) /c /nologo /TP /Fo$@ $(FLDLL_CXXFLAGS) $**
286
287 $(OBJS)\fldll_hintanimpl.obj: ../../src/fl\hintanimpl.cpp
288 $(CXX) /c /nologo /TP /Fo$@ $(FLDLL_CXXFLAGS) $**
289
290 $(OBJS)\fldll_newbmpbtn.obj: ../../src/fl\newbmpbtn.cpp
291 $(CXX) /c /nologo /TP /Fo$@ $(FLDLL_CXXFLAGS) $**
292
293 $(OBJS)\fldll_panedrawpl.obj: ../../src/fl\panedrawpl.cpp
294 $(CXX) /c /nologo /TP /Fo$@ $(FLDLL_CXXFLAGS) $**
295
296 $(OBJS)\fldll_rowdragpl.obj: ../../src/fl\rowdragpl.cpp
297 $(CXX) /c /nologo /TP /Fo$@ $(FLDLL_CXXFLAGS) $**
298
299 $(OBJS)\fldll_rowlayoutpl.obj: ../../src/fl\rowlayoutpl.cpp
300 $(CXX) /c /nologo /TP /Fo$@ $(FLDLL_CXXFLAGS) $**
301
302 $(OBJS)\fldll_toolwnd.obj: ../../src/fl\toolwnd.cpp
303 $(CXX) /c /nologo /TP /Fo$@ $(FLDLL_CXXFLAGS) $**
304
305 $(OBJS)\fldll_updatesmgr.obj: ../../src/fl\updatesmgr.cpp
306 $(CXX) /c /nologo /TP /Fo$@ $(FLDLL_CXXFLAGS) $**
307
308 $(OBJS)\fllib_antiflickpl.obj: ../../src/fl\antiflickpl.cpp
309 $(CXX) /c /nologo /TP /Fo$@ $(FLLIB_CXXFLAGS) $**
310
311 $(OBJS)\fllib_bardragpl.obj: ../../src/fl\bardragpl.cpp
312 $(CXX) /c /nologo /TP /Fo$@ $(FLLIB_CXXFLAGS) $**
313
314 $(OBJS)\fllib_barhintspl.obj: ../../src/fl\barhintspl.cpp
315 $(CXX) /c /nologo /TP /Fo$@ $(FLLIB_CXXFLAGS) $**
316
317 $(OBJS)\fllib_cbcustom.obj: ../../src/fl\cbcustom.cpp
318 $(CXX) /c /nologo /TP /Fo$@ $(FLLIB_CXXFLAGS) $**
319
320 $(OBJS)\fllib_controlbar.obj: ../../src/fl\controlbar.cpp
321 $(CXX) /c /nologo /TP /Fo$@ $(FLLIB_CXXFLAGS) $**
322
323 $(OBJS)\fllib_dummy.obj: ../../src/fl\..\..\..\src\msw\dummy.cpp
324 $(CXX) /c /nologo /TP /Fo$@ $(FLLIB_CXXFLAGS) /Ycwx/wxprec.h $**
325
326 $(OBJS)\fllib_dyntbar.obj: ../../src/fl\dyntbar.cpp
327 $(CXX) /c /nologo /TP /Fo$@ $(FLLIB_CXXFLAGS) $**
328
329 $(OBJS)\fllib_dyntbarhnd.obj: ../../src/fl\dyntbarhnd.cpp
330 $(CXX) /c /nologo /TP /Fo$@ $(FLLIB_CXXFLAGS) $**
331
332 $(OBJS)\fllib_frmview.obj: ../../src/fl\frmview.cpp
333 $(CXX) /c /nologo /TP /Fo$@ $(FLLIB_CXXFLAGS) $**
334
335 $(OBJS)\fllib_garbagec.obj: ../../src/fl\garbagec.cpp
336 $(CXX) /c /nologo /TP /Fo$@ $(FLLIB_CXXFLAGS) $**
337
338 $(OBJS)\fllib_gcupdatesmgr.obj: ../../src/fl\gcupdatesmgr.cpp
339 $(CXX) /c /nologo /TP /Fo$@ $(FLLIB_CXXFLAGS) $**
340
341 $(OBJS)\fllib_hintanimpl.obj: ../../src/fl\hintanimpl.cpp
342 $(CXX) /c /nologo /TP /Fo$@ $(FLLIB_CXXFLAGS) $**
343
344 $(OBJS)\fllib_newbmpbtn.obj: ../../src/fl\newbmpbtn.cpp
345 $(CXX) /c /nologo /TP /Fo$@ $(FLLIB_CXXFLAGS) $**
346
347 $(OBJS)\fllib_panedrawpl.obj: ../../src/fl\panedrawpl.cpp
348 $(CXX) /c /nologo /TP /Fo$@ $(FLLIB_CXXFLAGS) $**
349
350 $(OBJS)\fllib_rowdragpl.obj: ../../src/fl\rowdragpl.cpp
351 $(CXX) /c /nologo /TP /Fo$@ $(FLLIB_CXXFLAGS) $**
352
353 $(OBJS)\fllib_rowlayoutpl.obj: ../../src/fl\rowlayoutpl.cpp
354 $(CXX) /c /nologo /TP /Fo$@ $(FLLIB_CXXFLAGS) $**
355
356 $(OBJS)\fllib_toolwnd.obj: ../../src/fl\toolwnd.cpp
357 $(CXX) /c /nologo /TP /Fo$@ $(FLLIB_CXXFLAGS) $**
358
359 $(OBJS)\fllib_updatesmgr.obj: ../../src/fl\updatesmgr.cpp
360 $(CXX) /c /nologo /TP /Fo$@ $(FLLIB_CXXFLAGS) $**
361
362 clean:
363 -if exist $(OBJS)\*.obj del $(OBJS)\*.obj
364 -if exist $(OBJS)\*.res del $(OBJS)\*.res
365 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)250$(WXUNICODEFLAG)$(WXDEBUGFLAG)_fl_vc$(VENDORTAG).dll del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)250$(WXUNICODEFLAG)$(WXDEBUGFLAG)_fl_vc$(VENDORTAG).dll
366 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_fl.lib del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_fl.lib
367 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_fl.lib del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_fl.lib
368
369 !if "$(SHARED)" == "1"
370 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)250$(WXUNICODEFLAG)$(WXDEBUGFLAG)_fl_vc$(VENDORTAG).dll: $(FLDLL_OBJECTS) $(OBJS)\fldll_dummy.obj
371 link /DLL /NOLOGO /OUT:$@ $(LDFLAGS) $(__DEBUGINFO_1) /LIBPATH:$(LIBDIRNAME) @<<
372 $(FLDLL_OBJECTS) $(__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) /IMPLIB:$(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_fl.lib
373 <<
374 !endif
375
376 !if "$(SHARED)" == "0"
377 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_fl.lib: $(FLLIB_OBJECTS) $(OBJS)\fllib_dummy.obj
378 if exist $@ del $@
379 lib /NOLOGO /OUT:$@ @<<
380 $(FLLIB_OBJECTS)
381 <<
382 !endif