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