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