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 # -------------------------------------------------------------------------
17 vc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)
18 LIBDIRNAME = ..\..\src\net\..\..\..\lib\vc_$(LIBTYPE_SUFFIX)$(CFG)
20 $(LIBDIRNAME)\$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)
21 NETUTILSDLL_CXXFLAGS = /M$(__RUNTIME_LIBS_9)$(__DEBUGRUNTIME) /DWIN32 \
23 /Fd$(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_netutils_vc$(VENDORTAG).pdb \
24 $(____DEBUGRUNTIME) $(__OPTIMIZEFLAG) $(__NO_VC_CRTDBG_p) /D__WXMSW__ \
25 $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) $(__EXCEPTIONS_DEFINE_p) \
26 $(__RTTI_DEFINE_p) $(__THREAD_DEFINE_p) $(__UNICODE_DEFINE_p) \
27 /I..\..\src\net\..\..\..\include /I$(SETUPHDIR) /W4 \
28 /I..\..\src\net\..\..\include /DWXUSINGDLL /DWXMAKINGDLL_NETUTILS \
29 $(__RTTIFLAG) $(__EXCEPTIONSFLAG) /Yu"wx/wxprec.h" \
30 /Fp"$(OBJS)\wxprec_netutilsdll.pch" $(CPPFLAGS) $(CXXFLAGS)
31 NETUTILSDLL_OBJECTS = \
32 $(OBJS)\netutilsdll_dummy.obj \
33 $(OBJS)\netutilsdll_version.res \
34 $(OBJS)\netutilsdll_email.obj \
35 $(OBJS)\netutilsdll_smapi.obj \
36 $(OBJS)\netutilsdll_web.obj
37 NETUTILSLIB_CXXFLAGS = /M$(__RUNTIME_LIBS_22)$(__DEBUGRUNTIME) /DWIN32 \
39 /Fd$(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_netutils.pdb \
40 $(____DEBUGRUNTIME) $(__OPTIMIZEFLAG) $(__NO_VC_CRTDBG_p) /D__WXMSW__ \
41 $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) $(__EXCEPTIONS_DEFINE_p) \
42 $(__RTTI_DEFINE_p) $(__THREAD_DEFINE_p) $(__UNICODE_DEFINE_p) \
43 /I..\..\src\net\..\..\..\include /I$(SETUPHDIR) /W4 \
44 /I..\..\src\net\..\..\include $(__RTTIFLAG) $(__EXCEPTIONSFLAG) \
45 /Yu"wx/wxprec.h" /Fp"$(OBJS)\wxprec_netutilslib.pch" $(CPPFLAGS) \
47 NETUTILSLIB_OBJECTS = \
48 $(OBJS)\netutilslib_dummy.obj \
49 $(OBJS)\netutilslib_email.obj \
50 $(OBJS)\netutilslib_smapi.obj \
51 $(OBJS)\netutilslib_web.obj
53 ### Conditionally set variables: ###
55 !if "$(USE_GUI)" == "0"
58 !if "$(USE_GUI)" == "1"
61 !if "$(OFFICIAL_BUILD)" == "0"
62 VENDORTAG = _$(VENDOR)
64 !if "$(OFFICIAL_BUILD)" == "1"
67 !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
70 !if "$(DEBUG_FLAG)" == "1"
73 !if "$(UNICODE)" == "1"
76 !if "$(WXUNIV)" == "1"
79 !if "$(SHARED)" == "1"
82 !if "$(SHARED)" == "0"
85 !if "$(SHARED)" == "1"
88 !if "$(MONOLITHIC)" == "0"
91 !if "$(MONOLITHIC)" == "1"
94 !if "$(SHARED)" == "1"
95 __netutilsdll___depname = \
96 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_netutils_vc$(VENDORTAG).dll
98 !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
99 __DEBUGINFO_2 = /DEBUG
101 !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
104 !if "$(DEBUG_INFO)" == "0"
107 !if "$(DEBUG_INFO)" == "1"
108 __DEBUGINFO_2 = /DEBUG
110 !if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "default"
111 ____DEBUGRUNTIME_3_p_1 = /d _DEBUG
113 !if "$(BUILD)" == "release" && "$(DEBUG_RUNTIME_LIBS)" == "default"
114 ____DEBUGRUNTIME_3_p_1 =
116 !if "$(DEBUG_RUNTIME_LIBS)" == "0"
117 ____DEBUGRUNTIME_3_p_1 =
119 !if "$(DEBUG_RUNTIME_LIBS)" == "1"
120 ____DEBUGRUNTIME_3_p_1 = /d _DEBUG
122 !if "$(RUNTIME_LIBS)" == "dynamic"
125 !if "$(RUNTIME_LIBS)" == "static"
126 __RUNTIME_LIBS_9 = $(__THREADSFLAG)
128 !if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "0"
129 __NO_VC_CRTDBG_p_1 = /d __NO_VC_CRTDBG__
131 !if "$(BUILD)" == "release" && "$(DEBUG_FLAG)" == "1"
132 __NO_VC_CRTDBG_p_1 = /d __NO_VC_CRTDBG__
134 !if "$(WXUNIV)" == "1"
135 __WXUNIV_DEFINE_p_1 = /d __WXUNIVERSAL__
137 !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
138 __DEBUG_DEFINE_p_1 = /d __WXDEBUG__
140 !if "$(DEBUG_FLAG)" == "1"
141 __DEBUG_DEFINE_p_1 = /d __WXDEBUG__
143 !if "$(USE_EXCEPTIONS)" == "0"
144 __EXCEPTIONS_DEFINE_p_1 = /d wxNO_EXCEPTIONS
146 !if "$(USE_RTTI)" == "0"
147 __RTTI_DEFINE_p_1 = /d wxNO_RTTI
149 !if "$(USE_THREADS)" == "0"
150 __THREAD_DEFINE_p_1 = /d wxNO_THREADS
152 !if "$(UNICODE)" == "1"
153 __UNICODE_DEFINE_p_1 = /d _UNICODE
155 !if "$(MONOLITHIC)" == "1"
157 wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib
159 !if "$(USE_GUI)" == "1"
160 __LIB_TIFF_p = wxtiff$(WXDEBUGFLAG).lib
162 !if "$(USE_GUI)" == "1"
163 __LIB_JPEG_p = wxjpeg$(WXDEBUGFLAG).lib
165 !if "$(USE_GUI)" == "1"
166 __LIB_PNG_p = wxpng$(WXDEBUGFLAG).lib
169 __UNICOWS_LIB_p = unicows.lib
171 !if "$(MONOLITHIC)" == "0"
173 wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_core.lib
175 !if "$(MONOLITHIC)" == "0"
177 wxbase$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib
179 !if "$(SHARED)" == "0"
180 __netutilslib___depname = \
181 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_netutils.lib
183 !if "$(RUNTIME_LIBS)" == "dynamic"
184 __RUNTIME_LIBS_22 = D
186 !if "$(RUNTIME_LIBS)" == "static"
187 __RUNTIME_LIBS_22 = $(__THREADSFLAG)
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" && "$(DEBUG_RUNTIME_LIBS)" == "default"
202 ____DEBUGRUNTIME = /D_DEBUG
204 !if "$(BUILD)" == "release" && "$(DEBUG_RUNTIME_LIBS)" == "default"
207 !if "$(DEBUG_RUNTIME_LIBS)" == "0"
210 !if "$(DEBUG_RUNTIME_LIBS)" == "1"
211 ____DEBUGRUNTIME = /D_DEBUG
213 !if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "default"
216 !if "$(BUILD)" == "release" && "$(DEBUG_RUNTIME_LIBS)" == "default"
219 !if "$(DEBUG_RUNTIME_LIBS)" == "0"
222 !if "$(DEBUG_RUNTIME_LIBS)" == "1"
225 !if "$(BUILD)" == "debug"
228 !if "$(BUILD)" == "release"
231 !if "$(USE_THREADS)" == "0"
234 !if "$(USE_THREADS)" == "1"
237 !if "$(USE_RTTI)" == "0"
240 !if "$(USE_RTTI)" == "1"
243 !if "$(USE_EXCEPTIONS)" == "0"
246 !if "$(USE_EXCEPTIONS)" == "1"
247 __EXCEPTIONSFLAG = /EHsc
249 !if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "0"
250 __NO_VC_CRTDBG_p = /D__NO_VC_CRTDBG__
252 !if "$(BUILD)" == "release" && "$(DEBUG_FLAG)" == "1"
253 __NO_VC_CRTDBG_p = /D__NO_VC_CRTDBG__
255 !if "$(WXUNIV)" == "1"
256 __WXUNIV_DEFINE_p = /D__WXUNIVERSAL__
258 !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
259 __DEBUG_DEFINE_p = /D__WXDEBUG__
261 !if "$(DEBUG_FLAG)" == "1"
262 __DEBUG_DEFINE_p = /D__WXDEBUG__
264 !if "$(USE_EXCEPTIONS)" == "0"
265 __EXCEPTIONS_DEFINE_p = /DwxNO_EXCEPTIONS
267 !if "$(USE_RTTI)" == "0"
268 __RTTI_DEFINE_p = /DwxNO_RTTI
270 !if "$(USE_THREADS)" == "0"
271 __THREAD_DEFINE_p = /DwxNO_THREADS
273 !if "$(UNICODE)" == "1"
274 __UNICODE_DEFINE_p = /D_UNICODE
280 -if not exist $(OBJS) mkdir $(OBJS)
284 all: $(__netutilsdll___depname) $(__netutilslib___depname)
287 -if exist $(OBJS)\*.obj del $(OBJS)\*.obj
288 -if exist $(OBJS)\*.res del $(OBJS)\*.res
289 -if exist $(OBJS)\*.pch del $(OBJS)\*.pch
290 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_netutils_vc$(VENDORTAG).dll del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_netutils_vc$(VENDORTAG).dll
291 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_netutils_vc$(VENDORTAG).ilk del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_netutils_vc$(VENDORTAG).ilk
292 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_netutils_vc$(VENDORTAG).pdb del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_netutils_vc$(VENDORTAG).pdb
293 -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
294 -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
296 !if "$(SHARED)" == "1"
297 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_netutils_vc$(VENDORTAG).dll: $(OBJS)\netutilsdll_dummy.obj $(NETUTILSDLL_OBJECTS) $(OBJS)\netutilsdll_version.res
298 link /DLL /NOLOGO /OUT:$@ $(LDFLAGS) $(__DEBUGINFO_2) /LIBPATH:$(LIBDIRNAME) @<<
299 $(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
303 !if "$(SHARED)" == "0"
304 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_netutils.lib: $(OBJS)\netutilslib_dummy.obj $(NETUTILSLIB_OBJECTS)
306 lib /NOLOGO /OUT:$@ @<<
307 $(NETUTILSLIB_OBJECTS)
311 $(OBJS)\netutilsdll_dummy.obj: ../../src/net\..\..\..\src\msw\dummy.cpp
312 $(CXX) /c /nologo /TP /Fo$@ $(NETUTILSDLL_CXXFLAGS) /Ycwx/wxprec.h $**
314 $(OBJS)\netutilsdll_version.res: ../../src/net\..\..\..\src\msw\version.rc
315 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_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_netutils_vc$(VENDORTAG) $**
317 $(OBJS)\netutilsdll_email.obj: ../../src/net\email.cpp
318 $(CXX) /c /nologo /TP /Fo$@ $(NETUTILSDLL_CXXFLAGS) $**
320 $(OBJS)\netutilsdll_smapi.obj: ../../src/net\smapi.cpp
321 $(CXX) /c /nologo /TP /Fo$@ $(NETUTILSDLL_CXXFLAGS) $**
323 $(OBJS)\netutilsdll_web.obj: ../../src/net\web.cpp
324 $(CXX) /c /nologo /TP /Fo$@ $(NETUTILSDLL_CXXFLAGS) $**
326 $(OBJS)\netutilslib_dummy.obj: ../../src/net\..\..\..\src\msw\dummy.cpp
327 $(CXX) /c /nologo /TP /Fo$@ $(NETUTILSLIB_CXXFLAGS) /Ycwx/wxprec.h $**
329 $(OBJS)\netutilslib_email.obj: ../../src/net\email.cpp
330 $(CXX) /c /nologo /TP /Fo$@ $(NETUTILSLIB_CXXFLAGS) $**
332 $(OBJS)\netutilslib_smapi.obj: ../../src/net\smapi.cpp
333 $(CXX) /c /nologo /TP /Fo$@ $(NETUTILSLIB_CXXFLAGS) $**
335 $(OBJS)\netutilslib_web.obj: ../../src/net\web.cpp
336 $(CXX) /c /nologo /TP /Fo$@ $(NETUTILSLIB_CXXFLAGS) $**