1 # =========================================================================
2 # This makefile was generated by
3 # Bakefile 0.1.4 (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)3
18 vc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)
20 $(LIBDIRNAME)\$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)
21 NETUTILSDLL_CXXFLAGS = /M$(__RUNTIME_LIBS)$(__DEBUGRUNTIME_4) /DWIN32 \
23 /Fd$(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_netutils_vc$(VENDORTAG).pdb \
24 $(____DEBUGRUNTIME_3_p) $(__OPTIMIZEFLAG) $(__NO_VC_CRTDBG_p) /D__WXMSW__ \
25 $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) $(__UNICODE_DEFINE_p) \
26 /I..\..\src\net\..\..\..\include /I$(SETUPHDIR) /W4 \
27 /I..\..\src\net\..\..\include /DWXUSINGDLL /DWXMAKINGDLL_NETUTILS \
28 $(__EXCEPTIONSFLAG) $(__EXCEPTIONSFLAG_0) /Yu"wx/wxprec.h" \
29 /Fp"$(OBJS)\wxprec_netutilsdll.pch" $(CPPFLAGS) $(CXXFLAGS)
30 NETUTILSDLL_OBJECTS = \
31 $(OBJS)\netutilsdll_dummy.obj \
32 $(OBJS)\netutilsdll_email.obj \
33 $(OBJS)\netutilsdll_smapi.obj \
34 $(OBJS)\netutilsdll_web.obj
35 NETUTILSLIB_CXXFLAGS = /M$(__RUNTIME_LIBS)$(__DEBUGRUNTIME_16) /DWIN32 \
37 /Fd$(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_netutils.pdb \
38 $(____DEBUGRUNTIME_15_p) $(__OPTIMIZEFLAG) $(__NO_VC_CRTDBG_p) /D__WXMSW__ \
39 $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) $(__UNICODE_DEFINE_p) \
40 /I..\..\src\net\..\..\..\include /I$(SETUPHDIR) /W4 \
41 /I..\..\src\net\..\..\include $(__EXCEPTIONSFLAG) $(__EXCEPTIONSFLAG_0) \
42 /Yu"wx/wxprec.h" /Fp"$(OBJS)\wxprec_netutilslib.pch" $(CPPFLAGS) \
44 NETUTILSLIB_OBJECTS = \
45 $(OBJS)\netutilslib_dummy.obj \
46 $(OBJS)\netutilslib_email.obj \
47 $(OBJS)\netutilslib_smapi.obj \
48 $(OBJS)\netutilslib_web.obj
50 ### Conditionally set variables: ###
52 !if "$(USE_GUI)" == "0"
55 !if "$(USE_GUI)" == "1"
58 !if "$(OFFICIAL_BUILD)" == "0"
59 VENDORTAG = _$(VENDOR)
61 !if "$(OFFICIAL_BUILD)" == "1"
64 !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
67 !if "$(DEBUG_FLAG)" == "1"
70 !if "$(UNICODE)" == "1"
73 !if "$(WXUNIV)" == "1"
76 !if "$(SHARED)" == "1"
79 !if "$(MONOLITHIC)" == "0"
82 !if "$(MONOLITHIC)" == "1"
85 !if "$(SHARED)" == "1"
86 __netutilsdll___depname = \
87 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_netutils_vc$(VENDORTAG).dll
89 !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
90 __DEBUGINFO_2 = /DEBUG
92 !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
95 !if "$(DEBUG_INFO)" == "0"
98 !if "$(DEBUG_INFO)" == "1"
99 __DEBUGINFO_2 = /DEBUG
101 !if "$(DEBUG_RUNTIME_LIBS)" == "0"
102 ____DEBUGRUNTIME_3_p =
104 !if "$(DEBUG_RUNTIME_LIBS)" == "1"
105 ____DEBUGRUNTIME_3_p = /D_DEBUG
107 !if "$(DEBUG_RUNTIME_LIBS)" == "default"
108 ____DEBUGRUNTIME_3_p = $(____DEBUGINFO)
110 !if "$(DEBUG_RUNTIME_LIBS)" == "0"
113 !if "$(DEBUG_RUNTIME_LIBS)" == "1"
116 !if "$(DEBUG_RUNTIME_LIBS)" == "default"
117 __DEBUGRUNTIME_4 = $(__DEBUGINFO)
119 !if "$(MONOLITHIC)" == "1"
121 wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib
123 !if "$(USE_GUI)" == "1"
124 __LIB_TIFF_p = wxtiff$(WXDEBUGFLAG).lib
126 !if "$(USE_GUI)" == "1"
127 __LIB_JPEG_p = wxjpeg$(WXDEBUGFLAG).lib
129 !if "$(USE_GUI)" == "1"
130 __LIB_PNG_p = wxpng$(WXDEBUGFLAG).lib
133 __UNICOWS_LIB_p = unicows.lib
135 !if "$(MONOLITHIC)" == "0"
137 wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_core.lib
139 !if "$(MONOLITHIC)" == "0"
141 wxbase$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib
143 !if "$(SHARED)" == "0"
144 __netutilslib___depname = \
145 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_netutils.lib
147 !if "$(DEBUG_RUNTIME_LIBS)" == "0"
148 ____DEBUGRUNTIME_15_p =
150 !if "$(DEBUG_RUNTIME_LIBS)" == "1"
151 ____DEBUGRUNTIME_15_p = /D_DEBUG
153 !if "$(DEBUG_RUNTIME_LIBS)" == "default"
154 ____DEBUGRUNTIME_15_p = $(____DEBUGINFO)
156 !if "$(DEBUG_RUNTIME_LIBS)" == "0"
159 !if "$(DEBUG_RUNTIME_LIBS)" == "1"
160 __DEBUGRUNTIME_16 = d
162 !if "$(DEBUG_RUNTIME_LIBS)" == "default"
163 __DEBUGRUNTIME_16 = $(__DEBUGINFO)
165 !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
168 !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
171 !if "$(DEBUG_INFO)" == "0"
174 !if "$(DEBUG_INFO)" == "1"
177 !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
178 ____DEBUGINFO = /D_DEBUG
180 !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
183 !if "$(DEBUG_INFO)" == "0"
186 !if "$(DEBUG_INFO)" == "1"
187 ____DEBUGINFO = /D_DEBUG
189 !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
192 !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
195 !if "$(DEBUG_INFO)" == "0"
198 !if "$(DEBUG_INFO)" == "1"
201 !if "$(BUILD)" == "debug"
204 !if "$(BUILD)" == "release"
207 !if "$(RUNTIME_LIBS)" == "dynamic"
210 !if "$(RUNTIME_LIBS)" == "static"
213 !if "$(USE_EXCEPTIONS)" == "0"
216 !if "$(USE_EXCEPTIONS)" == "1"
217 __EXCEPTIONSFLAG = /GR
219 !if "$(USE_EXCEPTIONS)" == "0"
222 !if "$(USE_EXCEPTIONS)" == "1"
223 __EXCEPTIONSFLAG_0 = /GX
225 !if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "0"
226 __NO_VC_CRTDBG_p = /D__NO_VC_CRTDBG__
228 !if "$(BUILD)" == "release" && "$(DEBUG_FLAG)" == "1"
229 __NO_VC_CRTDBG_p = /D__NO_VC_CRTDBG__
231 !if "$(WXUNIV)" == "1"
232 __WXUNIV_DEFINE_p = /D__WXUNIVERSAL__
234 !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
235 __DEBUG_DEFINE_p = /D__WXDEBUG__
237 !if "$(DEBUG_FLAG)" == "1"
238 __DEBUG_DEFINE_p = /D__WXDEBUG__
240 !if "$(UNICODE)" == "1"
241 __UNICODE_DEFINE_p = /D_UNICODE
243 !if "$(SHARED)" == "0"
244 LIBDIRNAME = ..\..\src\net\..\..\..\lib\vc_lib$(CFG)
246 !if "$(SHARED)" == "1"
247 LIBDIRNAME = ..\..\src\net\..\..\..\lib\vc_dll$(CFG)
253 -if not exist $(OBJS) mkdir $(OBJS)
257 all: $(__netutilsdll___depname) $(__netutilslib___depname)
260 -if exist $(OBJS)\*.obj del $(OBJS)\*.obj
261 -if exist $(OBJS)\*.res del $(OBJS)\*.res
262 -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
263 -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
264 -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
265 -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
266 -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 "$(SHARED)" == "1"
269 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_netutils_vc$(VENDORTAG).dll: $(OBJS)\netutilsdll_dummy.obj $(NETUTILSDLL_OBJECTS)
270 link /DLL /NOLOGO /OUT:$@ $(LDFLAGS) $(__DEBUGINFO_2) /LIBPATH:$(LIBDIRNAME) @<<
271 $(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
275 !if "$(SHARED)" == "0"
276 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_netutils.lib: $(OBJS)\netutilslib_dummy.obj $(NETUTILSLIB_OBJECTS)
278 lib /NOLOGO /OUT:$@ @<<
279 $(NETUTILSLIB_OBJECTS)
283 $(OBJS)\netutilsdll_dummy.obj: ../../src/net\..\..\..\src\msw\dummy.cpp
284 $(CXX) /c /nologo /TP /Fo$@ $(NETUTILSDLL_CXXFLAGS) /Ycwx/wxprec.h $**
286 $(OBJS)\netutilsdll_email.obj: ../../src/net\email.cpp
287 $(CXX) /c /nologo /TP /Fo$@ $(NETUTILSDLL_CXXFLAGS) $**
289 $(OBJS)\netutilsdll_smapi.obj: ../../src/net\smapi.cpp
290 $(CXX) /c /nologo /TP /Fo$@ $(NETUTILSDLL_CXXFLAGS) $**
292 $(OBJS)\netutilsdll_web.obj: ../../src/net\web.cpp
293 $(CXX) /c /nologo /TP /Fo$@ $(NETUTILSDLL_CXXFLAGS) $**
295 $(OBJS)\netutilslib_dummy.obj: ../../src/net\..\..\..\src\msw\dummy.cpp
296 $(CXX) /c /nologo /TP /Fo$@ $(NETUTILSLIB_CXXFLAGS) /Ycwx/wxprec.h $**
298 $(OBJS)\netutilslib_email.obj: ../../src/net\email.cpp
299 $(CXX) /c /nologo /TP /Fo$@ $(NETUTILSLIB_CXXFLAGS) $**
301 $(OBJS)\netutilslib_smapi.obj: ../../src/net\smapi.cpp
302 $(CXX) /c /nologo /TP /Fo$@ $(NETUTILSLIB_CXXFLAGS) $**
304 $(OBJS)\netutilslib_web.obj: ../../src/net\web.cpp
305 $(CXX) /c /nologo /TP /Fo$@ $(NETUTILSLIB_CXXFLAGS) $**