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