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