1 # =========================================================================
2 # This makefile was generated by
3 # Bakefile 0.2.0 (http://bakefile.sourceforge.net)
4 # Do not modify, all changes will be overwritten!
5 # =========================================================================
7 !include <../../../build/msw/config.vc>
9 # -------------------------------------------------------------------------
10 # Do not modify the rest of this file!
11 # -------------------------------------------------------------------------
16 WX_VERSION_NODOT = $(WX_RELEASE_NODOT)1
18 vc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)$(DIR_SUFFIX_CPU)
20 ..\..\src\net\..\..\..\lib\vc$(DIR_SUFFIX_CPU)_$(LIBTYPE_SUFFIX)$(CFG)
22 $(LIBDIRNAME)\$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)
23 NETUTILSDLL_CXXFLAGS = /M$(__RUNTIME_LIBS_9)$(__DEBUGRUNTIME) /DWIN32 \
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) $(__GFXCTX_DEFINE_p) /I$(SETUPHDIR) \
30 /I..\..\src\net\..\..\..\include /W4 /I..\..\src\net\..\..\include \
31 /DWXUSINGDLL /DWXMAKINGDLL_NETUTILS $(__RTTIFLAG) $(__EXCEPTIONSFLAG) \
32 /Yu"wx/wxprec.h" /Fp"$(OBJS)\wxprec_netutilsdll.pch" $(CPPFLAGS) \
34 NETUTILSDLL_OBJECTS = \
35 $(OBJS)\netutilsdll_dummy.obj \
36 $(OBJS)\netutilsdll_version.res \
37 $(OBJS)\netutilsdll_email.obj \
38 $(OBJS)\netutilsdll_smapi.obj \
39 $(OBJS)\netutilsdll_web.obj
40 NETUTILSLIB_CXXFLAGS = /M$(__RUNTIME_LIBS_22)$(__DEBUGRUNTIME) /DWIN32 \
42 /Fd$(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_netutils.pdb \
43 $(____DEBUGRUNTIME) $(__OPTIMIZEFLAG) $(__NO_VC_CRTDBG_p) /D__WXMSW__ \
44 $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) $(__EXCEPTIONS_DEFINE_p) \
45 $(__RTTI_DEFINE_p) $(__THREAD_DEFINE_p) $(__UNICODE_DEFINE_p) \
46 $(__MSLU_DEFINE_p) $(__GFXCTX_DEFINE_p) /I$(SETUPHDIR) \
47 /I..\..\src\net\..\..\..\include /W4 /I..\..\src\net\..\..\include \
48 $(__RTTIFLAG) $(__EXCEPTIONSFLAG) /Yu"wx/wxprec.h" \
49 /Fp"$(OBJS)\wxprec_netutilslib.pch" $(CPPFLAGS) $(CXXFLAGS)
50 NETUTILSLIB_OBJECTS = \
51 $(OBJS)\netutilslib_dummy.obj \
52 $(OBJS)\netutilslib_email.obj \
53 $(OBJS)\netutilslib_smapi.obj \
54 $(OBJS)\netutilslib_web.obj
56 ### Conditionally set variables: ###
58 !if "$(USE_GUI)" == "0"
61 !if "$(USE_GUI)" == "1"
64 !if "$(OFFICIAL_BUILD)" == "0"
65 VENDORTAG = _$(VENDOR)
67 !if "$(OFFICIAL_BUILD)" == "1"
70 !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
73 !if "$(DEBUG_FLAG)" == "1"
76 !if "$(UNICODE)" == "1"
79 !if "$(WXUNIV)" == "1"
82 !if "$(TARGET_CPU)" == "amd64"
83 DIR_SUFFIX_CPU = _amd64
85 !if "$(TARGET_CPU)" == "amd64"
86 DIR_SUFFIX_CPU = _amd64
88 !if "$(TARGET_CPU)" == "ia64"
89 DIR_SUFFIX_CPU = _ia64
91 !if "$(TARGET_CPU)" == "ia64"
92 DIR_SUFFIX_CPU = _ia64
94 !if "$(SHARED)" == "1"
97 !if "$(SHARED)" == "0"
100 !if "$(SHARED)" == "1"
103 !if "$(TARGET_CPU)" == "amd64"
104 LINK_TARGET_CPU = /MACHINE:AMD64
106 !if "$(TARGET_CPU)" == "amd64"
107 LINK_TARGET_CPU = /MACHINE:AMD64
109 !if "$(TARGET_CPU)" == "ia64"
110 LINK_TARGET_CPU = /MACHINE:IA64
112 !if "$(TARGET_CPU)" == "ia64"
113 LINK_TARGET_CPU = /MACHINE:IA64
115 !if "$(MONOLITHIC)" == "0"
118 !if "$(MONOLITHIC)" == "1"
121 !if "$(SHARED)" == "1"
122 __netutilsdll___depname = \
123 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_netutils_vc$(VENDORTAG).dll
125 !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
126 __DEBUGINFO_2 = /DEBUG
128 !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
131 !if "$(DEBUG_INFO)" == "0"
134 !if "$(DEBUG_INFO)" == "1"
135 __DEBUGINFO_2 = /DEBUG
137 !if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "default"
138 ____DEBUGRUNTIME_3_p_1 = /d _DEBUG
140 !if "$(BUILD)" == "release" && "$(DEBUG_RUNTIME_LIBS)" == "default"
141 ____DEBUGRUNTIME_3_p_1 =
143 !if "$(DEBUG_RUNTIME_LIBS)" == "0"
144 ____DEBUGRUNTIME_3_p_1 =
146 !if "$(DEBUG_RUNTIME_LIBS)" == "1"
147 ____DEBUGRUNTIME_3_p_1 = /d _DEBUG
149 !if "$(RUNTIME_LIBS)" == "dynamic"
152 !if "$(RUNTIME_LIBS)" == "static"
153 __RUNTIME_LIBS_9 = $(__THREADSFLAG)
155 !if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "0"
156 __NO_VC_CRTDBG_p_1 = /d __NO_VC_CRTDBG__
158 !if "$(BUILD)" == "release" && "$(DEBUG_FLAG)" == "1"
159 __NO_VC_CRTDBG_p_1 = /d __NO_VC_CRTDBG__
161 !if "$(WXUNIV)" == "1"
162 __WXUNIV_DEFINE_p_1 = /d __WXUNIVERSAL__
164 !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
165 __DEBUG_DEFINE_p_1 = /d __WXDEBUG__
167 !if "$(DEBUG_FLAG)" == "1"
168 __DEBUG_DEFINE_p_1 = /d __WXDEBUG__
170 !if "$(USE_EXCEPTIONS)" == "0"
171 __EXCEPTIONS_DEFINE_p_1 = /d wxNO_EXCEPTIONS
173 !if "$(USE_RTTI)" == "0"
174 __RTTI_DEFINE_p_1 = /d wxNO_RTTI
176 !if "$(USE_THREADS)" == "0"
177 __THREAD_DEFINE_p_1 = /d wxNO_THREADS
179 !if "$(UNICODE)" == "1"
180 __UNICODE_DEFINE_p_1 = /d _UNICODE
183 __MSLU_DEFINE_p_1 = /d wxUSE_UNICODE_MSLU=1
185 !if "$(USE_GDIPLUS)" == "1"
186 __GFXCTX_DEFINE_p_1 = /d wxUSE_GRAPHICS_CONTEXT=1
188 !if "$(MONOLITHIC)" == "1"
190 wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib
192 !if "$(USE_GUI)" == "1"
193 __LIB_TIFF_p = wxtiff$(WXDEBUGFLAG).lib
195 !if "$(USE_GUI)" == "1"
196 __LIB_JPEG_p = wxjpeg$(WXDEBUGFLAG).lib
198 !if "$(USE_GUI)" == "1"
199 __LIB_PNG_p = wxpng$(WXDEBUGFLAG).lib
202 __UNICOWS_LIB_p = unicows.lib
204 !if "$(USE_GDIPLUS)" == "1"
205 __GDIPLUS_LIB_p = gdiplus.lib
207 !if "$(MONOLITHIC)" == "0"
209 wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_core.lib
211 !if "$(MONOLITHIC)" == "0"
213 wxbase$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib
215 !if "$(SHARED)" == "0"
216 __netutilslib___depname = \
217 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_netutils.lib
219 !if "$(RUNTIME_LIBS)" == "dynamic"
220 __RUNTIME_LIBS_22 = D
222 !if "$(RUNTIME_LIBS)" == "static"
223 __RUNTIME_LIBS_22 = $(__THREADSFLAG)
225 !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
228 !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
231 !if "$(DEBUG_INFO)" == "0"
234 !if "$(DEBUG_INFO)" == "1"
237 !if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "default"
238 ____DEBUGRUNTIME = /D_DEBUG
240 !if "$(BUILD)" == "release" && "$(DEBUG_RUNTIME_LIBS)" == "default"
243 !if "$(DEBUG_RUNTIME_LIBS)" == "0"
246 !if "$(DEBUG_RUNTIME_LIBS)" == "1"
247 ____DEBUGRUNTIME = /D_DEBUG
249 !if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "default"
252 !if "$(BUILD)" == "release" && "$(DEBUG_RUNTIME_LIBS)" == "default"
255 !if "$(DEBUG_RUNTIME_LIBS)" == "0"
258 !if "$(DEBUG_RUNTIME_LIBS)" == "1"
261 !if "$(BUILD)" == "debug"
264 !if "$(BUILD)" == "release"
267 !if "$(USE_THREADS)" == "0"
270 !if "$(USE_THREADS)" == "1"
273 !if "$(USE_RTTI)" == "0"
276 !if "$(USE_RTTI)" == "1"
279 !if "$(USE_EXCEPTIONS)" == "0"
282 !if "$(USE_EXCEPTIONS)" == "1"
283 __EXCEPTIONSFLAG = /EHsc
285 !if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "0"
286 __NO_VC_CRTDBG_p = /D__NO_VC_CRTDBG__
288 !if "$(BUILD)" == "release" && "$(DEBUG_FLAG)" == "1"
289 __NO_VC_CRTDBG_p = /D__NO_VC_CRTDBG__
291 !if "$(WXUNIV)" == "1"
292 __WXUNIV_DEFINE_p = /D__WXUNIVERSAL__
294 !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
295 __DEBUG_DEFINE_p = /D__WXDEBUG__
297 !if "$(DEBUG_FLAG)" == "1"
298 __DEBUG_DEFINE_p = /D__WXDEBUG__
300 !if "$(USE_EXCEPTIONS)" == "0"
301 __EXCEPTIONS_DEFINE_p = /DwxNO_EXCEPTIONS
303 !if "$(USE_RTTI)" == "0"
304 __RTTI_DEFINE_p = /DwxNO_RTTI
306 !if "$(USE_THREADS)" == "0"
307 __THREAD_DEFINE_p = /DwxNO_THREADS
309 !if "$(UNICODE)" == "1"
310 __UNICODE_DEFINE_p = /D_UNICODE
313 __MSLU_DEFINE_p = /DwxUSE_UNICODE_MSLU=1
315 !if "$(USE_GDIPLUS)" == "1"
316 __GFXCTX_DEFINE_p = /DwxUSE_GRAPHICS_CONTEXT=1
322 -if not exist $(OBJS) mkdir $(OBJS)
326 all: $(__netutilsdll___depname) $(__netutilslib___depname)
329 -if exist $(OBJS)\*.obj del $(OBJS)\*.obj
330 -if exist $(OBJS)\*.res del $(OBJS)\*.res
331 -if exist $(OBJS)\*.pch del $(OBJS)\*.pch
332 -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
333 -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
334 -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
335 -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
336 -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
338 !if "$(SHARED)" == "1"
339 $(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
340 link /DLL /NOLOGO /OUT:$@ $(LDFLAGS) $(__DEBUGINFO_2) $(LINK_TARGET_CPU) /LIBPATH:$(LIBDIRNAME) @<<
341 $(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) $(__GDIPLUS_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
345 !if "$(SHARED)" == "0"
346 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_netutils.lib: $(OBJS)\netutilslib_dummy.obj $(NETUTILSLIB_OBJECTS)
348 link /LIB /NOLOGO /OUT:$@ @<<
349 $(NETUTILSLIB_OBJECTS)
353 $(OBJS)\netutilsdll_dummy.obj: ../../src/net\..\..\..\src\common\dummy.cpp
354 $(CXX) /c /nologo /TP /Fo$@ $(NETUTILSDLL_CXXFLAGS) /Ycwx/wxprec.h $**
356 $(OBJS)\netutilsdll_version.res: ../../src/net\..\..\..\src\msw\version.rc
357 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) $(__GFXCTX_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) $**
359 $(OBJS)\netutilsdll_email.obj: ../../src/net\email.cpp
360 $(CXX) /c /nologo /TP /Fo$@ $(NETUTILSDLL_CXXFLAGS) $**
362 $(OBJS)\netutilsdll_smapi.obj: ../../src/net\smapi.cpp
363 $(CXX) /c /nologo /TP /Fo$@ $(NETUTILSDLL_CXXFLAGS) $**
365 $(OBJS)\netutilsdll_web.obj: ../../src/net\web.cpp
366 $(CXX) /c /nologo /TP /Fo$@ $(NETUTILSDLL_CXXFLAGS) $**
368 $(OBJS)\netutilslib_dummy.obj: ../../src/net\..\..\..\src\common\dummy.cpp
369 $(CXX) /c /nologo /TP /Fo$@ $(NETUTILSLIB_CXXFLAGS) /Ycwx/wxprec.h $**
371 $(OBJS)\netutilslib_email.obj: ../../src/net\email.cpp
372 $(CXX) /c /nologo /TP /Fo$@ $(NETUTILSLIB_CXXFLAGS) $**
374 $(OBJS)\netutilslib_smapi.obj: ../../src/net\smapi.cpp
375 $(CXX) /c /nologo /TP /Fo$@ $(NETUTILSLIB_CXXFLAGS) $**
377 $(OBJS)\netutilslib_web.obj: ../../src/net\web.cpp
378 $(CXX) /c /nologo /TP /Fo$@ $(NETUTILSLIB_CXXFLAGS) $**