]> git.saurik.com Git - wxWidgets.git/blame - contrib/build/svg/makefile.vc
Deleting void is undefined.
[wxWidgets.git] / contrib / build / svg / makefile.vc
CommitLineData
0ca4ab85
VS
1# =========================================================================
2# This makefile was generated by
c4839ccf 3# Bakefile 0.1.4 (http://bakefile.sourceforge.net)
0ca4ab85
VS
4# Do not modify, all changes will be overwritten!
5# =========================================================================
6
fd9f42b6 7!include <../../../build/msw/config.vc>
0ca4ab85
VS
8
9# -------------------------------------------------------------------------
10# Do not modify the rest of this file!
11# -------------------------------------------------------------------------
12
13### Variables: ###
14
0ca4ab85
VS
15OBJS = \
16 vc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)
75a0a7b7
VS
17SETUPHDIR = \
18 $(LIBDIRNAME)\$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)
c4839ccf
JS
19SVGDLL_CXXFLAGS = /M$(__RUNTIME_LIBS)$(__DEBUGRUNTIME_4) /DWIN32 \
20 $(__DEBUGINFO_1) \
21 /Fd$(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)252$(WXUNICODEFLAG)$(WXDEBUGFLAG)_svg_vc$(VENDORTAG).pdb \
22 $(____DEBUGRUNTIME_3_p) $(__OPTIMIZEFLAG) $(__NO_VC_CRTDBG_p) /D__WXMSW__ \
ec08d395
JS
23 $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) $(__UNICODE_DEFINE_p) \
24 /I..\..\src\svg\..\..\..\include /I$(SETUPHDIR) /W4 \
9bfe7ad9 25 /I..\..\src\svg\..\..\include /DWXUSINGDLL /DWXMAKINGDLL_SVG \
a4ad36cd 26 $(__EXCEPTIONSFLAG) $(__EXCEPTIONSFLAG_0) /Yu"wx/wxprec.h" \
9bfe7ad9 27 /Fp"$(OBJS)\wxprec_svgdll.pch" $(CPPFLAGS) $(CXXFLAGS)
0ca4ab85
VS
28SVGDLL_OBJECTS = \
29 $(OBJS)\svgdll_dummy.obj \
30 $(OBJS)\svgdll_dcsvg.obj
c4839ccf
JS
31SVGLIB_CXXFLAGS = /M$(__RUNTIME_LIBS)$(__DEBUGRUNTIME_16) /DWIN32 \
32 $(__DEBUGINFO_1) \
0ca4ab85 33 /Fd$(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_svg.pdb \
c4839ccf 34 $(____DEBUGRUNTIME_15_p) $(__OPTIMIZEFLAG) $(__NO_VC_CRTDBG_p) /D__WXMSW__ \
ec08d395
JS
35 $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) $(__UNICODE_DEFINE_p) \
36 /I..\..\src\svg\..\..\..\include /I$(SETUPHDIR) /W4 \
9bfe7ad9
VS
37 /I..\..\src\svg\..\..\include $(__EXCEPTIONSFLAG) $(__EXCEPTIONSFLAG_0) \
38 /Yu"wx/wxprec.h" /Fp"$(OBJS)\wxprec_svglib.pch" $(CPPFLAGS) $(CXXFLAGS)
0ca4ab85
VS
39SVGLIB_OBJECTS = \
40 $(OBJS)\svglib_dummy.obj \
41 $(OBJS)\svglib_dcsvg.obj
42
43### Conditionally set variables: ###
44
45!if "$(USE_GUI)" == "0"
46PORTNAME = base
47!endif
48!if "$(USE_GUI)" == "1"
49PORTNAME = msw
50!endif
51!if "$(OFFICIAL_BUILD)" == "0"
52VENDORTAG = _$(VENDOR)
53!endif
54!if "$(OFFICIAL_BUILD)" == "1"
55VENDORTAG =
56!endif
3f55f5b8
VS
57!if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
58WXDEBUGFLAG = d
59!endif
60!if "$(DEBUG_FLAG)" == "1"
0ca4ab85
VS
61WXDEBUGFLAG = d
62!endif
0ca4ab85
VS
63!if "$(UNICODE)" == "1"
64WXUNICODEFLAG = u
65!endif
66!if "$(WXUNIV)" == "1"
67WXUNIVNAME = univ
68!endif
b17c1746
DE
69!if "$(SHARED)" == "1"
70WXDLLFLAG = dll
0ca4ab85 71!endif
b17c1746
DE
72!if "$(SHARED)" == "1"
73__svgdll___depname = \
c4839ccf 74 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)252$(WXUNICODEFLAG)$(WXDEBUGFLAG)_svg_vc$(VENDORTAG).dll
0ca4ab85 75!endif
3f55f5b8 76!if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
c4839ccf 77__DEBUGINFO_2 = /DEBUG
0ca4ab85 78!endif
3f55f5b8 79!if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
c4839ccf 80__DEBUGINFO_2 =
0ca4ab85 81!endif
3f55f5b8 82!if "$(DEBUG_INFO)" == "0"
c4839ccf 83__DEBUGINFO_2 =
3f55f5b8
VS
84!endif
85!if "$(DEBUG_INFO)" == "1"
c4839ccf 86__DEBUGINFO_2 = /DEBUG
3f55f5b8 87!endif
3f55f5b8 88!if "$(DEBUG_RUNTIME_LIBS)" == "0"
c4839ccf 89____DEBUGRUNTIME_3_p =
3f55f5b8
VS
90!endif
91!if "$(DEBUG_RUNTIME_LIBS)" == "1"
c4839ccf 92____DEBUGRUNTIME_3_p = /D_DEBUG
3f55f5b8
VS
93!endif
94!if "$(DEBUG_RUNTIME_LIBS)" == "default"
c4839ccf 95____DEBUGRUNTIME_3_p = $(____DEBUGINFO)
3f55f5b8
VS
96!endif
97!if "$(DEBUG_RUNTIME_LIBS)" == "0"
c4839ccf 98__DEBUGRUNTIME_4 =
3f55f5b8
VS
99!endif
100!if "$(DEBUG_RUNTIME_LIBS)" == "1"
c4839ccf 101__DEBUGRUNTIME_4 = d
3f55f5b8
VS
102!endif
103!if "$(DEBUG_RUNTIME_LIBS)" == "default"
c4839ccf 104__DEBUGRUNTIME_4 = $(__DEBUGINFO)
3f55f5b8 105!endif
b17c1746
DE
106!if "$(MONOLITHIC)" == "1"
107__WXLIB_MONO_p = \
108 wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG).lib
a4ad36cd 109!endif
b17c1746
DE
110!if "$(USE_GUI)" == "1"
111__LIB_TIFF_p = wxtiff$(WXDEBUGFLAG).lib
a4ad36cd 112!endif
0ca4ab85
VS
113!if "$(USE_GUI)" == "1"
114__LIB_JPEG_p = wxjpeg$(WXDEBUGFLAG).lib
115!endif
116!if "$(USE_GUI)" == "1"
117__LIB_PNG_p = wxpng$(WXDEBUGFLAG).lib
118!endif
b17c1746
DE
119!if "$(MSLU)" == "1"
120__UNICOWS_LIB_p = unicows.lib
0ca4ab85 121!endif
b17c1746
DE
122!if "$(MONOLITHIC)" == "0"
123__WXLIB_CORE_p = \
124 wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_core.lib
ec08d395 125!endif
b17c1746
DE
126!if "$(MONOLITHIC)" == "0"
127__WXLIB_BASE_p = wxbase25$(WXUNICODEFLAG)$(WXDEBUGFLAG).lib
ec08d395 128!endif
b17c1746
DE
129!if "$(SHARED)" == "0"
130__svglib___depname = \
131 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_svg.lib
0ca4ab85 132!endif
b17c1746 133!if "$(DEBUG_RUNTIME_LIBS)" == "0"
c4839ccf 134____DEBUGRUNTIME_15_p =
0ca4ab85 135!endif
b17c1746 136!if "$(DEBUG_RUNTIME_LIBS)" == "1"
c4839ccf 137____DEBUGRUNTIME_15_p = /D_DEBUG
0ca4ab85 138!endif
b17c1746 139!if "$(DEBUG_RUNTIME_LIBS)" == "default"
c4839ccf 140____DEBUGRUNTIME_15_p = $(____DEBUGINFO)
0ca4ab85 141!endif
b17c1746 142!if "$(DEBUG_RUNTIME_LIBS)" == "0"
c4839ccf 143__DEBUGRUNTIME_16 =
0ca4ab85 144!endif
b17c1746 145!if "$(DEBUG_RUNTIME_LIBS)" == "1"
c4839ccf 146__DEBUGRUNTIME_16 = d
2265a2d5 147!endif
b17c1746 148!if "$(DEBUG_RUNTIME_LIBS)" == "default"
c4839ccf 149__DEBUGRUNTIME_16 = $(__DEBUGINFO)
0ca4ab85 150!endif
b17c1746 151!if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
c4839ccf 152__DEBUGINFO_1 = /Zi
0ca4ab85 153!endif
b17c1746 154!if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
c4839ccf 155__DEBUGINFO_1 =
0ca4ab85 156!endif
b17c1746 157!if "$(DEBUG_INFO)" == "0"
c4839ccf 158__DEBUGINFO_1 =
b17c1746
DE
159!endif
160!if "$(DEBUG_INFO)" == "1"
c4839ccf 161__DEBUGINFO_1 = /Zi
0ca4ab85 162!endif
3f55f5b8
VS
163!if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
164____DEBUGINFO = /D_DEBUG
0ca4ab85 165!endif
3f55f5b8 166!if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
e2d1c567 167____DEBUGINFO =
3f55f5b8
VS
168!endif
169!if "$(DEBUG_INFO)" == "0"
e2d1c567 170____DEBUGINFO =
3f55f5b8
VS
171!endif
172!if "$(DEBUG_INFO)" == "1"
173____DEBUGINFO = /D_DEBUG
174!endif
b17c1746 175!if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
c4839ccf 176__DEBUGINFO = d
3f55f5b8 177!endif
b17c1746 178!if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
c4839ccf 179__DEBUGINFO =
3f55f5b8 180!endif
b17c1746 181!if "$(DEBUG_INFO)" == "0"
c4839ccf 182__DEBUGINFO =
3f55f5b8 183!endif
b17c1746 184!if "$(DEBUG_INFO)" == "1"
c4839ccf 185__DEBUGINFO = d
3f55f5b8 186!endif
b17c1746
DE
187!if "$(BUILD)" == "debug"
188__OPTIMIZEFLAG = /Od
3f55f5b8 189!endif
b17c1746
DE
190!if "$(BUILD)" == "release"
191__OPTIMIZEFLAG = /O2
0ca4ab85 192!endif
b17c1746
DE
193!if "$(RUNTIME_LIBS)" == "dynamic"
194__RUNTIME_LIBS = D
195!endif
196!if "$(RUNTIME_LIBS)" == "static"
197__RUNTIME_LIBS = T
198!endif
199!if "$(USE_EXCEPTIONS)" == "0"
200__EXCEPTIONSFLAG =
201!endif
202!if "$(USE_EXCEPTIONS)" == "1"
203__EXCEPTIONSFLAG = /GR
204!endif
205!if "$(USE_EXCEPTIONS)" == "0"
206__EXCEPTIONSFLAG_0 =
207!endif
208!if "$(USE_EXCEPTIONS)" == "1"
209__EXCEPTIONSFLAG_0 = /GX
210!endif
211!if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "0"
212__NO_VC_CRTDBG_p = /D__NO_VC_CRTDBG__
213!endif
214!if "$(BUILD)" == "release" && "$(DEBUG_FLAG)" == "1"
215__NO_VC_CRTDBG_p = /D__NO_VC_CRTDBG__
216!endif
217!if "$(WXUNIV)" == "1"
218__WXUNIV_DEFINE_p = /D__WXUNIVERSAL__
219!endif
220!if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
221__DEBUG_DEFINE_p = /D__WXDEBUG__
222!endif
223!if "$(DEBUG_FLAG)" == "1"
224__DEBUG_DEFINE_p = /D__WXDEBUG__
225!endif
226!if "$(UNICODE)" == "1"
227__UNICODE_DEFINE_p = /D_UNICODE
0ca4ab85
VS
228!endif
229!if "$(SHARED)" == "0"
b17c1746
DE
230LIBDIRNAME = ..\..\src\svg\..\..\..\lib\vc_lib$(CFG)
231!endif
232!if "$(SHARED)" == "1"
233LIBDIRNAME = ..\..\src\svg\..\..\..\lib\vc_dll$(CFG)
0ca4ab85
VS
234!endif
235
236
237all: $(OBJS)
238$(OBJS):
239 -if not exist $(OBJS) mkdir $(OBJS)
240
241### Targets: ###
242
243all: $(__svgdll___depname) $(__svglib___depname)
244
0ca4ab85
VS
245clean:
246 -if exist $(OBJS)\*.obj del $(OBJS)\*.obj
247 -if exist $(OBJS)\*.res del $(OBJS)\*.res
c4839ccf
JS
248 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)252$(WXUNICODEFLAG)$(WXDEBUGFLAG)_svg_vc$(VENDORTAG).dll del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)252$(WXUNICODEFLAG)$(WXDEBUGFLAG)_svg_vc$(VENDORTAG).dll
249 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)252$(WXUNICODEFLAG)$(WXDEBUGFLAG)_svg_vc$(VENDORTAG).ilk del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)252$(WXUNICODEFLAG)$(WXDEBUGFLAG)_svg_vc$(VENDORTAG).ilk
250 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)252$(WXUNICODEFLAG)$(WXDEBUGFLAG)_svg_vc$(VENDORTAG).pdb del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)252$(WXUNICODEFLAG)$(WXDEBUGFLAG)_svg_vc$(VENDORTAG).pdb
0ca4ab85
VS
251 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_svg.lib del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_svg.lib
252 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_svg.lib del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_svg.lib
253
254!if "$(SHARED)" == "1"
c4839ccf
JS
255$(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)252$(WXUNICODEFLAG)$(WXDEBUGFLAG)_svg_vc$(VENDORTAG).dll: $(OBJS)\svgdll_dummy.obj $(SVGDLL_OBJECTS)
256 link /DLL /NOLOGO /OUT:$@ $(LDFLAGS) $(__DEBUGINFO_2) /LIBPATH:$(LIBDIRNAME) @<<
b92ca8cf 257 $(SVGDLL_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)_svg.lib
0ca4ab85
VS
258<<
259!endif
260
261!if "$(SHARED)" == "0"
75a0a7b7 262$(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_svg.lib: $(OBJS)\svglib_dummy.obj $(SVGLIB_OBJECTS)
0ca4ab85
VS
263 if exist $@ del $@
264 lib /NOLOGO /OUT:$@ @<<
265 $(SVGLIB_OBJECTS)
266<<
267!endif
b17c1746
DE
268
269$(OBJS)\svgdll_dummy.obj: ../../src/svg\..\..\..\src\msw\dummy.cpp
270 $(CXX) /c /nologo /TP /Fo$@ $(SVGDLL_CXXFLAGS) /Ycwx/wxprec.h $**
271
272$(OBJS)\svgdll_dcsvg.obj: ../../src/svg\dcsvg.cpp
273 $(CXX) /c /nologo /TP /Fo$@ $(SVGDLL_CXXFLAGS) $**
274
275$(OBJS)\svglib_dummy.obj: ../../src/svg\..\..\..\src\msw\dummy.cpp
276 $(CXX) /c /nologo /TP /Fo$@ $(SVGLIB_CXXFLAGS) /Ycwx/wxprec.h $**
277
278$(OBJS)\svglib_dcsvg.obj: ../../src/svg\dcsvg.cpp
279 $(CXX) /c /nologo /TP /Fo$@ $(SVGLIB_CXXFLAGS) $**