]> git.saurik.com Git - wxWidgets.git/blame_incremental - contrib/build/net/makefile.vc
cleanup - reformatting
[wxWidgets.git] / contrib / build / net / makefile.vc
... / ...
CommitLineData
1# =========================================================================
2# This makefile was generated by
3# Bakefile 0.1.9 (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 = 27
16WX_VERSION_NODOT = $(WX_RELEASE_NODOT)0
17OBJS = \
18 vc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)$(DIR_SUFFIX_CPU)
19LIBDIRNAME = \
20 ..\..\src\net\..\..\..\lib\vc$(DIR_SUFFIX_CPU)_$(LIBTYPE_SUFFIX)$(CFG)
21SETUPHDIR = \
22 $(LIBDIRNAME)\$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)
23NETUTILSDLL_CXXFLAGS = /M$(__RUNTIME_LIBS_9)$(__DEBUGRUNTIME) /DWIN32 \
24 $(__DEBUGINFO_1) \
25 /Fd$(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_netutils_vc$(VENDORTAG).pdb \
26 $(____DEBUGRUNTIME) $(__OPTIMIZEFLAG) $(__NO_VC_CRTDBG_p) /D__WXMSW__ \
27 $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) $(__EXCEPTIONS_DEFINE_p) \
28 $(__RTTI_DEFINE_p) $(__THREAD_DEFINE_p) $(__UNICODE_DEFINE_p) \
29 $(__MSLU_DEFINE_p) /I$(SETUPHDIR) /I..\..\src\net\..\..\..\include /W4 \
30 /I..\..\src\net\..\..\include /DWXUSINGDLL /DWXMAKINGDLL_NETUTILS \
31 $(__RTTIFLAG) $(__EXCEPTIONSFLAG) /Yu"wx/wxprec.h" \
32 /Fp"$(OBJS)\wxprec_netutilsdll.pch" $(CPPFLAGS) $(CXXFLAGS)
33NETUTILSDLL_OBJECTS = \
34 $(OBJS)\netutilsdll_dummy.obj \
35 $(OBJS)\netutilsdll_version.res \
36 $(OBJS)\netutilsdll_email.obj \
37 $(OBJS)\netutilsdll_smapi.obj \
38 $(OBJS)\netutilsdll_web.obj
39NETUTILSLIB_CXXFLAGS = /M$(__RUNTIME_LIBS_22)$(__DEBUGRUNTIME) /DWIN32 \
40 $(__DEBUGINFO_1) \
41 /Fd$(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_netutils.pdb \
42 $(____DEBUGRUNTIME) $(__OPTIMIZEFLAG) $(__NO_VC_CRTDBG_p) /D__WXMSW__ \
43 $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) $(__EXCEPTIONS_DEFINE_p) \
44 $(__RTTI_DEFINE_p) $(__THREAD_DEFINE_p) $(__UNICODE_DEFINE_p) \
45 $(__MSLU_DEFINE_p) /I$(SETUPHDIR) /I..\..\src\net\..\..\..\include /W4 \
46 /I..\..\src\net\..\..\include $(__RTTIFLAG) $(__EXCEPTIONSFLAG) \
47 /Yu"wx/wxprec.h" /Fp"$(OBJS)\wxprec_netutilslib.pch" $(CPPFLAGS) \
48 $(CXXFLAGS)
49NETUTILSLIB_OBJECTS = \
50 $(OBJS)\netutilslib_dummy.obj \
51 $(OBJS)\netutilslib_email.obj \
52 $(OBJS)\netutilslib_smapi.obj \
53 $(OBJS)\netutilslib_web.obj
54
55### Conditionally set variables: ###
56
57!if "$(USE_GUI)" == "0"
58PORTNAME = base
59!endif
60!if "$(USE_GUI)" == "1"
61PORTNAME = msw
62!endif
63!if "$(OFFICIAL_BUILD)" == "0"
64VENDORTAG = _$(VENDOR)
65!endif
66!if "$(OFFICIAL_BUILD)" == "1"
67VENDORTAG =
68!endif
69!if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
70WXDEBUGFLAG = d
71!endif
72!if "$(DEBUG_FLAG)" == "1"
73WXDEBUGFLAG = d
74!endif
75!if "$(UNICODE)" == "1"
76WXUNICODEFLAG = u
77!endif
78!if "$(WXUNIV)" == "1"
79WXUNIVNAME = univ
80!endif
81!if "$(TARGET_CPU)" == "amd64"
82DIR_SUFFIX_CPU = _amd64
83!endif
84!if "$(TARGET_CPU)" == "amd64"
85DIR_SUFFIX_CPU = _amd64
86!endif
87!if "$(TARGET_CPU)" == "ia64"
88DIR_SUFFIX_CPU = _ia64
89!endif
90!if "$(TARGET_CPU)" == "ia64"
91DIR_SUFFIX_CPU = _ia64
92!endif
93!if "$(SHARED)" == "1"
94WXDLLFLAG = dll
95!endif
96!if "$(SHARED)" == "0"
97LIBTYPE_SUFFIX = lib
98!endif
99!if "$(SHARED)" == "1"
100LIBTYPE_SUFFIX = dll
101!endif
102!if "$(TARGET_CPU)" == "amd64"
103LINK_TARGET_CPU = /MACHINE:AMD64
104!endif
105!if "$(TARGET_CPU)" == "amd64"
106LINK_TARGET_CPU = /MACHINE:AMD64
107!endif
108!if "$(TARGET_CPU)" == "ia64"
109LINK_TARGET_CPU = /MACHINE:IA64
110!endif
111!if "$(TARGET_CPU)" == "ia64"
112LINK_TARGET_CPU = /MACHINE:IA64
113!endif
114!if "$(MONOLITHIC)" == "0"
115EXTRALIBS_FOR_BASE =
116!endif
117!if "$(MONOLITHIC)" == "1"
118EXTRALIBS_FOR_BASE =
119!endif
120!if "$(SHARED)" == "1"
121__netutilsdll___depname = \
122 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_netutils_vc$(VENDORTAG).dll
123!endif
124!if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
125__DEBUGINFO_2 = /DEBUG
126!endif
127!if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
128__DEBUGINFO_2 =
129!endif
130!if "$(DEBUG_INFO)" == "0"
131__DEBUGINFO_2 =
132!endif
133!if "$(DEBUG_INFO)" == "1"
134__DEBUGINFO_2 = /DEBUG
135!endif
136!if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "default"
137____DEBUGRUNTIME_3_p_1 = /d _DEBUG
138!endif
139!if "$(BUILD)" == "release" && "$(DEBUG_RUNTIME_LIBS)" == "default"
140____DEBUGRUNTIME_3_p_1 =
141!endif
142!if "$(DEBUG_RUNTIME_LIBS)" == "0"
143____DEBUGRUNTIME_3_p_1 =
144!endif
145!if "$(DEBUG_RUNTIME_LIBS)" == "1"
146____DEBUGRUNTIME_3_p_1 = /d _DEBUG
147!endif
148!if "$(RUNTIME_LIBS)" == "dynamic"
149__RUNTIME_LIBS_9 = D
150!endif
151!if "$(RUNTIME_LIBS)" == "static"
152__RUNTIME_LIBS_9 = $(__THREADSFLAG)
153!endif
154!if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "0"
155__NO_VC_CRTDBG_p_1 = /d __NO_VC_CRTDBG__
156!endif
157!if "$(BUILD)" == "release" && "$(DEBUG_FLAG)" == "1"
158__NO_VC_CRTDBG_p_1 = /d __NO_VC_CRTDBG__
159!endif
160!if "$(WXUNIV)" == "1"
161__WXUNIV_DEFINE_p_1 = /d __WXUNIVERSAL__
162!endif
163!if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
164__DEBUG_DEFINE_p_1 = /d __WXDEBUG__
165!endif
166!if "$(DEBUG_FLAG)" == "1"
167__DEBUG_DEFINE_p_1 = /d __WXDEBUG__
168!endif
169!if "$(USE_EXCEPTIONS)" == "0"
170__EXCEPTIONS_DEFINE_p_1 = /d wxNO_EXCEPTIONS
171!endif
172!if "$(USE_RTTI)" == "0"
173__RTTI_DEFINE_p_1 = /d wxNO_RTTI
174!endif
175!if "$(USE_THREADS)" == "0"
176__THREAD_DEFINE_p_1 = /d wxNO_THREADS
177!endif
178!if "$(UNICODE)" == "1"
179__UNICODE_DEFINE_p_1 = /d _UNICODE
180!endif
181!if "$(MSLU)" == "1"
182__MSLU_DEFINE_p_1 = /d wxUSE_UNICODE_MSLU=1
183!endif
184!if "$(MONOLITHIC)" == "1"
185__WXLIB_MONO_p = \
186 wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib
187!endif
188!if "$(USE_GUI)" == "1"
189__LIB_TIFF_p = wxtiff$(WXDEBUGFLAG).lib
190!endif
191!if "$(USE_GUI)" == "1"
192__LIB_JPEG_p = wxjpeg$(WXDEBUGFLAG).lib
193!endif
194!if "$(USE_GUI)" == "1"
195__LIB_PNG_p = wxpng$(WXDEBUGFLAG).lib
196!endif
197!if "$(MSLU)" == "1"
198__UNICOWS_LIB_p = unicows.lib
199!endif
200!if "$(MONOLITHIC)" == "0"
201__WXLIB_CORE_p = \
202 wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_core.lib
203!endif
204!if "$(MONOLITHIC)" == "0"
205__WXLIB_BASE_p = \
206 wxbase$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib
207!endif
208!if "$(SHARED)" == "0"
209__netutilslib___depname = \
210 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_netutils.lib
211!endif
212!if "$(RUNTIME_LIBS)" == "dynamic"
213__RUNTIME_LIBS_22 = D
214!endif
215!if "$(RUNTIME_LIBS)" == "static"
216__RUNTIME_LIBS_22 = $(__THREADSFLAG)
217!endif
218!if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
219__DEBUGINFO_1 = /Zi
220!endif
221!if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
222__DEBUGINFO_1 =
223!endif
224!if "$(DEBUG_INFO)" == "0"
225__DEBUGINFO_1 =
226!endif
227!if "$(DEBUG_INFO)" == "1"
228__DEBUGINFO_1 = /Zi
229!endif
230!if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "default"
231____DEBUGRUNTIME = /D_DEBUG
232!endif
233!if "$(BUILD)" == "release" && "$(DEBUG_RUNTIME_LIBS)" == "default"
234____DEBUGRUNTIME =
235!endif
236!if "$(DEBUG_RUNTIME_LIBS)" == "0"
237____DEBUGRUNTIME =
238!endif
239!if "$(DEBUG_RUNTIME_LIBS)" == "1"
240____DEBUGRUNTIME = /D_DEBUG
241!endif
242!if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "default"
243__DEBUGRUNTIME = d
244!endif
245!if "$(BUILD)" == "release" && "$(DEBUG_RUNTIME_LIBS)" == "default"
246__DEBUGRUNTIME =
247!endif
248!if "$(DEBUG_RUNTIME_LIBS)" == "0"
249__DEBUGRUNTIME =
250!endif
251!if "$(DEBUG_RUNTIME_LIBS)" == "1"
252__DEBUGRUNTIME = d
253!endif
254!if "$(BUILD)" == "debug"
255__OPTIMIZEFLAG = /Od
256!endif
257!if "$(BUILD)" == "release"
258__OPTIMIZEFLAG = /O2
259!endif
260!if "$(USE_THREADS)" == "0"
261__THREADSFLAG = L
262!endif
263!if "$(USE_THREADS)" == "1"
264__THREADSFLAG = T
265!endif
266!if "$(USE_RTTI)" == "0"
267__RTTIFLAG =
268!endif
269!if "$(USE_RTTI)" == "1"
270__RTTIFLAG = /GR
271!endif
272!if "$(USE_EXCEPTIONS)" == "0"
273__EXCEPTIONSFLAG =
274!endif
275!if "$(USE_EXCEPTIONS)" == "1"
276__EXCEPTIONSFLAG = /EHsc
277!endif
278!if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "0"
279__NO_VC_CRTDBG_p = /D__NO_VC_CRTDBG__
280!endif
281!if "$(BUILD)" == "release" && "$(DEBUG_FLAG)" == "1"
282__NO_VC_CRTDBG_p = /D__NO_VC_CRTDBG__
283!endif
284!if "$(WXUNIV)" == "1"
285__WXUNIV_DEFINE_p = /D__WXUNIVERSAL__
286!endif
287!if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
288__DEBUG_DEFINE_p = /D__WXDEBUG__
289!endif
290!if "$(DEBUG_FLAG)" == "1"
291__DEBUG_DEFINE_p = /D__WXDEBUG__
292!endif
293!if "$(USE_EXCEPTIONS)" == "0"
294__EXCEPTIONS_DEFINE_p = /DwxNO_EXCEPTIONS
295!endif
296!if "$(USE_RTTI)" == "0"
297__RTTI_DEFINE_p = /DwxNO_RTTI
298!endif
299!if "$(USE_THREADS)" == "0"
300__THREAD_DEFINE_p = /DwxNO_THREADS
301!endif
302!if "$(UNICODE)" == "1"
303__UNICODE_DEFINE_p = /D_UNICODE
304!endif
305!if "$(MSLU)" == "1"
306__MSLU_DEFINE_p = /DwxUSE_UNICODE_MSLU=1
307!endif
308
309
310all: $(OBJS)
311$(OBJS):
312 -if not exist $(OBJS) mkdir $(OBJS)
313
314### Targets: ###
315
316all: $(__netutilsdll___depname) $(__netutilslib___depname)
317
318clean:
319 -if exist $(OBJS)\*.obj del $(OBJS)\*.obj
320 -if exist $(OBJS)\*.res del $(OBJS)\*.res
321 -if exist $(OBJS)\*.pch del $(OBJS)\*.pch
322 -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
323 -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
324 -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
325 -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
326 -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
327
328!if "$(SHARED)" == "1"
329$(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_netutils_vc$(VENDORTAG).dll: $(OBJS)\netutilsdll_dummy.obj $(NETUTILSDLL_OBJECTS) $(OBJS)\netutilsdll_version.res
330 link /DLL /NOLOGO /OUT:$@ $(LDFLAGS) $(__DEBUGINFO_2) $(LINK_TARGET_CPU) /LIBPATH:$(LIBDIRNAME) @<<
331 $(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 odbc32.lib $(__WXLIB_CORE_p) $(__WXLIB_BASE_p) /IMPLIB:$(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_netutils.lib
332<<
333!endif
334
335!if "$(SHARED)" == "0"
336$(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_netutils.lib: $(OBJS)\netutilslib_dummy.obj $(NETUTILSLIB_OBJECTS)
337 if exist $@ del $@
338 link /LIB /NOLOGO /OUT:$@ @<<
339 $(NETUTILSLIB_OBJECTS)
340<<
341!endif
342
343$(OBJS)\netutilsdll_dummy.obj: ../../src/net\..\..\..\src\msw\dummy.cpp
344 $(CXX) /c /nologo /TP /Fo$@ $(NETUTILSDLL_CXXFLAGS) /Ycwx/wxprec.h $**
345
346$(OBJS)\netutilsdll_version.res: ../../src/net\..\..\..\src\msw\version.rc
347 rc /fo$@ /d WIN32 $(____DEBUGRUNTIME_3_p_1) $(__NO_VC_CRTDBG_p_1) /d __WXMSW__ $(__WXUNIV_DEFINE_p_1) $(__DEBUG_DEFINE_p_1) $(__EXCEPTIONS_DEFINE_p_1) $(__RTTI_DEFINE_p_1) $(__THREAD_DEFINE_p_1) $(__UNICODE_DEFINE_p_1) $(__MSLU_DEFINE_p_1) /i $(SETUPHDIR) /i ..\..\src\net\..\..\..\include /d WXDLLNAME=wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_netutils_vc$(VENDORTAG) $**
348
349$(OBJS)\netutilsdll_email.obj: ../../src/net\email.cpp
350 $(CXX) /c /nologo /TP /Fo$@ $(NETUTILSDLL_CXXFLAGS) $**
351
352$(OBJS)\netutilsdll_smapi.obj: ../../src/net\smapi.cpp
353 $(CXX) /c /nologo /TP /Fo$@ $(NETUTILSDLL_CXXFLAGS) $**
354
355$(OBJS)\netutilsdll_web.obj: ../../src/net\web.cpp
356 $(CXX) /c /nologo /TP /Fo$@ $(NETUTILSDLL_CXXFLAGS) $**
357
358$(OBJS)\netutilslib_dummy.obj: ../../src/net\..\..\..\src\msw\dummy.cpp
359 $(CXX) /c /nologo /TP /Fo$@ $(NETUTILSLIB_CXXFLAGS) /Ycwx/wxprec.h $**
360
361$(OBJS)\netutilslib_email.obj: ../../src/net\email.cpp
362 $(CXX) /c /nologo /TP /Fo$@ $(NETUTILSLIB_CXXFLAGS) $**
363
364$(OBJS)\netutilslib_smapi.obj: ../../src/net\smapi.cpp
365 $(CXX) /c /nologo /TP /Fo$@ $(NETUTILSLIB_CXXFLAGS) $**
366
367$(OBJS)\netutilslib_web.obj: ../../src/net\web.cpp
368 $(CXX) /c /nologo /TP /Fo$@ $(NETUTILSLIB_CXXFLAGS) $**
369