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 # -------------------------------------------------------------------------
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 $(__MSLU_DEFINE_p) /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 $(__MSLU_DEFINE_p) /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
156 __MSLU_DEFINE_p_1 = /d wxUSE_UNICODE_MSLU=1
158 !if "$(MONOLITHIC)" == "1"
160 wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib
162 !if "$(USE_GUI)" == "1"
163 __LIB_TIFF_p = wxtiff$(WXDEBUGFLAG).lib
165 !if "$(USE_GUI)" == "1"
166 __LIB_JPEG_p = wxjpeg$(WXDEBUGFLAG).lib
168 !if "$(USE_GUI)" == "1"
169 __LIB_PNG_p = wxpng$(WXDEBUGFLAG).lib
172 __UNICOWS_LIB_p = unicows.lib
174 !if "$(MONOLITHIC)" == "0"
176 wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_core.lib
178 !if "$(MONOLITHIC)" == "0"
180 wxbase$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib
182 !if "$(SHARED)" == "0"
183 __netutilslib___depname = \
184 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_netutils.lib
186 !if "$(RUNTIME_LIBS)" == "dynamic"
187 __RUNTIME_LIBS_22 = D
189 !if "$(RUNTIME_LIBS)" == "static"
190 __RUNTIME_LIBS_22 = $(__THREADSFLAG)
192 !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
195 !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
198 !if "$(DEBUG_INFO)" == "0"
201 !if "$(DEBUG_INFO)" == "1"
204 !if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "default"
205 ____DEBUGRUNTIME = /D_DEBUG
207 !if "$(BUILD)" == "release" && "$(DEBUG_RUNTIME_LIBS)" == "default"
210 !if "$(DEBUG_RUNTIME_LIBS)" == "0"
213 !if "$(DEBUG_RUNTIME_LIBS)" == "1"
214 ____DEBUGRUNTIME = /D_DEBUG
216 !if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "default"
219 !if "$(BUILD)" == "release" && "$(DEBUG_RUNTIME_LIBS)" == "default"
222 !if "$(DEBUG_RUNTIME_LIBS)" == "0"
225 !if "$(DEBUG_RUNTIME_LIBS)" == "1"
228 !if "$(BUILD)" == "debug"
231 !if "$(BUILD)" == "release"
234 !if "$(USE_THREADS)" == "0"
237 !if "$(USE_THREADS)" == "1"
240 !if "$(USE_RTTI)" == "0"
243 !if "$(USE_RTTI)" == "1"
246 !if "$(USE_EXCEPTIONS)" == "0"
249 !if "$(USE_EXCEPTIONS)" == "1"
250 __EXCEPTIONSFLAG = /EHsc
252 !if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "0"
253 __NO_VC_CRTDBG_p = /D__NO_VC_CRTDBG__
255 !if "$(BUILD)" == "release" && "$(DEBUG_FLAG)" == "1"
256 __NO_VC_CRTDBG_p = /D__NO_VC_CRTDBG__
258 !if "$(WXUNIV)" == "1"
259 __WXUNIV_DEFINE_p = /D__WXUNIVERSAL__
261 !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
262 __DEBUG_DEFINE_p = /D__WXDEBUG__
264 !if "$(DEBUG_FLAG)" == "1"
265 __DEBUG_DEFINE_p = /D__WXDEBUG__
267 !if "$(USE_EXCEPTIONS)" == "0"
268 __EXCEPTIONS_DEFINE_p = /DwxNO_EXCEPTIONS
270 !if "$(USE_RTTI)" == "0"
271 __RTTI_DEFINE_p = /DwxNO_RTTI
273 !if "$(USE_THREADS)" == "0"
274 __THREAD_DEFINE_p = /DwxNO_THREADS
276 !if "$(UNICODE)" == "1"
277 __UNICODE_DEFINE_p = /D_UNICODE
280 __MSLU_DEFINE_p = /DwxUSE_UNICODE_MSLU=1
286 -if not exist $(OBJS) mkdir $(OBJS)
290 all: $(__netutilsdll___depname) $(__netutilslib___depname)
293 -if exist $(OBJS)\*.obj del $(OBJS)\*.obj
294 -if exist $(OBJS)\*.res del $(OBJS)\*.res
295 -if exist $(OBJS)\*.pch del $(OBJS)\*.pch
296 -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
297 -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
298 -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
299 -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
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
302 !if "$(SHARED)" == "1"
303 $(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
304 link /DLL /NOLOGO /OUT:$@ $(LDFLAGS) $(__DEBUGINFO_2) /LIBPATH:$(LIBDIRNAME) @<<
305 $(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
309 !if "$(SHARED)" == "0"
310 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_netutils.lib: $(OBJS)\netutilslib_dummy.obj $(NETUTILSLIB_OBJECTS)
312 link /LIB /NOLOGO /OUT:$@ @<<
313 $(NETUTILSLIB_OBJECTS)
317 $(OBJS)\netutilsdll_dummy.obj: ../../src/net\..\..\..\src\msw\dummy.cpp
318 $(CXX) /c /nologo /TP /Fo$@ $(NETUTILSDLL_CXXFLAGS) /Ycwx/wxprec.h $**
320 $(OBJS)\netutilsdll_version.res: ../../src/net\..\..\..\src\msw\version.rc
321 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_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_netutils_vc$(VENDORTAG) $**
323 $(OBJS)\netutilsdll_email.obj: ../../src/net\email.cpp
324 $(CXX) /c /nologo /TP /Fo$@ $(NETUTILSDLL_CXXFLAGS) $**
326 $(OBJS)\netutilsdll_smapi.obj: ../../src/net\smapi.cpp
327 $(CXX) /c /nologo /TP /Fo$@ $(NETUTILSDLL_CXXFLAGS) $**
329 $(OBJS)\netutilsdll_web.obj: ../../src/net\web.cpp
330 $(CXX) /c /nologo /TP /Fo$@ $(NETUTILSDLL_CXXFLAGS) $**
332 $(OBJS)\netutilslib_dummy.obj: ../../src/net\..\..\..\src\msw\dummy.cpp
333 $(CXX) /c /nologo /TP /Fo$@ $(NETUTILSLIB_CXXFLAGS) /Ycwx/wxprec.h $**
335 $(OBJS)\netutilslib_email.obj: ../../src/net\email.cpp
336 $(CXX) /c /nologo /TP /Fo$@ $(NETUTILSLIB_CXXFLAGS) $**
338 $(OBJS)\netutilslib_smapi.obj: ../../src/net\smapi.cpp
339 $(CXX) /c /nologo /TP /Fo$@ $(NETUTILSLIB_CXXFLAGS) $**
341 $(OBJS)\netutilslib_web.obj: ../../src/net\web.cpp
342 $(CXX) /c /nologo /TP /Fo$@ $(NETUTILSLIB_CXXFLAGS) $**