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 # =========================================================================
7 !include <../../../build/msw/config.vc>
9 # -------------------------------------------------------------------------
10 # Do not modify the rest of this file!
11 # -------------------------------------------------------------------------
16 WX_VERSION_NODOT = $(WX_RELEASE_NODOT)0
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) /I..\..\src\net\..\..\..\include /I$(SETUPHDIR) /W4 \
30 /I..\..\src\net\..\..\include /DWXUSINGDLL /DWXMAKINGDLL_NETUTILS \
31 $(__RTTIFLAG) $(__EXCEPTIONSFLAG) /Yu"wx/wxprec.h" \
32 /Fp"$(OBJS)\wxprec_netutilsdll.pch" $(CPPFLAGS) $(CXXFLAGS)
33 NETUTILSDLL_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
39 NETUTILSLIB_CXXFLAGS = /M$(__RUNTIME_LIBS_22)$(__DEBUGRUNTIME) /DWIN32 \
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..\..\src\net\..\..\..\include /I$(SETUPHDIR) /W4 \
46 /I..\..\src\net\..\..\include $(__RTTIFLAG) $(__EXCEPTIONSFLAG) \
47 /Yu"wx/wxprec.h" /Fp"$(OBJS)\wxprec_netutilslib.pch" $(CPPFLAGS) \
49 NETUTILSLIB_OBJECTS = \
50 $(OBJS)\netutilslib_dummy.obj \
51 $(OBJS)\netutilslib_email.obj \
52 $(OBJS)\netutilslib_smapi.obj \
53 $(OBJS)\netutilslib_web.obj
55 ### Conditionally set variables: ###
57 !if "$(USE_GUI)" == "0"
60 !if "$(USE_GUI)" == "1"
63 !if "$(OFFICIAL_BUILD)" == "0"
64 VENDORTAG = _$(VENDOR)
66 !if "$(OFFICIAL_BUILD)" == "1"
69 !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
72 !if "$(DEBUG_FLAG)" == "1"
75 !if "$(UNICODE)" == "1"
78 !if "$(WXUNIV)" == "1"
81 !if "$(TARGET_CPU)" == "AMD64"
82 DIR_SUFFIX_CPU = _amd64
84 !if "$(TARGET_CPU)" == "IA64"
85 DIR_SUFFIX_CPU = _ia64
87 !if "$(SHARED)" == "1"
90 !if "$(SHARED)" == "0"
93 !if "$(SHARED)" == "1"
96 !if "$(TARGET_CPU)" == "AMD64"
97 LINK_TARGET_CPU = /MACHINE:AMD64
99 !if "$(TARGET_CPU)" == "IA64"
100 LINK_TARGET_CPU = /MACHINE:IA64
102 !if "$(MONOLITHIC)" == "0"
105 !if "$(MONOLITHIC)" == "1"
108 !if "$(SHARED)" == "1"
109 __netutilsdll___depname = \
110 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_netutils_vc$(VENDORTAG).dll
112 !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
113 __DEBUGINFO_2 = /DEBUG
115 !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
118 !if "$(DEBUG_INFO)" == "0"
121 !if "$(DEBUG_INFO)" == "1"
122 __DEBUGINFO_2 = /DEBUG
124 !if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "default"
125 ____DEBUGRUNTIME_3_p_1 = /d _DEBUG
127 !if "$(BUILD)" == "release" && "$(DEBUG_RUNTIME_LIBS)" == "default"
128 ____DEBUGRUNTIME_3_p_1 =
130 !if "$(DEBUG_RUNTIME_LIBS)" == "0"
131 ____DEBUGRUNTIME_3_p_1 =
133 !if "$(DEBUG_RUNTIME_LIBS)" == "1"
134 ____DEBUGRUNTIME_3_p_1 = /d _DEBUG
136 !if "$(RUNTIME_LIBS)" == "dynamic"
139 !if "$(RUNTIME_LIBS)" == "static"
140 __RUNTIME_LIBS_9 = $(__THREADSFLAG)
142 !if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "0"
143 __NO_VC_CRTDBG_p_1 = /d __NO_VC_CRTDBG__
145 !if "$(BUILD)" == "release" && "$(DEBUG_FLAG)" == "1"
146 __NO_VC_CRTDBG_p_1 = /d __NO_VC_CRTDBG__
148 !if "$(TARGET_CPU)" == "AMD64"
149 __RES_TARGET_CPU_p = /d WX_CPU_AMD64
151 !if "$(TARGET_CPU)" == "IA64"
152 __RES_TARGET_CPU_p = /d WX_CPU_IA64
154 !if "$(WXUNIV)" == "1"
155 __WXUNIV_DEFINE_p_1 = /d __WXUNIVERSAL__
157 !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
158 __DEBUG_DEFINE_p_1 = /d __WXDEBUG__
160 !if "$(DEBUG_FLAG)" == "1"
161 __DEBUG_DEFINE_p_1 = /d __WXDEBUG__
163 !if "$(USE_EXCEPTIONS)" == "0"
164 __EXCEPTIONS_DEFINE_p_1 = /d wxNO_EXCEPTIONS
166 !if "$(USE_RTTI)" == "0"
167 __RTTI_DEFINE_p_1 = /d wxNO_RTTI
169 !if "$(USE_THREADS)" == "0"
170 __THREAD_DEFINE_p_1 = /d wxNO_THREADS
172 !if "$(UNICODE)" == "1"
173 __UNICODE_DEFINE_p_1 = /d _UNICODE
176 __MSLU_DEFINE_p_1 = /d wxUSE_UNICODE_MSLU=1
178 !if "$(MONOLITHIC)" == "1"
180 wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib
182 !if "$(USE_GUI)" == "1"
183 __LIB_TIFF_p = wxtiff$(WXDEBUGFLAG).lib
185 !if "$(USE_GUI)" == "1"
186 __LIB_JPEG_p = wxjpeg$(WXDEBUGFLAG).lib
188 !if "$(USE_GUI)" == "1"
189 __LIB_PNG_p = wxpng$(WXDEBUGFLAG).lib
192 __UNICOWS_LIB_p = unicows.lib
194 !if "$(MONOLITHIC)" == "0"
196 wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_core.lib
198 !if "$(MONOLITHIC)" == "0"
200 wxbase$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib
202 !if "$(SHARED)" == "0"
203 __netutilslib___depname = \
204 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_netutils.lib
206 !if "$(RUNTIME_LIBS)" == "dynamic"
207 __RUNTIME_LIBS_22 = D
209 !if "$(RUNTIME_LIBS)" == "static"
210 __RUNTIME_LIBS_22 = $(__THREADSFLAG)
212 !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
215 !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
218 !if "$(DEBUG_INFO)" == "0"
221 !if "$(DEBUG_INFO)" == "1"
224 !if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "default"
225 ____DEBUGRUNTIME = /D_DEBUG
227 !if "$(BUILD)" == "release" && "$(DEBUG_RUNTIME_LIBS)" == "default"
230 !if "$(DEBUG_RUNTIME_LIBS)" == "0"
233 !if "$(DEBUG_RUNTIME_LIBS)" == "1"
234 ____DEBUGRUNTIME = /D_DEBUG
236 !if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "default"
239 !if "$(BUILD)" == "release" && "$(DEBUG_RUNTIME_LIBS)" == "default"
242 !if "$(DEBUG_RUNTIME_LIBS)" == "0"
245 !if "$(DEBUG_RUNTIME_LIBS)" == "1"
248 !if "$(BUILD)" == "debug"
251 !if "$(BUILD)" == "release"
254 !if "$(USE_THREADS)" == "0"
257 !if "$(USE_THREADS)" == "1"
260 !if "$(USE_RTTI)" == "0"
263 !if "$(USE_RTTI)" == "1"
266 !if "$(USE_EXCEPTIONS)" == "0"
269 !if "$(USE_EXCEPTIONS)" == "1"
270 __EXCEPTIONSFLAG = /EHsc
272 !if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "0"
273 __NO_VC_CRTDBG_p = /D__NO_VC_CRTDBG__
275 !if "$(BUILD)" == "release" && "$(DEBUG_FLAG)" == "1"
276 __NO_VC_CRTDBG_p = /D__NO_VC_CRTDBG__
278 !if "$(WXUNIV)" == "1"
279 __WXUNIV_DEFINE_p = /D__WXUNIVERSAL__
281 !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
282 __DEBUG_DEFINE_p = /D__WXDEBUG__
284 !if "$(DEBUG_FLAG)" == "1"
285 __DEBUG_DEFINE_p = /D__WXDEBUG__
287 !if "$(USE_EXCEPTIONS)" == "0"
288 __EXCEPTIONS_DEFINE_p = /DwxNO_EXCEPTIONS
290 !if "$(USE_RTTI)" == "0"
291 __RTTI_DEFINE_p = /DwxNO_RTTI
293 !if "$(USE_THREADS)" == "0"
294 __THREAD_DEFINE_p = /DwxNO_THREADS
296 !if "$(UNICODE)" == "1"
297 __UNICODE_DEFINE_p = /D_UNICODE
300 __MSLU_DEFINE_p = /DwxUSE_UNICODE_MSLU=1
306 -if not exist $(OBJS) mkdir $(OBJS)
310 all: $(__netutilsdll___depname) $(__netutilslib___depname)
313 -if exist $(OBJS)\*.obj del $(OBJS)\*.obj
314 -if exist $(OBJS)\*.res del $(OBJS)\*.res
315 -if exist $(OBJS)\*.pch del $(OBJS)\*.pch
316 -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
317 -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
318 -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
319 -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
320 -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
322 !if "$(SHARED)" == "1"
323 $(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
324 link /DLL /NOLOGO /OUT:$@ $(LDFLAGS) $(__DEBUGINFO_2) $(LINK_TARGET_CPU) /LIBPATH:$(LIBDIRNAME) @<<
325 $(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
329 !if "$(SHARED)" == "0"
330 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_netutils.lib: $(OBJS)\netutilslib_dummy.obj $(NETUTILSLIB_OBJECTS)
332 link /LIB /NOLOGO /OUT:$@ @<<
333 $(NETUTILSLIB_OBJECTS)
337 $(OBJS)\netutilsdll_dummy.obj: ../../src/net\..\..\..\src\msw\dummy.cpp
338 $(CXX) /c /nologo /TP /Fo$@ $(NETUTILSDLL_CXXFLAGS) /Ycwx/wxprec.h $**
340 $(OBJS)\netutilsdll_version.res: ../../src/net\..\..\..\src\msw\version.rc
341 rc /fo$@ /d WIN32 $(____DEBUGRUNTIME_3_p_1) $(__NO_VC_CRTDBG_p_1) $(__RES_TARGET_CPU_p) /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_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_netutils_vc$(VENDORTAG) $**
343 $(OBJS)\netutilsdll_email.obj: ../../src/net\email.cpp
344 $(CXX) /c /nologo /TP /Fo$@ $(NETUTILSDLL_CXXFLAGS) $**
346 $(OBJS)\netutilsdll_smapi.obj: ../../src/net\smapi.cpp
347 $(CXX) /c /nologo /TP /Fo$@ $(NETUTILSDLL_CXXFLAGS) $**
349 $(OBJS)\netutilsdll_web.obj: ../../src/net\web.cpp
350 $(CXX) /c /nologo /TP /Fo$@ $(NETUTILSDLL_CXXFLAGS) $**
352 $(OBJS)\netutilslib_dummy.obj: ../../src/net\..\..\..\src\msw\dummy.cpp
353 $(CXX) /c /nologo /TP /Fo$@ $(NETUTILSLIB_CXXFLAGS) /Ycwx/wxprec.h $**
355 $(OBJS)\netutilslib_email.obj: ../../src/net\email.cpp
356 $(CXX) /c /nologo /TP /Fo$@ $(NETUTILSLIB_CXXFLAGS) $**
358 $(OBJS)\netutilslib_smapi.obj: ../../src/net\smapi.cpp
359 $(CXX) /c /nologo /TP /Fo$@ $(NETUTILSLIB_CXXFLAGS) $**
361 $(OBJS)\netutilslib_web.obj: ../../src/net\web.cpp
362 $(CXX) /c /nologo /TP /Fo$@ $(NETUTILSLIB_CXXFLAGS) $**