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