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