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)
19 LIBDIRNAME = ..\..\src\net\..\..\..\lib\vc_$(LIBTYPE_SUFFIX)$(CFG)
21 $(LIBDIRNAME)\$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)
22 NETUTILSDLL_CXXFLAGS = /M$(__RUNTIME_LIBS_9)$(__DEBUGRUNTIME) /DWIN32 \
24 /Fd$(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_netutils_vc$(VENDORTAG).pdb \
25 $(____DEBUGRUNTIME) $(__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 $(__MSLU_DEFINE_p) /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) /DWIN32 \
40 /Fd$(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_netutils.pdb \
41 $(____DEBUGRUNTIME) $(__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 $(__MSLU_DEFINE_p) /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 "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "default"
112 ____DEBUGRUNTIME_3_p_1 = /d _DEBUG
114 !if "$(BUILD)" == "release" && "$(DEBUG_RUNTIME_LIBS)" == "default"
115 ____DEBUGRUNTIME_3_p_1 =
117 !if "$(DEBUG_RUNTIME_LIBS)" == "0"
118 ____DEBUGRUNTIME_3_p_1 =
120 !if "$(DEBUG_RUNTIME_LIBS)" == "1"
121 ____DEBUGRUNTIME_3_p_1 = /d _DEBUG
123 !if "$(RUNTIME_LIBS)" == "dynamic"
126 !if "$(RUNTIME_LIBS)" == "static"
127 __RUNTIME_LIBS_9 = $(__THREADSFLAG)
129 !if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "0"
130 __NO_VC_CRTDBG_p_1 = /d __NO_VC_CRTDBG__
132 !if "$(BUILD)" == "release" && "$(DEBUG_FLAG)" == "1"
133 __NO_VC_CRTDBG_p_1 = /d __NO_VC_CRTDBG__
135 !if "$(WXUNIV)" == "1"
136 __WXUNIV_DEFINE_p_1 = /d __WXUNIVERSAL__
138 !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
139 __DEBUG_DEFINE_p_1 = /d __WXDEBUG__
141 !if "$(DEBUG_FLAG)" == "1"
142 __DEBUG_DEFINE_p_1 = /d __WXDEBUG__
144 !if "$(USE_EXCEPTIONS)" == "0"
145 __EXCEPTIONS_DEFINE_p_1 = /d wxNO_EXCEPTIONS
147 !if "$(USE_RTTI)" == "0"
148 __RTTI_DEFINE_p_1 = /d wxNO_RTTI
150 !if "$(USE_THREADS)" == "0"
151 __THREAD_DEFINE_p_1 = /d wxNO_THREADS
153 !if "$(UNICODE)" == "1"
154 __UNICODE_DEFINE_p_1 = /d _UNICODE
157 __MSLU_DEFINE_p_1 = /d wxUSE_UNICODE_MSLU=1
159 !if "$(MONOLITHIC)" == "1"
161 wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib
163 !if "$(USE_GUI)" == "1"
164 __LIB_TIFF_p = wxtiff$(WXDEBUGFLAG).lib
166 !if "$(USE_GUI)" == "1"
167 __LIB_JPEG_p = wxjpeg$(WXDEBUGFLAG).lib
169 !if "$(USE_GUI)" == "1"
170 __LIB_PNG_p = wxpng$(WXDEBUGFLAG).lib
173 __UNICOWS_LIB_p = unicows.lib
175 !if "$(MONOLITHIC)" == "0"
177 wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_core.lib
179 !if "$(MONOLITHIC)" == "0"
181 wxbase$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib
183 !if "$(SHARED)" == "0"
184 __netutilslib___depname = \
185 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_netutils.lib
187 !if "$(RUNTIME_LIBS)" == "dynamic"
188 __RUNTIME_LIBS_22 = D
190 !if "$(RUNTIME_LIBS)" == "static"
191 __RUNTIME_LIBS_22 = $(__THREADSFLAG)
193 !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
196 !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
199 !if "$(DEBUG_INFO)" == "0"
202 !if "$(DEBUG_INFO)" == "1"
205 !if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "default"
206 ____DEBUGRUNTIME = /D_DEBUG
208 !if "$(BUILD)" == "release" && "$(DEBUG_RUNTIME_LIBS)" == "default"
211 !if "$(DEBUG_RUNTIME_LIBS)" == "0"
214 !if "$(DEBUG_RUNTIME_LIBS)" == "1"
215 ____DEBUGRUNTIME = /D_DEBUG
217 !if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "default"
220 !if "$(BUILD)" == "release" && "$(DEBUG_RUNTIME_LIBS)" == "default"
223 !if "$(DEBUG_RUNTIME_LIBS)" == "0"
226 !if "$(DEBUG_RUNTIME_LIBS)" == "1"
229 !if "$(BUILD)" == "debug"
232 !if "$(BUILD)" == "release"
235 !if "$(USE_THREADS)" == "0"
238 !if "$(USE_THREADS)" == "1"
241 !if "$(USE_RTTI)" == "0"
244 !if "$(USE_RTTI)" == "1"
247 !if "$(USE_EXCEPTIONS)" == "0"
250 !if "$(USE_EXCEPTIONS)" == "1"
251 __EXCEPTIONSFLAG = /EHsc
253 !if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "0"
254 __NO_VC_CRTDBG_p = /D__NO_VC_CRTDBG__
256 !if "$(BUILD)" == "release" && "$(DEBUG_FLAG)" == "1"
257 __NO_VC_CRTDBG_p = /D__NO_VC_CRTDBG__
259 !if "$(WXUNIV)" == "1"
260 __WXUNIV_DEFINE_p = /D__WXUNIVERSAL__
262 !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
263 __DEBUG_DEFINE_p = /D__WXDEBUG__
265 !if "$(DEBUG_FLAG)" == "1"
266 __DEBUG_DEFINE_p = /D__WXDEBUG__
268 !if "$(USE_EXCEPTIONS)" == "0"
269 __EXCEPTIONS_DEFINE_p = /DwxNO_EXCEPTIONS
271 !if "$(USE_RTTI)" == "0"
272 __RTTI_DEFINE_p = /DwxNO_RTTI
274 !if "$(USE_THREADS)" == "0"
275 __THREAD_DEFINE_p = /DwxNO_THREADS
277 !if "$(UNICODE)" == "1"
278 __UNICODE_DEFINE_p = /D_UNICODE
281 __MSLU_DEFINE_p = /DwxUSE_UNICODE_MSLU=1
287 -if not exist $(OBJS) mkdir $(OBJS)
291 all: $(__netutilsdll___depname) $(__netutilslib___depname)
294 -if exist $(OBJS)\*.obj del $(OBJS)\*.obj
295 -if exist $(OBJS)\*.res del $(OBJS)\*.res
296 -if exist $(OBJS)\*.pch del $(OBJS)\*.pch
297 -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
298 -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
299 -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
300 -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
301 -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
303 !if "$(SHARED)" == "1"
304 $(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
305 link /DLL /NOLOGO /OUT:$@ $(LDFLAGS) $(__DEBUGINFO_2) /LIBPATH:$(LIBDIRNAME) @<<
306 $(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
310 !if "$(SHARED)" == "0"
311 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_netutils.lib: $(OBJS)\netutilslib_dummy.obj $(NETUTILSLIB_OBJECTS)
313 link /LIB /NOLOGO /OUT:$@ @<<
314 $(NETUTILSLIB_OBJECTS)
318 $(OBJS)\netutilsdll_dummy.obj: ../../src/net\..\..\..\src\msw\dummy.cpp
319 $(CXX) /c /nologo /TP /Fo$@ $(NETUTILSDLL_CXXFLAGS) /Ycwx/wxprec.h $**
321 $(OBJS)\netutilsdll_version.res: ../../src/net\..\..\..\src\msw\version.rc
322 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 ..\..\src\net\..\..\..\include /i $(SETUPHDIR) /d WXDLLNAME=wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_netutils_vc$(VENDORTAG) $**
324 $(OBJS)\netutilsdll_email.obj: ../../src/net\email.cpp
325 $(CXX) /c /nologo /TP /Fo$@ $(NETUTILSDLL_CXXFLAGS) $**
327 $(OBJS)\netutilsdll_smapi.obj: ../../src/net\smapi.cpp
328 $(CXX) /c /nologo /TP /Fo$@ $(NETUTILSDLL_CXXFLAGS) $**
330 $(OBJS)\netutilsdll_web.obj: ../../src/net\web.cpp
331 $(CXX) /c /nologo /TP /Fo$@ $(NETUTILSDLL_CXXFLAGS) $**
333 $(OBJS)\netutilslib_dummy.obj: ../../src/net\..\..\..\src\msw\dummy.cpp
334 $(CXX) /c /nologo /TP /Fo$@ $(NETUTILSLIB_CXXFLAGS) /Ycwx/wxprec.h $**
336 $(OBJS)\netutilslib_email.obj: ../../src/net\email.cpp
337 $(CXX) /c /nologo /TP /Fo$@ $(NETUTILSLIB_CXXFLAGS) $**
339 $(OBJS)\netutilslib_smapi.obj: ../../src/net\smapi.cpp
340 $(CXX) /c /nologo /TP /Fo$@ $(NETUTILSLIB_CXXFLAGS) $**
342 $(OBJS)\netutilslib_web.obj: ../../src/net\web.cpp
343 $(CXX) /c /nologo /TP /Fo$@ $(NETUTILSLIB_CXXFLAGS) $**