]> git.saurik.com Git - wxWidgets.git/blob - contrib/build/deprecated/makefile.vc
added foldbar contrib
[wxWidgets.git] / contrib / build / deprecated / makefile.vc
1 # =========================================================================
2 # This makefile was generated by
3 # Bakefile 0.1.4 (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 OBJS = \
16 vc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)
17 SETUPHDIR = \
18 $(LIBDIRNAME)\$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)
19 DEPRECATEDDLL_CFLAGS = /M$(__RUNTIME_LIBS)$(__DEBUGRUNTIME_4) /DWIN32 \
20 $(__DEBUGINFO_1) \
21 /Fd$(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)252$(WXUNICODEFLAG)$(WXDEBUGFLAG)_deprecated_vc$(VENDORTAG).pdb \
22 $(____DEBUGRUNTIME_3_p) $(__OPTIMIZEFLAG) $(__NO_VC_CRTDBG_p) /D__WXMSW__ \
23 $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) $(__UNICODE_DEFINE_p) \
24 /I..\..\src\deprecated\..\..\..\include /I$(SETUPHDIR) /W4 \
25 /I..\..\src\deprecated\..\..\include /DWXUSINGDLL /DWXMAKINGDLL_DEPRECATED \
26 /I..\..\src\deprecated $(CPPFLAGS) $(CFLAGS)
27 DEPRECATEDDLL_CXXFLAGS = /M$(__RUNTIME_LIBS)$(__DEBUGRUNTIME_4) /DWIN32 \
28 $(__DEBUGINFO_1) \
29 /Fd$(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)252$(WXUNICODEFLAG)$(WXDEBUGFLAG)_deprecated_vc$(VENDORTAG).pdb \
30 $(____DEBUGRUNTIME_3_p) $(__OPTIMIZEFLAG) $(__NO_VC_CRTDBG_p) /D__WXMSW__ \
31 $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) $(__UNICODE_DEFINE_p) \
32 /I..\..\src\deprecated\..\..\..\include /I$(SETUPHDIR) /W4 \
33 /I..\..\src\deprecated\..\..\include /DWXUSINGDLL /DWXMAKINGDLL_DEPRECATED \
34 /I..\..\src\deprecated $(__EXCEPTIONSFLAG) $(__EXCEPTIONSFLAG_0) \
35 /Yu"wx/wxprec.h" /Fp"$(OBJS)\wxprec_deprecateddll.pch" $(CPPFLAGS) \
36 $(CXXFLAGS)
37 DEPRECATEDDLL_OBJECTS = \
38 $(OBJS)\deprecateddll_dummy.obj \
39 $(OBJS)\deprecateddll_prop.obj \
40 $(OBJS)\deprecateddll_propform.obj \
41 $(OBJS)\deprecateddll_proplist.obj \
42 $(OBJS)\deprecateddll_resource.obj \
43 $(OBJS)\deprecateddll_tbarsmpl.obj \
44 $(OBJS)\deprecateddll_treelay.obj \
45 $(OBJS)\deprecateddll_wxexpr.obj \
46 $(OBJS)\deprecateddll_dosyacc.obj
47 DEPRECATEDLIB_CFLAGS = /M$(__RUNTIME_LIBS)$(__DEBUGRUNTIME_16) /DWIN32 \
48 $(__DEBUGINFO_1) \
49 /Fd$(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_deprecated.pdb \
50 $(____DEBUGRUNTIME_15_p) $(__OPTIMIZEFLAG) $(__NO_VC_CRTDBG_p) /D__WXMSW__ \
51 $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) $(__UNICODE_DEFINE_p) \
52 /I..\..\src\deprecated\..\..\..\include /I$(SETUPHDIR) /W4 \
53 /I..\..\src\deprecated\..\..\include /I..\..\src\deprecated $(CPPFLAGS) \
54 $(CFLAGS)
55 DEPRECATEDLIB_CXXFLAGS = /M$(__RUNTIME_LIBS)$(__DEBUGRUNTIME_16) /DWIN32 \
56 $(__DEBUGINFO_1) \
57 /Fd$(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_deprecated.pdb \
58 $(____DEBUGRUNTIME_15_p) $(__OPTIMIZEFLAG) $(__NO_VC_CRTDBG_p) /D__WXMSW__ \
59 $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) $(__UNICODE_DEFINE_p) \
60 /I..\..\src\deprecated\..\..\..\include /I$(SETUPHDIR) /W4 \
61 /I..\..\src\deprecated\..\..\include /I..\..\src\deprecated \
62 $(__EXCEPTIONSFLAG) $(__EXCEPTIONSFLAG_0) /Yu"wx/wxprec.h" \
63 /Fp"$(OBJS)\wxprec_deprecatedlib.pch" $(CPPFLAGS) $(CXXFLAGS)
64 DEPRECATEDLIB_OBJECTS = \
65 $(OBJS)\deprecatedlib_dummy.obj \
66 $(OBJS)\deprecatedlib_prop.obj \
67 $(OBJS)\deprecatedlib_propform.obj \
68 $(OBJS)\deprecatedlib_proplist.obj \
69 $(OBJS)\deprecatedlib_resource.obj \
70 $(OBJS)\deprecatedlib_tbarsmpl.obj \
71 $(OBJS)\deprecatedlib_treelay.obj \
72 $(OBJS)\deprecatedlib_wxexpr.obj \
73 $(OBJS)\deprecatedlib_dosyacc.obj
74
75 ### Conditionally set variables: ###
76
77 !if "$(USE_GUI)" == "0"
78 PORTNAME = base
79 !endif
80 !if "$(USE_GUI)" == "1"
81 PORTNAME = msw
82 !endif
83 !if "$(OFFICIAL_BUILD)" == "0"
84 VENDORTAG = _$(VENDOR)
85 !endif
86 !if "$(OFFICIAL_BUILD)" == "1"
87 VENDORTAG =
88 !endif
89 !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
90 WXDEBUGFLAG = d
91 !endif
92 !if "$(DEBUG_FLAG)" == "1"
93 WXDEBUGFLAG = d
94 !endif
95 !if "$(UNICODE)" == "1"
96 WXUNICODEFLAG = u
97 !endif
98 !if "$(WXUNIV)" == "1"
99 WXUNIVNAME = univ
100 !endif
101 !if "$(SHARED)" == "1"
102 WXDLLFLAG = dll
103 !endif
104 !if "$(SHARED)" == "1"
105 __deprecateddll___depname = \
106 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)252$(WXUNICODEFLAG)$(WXDEBUGFLAG)_deprecated_vc$(VENDORTAG).dll
107 !endif
108 !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
109 __DEBUGINFO_2 = /DEBUG
110 !endif
111 !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
112 __DEBUGINFO_2 =
113 !endif
114 !if "$(DEBUG_INFO)" == "0"
115 __DEBUGINFO_2 =
116 !endif
117 !if "$(DEBUG_INFO)" == "1"
118 __DEBUGINFO_2 = /DEBUG
119 !endif
120 !if "$(DEBUG_RUNTIME_LIBS)" == "0"
121 ____DEBUGRUNTIME_3_p =
122 !endif
123 !if "$(DEBUG_RUNTIME_LIBS)" == "1"
124 ____DEBUGRUNTIME_3_p = /D_DEBUG
125 !endif
126 !if "$(DEBUG_RUNTIME_LIBS)" == "default"
127 ____DEBUGRUNTIME_3_p = $(____DEBUGINFO)
128 !endif
129 !if "$(DEBUG_RUNTIME_LIBS)" == "0"
130 __DEBUGRUNTIME_4 =
131 !endif
132 !if "$(DEBUG_RUNTIME_LIBS)" == "1"
133 __DEBUGRUNTIME_4 = d
134 !endif
135 !if "$(DEBUG_RUNTIME_LIBS)" == "default"
136 __DEBUGRUNTIME_4 = $(__DEBUGINFO)
137 !endif
138 !if "$(MONOLITHIC)" == "1"
139 __WXLIB_MONO_p = \
140 wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG).lib
141 !endif
142 !if "$(USE_GUI)" == "1"
143 __LIB_TIFF_p = wxtiff$(WXDEBUGFLAG).lib
144 !endif
145 !if "$(USE_GUI)" == "1"
146 __LIB_JPEG_p = wxjpeg$(WXDEBUGFLAG).lib
147 !endif
148 !if "$(USE_GUI)" == "1"
149 __LIB_PNG_p = wxpng$(WXDEBUGFLAG).lib
150 !endif
151 !if "$(MSLU)" == "1"
152 __UNICOWS_LIB_p = unicows.lib
153 !endif
154 !if "$(MONOLITHIC)" == "0"
155 __WXLIB_CORE_p = \
156 wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_core.lib
157 !endif
158 !if "$(MONOLITHIC)" == "0"
159 __WXLIB_BASE_p = wxbase25$(WXUNICODEFLAG)$(WXDEBUGFLAG).lib
160 !endif
161 !if "$(SHARED)" == "0"
162 __deprecatedlib___depname = \
163 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_deprecated.lib
164 !endif
165 !if "$(DEBUG_RUNTIME_LIBS)" == "0"
166 ____DEBUGRUNTIME_15_p =
167 !endif
168 !if "$(DEBUG_RUNTIME_LIBS)" == "1"
169 ____DEBUGRUNTIME_15_p = /D_DEBUG
170 !endif
171 !if "$(DEBUG_RUNTIME_LIBS)" == "default"
172 ____DEBUGRUNTIME_15_p = $(____DEBUGINFO)
173 !endif
174 !if "$(DEBUG_RUNTIME_LIBS)" == "0"
175 __DEBUGRUNTIME_16 =
176 !endif
177 !if "$(DEBUG_RUNTIME_LIBS)" == "1"
178 __DEBUGRUNTIME_16 = d
179 !endif
180 !if "$(DEBUG_RUNTIME_LIBS)" == "default"
181 __DEBUGRUNTIME_16 = $(__DEBUGINFO)
182 !endif
183 !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
184 __DEBUGINFO_1 = /Zi
185 !endif
186 !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
187 __DEBUGINFO_1 =
188 !endif
189 !if "$(DEBUG_INFO)" == "0"
190 __DEBUGINFO_1 =
191 !endif
192 !if "$(DEBUG_INFO)" == "1"
193 __DEBUGINFO_1 = /Zi
194 !endif
195 !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
196 ____DEBUGINFO = /D_DEBUG
197 !endif
198 !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
199 ____DEBUGINFO =
200 !endif
201 !if "$(DEBUG_INFO)" == "0"
202 ____DEBUGINFO =
203 !endif
204 !if "$(DEBUG_INFO)" == "1"
205 ____DEBUGINFO = /D_DEBUG
206 !endif
207 !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
208 __DEBUGINFO = d
209 !endif
210 !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
211 __DEBUGINFO =
212 !endif
213 !if "$(DEBUG_INFO)" == "0"
214 __DEBUGINFO =
215 !endif
216 !if "$(DEBUG_INFO)" == "1"
217 __DEBUGINFO = d
218 !endif
219 !if "$(BUILD)" == "debug"
220 __OPTIMIZEFLAG = /Od
221 !endif
222 !if "$(BUILD)" == "release"
223 __OPTIMIZEFLAG = /O2
224 !endif
225 !if "$(RUNTIME_LIBS)" == "dynamic"
226 __RUNTIME_LIBS = D
227 !endif
228 !if "$(RUNTIME_LIBS)" == "static"
229 __RUNTIME_LIBS = T
230 !endif
231 !if "$(USE_EXCEPTIONS)" == "0"
232 __EXCEPTIONSFLAG =
233 !endif
234 !if "$(USE_EXCEPTIONS)" == "1"
235 __EXCEPTIONSFLAG = /GR
236 !endif
237 !if "$(USE_EXCEPTIONS)" == "0"
238 __EXCEPTIONSFLAG_0 =
239 !endif
240 !if "$(USE_EXCEPTIONS)" == "1"
241 __EXCEPTIONSFLAG_0 = /GX
242 !endif
243 !if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "0"
244 __NO_VC_CRTDBG_p = /D__NO_VC_CRTDBG__
245 !endif
246 !if "$(BUILD)" == "release" && "$(DEBUG_FLAG)" == "1"
247 __NO_VC_CRTDBG_p = /D__NO_VC_CRTDBG__
248 !endif
249 !if "$(WXUNIV)" == "1"
250 __WXUNIV_DEFINE_p = /D__WXUNIVERSAL__
251 !endif
252 !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
253 __DEBUG_DEFINE_p = /D__WXDEBUG__
254 !endif
255 !if "$(DEBUG_FLAG)" == "1"
256 __DEBUG_DEFINE_p = /D__WXDEBUG__
257 !endif
258 !if "$(UNICODE)" == "1"
259 __UNICODE_DEFINE_p = /D_UNICODE
260 !endif
261 !if "$(SHARED)" == "0"
262 LIBDIRNAME = ..\..\src\deprecated\..\..\..\lib\vc_lib$(CFG)
263 !endif
264 !if "$(SHARED)" == "1"
265 LIBDIRNAME = ..\..\src\deprecated\..\..\..\lib\vc_dll$(CFG)
266 !endif
267
268
269 all: $(OBJS)
270 $(OBJS):
271 -if not exist $(OBJS) mkdir $(OBJS)
272
273 ### Targets: ###
274
275 all: $(__deprecateddll___depname) $(__deprecatedlib___depname)
276
277 clean:
278 -if exist $(OBJS)\*.obj del $(OBJS)\*.obj
279 -if exist $(OBJS)\*.res del $(OBJS)\*.res
280 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)252$(WXUNICODEFLAG)$(WXDEBUGFLAG)_deprecated_vc$(VENDORTAG).dll del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)252$(WXUNICODEFLAG)$(WXDEBUGFLAG)_deprecated_vc$(VENDORTAG).dll
281 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)252$(WXUNICODEFLAG)$(WXDEBUGFLAG)_deprecated_vc$(VENDORTAG).ilk del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)252$(WXUNICODEFLAG)$(WXDEBUGFLAG)_deprecated_vc$(VENDORTAG).ilk
282 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)252$(WXUNICODEFLAG)$(WXDEBUGFLAG)_deprecated_vc$(VENDORTAG).pdb del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)252$(WXUNICODEFLAG)$(WXDEBUGFLAG)_deprecated_vc$(VENDORTAG).pdb
283 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_deprecated.lib del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_deprecated.lib
284 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_deprecated.lib del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_deprecated.lib
285
286 !if "$(SHARED)" == "1"
287 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)252$(WXUNICODEFLAG)$(WXDEBUGFLAG)_deprecated_vc$(VENDORTAG).dll: $(OBJS)\deprecateddll_dummy.obj $(DEPRECATEDDLL_OBJECTS)
288 link /DLL /NOLOGO /OUT:$@ $(LDFLAGS) $(__DEBUGINFO_2) /LIBPATH:$(LIBDIRNAME) @<<
289 $(DEPRECATEDDLL_OBJECTS) $(__WXLIB_MONO_p) $(__LIB_TIFF_p) $(__LIB_JPEG_p) $(__LIB_PNG_p) wxzlib$(WXDEBUGFLAG).lib wxregex$(WXUNICODEFLAG)$(WXDEBUGFLAG).lib wxexpat$(WXDEBUGFLAG).lib $(__UNICOWS_LIB_p) kernel32.lib user32.lib gdi32.lib comdlg32.lib winspool.lib winmm.lib shell32.lib comctl32.lib ole32.lib oleaut32.lib uuid.lib rpcrt4.lib advapi32.lib wsock32.lib oleacc.lib odbc32.lib $(__WXLIB_CORE_p) $(__WXLIB_BASE_p) /IMPLIB:$(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_deprecated.lib
290 <<
291 !endif
292
293 !if "$(SHARED)" == "0"
294 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_deprecated.lib: $(OBJS)\deprecatedlib_dummy.obj $(DEPRECATEDLIB_OBJECTS)
295 if exist $@ del $@
296 lib /NOLOGO /OUT:$@ @<<
297 $(DEPRECATEDLIB_OBJECTS)
298 <<
299 !endif
300
301 $(OBJS)\deprecateddll_dummy.obj: ../../src/deprecated\..\..\..\src\msw\dummy.cpp
302 $(CXX) /c /nologo /TP /Fo$@ $(DEPRECATEDDLL_CXXFLAGS) /Ycwx/wxprec.h $**
303
304 $(OBJS)\deprecateddll_prop.obj: ../../src/deprecated\prop.cpp
305 $(CXX) /c /nologo /TP /Fo$@ $(DEPRECATEDDLL_CXXFLAGS) $**
306
307 $(OBJS)\deprecateddll_propform.obj: ../../src/deprecated\propform.cpp
308 $(CXX) /c /nologo /TP /Fo$@ $(DEPRECATEDDLL_CXXFLAGS) $**
309
310 $(OBJS)\deprecateddll_proplist.obj: ../../src/deprecated\proplist.cpp
311 $(CXX) /c /nologo /TP /Fo$@ $(DEPRECATEDDLL_CXXFLAGS) $**
312
313 $(OBJS)\deprecateddll_resource.obj: ../../src/deprecated\resource.cpp
314 $(CXX) /c /nologo /TP /Fo$@ $(DEPRECATEDDLL_CXXFLAGS) $**
315
316 $(OBJS)\deprecateddll_tbarsmpl.obj: ../../src/deprecated\tbarsmpl.cpp
317 $(CXX) /c /nologo /TP /Fo$@ $(DEPRECATEDDLL_CXXFLAGS) $**
318
319 $(OBJS)\deprecateddll_treelay.obj: ../../src/deprecated\treelay.cpp
320 $(CXX) /c /nologo /TP /Fo$@ $(DEPRECATEDDLL_CXXFLAGS) $**
321
322 $(OBJS)\deprecateddll_wxexpr.obj: ../../src/deprecated\wxexpr.cpp
323 $(CXX) /c /nologo /TP /Fo$@ $(DEPRECATEDDLL_CXXFLAGS) $**
324
325 $(OBJS)\deprecateddll_dosyacc.obj: ../../src/deprecated\dosyacc.c
326 $(CC) /c /nologo /TC /Fo$@ $(DEPRECATEDDLL_CFLAGS) $**
327
328 $(OBJS)\deprecatedlib_dummy.obj: ../../src/deprecated\..\..\..\src\msw\dummy.cpp
329 $(CXX) /c /nologo /TP /Fo$@ $(DEPRECATEDLIB_CXXFLAGS) /Ycwx/wxprec.h $**
330
331 $(OBJS)\deprecatedlib_prop.obj: ../../src/deprecated\prop.cpp
332 $(CXX) /c /nologo /TP /Fo$@ $(DEPRECATEDLIB_CXXFLAGS) $**
333
334 $(OBJS)\deprecatedlib_propform.obj: ../../src/deprecated\propform.cpp
335 $(CXX) /c /nologo /TP /Fo$@ $(DEPRECATEDLIB_CXXFLAGS) $**
336
337 $(OBJS)\deprecatedlib_proplist.obj: ../../src/deprecated\proplist.cpp
338 $(CXX) /c /nologo /TP /Fo$@ $(DEPRECATEDLIB_CXXFLAGS) $**
339
340 $(OBJS)\deprecatedlib_resource.obj: ../../src/deprecated\resource.cpp
341 $(CXX) /c /nologo /TP /Fo$@ $(DEPRECATEDLIB_CXXFLAGS) $**
342
343 $(OBJS)\deprecatedlib_tbarsmpl.obj: ../../src/deprecated\tbarsmpl.cpp
344 $(CXX) /c /nologo /TP /Fo$@ $(DEPRECATEDLIB_CXXFLAGS) $**
345
346 $(OBJS)\deprecatedlib_treelay.obj: ../../src/deprecated\treelay.cpp
347 $(CXX) /c /nologo /TP /Fo$@ $(DEPRECATEDLIB_CXXFLAGS) $**
348
349 $(OBJS)\deprecatedlib_wxexpr.obj: ../../src/deprecated\wxexpr.cpp
350 $(CXX) /c /nologo /TP /Fo$@ $(DEPRECATEDLIB_CXXFLAGS) $**
351
352 $(OBJS)\deprecatedlib_dosyacc.obj: ../../src/deprecated\dosyacc.c
353 $(CC) /c /nologo /TC /Fo$@ $(DEPRECATEDLIB_CFLAGS) $**