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