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