1 # =========================================================================
2 # This makefile was generated by
3 # Bakefile 0.1.8 (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)5
18 vc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)
19 LIBDIRNAME = ..\..\src\net\..\..\..\lib\vc_$(LIBTYPE_SUFFIX)$(CFG)
21 $(LIBDIRNAME)\$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)
22 NETUTILSDLL_CXXFLAGS = /M$(__RUNTIME_LIBS_9)$(__DEBUGRUNTIME_4) /DWIN32 \
24 /Fd$(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_netutils_vc$(VENDORTAG).pdb \
25 $(____DEBUGRUNTIME_3_p) $(__OPTIMIZEFLAG) $(__NO_VC_CRTDBG_p) /D__WXMSW__ \
26 $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) $(__EXCEPTIONS_DEFINE_p) \
27 $(__RTTI_DEFINE_p) $(__THREAD_DEFINE_p) $(__UNICODE_DEFINE_p) \
28 /I..\..\src\net\..\..\..\include /I$(SETUPHDIR) /W4 \
29 /I..\..\src\net\..\..\include /DWXUSINGDLL /DWXMAKINGDLL_NETUTILS \
30 $(__RTTIFLAG) $(__EXCEPTIONSFLAG) /Yu"wx/wxprec.h" \
31 /Fp"$(OBJS)\wxprec_netutilsdll.pch" $(CPPFLAGS) $(CXXFLAGS)
32 NETUTILSDLL_OBJECTS = \
33 $(OBJS)\netutilsdll_dummy.obj \
34 $(OBJS)\netutilsdll_version.res \
35 $(OBJS)\netutilsdll_email.obj \
36 $(OBJS)\netutilsdll_smapi.obj \
37 $(OBJS)\netutilsdll_web.obj
38 NETUTILSLIB_CXXFLAGS = /M$(__RUNTIME_LIBS_22)$(__DEBUGRUNTIME_17) /DWIN32 \
40 /Fd$(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_netutils.pdb \
41 $(____DEBUGRUNTIME_16_p) $(__OPTIMIZEFLAG) $(__NO_VC_CRTDBG_p) /D__WXMSW__ \
42 $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) $(__EXCEPTIONS_DEFINE_p) \
43 $(__RTTI_DEFINE_p) $(__THREAD_DEFINE_p) $(__UNICODE_DEFINE_p) \
44 /I..\..\src\net\..\..\..\include /I$(SETUPHDIR) /W4 \
45 /I..\..\src\net\..\..\include $(__RTTIFLAG) $(__EXCEPTIONSFLAG) \
46 /Yu"wx/wxprec.h" /Fp"$(OBJS)\wxprec_netutilslib.pch" $(CPPFLAGS) \
48 NETUTILSLIB_OBJECTS = \
49 $(OBJS)\netutilslib_dummy.obj \
50 $(OBJS)\netutilslib_email.obj \
51 $(OBJS)\netutilslib_smapi.obj \
52 $(OBJS)\netutilslib_web.obj
54 ### Conditionally set variables: ###
56 !if "$(USE_GUI)" == "0"
59 !if "$(USE_GUI)" == "1"
62 !if "$(OFFICIAL_BUILD)" == "0"
63 VENDORTAG = _$(VENDOR)
65 !if "$(OFFICIAL_BUILD)" == "1"
68 !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
71 !if "$(DEBUG_FLAG)" == "1"
74 !if "$(UNICODE)" == "1"
77 !if "$(WXUNIV)" == "1"
80 !if "$(SHARED)" == "1"
83 !if "$(SHARED)" == "0"
86 !if "$(SHARED)" == "1"
89 !if "$(MONOLITHIC)" == "0"
92 !if "$(MONOLITHIC)" == "1"
95 !if "$(SHARED)" == "1"
96 __netutilsdll___depname = \
97 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_netutils_vc$(VENDORTAG).dll
99 !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
100 __DEBUGINFO_2 = /DEBUG
102 !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
105 !if "$(DEBUG_INFO)" == "0"
108 !if "$(DEBUG_INFO)" == "1"
109 __DEBUGINFO_2 = /DEBUG
111 !if "$(DEBUG_RUNTIME_LIBS)" == "0"
112 ____DEBUGRUNTIME_3_p =
114 !if "$(DEBUG_RUNTIME_LIBS)" == "1"
115 ____DEBUGRUNTIME_3_p = /D_DEBUG
117 !if "$(DEBUG_RUNTIME_LIBS)" == "default"
118 ____DEBUGRUNTIME_3_p = $(____DEBUGINFO)
120 !if "$(DEBUG_RUNTIME_LIBS)" == "0"
121 ____DEBUGRUNTIME_3_p_1 =
123 !if "$(DEBUG_RUNTIME_LIBS)" == "1"
124 ____DEBUGRUNTIME_3_p_1 = /d _DEBUG
126 !if "$(DEBUG_RUNTIME_LIBS)" == "default"
127 ____DEBUGRUNTIME_3_p_1 = $(____DEBUGINFO_3_p_1)
129 !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
130 ____DEBUGINFO_3_p_1 = /d _DEBUG
132 !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
133 ____DEBUGINFO_3_p_1 =
135 !if "$(DEBUG_INFO)" == "0"
136 ____DEBUGINFO_3_p_1 =
138 !if "$(DEBUG_INFO)" == "1"
139 ____DEBUGINFO_3_p_1 = /d _DEBUG
141 !if "$(DEBUG_RUNTIME_LIBS)" == "0"
144 !if "$(DEBUG_RUNTIME_LIBS)" == "1"
147 !if "$(DEBUG_RUNTIME_LIBS)" == "default"
148 __DEBUGRUNTIME_4 = $(__DEBUGINFO)
150 !if "$(RUNTIME_LIBS)" == "dynamic"
153 !if "$(RUNTIME_LIBS)" == "static"
154 __RUNTIME_LIBS_9 = $(__THREADSFLAG)
156 !if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "0"
157 __NO_VC_CRTDBG_p_1 = /d __NO_VC_CRTDBG__
159 !if "$(BUILD)" == "release" && "$(DEBUG_FLAG)" == "1"
160 __NO_VC_CRTDBG_p_1 = /d __NO_VC_CRTDBG__
162 !if "$(WXUNIV)" == "1"
163 __WXUNIV_DEFINE_p_1 = /d __WXUNIVERSAL__
165 !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
166 __DEBUG_DEFINE_p_1 = /d __WXDEBUG__
168 !if "$(DEBUG_FLAG)" == "1"
169 __DEBUG_DEFINE_p_1 = /d __WXDEBUG__
171 !if "$(USE_EXCEPTIONS)" == "0"
172 __EXCEPTIONS_DEFINE_p_1 = /d wxNO_EXCEPTIONS
174 !if "$(USE_RTTI)" == "0"
175 __RTTI_DEFINE_p_1 = /d wxNO_RTTI
177 !if "$(USE_THREADS)" == "0"
178 __THREAD_DEFINE_p_1 = /d wxNO_THREADS
180 !if "$(UNICODE)" == "1"
181 __UNICODE_DEFINE_p_1 = /d _UNICODE
183 !if "$(MONOLITHIC)" == "1"
185 wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib
187 !if "$(USE_GUI)" == "1"
188 __LIB_TIFF_p = wxtiff$(WXDEBUGFLAG).lib
190 !if "$(USE_GUI)" == "1"
191 __LIB_JPEG_p = wxjpeg$(WXDEBUGFLAG).lib
193 !if "$(USE_GUI)" == "1"
194 __LIB_PNG_p = wxpng$(WXDEBUGFLAG).lib
197 __UNICOWS_LIB_p = unicows.lib
199 !if "$(MONOLITHIC)" == "0"
201 wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_core.lib
203 !if "$(MONOLITHIC)" == "0"
205 wxbase$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib
207 !if "$(SHARED)" == "0"
208 __netutilslib___depname = \
209 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_netutils.lib
211 !if "$(DEBUG_RUNTIME_LIBS)" == "0"
212 ____DEBUGRUNTIME_16_p =
214 !if "$(DEBUG_RUNTIME_LIBS)" == "1"
215 ____DEBUGRUNTIME_16_p = /D_DEBUG
217 !if "$(DEBUG_RUNTIME_LIBS)" == "default"
218 ____DEBUGRUNTIME_16_p = $(____DEBUGINFO)
220 !if "$(DEBUG_RUNTIME_LIBS)" == "0"
223 !if "$(DEBUG_RUNTIME_LIBS)" == "1"
224 __DEBUGRUNTIME_17 = d
226 !if "$(DEBUG_RUNTIME_LIBS)" == "default"
227 __DEBUGRUNTIME_17 = $(__DEBUGINFO)
229 !if "$(RUNTIME_LIBS)" == "dynamic"
230 __RUNTIME_LIBS_22 = D
232 !if "$(RUNTIME_LIBS)" == "static"
233 __RUNTIME_LIBS_22 = $(__THREADSFLAG)
235 !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
238 !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
241 !if "$(DEBUG_INFO)" == "0"
244 !if "$(DEBUG_INFO)" == "1"
247 !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
248 ____DEBUGINFO = /D_DEBUG
250 !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
253 !if "$(DEBUG_INFO)" == "0"
256 !if "$(DEBUG_INFO)" == "1"
257 ____DEBUGINFO = /D_DEBUG
259 !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
262 !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
265 !if "$(DEBUG_INFO)" == "0"
268 !if "$(DEBUG_INFO)" == "1"
271 !if "$(BUILD)" == "debug"
274 !if "$(BUILD)" == "release"
277 !if "$(USE_THREADS)" == "0"
280 !if "$(USE_THREADS)" == "1"
283 !if "$(USE_RTTI)" == "0"
286 !if "$(USE_RTTI)" == "1"
289 !if "$(USE_EXCEPTIONS)" == "0"
292 !if "$(USE_EXCEPTIONS)" == "1"
293 __EXCEPTIONSFLAG = /EHsc
295 !if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "0"
296 __NO_VC_CRTDBG_p = /D__NO_VC_CRTDBG__
298 !if "$(BUILD)" == "release" && "$(DEBUG_FLAG)" == "1"
299 __NO_VC_CRTDBG_p = /D__NO_VC_CRTDBG__
301 !if "$(WXUNIV)" == "1"
302 __WXUNIV_DEFINE_p = /D__WXUNIVERSAL__
304 !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
305 __DEBUG_DEFINE_p = /D__WXDEBUG__
307 !if "$(DEBUG_FLAG)" == "1"
308 __DEBUG_DEFINE_p = /D__WXDEBUG__
310 !if "$(USE_EXCEPTIONS)" == "0"
311 __EXCEPTIONS_DEFINE_p = /DwxNO_EXCEPTIONS
313 !if "$(USE_RTTI)" == "0"
314 __RTTI_DEFINE_p = /DwxNO_RTTI
316 !if "$(USE_THREADS)" == "0"
317 __THREAD_DEFINE_p = /DwxNO_THREADS
319 !if "$(UNICODE)" == "1"
320 __UNICODE_DEFINE_p = /D_UNICODE
326 -if not exist $(OBJS) mkdir $(OBJS)
330 all: $(__netutilsdll___depname) $(__netutilslib___depname)
333 -if exist $(OBJS)\*.obj del $(OBJS)\*.obj
334 -if exist $(OBJS)\*.res del $(OBJS)\*.res
335 -if exist $(OBJS)\*.pch del $(OBJS)\*.pch
336 -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
337 -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
338 -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
339 -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
340 -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
342 !if "$(SHARED)" == "1"
343 $(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
344 link /DLL /NOLOGO /OUT:$@ $(LDFLAGS) $(__DEBUGINFO_2) /LIBPATH:$(LIBDIRNAME) @<<
345 $(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
349 !if "$(SHARED)" == "0"
350 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_netutils.lib: $(OBJS)\netutilslib_dummy.obj $(NETUTILSLIB_OBJECTS)
352 lib /NOLOGO /OUT:$@ @<<
353 $(NETUTILSLIB_OBJECTS)
357 $(OBJS)\netutilsdll_dummy.obj: ../../src/net\..\..\..\src\msw\dummy.cpp
358 $(CXX) /c /nologo /TP /Fo$@ $(NETUTILSDLL_CXXFLAGS) /Ycwx/wxprec.h $**
360 $(OBJS)\netutilsdll_version.res: ../../src/net\..\..\..\src\msw\version.rc
361 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) /i ..\..\src\net\..\..\..\include /i $(SETUPHDIR) /d WXDLLNAME=wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_netutils_vc$(VENDORTAG) $**
363 $(OBJS)\netutilsdll_email.obj: ../../src/net\email.cpp
364 $(CXX) /c /nologo /TP /Fo$@ $(NETUTILSDLL_CXXFLAGS) $**
366 $(OBJS)\netutilsdll_smapi.obj: ../../src/net\smapi.cpp
367 $(CXX) /c /nologo /TP /Fo$@ $(NETUTILSDLL_CXXFLAGS) $**
369 $(OBJS)\netutilsdll_web.obj: ../../src/net\web.cpp
370 $(CXX) /c /nologo /TP /Fo$@ $(NETUTILSDLL_CXXFLAGS) $**
372 $(OBJS)\netutilslib_dummy.obj: ../../src/net\..\..\..\src\msw\dummy.cpp
373 $(CXX) /c /nologo /TP /Fo$@ $(NETUTILSLIB_CXXFLAGS) /Ycwx/wxprec.h $**
375 $(OBJS)\netutilslib_email.obj: ../../src/net\email.cpp
376 $(CXX) /c /nologo /TP /Fo$@ $(NETUTILSLIB_CXXFLAGS) $**
378 $(OBJS)\netutilslib_smapi.obj: ../../src/net\smapi.cpp
379 $(CXX) /c /nologo /TP /Fo$@ $(NETUTILSLIB_CXXFLAGS) $**
381 $(OBJS)\netutilslib_web.obj: ../../src/net\web.cpp
382 $(CXX) /c /nologo /TP /Fo$@ $(NETUTILSLIB_CXXFLAGS) $**