1 # =========================================================================
2 # This makefile was generated by
3 # Bakefile 0.1.1 (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 # -------------------------------------------------------------------------
15 NETUTILSDLL_CXXFLAGS = $(CPPFLAGS) /M$(__RUNTIME_LIBS)$(__DEBUGRUNTIME_3) \
16 /DWIN32 $(__DEBUGINFO_2) \
17 /Fd$(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)251$(WXUNICODEFLAG)$(WXDEBUGFLAG)_netutils_vc$(VENDORTAG).pdb \
18 $(____DEBUGRUNTIME_2_p) $(__OPTIMIZEFLAG) $(__NO_VC_CRTDBG_p) /D__WXMSW__ \
19 $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) $(__UNICODE_DEFINE_p) \
20 /I..\..\src\net\..\..\..\include /I$(SETUPHDIR) /W4 \
21 /I..\..\src\net\..\..\include /DWXUSINGDLL /DWXMAKINGDLL_NETUTILS \
22 $(CXXFLAGS) $(__EXCEPTIONSFLAG) $(__EXCEPTIONSFLAG_0) /Yu"wx/wxprec.h" \
23 /Fp"$(OBJS)\wxprec_netutilsdll.pch"
24 NETUTILSDLL_OBJECTS = \
25 $(OBJS)\netutilsdll_dummy.obj \
26 $(OBJS)\netutilsdll_email.obj \
27 $(OBJS)\netutilsdll_smapi.obj \
28 $(OBJS)\netutilsdll_web.obj
29 NETUTILSLIB_CXXFLAGS = $(CPPFLAGS) /M$(__RUNTIME_LIBS)$(__DEBUGRUNTIME_15) \
30 /DWIN32 $(__DEBUGINFO_2) \
31 /Fd$(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_netutils.pdb \
32 $(____DEBUGRUNTIME_14_p) $(__OPTIMIZEFLAG) $(__NO_VC_CRTDBG_p) /D__WXMSW__ \
33 $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) $(__UNICODE_DEFINE_p) \
34 /I..\..\src\net\..\..\..\include /I$(SETUPHDIR) /W4 \
35 /I..\..\src\net\..\..\include $(CXXFLAGS) $(__EXCEPTIONSFLAG) \
36 $(__EXCEPTIONSFLAG_0) /Yu"wx/wxprec.h" /Fp"$(OBJS)\wxprec_netutilslib.pch"
37 NETUTILSLIB_OBJECTS = \
38 $(OBJS)\netutilslib_dummy.obj \
39 $(OBJS)\netutilslib_email.obj \
40 $(OBJS)\netutilslib_smapi.obj \
41 $(OBJS)\netutilslib_web.obj
43 vc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)
45 $(LIBDIRNAME)\$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)
47 ### Conditionally set variables: ###
49 !if "$(SHARED)" == "0"
50 LIBDIRNAME = ..\..\src\net\..\..\..\lib\vc_lib$(CFG)
52 !if "$(SHARED)" == "1"
53 LIBDIRNAME = ..\..\src\net\..\..\..\lib\vc_dll$(CFG)
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 "$(SHARED)" == "1"
76 !if "$(UNICODE)" == "1"
79 !if "$(WXUNIV)" == "1"
82 !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
85 !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
88 !if "$(DEBUG_INFO)" == "0"
91 !if "$(DEBUG_INFO)" == "1"
94 !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
95 __DEBUGINFO_1 = /DEBUG
97 !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
100 !if "$(DEBUG_INFO)" == "0"
103 !if "$(DEBUG_INFO)" == "1"
104 __DEBUGINFO_1 = /DEBUG
106 !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
109 !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
112 !if "$(DEBUG_INFO)" == "0"
115 !if "$(DEBUG_INFO)" == "1"
118 !if "$(DEBUG_RUNTIME_LIBS)" == "0"
121 !if "$(DEBUG_RUNTIME_LIBS)" == "1"
122 __DEBUGRUNTIME_15 = d
124 !if "$(DEBUG_RUNTIME_LIBS)" == "default"
125 __DEBUGRUNTIME_15 = $(__DEBUGINFO)
127 !if "$(DEBUG_RUNTIME_LIBS)" == "0"
130 !if "$(DEBUG_RUNTIME_LIBS)" == "1"
133 !if "$(DEBUG_RUNTIME_LIBS)" == "default"
134 __DEBUGRUNTIME_3 = $(__DEBUGINFO)
136 !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
137 __DEBUG_DEFINE_p = /D__WXDEBUG__
139 !if "$(DEBUG_FLAG)" == "1"
140 __DEBUG_DEFINE_p = /D__WXDEBUG__
142 !if "$(USE_EXCEPTIONS)" == "0"
145 !if "$(USE_EXCEPTIONS)" == "1"
146 __EXCEPTIONSFLAG = /GR
148 !if "$(USE_EXCEPTIONS)" == "0"
151 !if "$(USE_EXCEPTIONS)" == "1"
152 __EXCEPTIONSFLAG_0 = /GX
154 !if "$(USE_GUI)" == "1"
155 __LIB_JPEG_p = wxjpeg$(WXDEBUGFLAG).lib
157 !if "$(USE_GUI)" == "1"
158 __LIB_PNG_p = wxpng$(WXDEBUGFLAG).lib
160 !if "$(USE_GUI)" == "1"
161 __LIB_TIFF_p = wxtiff$(WXDEBUGFLAG).lib
163 !if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "0"
164 __NO_VC_CRTDBG_p = /D__NO_VC_CRTDBG__
166 !if "$(BUILD)" == "release" && "$(DEBUG_FLAG)" == "1"
167 __NO_VC_CRTDBG_p = /D__NO_VC_CRTDBG__
169 !if "$(BUILD)" == "debug"
172 !if "$(BUILD)" == "release"
175 !if "$(RUNTIME_LIBS)" == "dynamic"
178 !if "$(RUNTIME_LIBS)" == "static"
181 !if "$(UNICODE)" == "1"
182 __UNICODE_DEFINE_p = /D_UNICODE
185 __UNICOWS_LIB_p = unicows.lib
187 !if "$(MONOLITHIC)" == "0"
188 __WXLIB_BASE_p = wxbase25$(WXUNICODEFLAG)$(WXDEBUGFLAG).lib
190 !if "$(MONOLITHIC)" == "0"
192 wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_core.lib
194 !if "$(MONOLITHIC)" == "1"
196 wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG).lib
198 !if "$(WXUNIV)" == "1"
199 __WXUNIV_DEFINE_p = /D__WXUNIVERSAL__
201 !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
202 ____DEBUGINFO = /D_DEBUG
204 !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
207 !if "$(DEBUG_INFO)" == "0"
210 !if "$(DEBUG_INFO)" == "1"
211 ____DEBUGINFO = /D_DEBUG
213 !if "$(DEBUG_RUNTIME_LIBS)" == "0"
214 ____DEBUGRUNTIME_14_p =
216 !if "$(DEBUG_RUNTIME_LIBS)" == "1"
217 ____DEBUGRUNTIME_14_p = /D_DEBUG
219 !if "$(DEBUG_RUNTIME_LIBS)" == "default"
220 ____DEBUGRUNTIME_14_p = $(____DEBUGINFO)
222 !if "$(DEBUG_RUNTIME_LIBS)" == "0"
223 ____DEBUGRUNTIME_2_p =
225 !if "$(DEBUG_RUNTIME_LIBS)" == "1"
226 ____DEBUGRUNTIME_2_p = /D_DEBUG
228 !if "$(DEBUG_RUNTIME_LIBS)" == "default"
229 ____DEBUGRUNTIME_2_p = $(____DEBUGINFO)
231 !if "$(SHARED)" == "1"
232 __netutilsdll___depname = \
233 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)251$(WXUNICODEFLAG)$(WXDEBUGFLAG)_netutils_vc$(VENDORTAG).dll
235 !if "$(SHARED)" == "0"
236 __netutilslib___depname = \
237 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_netutils.lib
243 -if not exist $(OBJS) mkdir $(OBJS)
247 all: $(__netutilsdll___depname) $(__netutilslib___depname)
249 $(OBJS)\netutilsdll_dummy.obj: ../../src/net\..\..\..\src\msw\dummy.cpp
250 $(CXX) /c /nologo /TP /Fo$@ $(NETUTILSDLL_CXXFLAGS) /Ycwx/wxprec.h $**
252 $(OBJS)\netutilsdll_email.obj: ../../src/net\email.cpp
253 $(CXX) /c /nologo /TP /Fo$@ $(NETUTILSDLL_CXXFLAGS) $**
255 $(OBJS)\netutilsdll_smapi.obj: ../../src/net\smapi.cpp
256 $(CXX) /c /nologo /TP /Fo$@ $(NETUTILSDLL_CXXFLAGS) $**
258 $(OBJS)\netutilsdll_web.obj: ../../src/net\web.cpp
259 $(CXX) /c /nologo /TP /Fo$@ $(NETUTILSDLL_CXXFLAGS) $**
261 $(OBJS)\netutilslib_dummy.obj: ../../src/net\..\..\..\src\msw\dummy.cpp
262 $(CXX) /c /nologo /TP /Fo$@ $(NETUTILSLIB_CXXFLAGS) /Ycwx/wxprec.h $**
264 $(OBJS)\netutilslib_email.obj: ../../src/net\email.cpp
265 $(CXX) /c /nologo /TP /Fo$@ $(NETUTILSLIB_CXXFLAGS) $**
267 $(OBJS)\netutilslib_smapi.obj: ../../src/net\smapi.cpp
268 $(CXX) /c /nologo /TP /Fo$@ $(NETUTILSLIB_CXXFLAGS) $**
270 $(OBJS)\netutilslib_web.obj: ../../src/net\web.cpp
271 $(CXX) /c /nologo /TP /Fo$@ $(NETUTILSLIB_CXXFLAGS) $**
274 -if exist $(OBJS)\*.obj del $(OBJS)\*.obj
275 -if exist $(OBJS)\*.res del $(OBJS)\*.res
276 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)251$(WXUNICODEFLAG)$(WXDEBUGFLAG)_netutils_vc$(VENDORTAG).dll del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)251$(WXUNICODEFLAG)$(WXDEBUGFLAG)_netutils_vc$(VENDORTAG).dll
277 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)251$(WXUNICODEFLAG)$(WXDEBUGFLAG)_netutils_vc$(VENDORTAG).ilk del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)251$(WXUNICODEFLAG)$(WXDEBUGFLAG)_netutils_vc$(VENDORTAG).ilk
278 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)251$(WXUNICODEFLAG)$(WXDEBUGFLAG)_netutils_vc$(VENDORTAG).pdb del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)251$(WXUNICODEFLAG)$(WXDEBUGFLAG)_netutils_vc$(VENDORTAG).pdb
279 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_netutils.lib del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_netutils.lib
280 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_netutils.lib del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_netutils.lib
282 !if "$(SHARED)" == "1"
283 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)251$(WXUNICODEFLAG)$(WXDEBUGFLAG)_netutils_vc$(VENDORTAG).dll: $(OBJS)\netutilsdll_dummy.obj $(NETUTILSDLL_OBJECTS)
284 link /DLL /NOLOGO /OUT:$@ $(LDFLAGS) $(__DEBUGINFO_1) /LIBPATH:$(LIBDIRNAME) @<<
285 $(NETUTILSDLL_OBJECTS) $(__WXLIB_MONO_p) $(__LIB_TIFF_p) $(__LIB_JPEG_p) $(__LIB_PNG_p) wxzlib$(WXDEBUGFLAG).lib wxregex$(WXDEBUGFLAG).lib wxexpat$(WXDEBUGFLAG).lib $(__UNICOWS_LIB_p) kernel32.lib user32.lib gdi32.lib comdlg32.lib winspool.lib winmm.lib shell32.lib comctl32.lib odbc32.lib ole32.lib oleaut32.lib uuid.lib rpcrt4.lib advapi32.lib wsock32.lib oleacc.lib $(__WXLIB_CORE_p) $(__WXLIB_BASE_p) /IMPLIB:$(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_netutils.lib
289 !if "$(SHARED)" == "0"
290 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_netutils.lib: $(OBJS)\netutilslib_dummy.obj $(NETUTILSLIB_OBJECTS)
292 lib /NOLOGO /OUT:$@ @<<
293 $(NETUTILSLIB_OBJECTS)