]>
Commit | Line | Data |
---|---|---|
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/msw/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) | |
19 | SVGDLL_CXXFLAGS = $(CPPFLAGS) /M$(__RUNTIME_LIBS)$(__DEBUGRUNTIME_3) /DWIN32 \ | |
20 | $(__DEBUGINFO_2) \ | |
21 | /Fd$(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)250$(WXUNICODEFLAG)$(WXDEBUGFLAG)_svg_vc$(VENDORTAG).pdb \ | |
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" | |
30 | SVGDLL_OBJECTS = \ | |
31 | $(OBJS)\svgdll_dummy.obj \ | |
32 | $(OBJS)\svgdll_dcsvg.obj | |
33 | SVGLIB_CXXFLAGS = $(CPPFLAGS) /M$(__RUNTIME_LIBS)$(__DEBUGRUNTIME_12) /DWIN32 \ | |
34 | $(__DEBUGINFO_2) \ | |
35 | /Fd$(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_svg.pdb \ | |
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" | |
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 | |
61 | !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default" | |
62 | WXDEBUGFLAG = d | |
63 | !endif | |
64 | !if "$(DEBUG_FLAG)" == "1" | |
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 | |
76 | !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default" | |
77 | __DEBUGINFO = d | |
78 | !endif | |
79 | !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default" | |
80 | __DEBUGINFO = | |
81 | !endif | |
82 | !if "$(DEBUG_INFO)" == "0" | |
83 | __DEBUGINFO = | |
84 | !endif | |
85 | !if "$(DEBUG_INFO)" == "1" | |
86 | __DEBUGINFO = d | |
87 | !endif | |
88 | !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default" | |
89 | __DEBUGINFO_1 = /DEBUG | |
90 | !endif | |
91 | !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default" | |
92 | __DEBUGINFO_1 = | |
93 | !endif | |
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" | |
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 "$(MSLU)" == "1" | |
161 | __UNICOWS_LIB_p = unicows.lib | |
162 | !endif | |
163 | !if "$(MONOLITHIC)" == "0" | |
164 | __WXLIB_BASE_p = wxbase25$(WXUNICODEFLAG)$(WXDEBUGFLAG).lib | |
165 | !endif | |
166 | !if "$(MONOLITHIC)" == "0" | |
167 | __WXLIB_CORE_p = \ | |
168 | wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_core.lib | |
169 | !endif | |
170 | !if "$(MONOLITHIC)" == "1" | |
171 | __WXLIB_MONO_p = \ | |
172 | wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG).lib | |
173 | !endif | |
174 | !if "$(WXUNIV)" == "1" | |
175 | __WXUNIV_DEFINE_p = /D__WXUNIVERSAL__ | |
176 | !endif | |
177 | !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default" | |
178 | ____DEBUGINFO = /D_DEBUG | |
179 | !endif | |
180 | !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default" | |
181 | ____DEBUGINFO = | |
182 | !endif | |
183 | !if "$(DEBUG_INFO)" == "0" | |
184 | ____DEBUGINFO = | |
185 | !endif | |
186 | !if "$(DEBUG_INFO)" == "1" | |
187 | ____DEBUGINFO = /D_DEBUG | |
188 | !endif | |
189 | !if "$(DEBUG_RUNTIME_LIBS)" == "0" | |
190 | ____DEBUGRUNTIME_11_p = | |
191 | !endif | |
192 | !if "$(DEBUG_RUNTIME_LIBS)" == "1" | |
193 | ____DEBUGRUNTIME_11_p = /D_DEBUG | |
194 | !endif | |
195 | !if "$(DEBUG_RUNTIME_LIBS)" == "default" | |
196 | ____DEBUGRUNTIME_11_p = $(____DEBUGINFO) | |
197 | !endif | |
198 | !if "$(DEBUG_RUNTIME_LIBS)" == "0" | |
199 | ____DEBUGRUNTIME_2_p = | |
200 | !endif | |
201 | !if "$(DEBUG_RUNTIME_LIBS)" == "1" | |
202 | ____DEBUGRUNTIME_2_p = /D_DEBUG | |
203 | !endif | |
204 | !if "$(DEBUG_RUNTIME_LIBS)" == "default" | |
205 | ____DEBUGRUNTIME_2_p = $(____DEBUGINFO) | |
206 | !endif | |
207 | !if "$(SHARED)" == "1" | |
208 | __svgdll___depname = \ | |
209 | $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)250$(WXUNICODEFLAG)$(WXDEBUGFLAG)_svg_vc$(VENDORTAG).dll | |
210 | !endif | |
211 | !if "$(SHARED)" == "0" | |
212 | __svglib___depname = \ | |
213 | $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_svg.lib | |
214 | !endif | |
215 | ||
216 | ||
217 | all: $(OBJS) | |
218 | $(OBJS): | |
219 | -if not exist $(OBJS) mkdir $(OBJS) | |
220 | ||
221 | ### Targets: ### | |
222 | ||
223 | all: $(__svgdll___depname) $(__svglib___depname) | |
224 | ||
225 | $(OBJS)\svgdll_dcsvg.obj: ../../src/svg\dcsvg.cpp | |
226 | $(CXX) /c /nologo /TP /Fo$@ $(SVGDLL_CXXFLAGS) $** | |
227 | ||
228 | $(OBJS)\svgdll_dummy.obj: ../../src/svg\..\..\..\src\msw\dummy.cpp | |
229 | $(CXX) /c /nologo /TP /Fo$@ $(SVGDLL_CXXFLAGS) /Ycwx/wxprec.h $** | |
230 | ||
231 | $(OBJS)\svglib_dcsvg.obj: ../../src/svg\dcsvg.cpp | |
232 | $(CXX) /c /nologo /TP /Fo$@ $(SVGLIB_CXXFLAGS) $** | |
233 | ||
234 | $(OBJS)\svglib_dummy.obj: ../../src/svg\..\..\..\src\msw\dummy.cpp | |
235 | $(CXX) /c /nologo /TP /Fo$@ $(SVGLIB_CXXFLAGS) /Ycwx/wxprec.h $** | |
236 | ||
237 | clean: | |
238 | -if exist $(OBJS)\*.obj del $(OBJS)\*.obj | |
239 | -if exist $(OBJS)\*.res del $(OBJS)\*.res | |
240 | -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 | |
241 | -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_svg.lib del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_svg.lib | |
242 | -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_svg.lib del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_svg.lib | |
243 | ||
244 | !if "$(SHARED)" == "1" | |
245 | $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)250$(WXUNICODEFLAG)$(WXDEBUGFLAG)_svg_vc$(VENDORTAG).dll: $(SVGDLL_OBJECTS) $(OBJS)\svgdll_dummy.obj | |
246 | link /DLL /NOLOGO /OUT:$@ $(LDFLAGS) $(__DEBUGINFO_1) /LIBPATH:$(LIBDIRNAME) @<< | |
247 | $(SVGDLL_OBJECTS) $(__WXLIB_MONO_p) $(__LIB_TIFF_p) $(__LIB_JPEG_p) $(__LIB_PNG_p) wxzlib$(WXDEBUGFLAG).lib wxregex$(WXDEBUGFLAG).lib wxexpat$(WXDEBUGFLAG).lib $(__UNICOWS_LIB_p) 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 | |
248 | << | |
249 | !endif | |
250 | ||
251 | !if "$(SHARED)" == "0" | |
252 | $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_svg.lib: $(SVGLIB_OBJECTS) $(OBJS)\svglib_dummy.obj | |
253 | if exist $@ del $@ | |
254 | lib /NOLOGO /OUT:$@ @<< | |
255 | $(SVGLIB_OBJECTS) | |
256 | << | |
257 | !endif |