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