1 # =========================================================================
2 # This makefile was generated by
3 # Bakefile 0.1.6 (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)4
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)$(__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) $(__UNICODE_DEFINE_p) \
27 /I..\..\src\net\..\..\..\include /I$(SETUPHDIR) /W4 \
28 /I..\..\src\net\..\..\include /DWXUSINGDLL /DWXMAKINGDLL_NETUTILS \
29 $(__EXCEPTIONSFLAG) $(__EXCEPTIONSFLAG_0) /Yu"wx/wxprec.h" \
30 /Fp"$(OBJS)\wxprec_netutilsdll.pch" $(CPPFLAGS) $(CXXFLAGS)
31 NETUTILSDLL_OBJECTS = \
32 $(OBJS)\netutilsdll_dummy.obj \
33 $(OBJS)\netutilsdll_email.obj \
34 $(OBJS)\netutilsdll_smapi.obj \
35 $(OBJS)\netutilsdll_web.obj
36 NETUTILSLIB_CXXFLAGS = /M$(__RUNTIME_LIBS)$(__DEBUGRUNTIME_16) /DWIN32 \
38 /Fd$(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_netutils.pdb \
39 $(____DEBUGRUNTIME_15_p) $(__OPTIMIZEFLAG) $(__NO_VC_CRTDBG_p) /D__WXMSW__ \
40 $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) $(__UNICODE_DEFINE_p) \
41 /I..\..\src\net\..\..\..\include /I$(SETUPHDIR) /W4 \
42 /I..\..\src\net\..\..\include $(__EXCEPTIONSFLAG) $(__EXCEPTIONSFLAG_0) \
43 /Yu"wx/wxprec.h" /Fp"$(OBJS)\wxprec_netutilslib.pch" $(CPPFLAGS) \
45 NETUTILSLIB_OBJECTS = \
46 $(OBJS)\netutilslib_dummy.obj \
47 $(OBJS)\netutilslib_email.obj \
48 $(OBJS)\netutilslib_smapi.obj \
49 $(OBJS)\netutilslib_web.obj
51 ### Conditionally set variables: ###
53 !if "$(USE_GUI)" == "0"
56 !if "$(USE_GUI)" == "1"
59 !if "$(OFFICIAL_BUILD)" == "0"
60 VENDORTAG = _$(VENDOR)
62 !if "$(OFFICIAL_BUILD)" == "1"
65 !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
68 !if "$(DEBUG_FLAG)" == "1"
71 !if "$(UNICODE)" == "1"
74 !if "$(WXUNIV)" == "1"
77 !if "$(SHARED)" == "1"
80 !if "$(SHARED)" == "0"
83 !if "$(SHARED)" == "1"
86 !if "$(MONOLITHIC)" == "0"
89 !if "$(MONOLITHIC)" == "1"
92 !if "$(SHARED)" == "1"
93 __netutilsdll___depname = \
94 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_netutils_vc$(VENDORTAG).dll
96 !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
97 __DEBUGINFO_2 = /DEBUG
99 !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
102 !if "$(DEBUG_INFO)" == "0"
105 !if "$(DEBUG_INFO)" == "1"
106 __DEBUGINFO_2 = /DEBUG
108 !if "$(DEBUG_RUNTIME_LIBS)" == "0"
109 ____DEBUGRUNTIME_3_p =
111 !if "$(DEBUG_RUNTIME_LIBS)" == "1"
112 ____DEBUGRUNTIME_3_p = /D_DEBUG
114 !if "$(DEBUG_RUNTIME_LIBS)" == "default"
115 ____DEBUGRUNTIME_3_p = $(____DEBUGINFO)
117 !if "$(DEBUG_RUNTIME_LIBS)" == "0"
120 !if "$(DEBUG_RUNTIME_LIBS)" == "1"
123 !if "$(DEBUG_RUNTIME_LIBS)" == "default"
124 __DEBUGRUNTIME_4 = $(__DEBUGINFO)
126 !if "$(MONOLITHIC)" == "1"
128 wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib
130 !if "$(USE_GUI)" == "1"
131 __LIB_TIFF_p = wxtiff$(WXDEBUGFLAG).lib
133 !if "$(USE_GUI)" == "1"
134 __LIB_JPEG_p = wxjpeg$(WXDEBUGFLAG).lib
136 !if "$(USE_GUI)" == "1"
137 __LIB_PNG_p = wxpng$(WXDEBUGFLAG).lib
140 __UNICOWS_LIB_p = unicows.lib
142 !if "$(MONOLITHIC)" == "0"
144 wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_core.lib
146 !if "$(MONOLITHIC)" == "0"
148 wxbase$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib
150 !if "$(SHARED)" == "0"
151 __netutilslib___depname = \
152 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_netutils.lib
154 !if "$(DEBUG_RUNTIME_LIBS)" == "0"
155 ____DEBUGRUNTIME_15_p =
157 !if "$(DEBUG_RUNTIME_LIBS)" == "1"
158 ____DEBUGRUNTIME_15_p = /D_DEBUG
160 !if "$(DEBUG_RUNTIME_LIBS)" == "default"
161 ____DEBUGRUNTIME_15_p = $(____DEBUGINFO)
163 !if "$(DEBUG_RUNTIME_LIBS)" == "0"
166 !if "$(DEBUG_RUNTIME_LIBS)" == "1"
167 __DEBUGRUNTIME_16 = d
169 !if "$(DEBUG_RUNTIME_LIBS)" == "default"
170 __DEBUGRUNTIME_16 = $(__DEBUGINFO)
172 !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
175 !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
178 !if "$(DEBUG_INFO)" == "0"
181 !if "$(DEBUG_INFO)" == "1"
184 !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
185 ____DEBUGINFO = /D_DEBUG
187 !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
190 !if "$(DEBUG_INFO)" == "0"
193 !if "$(DEBUG_INFO)" == "1"
194 ____DEBUGINFO = /D_DEBUG
196 !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
199 !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
202 !if "$(DEBUG_INFO)" == "0"
205 !if "$(DEBUG_INFO)" == "1"
208 !if "$(BUILD)" == "debug"
211 !if "$(BUILD)" == "release"
214 !if "$(RUNTIME_LIBS)" == "dynamic"
217 !if "$(RUNTIME_LIBS)" == "static"
220 !if "$(USE_EXCEPTIONS)" == "0"
223 !if "$(USE_EXCEPTIONS)" == "1"
224 __EXCEPTIONSFLAG = /GR
226 !if "$(USE_EXCEPTIONS)" == "0"
229 !if "$(USE_EXCEPTIONS)" == "1"
230 __EXCEPTIONSFLAG_0 = /GX
232 !if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "0"
233 __NO_VC_CRTDBG_p = /D__NO_VC_CRTDBG__
235 !if "$(BUILD)" == "release" && "$(DEBUG_FLAG)" == "1"
236 __NO_VC_CRTDBG_p = /D__NO_VC_CRTDBG__
238 !if "$(WXUNIV)" == "1"
239 __WXUNIV_DEFINE_p = /D__WXUNIVERSAL__
241 !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
242 __DEBUG_DEFINE_p = /D__WXDEBUG__
244 !if "$(DEBUG_FLAG)" == "1"
245 __DEBUG_DEFINE_p = /D__WXDEBUG__
247 !if "$(UNICODE)" == "1"
248 __UNICODE_DEFINE_p = /D_UNICODE
254 -if not exist $(OBJS) mkdir $(OBJS)
258 all: $(__netutilsdll___depname) $(__netutilslib___depname)
261 -if exist $(OBJS)\*.obj del $(OBJS)\*.obj
262 -if exist $(OBJS)\*.res del $(OBJS)\*.res
263 -if exist $(OBJS)\*.pch del $(OBJS)\*.pch
264 -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
265 -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
266 -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
267 -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
268 -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
270 !if "$(SHARED)" == "1"
271 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_netutils_vc$(VENDORTAG).dll: $(OBJS)\netutilsdll_dummy.obj $(NETUTILSDLL_OBJECTS)
272 link /DLL /NOLOGO /OUT:$@ $(LDFLAGS) $(__DEBUGINFO_2) /LIBPATH:$(LIBDIRNAME) @<<
273 $(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
277 !if "$(SHARED)" == "0"
278 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_netutils.lib: $(OBJS)\netutilslib_dummy.obj $(NETUTILSLIB_OBJECTS)
280 lib /NOLOGO /OUT:$@ @<<
281 $(NETUTILSLIB_OBJECTS)
285 $(OBJS)\netutilsdll_dummy.obj: ../../src/net\..\..\..\src\msw\dummy.cpp
286 $(CXX) /c /nologo /TP /Fo$@ $(NETUTILSDLL_CXXFLAGS) /Ycwx/wxprec.h $**
288 $(OBJS)\netutilsdll_email.obj: ../../src/net\email.cpp
289 $(CXX) /c /nologo /TP /Fo$@ $(NETUTILSDLL_CXXFLAGS) $**
291 $(OBJS)\netutilsdll_smapi.obj: ../../src/net\smapi.cpp
292 $(CXX) /c /nologo /TP /Fo$@ $(NETUTILSDLL_CXXFLAGS) $**
294 $(OBJS)\netutilsdll_web.obj: ../../src/net\web.cpp
295 $(CXX) /c /nologo /TP /Fo$@ $(NETUTILSDLL_CXXFLAGS) $**
297 $(OBJS)\netutilslib_dummy.obj: ../../src/net\..\..\..\src\msw\dummy.cpp
298 $(CXX) /c /nologo /TP /Fo$@ $(NETUTILSLIB_CXXFLAGS) /Ycwx/wxprec.h $**
300 $(OBJS)\netutilslib_email.obj: ../../src/net\email.cpp
301 $(CXX) /c /nologo /TP /Fo$@ $(NETUTILSLIB_CXXFLAGS) $**
303 $(OBJS)\netutilslib_smapi.obj: ../../src/net\smapi.cpp
304 $(CXX) /c /nologo /TP /Fo$@ $(NETUTILSLIB_CXXFLAGS) $**
306 $(OBJS)\netutilslib_web.obj: ../../src/net\web.cpp
307 $(CXX) /c /nologo /TP /Fo$@ $(NETUTILSLIB_CXXFLAGS) $**