]> git.saurik.com Git - wxWidgets.git/blame - contrib/build/deprecated/makefile.vc
warnings fixes
[wxWidgets.git] / contrib / build / deprecated / makefile.vc
CommitLineData
15e8daec
VS
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
fd9f42b6 7!include <../../../build/msw/config.vc>
15e8daec
VS
8
9# -------------------------------------------------------------------------
10# Do not modify the rest of this file!
11# -------------------------------------------------------------------------
12
13### Variables: ###
14
15DEPRECATEDDLL_CFLAGS = $(CPPFLAGS) /M$(__RUNTIME_LIBS)$(__DEBUGRUNTIME_3) \
ec08d395
JS
16 /DWIN32 $(__DEBUGINFO) \
17 /Fd$(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)251$(WXUNICODEFLAG)$(WXDEBUGFLAG)_deprecated_vc$(VENDORTAG).pdb \
18 $(____DEBUGRUNTIME_2_p) $(__OPTIMIZEFLAG) $(__NO_VC_CRTDBG_p) /D__WXMSW__ \
19 $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) $(__UNICODE_DEFINE_p) \
20 /I..\..\src\deprecated\..\..\..\include /I$(SETUPHDIR) /W4 \
15e8daec 21 /I..\..\src\deprecated\..\..\include /DWXUSINGDLL /DWXMAKINGDLL_DEPRECATED \
187cf772 22 /I..\..\src\deprecated $(CFLAGS)
15e8daec 23DEPRECATEDDLL_CXXFLAGS = $(CPPFLAGS) /M$(__RUNTIME_LIBS)$(__DEBUGRUNTIME_3) \
ec08d395
JS
24 /DWIN32 $(__DEBUGINFO) \
25 /Fd$(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)251$(WXUNICODEFLAG)$(WXDEBUGFLAG)_deprecated_vc$(VENDORTAG).pdb \
26 $(____DEBUGRUNTIME_2_p) $(__OPTIMIZEFLAG) $(__NO_VC_CRTDBG_p) /D__WXMSW__ \
27 $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) $(__UNICODE_DEFINE_p) \
28 /I..\..\src\deprecated\..\..\..\include /I$(SETUPHDIR) /W4 \
15e8daec 29 /I..\..\src\deprecated\..\..\include /DWXUSINGDLL /DWXMAKINGDLL_DEPRECATED \
1c3a6972 30 /I..\..\src\deprecated $(CXXFLAGS) /GR /GX /Yu"wx/wxprec.h" \
187cf772 31 /Fp"$(OBJS)\wxprec_deprecateddll.pch"
15e8daec
VS
32DEPRECATEDDLL_OBJECTS = \
33 $(OBJS)\deprecateddll_dummy.obj \
34 $(OBJS)\deprecateddll_prop.obj \
35 $(OBJS)\deprecateddll_propform.obj \
36 $(OBJS)\deprecateddll_proplist.obj \
37 $(OBJS)\deprecateddll_resource.obj \
8a82c9ec 38 $(OBJS)\deprecateddll_tbarsmpl.obj \
15e8daec
VS
39 $(OBJS)\deprecateddll_treelay.obj \
40 $(OBJS)\deprecateddll_wxexpr.obj \
41 $(OBJS)\deprecateddll_dosyacc.obj
ec08d395
JS
42DEPRECATEDLIB_CFLAGS = $(CPPFLAGS) /M$(__RUNTIME_LIBS)$(__DEBUGRUNTIME_13) \
43 /DWIN32 $(__DEBUGINFO) \
15e8daec 44 /Fd$(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_deprecated.pdb \
ec08d395
JS
45 $(____DEBUGRUNTIME_12_p) $(__OPTIMIZEFLAG) $(__NO_VC_CRTDBG_p) /D__WXMSW__ \
46 $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) $(__UNICODE_DEFINE_p) \
47 /I..\..\src\deprecated\..\..\..\include /I$(SETUPHDIR) /W4 \
187cf772 48 /I..\..\src\deprecated\..\..\include /I..\..\src\deprecated $(CFLAGS)
ec08d395
JS
49DEPRECATEDLIB_CXXFLAGS = $(CPPFLAGS) /M$(__RUNTIME_LIBS)$(__DEBUGRUNTIME_13) \
50 /DWIN32 $(__DEBUGINFO) \
15e8daec 51 /Fd$(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_deprecated.pdb \
ec08d395
JS
52 $(____DEBUGRUNTIME_12_p) $(__OPTIMIZEFLAG) $(__NO_VC_CRTDBG_p) /D__WXMSW__ \
53 $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) $(__UNICODE_DEFINE_p) \
54 /I..\..\src\deprecated\..\..\..\include /I$(SETUPHDIR) /W4 \
1c3a6972
VS
55 /I..\..\src\deprecated\..\..\include /I..\..\src\deprecated $(CXXFLAGS) /GR \
56 /GX /Yu"wx/wxprec.h" /Fp"$(OBJS)\wxprec_deprecatedlib.pch"
15e8daec
VS
57DEPRECATEDLIB_OBJECTS = \
58 $(OBJS)\deprecatedlib_dummy.obj \
59 $(OBJS)\deprecatedlib_prop.obj \
60 $(OBJS)\deprecatedlib_propform.obj \
61 $(OBJS)\deprecatedlib_proplist.obj \
62 $(OBJS)\deprecatedlib_resource.obj \
8a82c9ec 63 $(OBJS)\deprecatedlib_tbarsmpl.obj \
15e8daec
VS
64 $(OBJS)\deprecatedlib_treelay.obj \
65 $(OBJS)\deprecatedlib_wxexpr.obj \
66 $(OBJS)\deprecatedlib_dosyacc.obj
15e8daec
VS
67OBJS = \
68 vc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)
75a0a7b7
VS
69SETUPHDIR = \
70 $(LIBDIRNAME)\$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)
15e8daec
VS
71
72### Conditionally set variables: ###
73
75a0a7b7
VS
74!if "$(SHARED)" == "0"
75LIBDIRNAME = ..\..\src\deprecated\..\..\..\lib\vc_lib$(CFG)
76!endif
77!if "$(SHARED)" == "1"
78LIBDIRNAME = ..\..\src\deprecated\..\..\..\lib\vc_dll$(CFG)
79!endif
15e8daec
VS
80!if "$(USE_GUI)" == "0"
81PORTNAME = base
82!endif
83!if "$(USE_GUI)" == "1"
84PORTNAME = msw
85!endif
86!if "$(OFFICIAL_BUILD)" == "0"
87VENDORTAG = _$(VENDOR)
88!endif
89!if "$(OFFICIAL_BUILD)" == "1"
90VENDORTAG =
91!endif
92!if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
93WXDEBUGFLAG = d
94!endif
95!if "$(DEBUG_FLAG)" == "1"
96WXDEBUGFLAG = d
97!endif
98!if "$(SHARED)" == "1"
99WXDLLFLAG = dll
100!endif
101!if "$(UNICODE)" == "1"
102WXUNICODEFLAG = u
103!endif
104!if "$(WXUNIV)" == "1"
105WXUNIVNAME = univ
106!endif
107!if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
ec08d395 108__DEBUGINFO = /Zi
15e8daec
VS
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"
ec08d395 117__DEBUGINFO = /Zi
15e8daec
VS
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"
ec08d395 132__DEBUGINFO_2 = d
15e8daec
VS
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"
ec08d395 141__DEBUGINFO_2 = d
15e8daec
VS
142!endif
143!if "$(DEBUG_RUNTIME_LIBS)" == "0"
ec08d395 144__DEBUGRUNTIME_13 =
15e8daec
VS
145!endif
146!if "$(DEBUG_RUNTIME_LIBS)" == "1"
ec08d395 147__DEBUGRUNTIME_13 = d
15e8daec
VS
148!endif
149!if "$(DEBUG_RUNTIME_LIBS)" == "default"
ec08d395 150__DEBUGRUNTIME_13 = $(__DEBUGINFO_2)
15e8daec
VS
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"
ec08d395 159__DEBUGRUNTIME_3 = $(__DEBUGINFO_2)
15e8daec
VS
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
ec08d395
JS
176!if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "0"
177__NO_VC_CRTDBG_p = /D__NO_VC_CRTDBG__
178!endif
179!if "$(BUILD)" == "release" && "$(DEBUG_FLAG)" == "1"
180__NO_VC_CRTDBG_p = /D__NO_VC_CRTDBG__
181!endif
15e8daec
VS
182!if "$(BUILD)" == "debug"
183__OPTIMIZEFLAG = /Od
184!endif
185!if "$(BUILD)" == "release"
186__OPTIMIZEFLAG = /O2
187!endif
188!if "$(RUNTIME_LIBS)" == "dynamic"
189__RUNTIME_LIBS = D
190!endif
191!if "$(RUNTIME_LIBS)" == "static"
192__RUNTIME_LIBS = T
193!endif
194!if "$(UNICODE)" == "1"
ec08d395 195__UNICODE_DEFINE_p = /D_UNICODE
15e8daec 196!endif
2265a2d5
VS
197!if "$(MSLU)" == "1"
198__UNICOWS_LIB_p = unicows.lib
199!endif
15e8daec
VS
200!if "$(MONOLITHIC)" == "0"
201__WXLIB_BASE_p = wxbase25$(WXUNICODEFLAG)$(WXDEBUGFLAG).lib
202!endif
203!if "$(MONOLITHIC)" == "0"
204__WXLIB_CORE_p = \
205 wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_core.lib
206!endif
207!if "$(MONOLITHIC)" == "1"
208__WXLIB_MONO_p = \
209 wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG).lib
210!endif
211!if "$(WXUNIV)" == "1"
212__WXUNIV_DEFINE_p = /D__WXUNIVERSAL__
213!endif
214!if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
215____DEBUGINFO = /D_DEBUG
216!endif
217!if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
218____DEBUGINFO =
219!endif
220!if "$(DEBUG_INFO)" == "0"
221____DEBUGINFO =
222!endif
223!if "$(DEBUG_INFO)" == "1"
224____DEBUGINFO = /D_DEBUG
225!endif
226!if "$(DEBUG_RUNTIME_LIBS)" == "0"
ec08d395 227____DEBUGRUNTIME_12_p =
15e8daec
VS
228!endif
229!if "$(DEBUG_RUNTIME_LIBS)" == "1"
ec08d395 230____DEBUGRUNTIME_12_p = /D_DEBUG
15e8daec
VS
231!endif
232!if "$(DEBUG_RUNTIME_LIBS)" == "default"
ec08d395 233____DEBUGRUNTIME_12_p = $(____DEBUGINFO)
15e8daec
VS
234!endif
235!if "$(DEBUG_RUNTIME_LIBS)" == "0"
236____DEBUGRUNTIME_2_p =
237!endif
238!if "$(DEBUG_RUNTIME_LIBS)" == "1"
239____DEBUGRUNTIME_2_p = /D_DEBUG
240!endif
241!if "$(DEBUG_RUNTIME_LIBS)" == "default"
242____DEBUGRUNTIME_2_p = $(____DEBUGINFO)
243!endif
244!if "$(SHARED)" == "1"
245__deprecateddll___depname = \
ec08d395 246 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)251$(WXUNICODEFLAG)$(WXDEBUGFLAG)_deprecated_vc$(VENDORTAG).dll
15e8daec
VS
247!endif
248!if "$(SHARED)" == "0"
249__deprecatedlib___depname = \
250 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_deprecated.lib
251!endif
252
253
254all: $(OBJS)
255$(OBJS):
256 -if not exist $(OBJS) mkdir $(OBJS)
257
258### Targets: ###
259
260all: $(__deprecateddll___depname) $(__deprecatedlib___depname)
261
262$(OBJS)\deprecateddll_dosyacc.obj: ../../src/deprecated\dosyacc.c
263 $(CC) /c /nologo /TC /Fo$@ $(DEPRECATEDDLL_CFLAGS) $**
264
265$(OBJS)\deprecateddll_dummy.obj: ../../src/deprecated\..\..\..\src\msw\dummy.cpp
266 $(CXX) /c /nologo /TP /Fo$@ $(DEPRECATEDDLL_CXXFLAGS) /Ycwx/wxprec.h $**
267
268$(OBJS)\deprecateddll_prop.obj: ../../src/deprecated\prop.cpp
269 $(CXX) /c /nologo /TP /Fo$@ $(DEPRECATEDDLL_CXXFLAGS) $**
270
271$(OBJS)\deprecateddll_propform.obj: ../../src/deprecated\propform.cpp
272 $(CXX) /c /nologo /TP /Fo$@ $(DEPRECATEDDLL_CXXFLAGS) $**
273
274$(OBJS)\deprecateddll_proplist.obj: ../../src/deprecated\proplist.cpp
275 $(CXX) /c /nologo /TP /Fo$@ $(DEPRECATEDDLL_CXXFLAGS) $**
276
277$(OBJS)\deprecateddll_resource.obj: ../../src/deprecated\resource.cpp
278 $(CXX) /c /nologo /TP /Fo$@ $(DEPRECATEDDLL_CXXFLAGS) $**
279
8a82c9ec
JS
280$(OBJS)\deprecateddll_tbarsmpl.obj: ../../src/deprecated\tbarsmpl.cpp
281 $(CXX) /c /nologo /TP /Fo$@ $(DEPRECATEDDLL_CXXFLAGS) $**
282
15e8daec
VS
283$(OBJS)\deprecateddll_treelay.obj: ../../src/deprecated\treelay.cpp
284 $(CXX) /c /nologo /TP /Fo$@ $(DEPRECATEDDLL_CXXFLAGS) $**
285
286$(OBJS)\deprecateddll_wxexpr.obj: ../../src/deprecated\wxexpr.cpp
287 $(CXX) /c /nologo /TP /Fo$@ $(DEPRECATEDDLL_CXXFLAGS) $**
288
289$(OBJS)\deprecatedlib_dosyacc.obj: ../../src/deprecated\dosyacc.c
290 $(CC) /c /nologo /TC /Fo$@ $(DEPRECATEDLIB_CFLAGS) $**
291
292$(OBJS)\deprecatedlib_dummy.obj: ../../src/deprecated\..\..\..\src\msw\dummy.cpp
293 $(CXX) /c /nologo /TP /Fo$@ $(DEPRECATEDLIB_CXXFLAGS) /Ycwx/wxprec.h $**
294
295$(OBJS)\deprecatedlib_prop.obj: ../../src/deprecated\prop.cpp
296 $(CXX) /c /nologo /TP /Fo$@ $(DEPRECATEDLIB_CXXFLAGS) $**
297
298$(OBJS)\deprecatedlib_propform.obj: ../../src/deprecated\propform.cpp
299 $(CXX) /c /nologo /TP /Fo$@ $(DEPRECATEDLIB_CXXFLAGS) $**
300
301$(OBJS)\deprecatedlib_proplist.obj: ../../src/deprecated\proplist.cpp
302 $(CXX) /c /nologo /TP /Fo$@ $(DEPRECATEDLIB_CXXFLAGS) $**
303
304$(OBJS)\deprecatedlib_resource.obj: ../../src/deprecated\resource.cpp
305 $(CXX) /c /nologo /TP /Fo$@ $(DEPRECATEDLIB_CXXFLAGS) $**
306
8a82c9ec
JS
307$(OBJS)\deprecatedlib_tbarsmpl.obj: ../../src/deprecated\tbarsmpl.cpp
308 $(CXX) /c /nologo /TP /Fo$@ $(DEPRECATEDLIB_CXXFLAGS) $**
309
15e8daec
VS
310$(OBJS)\deprecatedlib_treelay.obj: ../../src/deprecated\treelay.cpp
311 $(CXX) /c /nologo /TP /Fo$@ $(DEPRECATEDLIB_CXXFLAGS) $**
312
313$(OBJS)\deprecatedlib_wxexpr.obj: ../../src/deprecated\wxexpr.cpp
314 $(CXX) /c /nologo /TP /Fo$@ $(DEPRECATEDLIB_CXXFLAGS) $**
315
316clean:
317 -if exist $(OBJS)\*.obj del $(OBJS)\*.obj
318 -if exist $(OBJS)\*.res del $(OBJS)\*.res
ec08d395
JS
319 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)251$(WXUNICODEFLAG)$(WXDEBUGFLAG)_deprecated_vc$(VENDORTAG).dll del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)251$(WXUNICODEFLAG)$(WXDEBUGFLAG)_deprecated_vc$(VENDORTAG).dll
320 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)251$(WXUNICODEFLAG)$(WXDEBUGFLAG)_deprecated_vc$(VENDORTAG).ilk del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)251$(WXUNICODEFLAG)$(WXDEBUGFLAG)_deprecated_vc$(VENDORTAG).ilk
321 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)251$(WXUNICODEFLAG)$(WXDEBUGFLAG)_deprecated_vc$(VENDORTAG).pdb del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)251$(WXUNICODEFLAG)$(WXDEBUGFLAG)_deprecated_vc$(VENDORTAG).pdb
15e8daec
VS
322 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_deprecated.lib del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_deprecated.lib
323 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_deprecated.lib del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_deprecated.lib
324
325!if "$(SHARED)" == "1"
ec08d395 326$(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)251$(WXUNICODEFLAG)$(WXDEBUGFLAG)_deprecated_vc$(VENDORTAG).dll: $(OBJS)\deprecateddll_dummy.obj $(DEPRECATEDDLL_OBJECTS)
15e8daec 327 link /DLL /NOLOGO /OUT:$@ $(LDFLAGS) $(__DEBUGINFO_1) /LIBPATH:$(LIBDIRNAME) @<<
ec08d395 328 $(DEPRECATEDDLL_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 oleacc.lib $(__WXLIB_CORE_p) $(__WXLIB_BASE_p) /IMPLIB:$(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_deprecated.lib
15e8daec
VS
329<<
330!endif
331
332!if "$(SHARED)" == "0"
75a0a7b7 333$(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_deprecated.lib: $(OBJS)\deprecatedlib_dummy.obj $(DEPRECATEDLIB_OBJECTS)
15e8daec
VS
334 if exist $@ del $@
335 lib /NOLOGO /OUT:$@ @<<
336 $(DEPRECATEDLIB_OBJECTS)
337<<
338!endif