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