]> git.saurik.com Git - wxWidgets.git/blame - contrib/build/svg/makefile.vc
fixed weird error
[wxWidgets.git] / contrib / build / svg / makefile.vc
CommitLineData
0ca4ab85
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
7!include <../../../build/config.vc>
8
9# -------------------------------------------------------------------------
10# Do not modify the rest of this file!
11# -------------------------------------------------------------------------
12
13### Variables: ###
14
15LIBDIRNAME = \
16 ..\..\src\svg\..\..\..\lib\vc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)
17OBJS = \
18 vc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)
19SVGDLL_CXXFLAGS = $(CPPFLAGS) /M$(__RUNTIME_LIBS)$(__DEBUGFLAG) /DWIN32 \
20 $(__DEBUGFLAG_2) $(____DEBUGFLAG) \
21 /Fd$(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)250$(WXUNICODEFLAG)$(WXDEBUGFLAG)_svg_vc$(VENDORTAG).pdb \
22 $(__OPTIMIZEFLAG) /D__WXMSW__ $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) \
23 $(__UNICODE_DEFINE_p) /I..\..\src\svg\..\..\..\include /I$(LIBDIRNAME) \
24 /I..\..\src\svg\..\..\..\src\tiff /I..\..\src\svg\..\..\..\src\jpeg \
25 /I..\..\src\svg\..\..\..\src\png /I..\..\src\svg\..\..\..\src\zlib \
26 /I..\..\src\svg\..\..\..\src\regex /I..\..\src\svg\..\..\..\src\expat\lib \
27 /I..\..\src\svg\..\..\include /DWXUSINGDLL /DWXMAKINGDLL_SVG $(CXXFLAGS) \
28 /Yu"wx/wxprec.h" /Fp"$(OBJS)\wxprec_svgdll.pch"
29SVGDLL_OBJECTS = \
30 $(OBJS)\svgdll_dummy.obj \
31 $(OBJS)\svgdll_dcsvg.obj
32SVGLIB_CXXFLAGS = $(CPPFLAGS) /M$(__RUNTIME_LIBS)$(__DEBUGFLAG) /DWIN32 \
33 $(__DEBUGFLAG_2) $(____DEBUGFLAG) \
34 /Fd$(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_svg.pdb \
35 $(__OPTIMIZEFLAG) /D__WXMSW__ $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) \
36 $(__UNICODE_DEFINE_p) /I..\..\src\svg\..\..\..\include /I$(LIBDIRNAME) \
37 /I..\..\src\svg\..\..\..\src\tiff /I..\..\src\svg\..\..\..\src\jpeg \
38 /I..\..\src\svg\..\..\..\src\png /I..\..\src\svg\..\..\..\src\zlib \
39 /I..\..\src\svg\..\..\..\src\regex /I..\..\src\svg\..\..\..\src\expat\lib \
40 /I..\..\src\svg\..\..\include $(CXXFLAGS) /Yu"wx/wxprec.h" \
41 /Fp"$(OBJS)\wxprec_svglib.pch"
42SVGLIB_OBJECTS = \
43 $(OBJS)\svglib_dummy.obj \
44 $(OBJS)\svglib_dcsvg.obj
45
46### Conditionally set variables: ###
47
48!if "$(USE_GUI)" == "0"
49PORTNAME = base
50!endif
51!if "$(USE_GUI)" == "1"
52PORTNAME = msw
53!endif
54!if "$(OFFICIAL_BUILD)" == "0"
55VENDORTAG = _$(VENDOR)
56!endif
57!if "$(OFFICIAL_BUILD)" == "1"
58VENDORTAG =
59!endif
60!if "$(BUILD)" == "debug"
61WXDEBUGFLAG = d
62!endif
63!if "$(SHARED)" == "1"
64WXDLLFLAG = dll
65!endif
66!if "$(UNICODE)" == "1"
67WXUNICODEFLAG = u
68!endif
69!if "$(WXUNIV)" == "1"
70WXUNIVNAME = univ
71!endif
72!if "$(BUILD)" == "debug"
73__DEBUGFLAG = d
74!endif
75!if "$(BUILD)" == "release"
76__DEBUGFLAG =
77!endif
78!if "$(BUILD)" == "debug"
79__DEBUGFLAG_1 = /DEBUG
80!endif
81!if "$(BUILD)" == "release"
82__DEBUGFLAG_1 =
83!endif
84!if "$(BUILD)" == "debug"
85__DEBUGFLAG_2 = /Zi
86!endif
87!if "$(BUILD)" == "release"
88__DEBUGFLAG_2 =
89!endif
90!if "$(BUILD)" == "debug"
91__DEBUG_DEFINE_p = /D__WXDEBUG__
92!endif
93!if "$(USE_GUI)" == "1"
94__LIB_JPEG_p = wxjpeg$(WXDEBUGFLAG).lib
95!endif
96!if "$(USE_GUI)" == "1"
97__LIB_PNG_p = wxpng$(WXDEBUGFLAG).lib
98!endif
99!if "$(USE_GUI)" == "1"
100__LIB_TIFF_p = wxtiff$(WXDEBUGFLAG).lib
101!endif
102!if "$(BUILD)" == "debug"
103__OPTIMIZEFLAG = /Od
104!endif
105!if "$(BUILD)" == "release"
106__OPTIMIZEFLAG = /O2
107!endif
108!if "$(RUNTIME_LIBS)" == "dynamic"
109__RUNTIME_LIBS = D
110!endif
111!if "$(RUNTIME_LIBS)" == "static"
112__RUNTIME_LIBS = T
113!endif
114!if "$(UNICODE)" == "1"
115__UNICODE_DEFINE_p = /DwxUSE_UNICODE=1
116!endif
117!if "$(MONOLITHIC)" == "0"
118__WXLIB_BASE_p = wxbase25$(WXUNICODEFLAG)$(WXDEBUGFLAG).lib
119!endif
120!if "$(MONOLITHIC)" == "0"
121__WXLIB_CORE_p = \
122 wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_core.lib
123!endif
124!if "$(MONOLITHIC)" == "1"
125__WXLIB_MONO_p = \
126 wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG).lib
127!endif
128!if "$(WXUNIV)" == "1"
129__WXUNIV_DEFINE_p = /D__WXUNIVERSAL__
130!endif
131!if "$(BUILD)" == "debug"
132____DEBUGFLAG = /D_DEBUG
133!endif
134!if "$(BUILD)" == "release"
135____DEBUGFLAG = /DNDEBUG
136!endif
137!if "$(SHARED)" == "1"
138__svgdll___depname = \
139 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)250$(WXUNICODEFLAG)$(WXDEBUGFLAG)_svg_vc$(VENDORTAG).dll
140!endif
141!if "$(SHARED)" == "0"
142__svglib___depname = \
143 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_svg.lib
144!endif
145
146
147all: $(OBJS)
148$(OBJS):
149 -if not exist $(OBJS) mkdir $(OBJS)
150
151### Targets: ###
152
153all: $(__svgdll___depname) $(__svglib___depname)
154
155$(OBJS)\svgdll_dcsvg.obj: ../../src/svg\dcsvg.cpp
156 $(CXX) /c /nologo /TP /Fo$@ $(SVGDLL_CXXFLAGS) $**
157
158$(OBJS)\svgdll_dummy.obj: ../../src/svg\..\..\..\src\msw\dummy.cpp
159 $(CXX) /c /nologo /TP /Fo$@ $(SVGDLL_CXXFLAGS) /Ycwx/wxprec.h $**
160
161$(OBJS)\svglib_dcsvg.obj: ../../src/svg\dcsvg.cpp
162 $(CXX) /c /nologo /TP /Fo$@ $(SVGLIB_CXXFLAGS) $**
163
164$(OBJS)\svglib_dummy.obj: ../../src/svg\..\..\..\src\msw\dummy.cpp
165 $(CXX) /c /nologo /TP /Fo$@ $(SVGLIB_CXXFLAGS) /Ycwx/wxprec.h $**
166
167clean:
168 -if exist $(OBJS)\*.obj del $(OBJS)\*.obj
169 -if exist $(OBJS)\*.res del $(OBJS)\*.res
170 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)250$(WXUNICODEFLAG)$(WXDEBUGFLAG)_svg_vc$(VENDORTAG).dll del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)250$(WXUNICODEFLAG)$(WXDEBUGFLAG)_svg_vc$(VENDORTAG).dll
171 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_svg.lib del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_svg.lib
172 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_svg.lib del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_svg.lib
173
174!if "$(SHARED)" == "1"
175$(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)250$(WXUNICODEFLAG)$(WXDEBUGFLAG)_svg_vc$(VENDORTAG).dll: $(SVGDLL_OBJECTS) $(OBJS)\svgdll_dummy.obj
176 link /DLL /NOLOGO /OUT:$@ $(LDFLAGS) $(__DEBUGFLAG_1) /LIBPATH:$(LIBDIRNAME) @<<
177 $(SVGDLL_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)_svg.lib
178<<
179!endif
180
181!if "$(SHARED)" == "0"
182$(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_svg.lib: $(SVGLIB_OBJECTS) $(OBJS)\svglib_dummy.obj
183 if exist $@ del $@
184 lib /NOLOGO /OUT:$@ @<<
185 $(SVGLIB_OBJECTS)
186<<
187!endif