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$(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)
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$(SETUPHDIR) /I..\..\src\net\..\..\..\include /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)" == "amd64"
85 DIR_SUFFIX_CPU = _amd64
87 !if "$(TARGET_CPU)" == "ia64"
88 DIR_SUFFIX_CPU = _ia64
90 !if "$(TARGET_CPU)" == "ia64"
91 DIR_SUFFIX_CPU = _ia64
93 !if "$(SHARED)" == "1"
96 !if "$(SHARED)" == "0"
99 !if "$(SHARED)" == "1"
102 !if "$(TARGET_CPU)" == "amd64"
103 LINK_TARGET_CPU = /MACHINE:AMD64
105 !if "$(TARGET_CPU)" == "amd64"
106 LINK_TARGET_CPU = /MACHINE:AMD64
108 !if "$(TARGET_CPU)" == "ia64"
109 LINK_TARGET_CPU = /MACHINE:IA64
111 !if "$(TARGET_CPU)" == "ia64"
112 LINK_TARGET_CPU = /MACHINE:IA64
114 !if "$(MONOLITHIC)" == "0"
117 !if "$(MONOLITHIC)" == "1"
120 !if "$(SHARED)" == "1"
121 __netutilsdll___depname = \
122 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_netutils_vc$(VENDORTAG).dll
124 !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
125 __DEBUGINFO_2 = /DEBUG
127 !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
130 !if "$(DEBUG_INFO)" == "0"
133 !if "$(DEBUG_INFO)" == "1"
134 __DEBUGINFO_2 = /DEBUG
136 !if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "default"
137 ____DEBUGRUNTIME_3_p_1 = /d _DEBUG
139 !if "$(BUILD)" == "release" && "$(DEBUG_RUNTIME_LIBS)" == "default"
140 ____DEBUGRUNTIME_3_p_1 =
142 !if "$(DEBUG_RUNTIME_LIBS)" == "0"
143 ____DEBUGRUNTIME_3_p_1 =
145 !if "$(DEBUG_RUNTIME_LIBS)" == "1"
146 ____DEBUGRUNTIME_3_p_1 = /d _DEBUG
148 !if "$(RUNTIME_LIBS)" == "dynamic"
151 !if "$(RUNTIME_LIBS)" == "static"
152 __RUNTIME_LIBS_9 = $(__THREADSFLAG)
154 !if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "0"
155 __NO_VC_CRTDBG_p_1 = /d __NO_VC_CRTDBG__
157 !if "$(BUILD)" == "release" && "$(DEBUG_FLAG)" == "1"
158 __NO_VC_CRTDBG_p_1 = /d __NO_VC_CRTDBG__
160 !if "$(WXUNIV)" == "1"
161 __WXUNIV_DEFINE_p_1 = /d __WXUNIVERSAL__
163 !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
164 __DEBUG_DEFINE_p_1 = /d __WXDEBUG__
166 !if "$(DEBUG_FLAG)" == "1"
167 __DEBUG_DEFINE_p_1 = /d __WXDEBUG__
169 !if "$(USE_EXCEPTIONS)" == "0"
170 __EXCEPTIONS_DEFINE_p_1 = /d wxNO_EXCEPTIONS
172 !if "$(USE_RTTI)" == "0"
173 __RTTI_DEFINE_p_1 = /d wxNO_RTTI
175 !if "$(USE_THREADS)" == "0"
176 __THREAD_DEFINE_p_1 = /d wxNO_THREADS
178 !if "$(UNICODE)" == "1"
179 __UNICODE_DEFINE_p_1 = /d _UNICODE
182 __MSLU_DEFINE_p_1 = /d wxUSE_UNICODE_MSLU=1
184 !if "$(MONOLITHIC)" == "1"
186 wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib
188 !if "$(USE_GUI)" == "1"
189 __LIB_TIFF_p = wxtiff$(WXDEBUGFLAG).lib
191 !if "$(USE_GUI)" == "1"
192 __LIB_JPEG_p = wxjpeg$(WXDEBUGFLAG).lib
194 !if "$(USE_GUI)" == "1"
195 __LIB_PNG_p = wxpng$(WXDEBUGFLAG).lib
198 __UNICOWS_LIB_p = unicows.lib
200 !if "$(MONOLITHIC)" == "0"
202 wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_core.lib
204 !if "$(MONOLITHIC)" == "0"
206 wxbase$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib
208 !if "$(SHARED)" == "0"
209 __netutilslib___depname = \
210 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_netutils.lib
212 !if "$(RUNTIME_LIBS)" == "dynamic"
213 __RUNTIME_LIBS_22 = D
215 !if "$(RUNTIME_LIBS)" == "static"
216 __RUNTIME_LIBS_22 = $(__THREADSFLAG)
218 !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
221 !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
224 !if "$(DEBUG_INFO)" == "0"
227 !if "$(DEBUG_INFO)" == "1"
230 !if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "default"
231 ____DEBUGRUNTIME = /D_DEBUG
233 !if "$(BUILD)" == "release" && "$(DEBUG_RUNTIME_LIBS)" == "default"
236 !if "$(DEBUG_RUNTIME_LIBS)" == "0"
239 !if "$(DEBUG_RUNTIME_LIBS)" == "1"
240 ____DEBUGRUNTIME = /D_DEBUG
242 !if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "default"
245 !if "$(BUILD)" == "release" && "$(DEBUG_RUNTIME_LIBS)" == "default"
248 !if "$(DEBUG_RUNTIME_LIBS)" == "0"
251 !if "$(DEBUG_RUNTIME_LIBS)" == "1"
254 !if "$(BUILD)" == "debug"
257 !if "$(BUILD)" == "release"
260 !if "$(USE_THREADS)" == "0"
263 !if "$(USE_THREADS)" == "1"
266 !if "$(USE_RTTI)" == "0"
269 !if "$(USE_RTTI)" == "1"
272 !if "$(USE_EXCEPTIONS)" == "0"
275 !if "$(USE_EXCEPTIONS)" == "1"
276 __EXCEPTIONSFLAG = /EHsc
278 !if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "0"
279 __NO_VC_CRTDBG_p = /D__NO_VC_CRTDBG__
281 !if "$(BUILD)" == "release" && "$(DEBUG_FLAG)" == "1"
282 __NO_VC_CRTDBG_p = /D__NO_VC_CRTDBG__
284 !if "$(WXUNIV)" == "1"
285 __WXUNIV_DEFINE_p = /D__WXUNIVERSAL__
287 !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
288 __DEBUG_DEFINE_p = /D__WXDEBUG__
290 !if "$(DEBUG_FLAG)" == "1"
291 __DEBUG_DEFINE_p = /D__WXDEBUG__
293 !if "$(USE_EXCEPTIONS)" == "0"
294 __EXCEPTIONS_DEFINE_p = /DwxNO_EXCEPTIONS
296 !if "$(USE_RTTI)" == "0"
297 __RTTI_DEFINE_p = /DwxNO_RTTI
299 !if "$(USE_THREADS)" == "0"
300 __THREAD_DEFINE_p = /DwxNO_THREADS
302 !if "$(UNICODE)" == "1"
303 __UNICODE_DEFINE_p = /D_UNICODE
306 __MSLU_DEFINE_p = /DwxUSE_UNICODE_MSLU=1
312 -if not exist $(OBJS) mkdir $(OBJS)
316 all: $(__netutilsdll___depname) $(__netutilslib___depname)
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
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
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)
338 link /LIB /NOLOGO /OUT:$@ @<<
339 $(NETUTILSLIB_OBJECTS)
343 $(OBJS)\netutilsdll_dummy.obj: ../../src/net\..\..\..\src\msw\dummy.cpp
344 $(CXX) /c /nologo /TP /Fo$@ $(NETUTILSDLL_CXXFLAGS) /Ycwx/wxprec.h $**
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) $**
349 $(OBJS)\netutilsdll_email.obj: ../../src/net\email.cpp
350 $(CXX) /c /nologo /TP /Fo$@ $(NETUTILSDLL_CXXFLAGS) $**
352 $(OBJS)\netutilsdll_smapi.obj: ../../src/net\smapi.cpp
353 $(CXX) /c /nologo /TP /Fo$@ $(NETUTILSDLL_CXXFLAGS) $**
355 $(OBJS)\netutilsdll_web.obj: ../../src/net\web.cpp
356 $(CXX) /c /nologo /TP /Fo$@ $(NETUTILSDLL_CXXFLAGS) $**
358 $(OBJS)\netutilslib_dummy.obj: ../../src/net\..\..\..\src\msw\dummy.cpp
359 $(CXX) /c /nologo /TP /Fo$@ $(NETUTILSLIB_CXXFLAGS) /Ycwx/wxprec.h $**
361 $(OBJS)\netutilslib_email.obj: ../../src/net\email.cpp
362 $(CXX) /c /nologo /TP /Fo$@ $(NETUTILSLIB_CXXFLAGS) $**
364 $(OBJS)\netutilslib_smapi.obj: ../../src/net\smapi.cpp
365 $(CXX) /c /nologo /TP /Fo$@ $(NETUTILSLIB_CXXFLAGS) $**
367 $(OBJS)\netutilslib_web.obj: ../../src/net\web.cpp
368 $(CXX) /c /nologo /TP /Fo$@ $(NETUTILSLIB_CXXFLAGS) $**