]> git.saurik.com Git - wxWidgets.git/blame_incremental - contrib/build/svg/makefile.vc
Move oleacc.lib from the VC++ projects/makefiles to libraries.h
[wxWidgets.git] / contrib / build / svg / makefile.vc
... / ...
CommitLineData
1# =========================================================================
2# This makefile was generated by
3# Bakefile 0.1.9 (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
15WX_RELEASE_NODOT = 27
16WX_VERSION_NODOT = $(WX_RELEASE_NODOT)0
17OBJS = \
18 vc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)$(DIR_SUFFIX_CPU)
19LIBDIRNAME = \
20 ..\..\src\svg\..\..\..\lib\vc$(DIR_SUFFIX_CPU)_$(LIBTYPE_SUFFIX)$(CFG)
21SETUPHDIR = \
22 $(LIBDIRNAME)\$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)
23SVGDLL_CXXFLAGS = /M$(__RUNTIME_LIBS_9)$(__DEBUGRUNTIME) /DWIN32 \
24 $(__DEBUGINFO_1) \
25 /Fd$(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_svg_vc$(VENDORTAG).pdb \
26 $(____DEBUGRUNTIME) $(__OPTIMIZEFLAG) $(__NO_VC_CRTDBG_p) /D__WXMSW__ \
27 $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) $(__EXCEPTIONS_DEFINE_p) \
28 $(__RTTI_DEFINE_p) $(__THREAD_DEFINE_p) $(__UNICODE_DEFINE_p) \
29 $(__MSLU_DEFINE_p) /I..\..\src\svg\..\..\..\include /I$(SETUPHDIR) /W4 \
30 /I..\..\src\svg\..\..\include /DWXUSINGDLL /DWXMAKINGDLL_SVG $(__RTTIFLAG) \
31 $(__EXCEPTIONSFLAG) /Yu"wx/wxprec.h" /Fp"$(OBJS)\wxprec_svgdll.pch" \
32 $(CPPFLAGS) $(CXXFLAGS)
33SVGDLL_OBJECTS = \
34 $(OBJS)\svgdll_dummy.obj \
35 $(OBJS)\svgdll_version.res \
36 $(OBJS)\svgdll_dcsvg.obj
37SVGLIB_CXXFLAGS = /M$(__RUNTIME_LIBS_22)$(__DEBUGRUNTIME) /DWIN32 \
38 $(__DEBUGINFO_1) \
39 /Fd$(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_svg.pdb \
40 $(____DEBUGRUNTIME) $(__OPTIMIZEFLAG) $(__NO_VC_CRTDBG_p) /D__WXMSW__ \
41 $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) $(__EXCEPTIONS_DEFINE_p) \
42 $(__RTTI_DEFINE_p) $(__THREAD_DEFINE_p) $(__UNICODE_DEFINE_p) \
43 $(__MSLU_DEFINE_p) /I..\..\src\svg\..\..\..\include /I$(SETUPHDIR) /W4 \
44 /I..\..\src\svg\..\..\include $(__RTTIFLAG) $(__EXCEPTIONSFLAG) \
45 /Yu"wx/wxprec.h" /Fp"$(OBJS)\wxprec_svglib.pch" $(CPPFLAGS) $(CXXFLAGS)
46SVGLIB_OBJECTS = \
47 $(OBJS)\svglib_dummy.obj \
48 $(OBJS)\svglib_dcsvg.obj
49
50### Conditionally set variables: ###
51
52!if "$(USE_GUI)" == "0"
53PORTNAME = base
54!endif
55!if "$(USE_GUI)" == "1"
56PORTNAME = msw
57!endif
58!if "$(OFFICIAL_BUILD)" == "0"
59VENDORTAG = _$(VENDOR)
60!endif
61!if "$(OFFICIAL_BUILD)" == "1"
62VENDORTAG =
63!endif
64!if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
65WXDEBUGFLAG = d
66!endif
67!if "$(DEBUG_FLAG)" == "1"
68WXDEBUGFLAG = d
69!endif
70!if "$(UNICODE)" == "1"
71WXUNICODEFLAG = u
72!endif
73!if "$(WXUNIV)" == "1"
74WXUNIVNAME = univ
75!endif
76!if "$(TARGET_CPU)" == "AMD64"
77DIR_SUFFIX_CPU = _amd64
78!endif
79!if "$(TARGET_CPU)" == "IA64"
80DIR_SUFFIX_CPU = _ia64
81!endif
82!if "$(SHARED)" == "1"
83WXDLLFLAG = dll
84!endif
85!if "$(SHARED)" == "0"
86LIBTYPE_SUFFIX = lib
87!endif
88!if "$(SHARED)" == "1"
89LIBTYPE_SUFFIX = dll
90!endif
91!if "$(TARGET_CPU)" == "AMD64"
92LINK_TARGET_CPU = /MACHINE:AMD64
93!endif
94!if "$(TARGET_CPU)" == "IA64"
95LINK_TARGET_CPU = /MACHINE:IA64
96!endif
97!if "$(MONOLITHIC)" == "0"
98EXTRALIBS_FOR_BASE =
99!endif
100!if "$(MONOLITHIC)" == "1"
101EXTRALIBS_FOR_BASE =
102!endif
103!if "$(SHARED)" == "1"
104__svgdll___depname = \
105 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_svg_vc$(VENDORTAG).dll
106!endif
107!if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
108__DEBUGINFO_2 = /DEBUG
109!endif
110!if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
111__DEBUGINFO_2 =
112!endif
113!if "$(DEBUG_INFO)" == "0"
114__DEBUGINFO_2 =
115!endif
116!if "$(DEBUG_INFO)" == "1"
117__DEBUGINFO_2 = /DEBUG
118!endif
119!if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "default"
120____DEBUGRUNTIME_3_p_1 = /d _DEBUG
121!endif
122!if "$(BUILD)" == "release" && "$(DEBUG_RUNTIME_LIBS)" == "default"
123____DEBUGRUNTIME_3_p_1 =
124!endif
125!if "$(DEBUG_RUNTIME_LIBS)" == "0"
126____DEBUGRUNTIME_3_p_1 =
127!endif
128!if "$(DEBUG_RUNTIME_LIBS)" == "1"
129____DEBUGRUNTIME_3_p_1 = /d _DEBUG
130!endif
131!if "$(RUNTIME_LIBS)" == "dynamic"
132__RUNTIME_LIBS_9 = D
133!endif
134!if "$(RUNTIME_LIBS)" == "static"
135__RUNTIME_LIBS_9 = $(__THREADSFLAG)
136!endif
137!if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "0"
138__NO_VC_CRTDBG_p_1 = /d __NO_VC_CRTDBG__
139!endif
140!if "$(BUILD)" == "release" && "$(DEBUG_FLAG)" == "1"
141__NO_VC_CRTDBG_p_1 = /d __NO_VC_CRTDBG__
142!endif
143!if "$(TARGET_CPU)" == "AMD64"
144__RES_TARGET_CPU_p = /d WX_CPU_AMD64
145!endif
146!if "$(TARGET_CPU)" == "IA64"
147__RES_TARGET_CPU_p = /d WX_CPU_IA64
148!endif
149!if "$(WXUNIV)" == "1"
150__WXUNIV_DEFINE_p_1 = /d __WXUNIVERSAL__
151!endif
152!if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
153__DEBUG_DEFINE_p_1 = /d __WXDEBUG__
154!endif
155!if "$(DEBUG_FLAG)" == "1"
156__DEBUG_DEFINE_p_1 = /d __WXDEBUG__
157!endif
158!if "$(USE_EXCEPTIONS)" == "0"
159__EXCEPTIONS_DEFINE_p_1 = /d wxNO_EXCEPTIONS
160!endif
161!if "$(USE_RTTI)" == "0"
162__RTTI_DEFINE_p_1 = /d wxNO_RTTI
163!endif
164!if "$(USE_THREADS)" == "0"
165__THREAD_DEFINE_p_1 = /d wxNO_THREADS
166!endif
167!if "$(UNICODE)" == "1"
168__UNICODE_DEFINE_p_1 = /d _UNICODE
169!endif
170!if "$(MSLU)" == "1"
171__MSLU_DEFINE_p_1 = /d wxUSE_UNICODE_MSLU=1
172!endif
173!if "$(MONOLITHIC)" == "1"
174__WXLIB_MONO_p = \
175 wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib
176!endif
177!if "$(USE_GUI)" == "1"
178__LIB_TIFF_p = wxtiff$(WXDEBUGFLAG).lib
179!endif
180!if "$(USE_GUI)" == "1"
181__LIB_JPEG_p = wxjpeg$(WXDEBUGFLAG).lib
182!endif
183!if "$(USE_GUI)" == "1"
184__LIB_PNG_p = wxpng$(WXDEBUGFLAG).lib
185!endif
186!if "$(MSLU)" == "1"
187__UNICOWS_LIB_p = unicows.lib
188!endif
189!if "$(MONOLITHIC)" == "0"
190__WXLIB_CORE_p = \
191 wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_core.lib
192!endif
193!if "$(MONOLITHIC)" == "0"
194__WXLIB_BASE_p = \
195 wxbase$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib
196!endif
197!if "$(SHARED)" == "0"
198__svglib___depname = \
199 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_svg.lib
200!endif
201!if "$(RUNTIME_LIBS)" == "dynamic"
202__RUNTIME_LIBS_22 = D
203!endif
204!if "$(RUNTIME_LIBS)" == "static"
205__RUNTIME_LIBS_22 = $(__THREADSFLAG)
206!endif
207!if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
208__DEBUGINFO_1 = /Zi
209!endif
210!if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
211__DEBUGINFO_1 =
212!endif
213!if "$(DEBUG_INFO)" == "0"
214__DEBUGINFO_1 =
215!endif
216!if "$(DEBUG_INFO)" == "1"
217__DEBUGINFO_1 = /Zi
218!endif
219!if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "default"
220____DEBUGRUNTIME = /D_DEBUG
221!endif
222!if "$(BUILD)" == "release" && "$(DEBUG_RUNTIME_LIBS)" == "default"
223____DEBUGRUNTIME =
224!endif
225!if "$(DEBUG_RUNTIME_LIBS)" == "0"
226____DEBUGRUNTIME =
227!endif
228!if "$(DEBUG_RUNTIME_LIBS)" == "1"
229____DEBUGRUNTIME = /D_DEBUG
230!endif
231!if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "default"
232__DEBUGRUNTIME = d
233!endif
234!if "$(BUILD)" == "release" && "$(DEBUG_RUNTIME_LIBS)" == "default"
235__DEBUGRUNTIME =
236!endif
237!if "$(DEBUG_RUNTIME_LIBS)" == "0"
238__DEBUGRUNTIME =
239!endif
240!if "$(DEBUG_RUNTIME_LIBS)" == "1"
241__DEBUGRUNTIME = d
242!endif
243!if "$(BUILD)" == "debug"
244__OPTIMIZEFLAG = /Od
245!endif
246!if "$(BUILD)" == "release"
247__OPTIMIZEFLAG = /O2
248!endif
249!if "$(USE_THREADS)" == "0"
250__THREADSFLAG = L
251!endif
252!if "$(USE_THREADS)" == "1"
253__THREADSFLAG = T
254!endif
255!if "$(USE_RTTI)" == "0"
256__RTTIFLAG =
257!endif
258!if "$(USE_RTTI)" == "1"
259__RTTIFLAG = /GR
260!endif
261!if "$(USE_EXCEPTIONS)" == "0"
262__EXCEPTIONSFLAG =
263!endif
264!if "$(USE_EXCEPTIONS)" == "1"
265__EXCEPTIONSFLAG = /EHsc
266!endif
267!if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "0"
268__NO_VC_CRTDBG_p = /D__NO_VC_CRTDBG__
269!endif
270!if "$(BUILD)" == "release" && "$(DEBUG_FLAG)" == "1"
271__NO_VC_CRTDBG_p = /D__NO_VC_CRTDBG__
272!endif
273!if "$(WXUNIV)" == "1"
274__WXUNIV_DEFINE_p = /D__WXUNIVERSAL__
275!endif
276!if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
277__DEBUG_DEFINE_p = /D__WXDEBUG__
278!endif
279!if "$(DEBUG_FLAG)" == "1"
280__DEBUG_DEFINE_p = /D__WXDEBUG__
281!endif
282!if "$(USE_EXCEPTIONS)" == "0"
283__EXCEPTIONS_DEFINE_p = /DwxNO_EXCEPTIONS
284!endif
285!if "$(USE_RTTI)" == "0"
286__RTTI_DEFINE_p = /DwxNO_RTTI
287!endif
288!if "$(USE_THREADS)" == "0"
289__THREAD_DEFINE_p = /DwxNO_THREADS
290!endif
291!if "$(UNICODE)" == "1"
292__UNICODE_DEFINE_p = /D_UNICODE
293!endif
294!if "$(MSLU)" == "1"
295__MSLU_DEFINE_p = /DwxUSE_UNICODE_MSLU=1
296!endif
297
298
299all: $(OBJS)
300$(OBJS):
301 -if not exist $(OBJS) mkdir $(OBJS)
302
303### Targets: ###
304
305all: $(__svgdll___depname) $(__svglib___depname)
306
307clean:
308 -if exist $(OBJS)\*.obj del $(OBJS)\*.obj
309 -if exist $(OBJS)\*.res del $(OBJS)\*.res
310 -if exist $(OBJS)\*.pch del $(OBJS)\*.pch
311 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_svg_vc$(VENDORTAG).dll del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_svg_vc$(VENDORTAG).dll
312 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_svg_vc$(VENDORTAG).ilk del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_svg_vc$(VENDORTAG).ilk
313 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_svg_vc$(VENDORTAG).pdb del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_svg_vc$(VENDORTAG).pdb
314 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_svg.lib del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_svg.lib
315 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_svg.lib del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_svg.lib
316
317!if "$(SHARED)" == "1"
318$(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_svg_vc$(VENDORTAG).dll: $(OBJS)\svgdll_dummy.obj $(SVGDLL_OBJECTS) $(OBJS)\svgdll_version.res
319 link /DLL /NOLOGO /OUT:$@ $(LDFLAGS) $(__DEBUGINFO_2) $(LINK_TARGET_CPU) /LIBPATH:$(LIBDIRNAME) @<<
320 $(SVGDLL_OBJECTS) $(__WXLIB_MONO_p) $(__LIB_TIFF_p) $(__LIB_JPEG_p) $(__LIB_PNG_p) wxzlib$(WXDEBUGFLAG).lib wxregex$(WXUNICODEFLAG)$(WXDEBUGFLAG).lib wxexpat$(WXDEBUGFLAG).lib $(EXTRALIBS_FOR_BASE) $(__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)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_svg.lib
321<<
322!endif
323
324!if "$(SHARED)" == "0"
325$(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_svg.lib: $(OBJS)\svglib_dummy.obj $(SVGLIB_OBJECTS)
326 if exist $@ del $@
327 link /LIB /NOLOGO /OUT:$@ @<<
328 $(SVGLIB_OBJECTS)
329<<
330!endif
331
332$(OBJS)\svgdll_dummy.obj: ../../src/svg\..\..\..\src\msw\dummy.cpp
333 $(CXX) /c /nologo /TP /Fo$@ $(SVGDLL_CXXFLAGS) /Ycwx/wxprec.h $**
334
335$(OBJS)\svgdll_version.res: ../../src/svg\..\..\..\src\msw\version.rc
336 rc /fo$@ /d WIN32 $(____DEBUGRUNTIME_3_p_1) $(__NO_VC_CRTDBG_p_1) $(__RES_TARGET_CPU_p) /d __WXMSW__ $(__WXUNIV_DEFINE_p_1) $(__DEBUG_DEFINE_p_1) $(__EXCEPTIONS_DEFINE_p_1) $(__RTTI_DEFINE_p_1) $(__THREAD_DEFINE_p_1) $(__UNICODE_DEFINE_p_1) $(__MSLU_DEFINE_p_1) /i ..\..\src\svg\..\..\..\include /i $(SETUPHDIR) /d WXDLLNAME=wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_svg_vc$(VENDORTAG) $**
337
338$(OBJS)\svgdll_dcsvg.obj: ../../src/svg\dcsvg.cpp
339 $(CXX) /c /nologo /TP /Fo$@ $(SVGDLL_CXXFLAGS) $**
340
341$(OBJS)\svglib_dummy.obj: ../../src/svg\..\..\..\src\msw\dummy.cpp
342 $(CXX) /c /nologo /TP /Fo$@ $(SVGLIB_CXXFLAGS) /Ycwx/wxprec.h $**
343
344$(OBJS)\svglib_dcsvg.obj: ../../src/svg\dcsvg.cpp
345 $(CXX) /c /nologo /TP /Fo$@ $(SVGLIB_CXXFLAGS) $**
346