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