]> git.saurik.com Git - wxWidgets.git/blame - contrib/build/deprecated/makefile.vc
new VC++ project files with both dll and lib in one project
[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) \
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)
29DEPRECATEDDLL_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"
43DEPRECATEDDLL_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
52DEPRECATEDLIB_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)
65DEPRECATEDLIB_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"
79DEPRECATEDLIB_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
88LIBDIRNAME = \
89 ..\..\src\deprecated\..\..\..\lib\vc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)
90OBJS = \
91 vc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)
92
93### Conditionally set variables: ###
94
95!if "$(USE_GUI)" == "0"
96PORTNAME = base
97!endif
98!if "$(USE_GUI)" == "1"
99PORTNAME = msw
100!endif
101!if "$(OFFICIAL_BUILD)" == "0"
102VENDORTAG = _$(VENDOR)
103!endif
104!if "$(OFFICIAL_BUILD)" == "1"
105VENDORTAG =
106!endif
107!if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
108WXDEBUGFLAG = d
109!endif
110!if "$(DEBUG_FLAG)" == "1"
111WXDEBUGFLAG = d
112!endif
113!if "$(SHARED)" == "1"
114WXDLLFLAG = dll
115!endif
116!if "$(UNICODE)" == "1"
117WXUNICODEFLAG = u
118!endif
119!if "$(WXUNIV)" == "1"
120WXUNIVNAME = 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
2265a2d5
VS
206!if "$(MSLU)" == "1"
207__UNICOWS_LIB_p = unicows.lib
208!endif
15e8daec
VS
209!if "$(MONOLITHIC)" == "0"
210__WXLIB_BASE_p = wxbase25$(WXUNICODEFLAG)$(WXDEBUGFLAG).lib
211!endif
212!if "$(MONOLITHIC)" == "0"
213__WXLIB_CORE_p = \
214 wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_core.lib
215!endif
216!if "$(MONOLITHIC)" == "1"
217__WXLIB_MONO_p = \
218 wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG).lib
219!endif
220!if "$(WXUNIV)" == "1"
221__WXUNIV_DEFINE_p = /D__WXUNIVERSAL__
222!endif
223!if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
224____DEBUGINFO = /D_DEBUG
225!endif
226!if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
227____DEBUGINFO =
228!endif
229!if "$(DEBUG_INFO)" == "0"
230____DEBUGINFO =
231!endif
232!if "$(DEBUG_INFO)" == "1"
233____DEBUGINFO = /D_DEBUG
234!endif
235!if "$(DEBUG_RUNTIME_LIBS)" == "0"
236____DEBUGRUNTIME_11_p =
237!endif
238!if "$(DEBUG_RUNTIME_LIBS)" == "1"
239____DEBUGRUNTIME_11_p = /D_DEBUG
240!endif
241!if "$(DEBUG_RUNTIME_LIBS)" == "default"
242____DEBUGRUNTIME_11_p = $(____DEBUGINFO)
243!endif
244!if "$(DEBUG_RUNTIME_LIBS)" == "0"
245____DEBUGRUNTIME_2_p =
246!endif
247!if "$(DEBUG_RUNTIME_LIBS)" == "1"
248____DEBUGRUNTIME_2_p = /D_DEBUG
249!endif
250!if "$(DEBUG_RUNTIME_LIBS)" == "default"
251____DEBUGRUNTIME_2_p = $(____DEBUGINFO)
252!endif
253!if "$(SHARED)" == "1"
254__deprecateddll___depname = \
255 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)250$(WXUNICODEFLAG)$(WXDEBUGFLAG)_deprecated_vc$(VENDORTAG).dll
256!endif
257!if "$(SHARED)" == "0"
258__deprecatedlib___depname = \
259 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_deprecated.lib
260!endif
261
262
263all: $(OBJS)
264$(OBJS):
265 -if not exist $(OBJS) mkdir $(OBJS)
266
267### Targets: ###
268
269all: $(__deprecateddll___depname) $(__deprecatedlib___depname)
270
271$(OBJS)\deprecateddll_dosyacc.obj: ../../src/deprecated\dosyacc.c
272 $(CC) /c /nologo /TC /Fo$@ $(DEPRECATEDDLL_CFLAGS) $**
273
274$(OBJS)\deprecateddll_dummy.obj: ../../src/deprecated\..\..\..\src\msw\dummy.cpp
275 $(CXX) /c /nologo /TP /Fo$@ $(DEPRECATEDDLL_CXXFLAGS) /Ycwx/wxprec.h $**
276
277$(OBJS)\deprecateddll_prop.obj: ../../src/deprecated\prop.cpp
278 $(CXX) /c /nologo /TP /Fo$@ $(DEPRECATEDDLL_CXXFLAGS) $**
279
280$(OBJS)\deprecateddll_propform.obj: ../../src/deprecated\propform.cpp
281 $(CXX) /c /nologo /TP /Fo$@ $(DEPRECATEDDLL_CXXFLAGS) $**
282
283$(OBJS)\deprecateddll_proplist.obj: ../../src/deprecated\proplist.cpp
284 $(CXX) /c /nologo /TP /Fo$@ $(DEPRECATEDDLL_CXXFLAGS) $**
285
286$(OBJS)\deprecateddll_resource.obj: ../../src/deprecated\resource.cpp
287 $(CXX) /c /nologo /TP /Fo$@ $(DEPRECATEDDLL_CXXFLAGS) $**
288
289$(OBJS)\deprecateddll_treelay.obj: ../../src/deprecated\treelay.cpp
290 $(CXX) /c /nologo /TP /Fo$@ $(DEPRECATEDDLL_CXXFLAGS) $**
291
292$(OBJS)\deprecateddll_wxexpr.obj: ../../src/deprecated\wxexpr.cpp
293 $(CXX) /c /nologo /TP /Fo$@ $(DEPRECATEDDLL_CXXFLAGS) $**
294
295$(OBJS)\deprecatedlib_dosyacc.obj: ../../src/deprecated\dosyacc.c
296 $(CC) /c /nologo /TC /Fo$@ $(DEPRECATEDLIB_CFLAGS) $**
297
298$(OBJS)\deprecatedlib_dummy.obj: ../../src/deprecated\..\..\..\src\msw\dummy.cpp
299 $(CXX) /c /nologo /TP /Fo$@ $(DEPRECATEDLIB_CXXFLAGS) /Ycwx/wxprec.h $**
300
301$(OBJS)\deprecatedlib_prop.obj: ../../src/deprecated\prop.cpp
302 $(CXX) /c /nologo /TP /Fo$@ $(DEPRECATEDLIB_CXXFLAGS) $**
303
304$(OBJS)\deprecatedlib_propform.obj: ../../src/deprecated\propform.cpp
305 $(CXX) /c /nologo /TP /Fo$@ $(DEPRECATEDLIB_CXXFLAGS) $**
306
307$(OBJS)\deprecatedlib_proplist.obj: ../../src/deprecated\proplist.cpp
308 $(CXX) /c /nologo /TP /Fo$@ $(DEPRECATEDLIB_CXXFLAGS) $**
309
310$(OBJS)\deprecatedlib_resource.obj: ../../src/deprecated\resource.cpp
311 $(CXX) /c /nologo /TP /Fo$@ $(DEPRECATEDLIB_CXXFLAGS) $**
312
313$(OBJS)\deprecatedlib_treelay.obj: ../../src/deprecated\treelay.cpp
314 $(CXX) /c /nologo /TP /Fo$@ $(DEPRECATEDLIB_CXXFLAGS) $**
315
316$(OBJS)\deprecatedlib_wxexpr.obj: ../../src/deprecated\wxexpr.cpp
317 $(CXX) /c /nologo /TP /Fo$@ $(DEPRECATEDLIB_CXXFLAGS) $**
318
319clean:
320 -if exist $(OBJS)\*.obj del $(OBJS)\*.obj
321 -if exist $(OBJS)\*.res del $(OBJS)\*.res
322 -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
323 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_deprecated.lib del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_deprecated.lib
324 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_deprecated.lib del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_deprecated.lib
325
326!if "$(SHARED)" == "1"
327$(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)250$(WXUNICODEFLAG)$(WXDEBUGFLAG)_deprecated_vc$(VENDORTAG).dll: $(DEPRECATEDDLL_OBJECTS) $(OBJS)\deprecateddll_dummy.obj
328 link /DLL /NOLOGO /OUT:$@ $(LDFLAGS) $(__DEBUGINFO_1) /LIBPATH:$(LIBDIRNAME) @<<
2265a2d5 329 $(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 $(__WXLIB_CORE_p) $(__WXLIB_BASE_p) /IMPLIB:$(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_deprecated.lib
15e8daec
VS
330<<
331!endif
332
333!if "$(SHARED)" == "0"
334$(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_deprecated.lib: $(DEPRECATEDLIB_OBJECTS) $(OBJS)\deprecatedlib_dummy.obj
335 if exist $@ del $@
336 lib /NOLOGO /OUT:$@ @<<
337 $(DEPRECATEDLIB_OBJECTS)
338<<
339!endif