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 # -------------------------------------------------------------------------
16 ..\..\src\net\..\..\..\lib\vc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)
17 NETUTILSDLL_CXXFLAGS = $(CPPFLAGS) /M$(__RUNTIME_LIBS)$(__DEBUGRUNTIME_3) \
18 /DWIN32 $(__DEBUGINFO_2) \
19 /Fd$(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)250$(WXUNICODEFLAG)$(WXDEBUGFLAG)_netutils_vc$(VENDORTAG).pdb \
20 $(____DEBUGRUNTIME_2_p) $(__OPTIMIZEFLAG) /D__WXMSW__ $(__WXUNIV_DEFINE_p) \
21 $(__DEBUG_DEFINE_p) $(__UNICODE_DEFINE_p) /I..\..\src\net\..\..\..\include \
22 /I$(LIBDIRNAME) /I..\..\src\net\..\..\..\src\tiff \
23 /I..\..\src\net\..\..\..\src\jpeg /I..\..\src\net\..\..\..\src\png \
24 /I..\..\src\net\..\..\..\src\zlib /I..\..\src\net\..\..\..\src\regex \
25 /I..\..\src\net\..\..\..\src\expat\lib /I..\..\src\net\..\..\include \
26 /DWXUSINGDLL /DWXMAKINGDLL_NETUTILS $(CXXFLAGS) /Yu"wx/wxprec.h" \
27 /Fp"$(OBJS)\wxprec_netutilsdll.pch"
28 NETUTILSDLL_OBJECTS = \
29 $(OBJS)\netutilsdll_dummy.obj \
30 $(OBJS)\netutilsdll_email.obj \
31 $(OBJS)\netutilsdll_smapi.obj \
32 $(OBJS)\netutilsdll_web.obj
33 NETUTILSLIB_CXXFLAGS = $(CPPFLAGS) /M$(__RUNTIME_LIBS)$(__DEBUGRUNTIME_12) \
34 /DWIN32 $(__DEBUGINFO_2) \
35 /Fd$(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_netutils.pdb \
36 $(____DEBUGRUNTIME_11_p) $(__OPTIMIZEFLAG) /D__WXMSW__ $(__WXUNIV_DEFINE_p) \
37 $(__DEBUG_DEFINE_p) $(__UNICODE_DEFINE_p) /I..\..\src\net\..\..\..\include \
38 /I$(LIBDIRNAME) /I..\..\src\net\..\..\..\src\tiff \
39 /I..\..\src\net\..\..\..\src\jpeg /I..\..\src\net\..\..\..\src\png \
40 /I..\..\src\net\..\..\..\src\zlib /I..\..\src\net\..\..\..\src\regex \
41 /I..\..\src\net\..\..\..\src\expat\lib /I..\..\src\net\..\..\include \
42 $(CXXFLAGS) /Yu"wx/wxprec.h" /Fp"$(OBJS)\wxprec_netutilslib.pch"
43 NETUTILSLIB_OBJECTS = \
44 $(OBJS)\netutilslib_dummy.obj \
45 $(OBJS)\netutilslib_email.obj \
46 $(OBJS)\netutilslib_smapi.obj \
47 $(OBJS)\netutilslib_web.obj
49 vc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)
51 ### Conditionally set variables: ###
53 !if "$(USE_GUI)" == "0"
56 !if "$(USE_GUI)" == "1"
59 !if "$(OFFICIAL_BUILD)" == "0"
60 VENDORTAG = _$(VENDOR)
62 !if "$(OFFICIAL_BUILD)" == "1"
65 !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
68 !if "$(DEBUG_FLAG)" == "1"
71 !if "$(SHARED)" == "1"
74 !if "$(UNICODE)" == "1"
77 !if "$(WXUNIV)" == "1"
80 !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
83 !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
86 !if "$(DEBUG_INFO)" == "0"
89 !if "$(DEBUG_INFO)" == "1"
92 !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
93 __DEBUGINFO_1 = /DEBUG
95 !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
98 !if "$(DEBUG_INFO)" == "0"
101 !if "$(DEBUG_INFO)" == "1"
102 __DEBUGINFO_1 = /DEBUG
104 !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
107 !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
110 !if "$(DEBUG_INFO)" == "0"
113 !if "$(DEBUG_INFO)" == "1"
116 !if "$(DEBUG_RUNTIME_LIBS)" == "0"
119 !if "$(DEBUG_RUNTIME_LIBS)" == "1"
120 __DEBUGRUNTIME_12 = d
122 !if "$(DEBUG_RUNTIME_LIBS)" == "default"
123 __DEBUGRUNTIME_12 = $(__DEBUGINFO)
125 !if "$(DEBUG_RUNTIME_LIBS)" == "0"
128 !if "$(DEBUG_RUNTIME_LIBS)" == "1"
131 !if "$(DEBUG_RUNTIME_LIBS)" == "default"
132 __DEBUGRUNTIME_3 = $(__DEBUGINFO)
134 !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
135 __DEBUG_DEFINE_p = /D__WXDEBUG__
137 !if "$(DEBUG_FLAG)" == "1"
138 __DEBUG_DEFINE_p = /D__WXDEBUG__
140 !if "$(USE_GUI)" == "1"
141 __LIB_JPEG_p = wxjpeg$(WXDEBUGFLAG).lib
143 !if "$(USE_GUI)" == "1"
144 __LIB_PNG_p = wxpng$(WXDEBUGFLAG).lib
146 !if "$(USE_GUI)" == "1"
147 __LIB_TIFF_p = wxtiff$(WXDEBUGFLAG).lib
149 !if "$(BUILD)" == "debug"
152 !if "$(BUILD)" == "release"
155 !if "$(RUNTIME_LIBS)" == "dynamic"
158 !if "$(RUNTIME_LIBS)" == "static"
161 !if "$(UNICODE)" == "1"
162 __UNICODE_DEFINE_p = /DwxUSE_UNICODE=1
164 !if "$(MONOLITHIC)" == "0"
165 __WXLIB_BASE_p = wxbase25$(WXUNICODEFLAG)$(WXDEBUGFLAG).lib
167 !if "$(MONOLITHIC)" == "0"
169 wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_core.lib
171 !if "$(MONOLITHIC)" == "1"
173 wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG).lib
175 !if "$(WXUNIV)" == "1"
176 __WXUNIV_DEFINE_p = /D__WXUNIVERSAL__
178 !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
179 ____DEBUGINFO = /D_DEBUG
181 !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
184 !if "$(DEBUG_INFO)" == "0"
187 !if "$(DEBUG_INFO)" == "1"
188 ____DEBUGINFO = /D_DEBUG
190 !if "$(DEBUG_RUNTIME_LIBS)" == "0"
191 ____DEBUGRUNTIME_11_p =
193 !if "$(DEBUG_RUNTIME_LIBS)" == "1"
194 ____DEBUGRUNTIME_11_p = /D_DEBUG
196 !if "$(DEBUG_RUNTIME_LIBS)" == "default"
197 ____DEBUGRUNTIME_11_p = $(____DEBUGINFO)
199 !if "$(DEBUG_RUNTIME_LIBS)" == "0"
200 ____DEBUGRUNTIME_2_p =
202 !if "$(DEBUG_RUNTIME_LIBS)" == "1"
203 ____DEBUGRUNTIME_2_p = /D_DEBUG
205 !if "$(DEBUG_RUNTIME_LIBS)" == "default"
206 ____DEBUGRUNTIME_2_p = $(____DEBUGINFO)
208 !if "$(SHARED)" == "1"
209 __netutilsdll___depname = \
210 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)250$(WXUNICODEFLAG)$(WXDEBUGFLAG)_netutils_vc$(VENDORTAG).dll
212 !if "$(SHARED)" == "0"
213 __netutilslib___depname = \
214 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_netutils.lib
220 -if not exist $(OBJS) mkdir $(OBJS)
224 all: $(__netutilsdll___depname) $(__netutilslib___depname)
226 $(OBJS)\netutilsdll_dummy.obj: ../../src/net\..\..\..\src\msw\dummy.cpp
227 $(CXX) /c /nologo /TP /Fo$@ $(NETUTILSDLL_CXXFLAGS) /Ycwx/wxprec.h $**
229 $(OBJS)\netutilsdll_email.obj: ../../src/net\email.cpp
230 $(CXX) /c /nologo /TP /Fo$@ $(NETUTILSDLL_CXXFLAGS) $**
232 $(OBJS)\netutilsdll_smapi.obj: ../../src/net\smapi.cpp
233 $(CXX) /c /nologo /TP /Fo$@ $(NETUTILSDLL_CXXFLAGS) $**
235 $(OBJS)\netutilsdll_web.obj: ../../src/net\web.cpp
236 $(CXX) /c /nologo /TP /Fo$@ $(NETUTILSDLL_CXXFLAGS) $**
238 $(OBJS)\netutilslib_dummy.obj: ../../src/net\..\..\..\src\msw\dummy.cpp
239 $(CXX) /c /nologo /TP /Fo$@ $(NETUTILSLIB_CXXFLAGS) /Ycwx/wxprec.h $**
241 $(OBJS)\netutilslib_email.obj: ../../src/net\email.cpp
242 $(CXX) /c /nologo /TP /Fo$@ $(NETUTILSLIB_CXXFLAGS) $**
244 $(OBJS)\netutilslib_smapi.obj: ../../src/net\smapi.cpp
245 $(CXX) /c /nologo /TP /Fo$@ $(NETUTILSLIB_CXXFLAGS) $**
247 $(OBJS)\netutilslib_web.obj: ../../src/net\web.cpp
248 $(CXX) /c /nologo /TP /Fo$@ $(NETUTILSLIB_CXXFLAGS) $**
251 -if exist $(OBJS)\*.obj del $(OBJS)\*.obj
252 -if exist $(OBJS)\*.res del $(OBJS)\*.res
253 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)250$(WXUNICODEFLAG)$(WXDEBUGFLAG)_netutils_vc$(VENDORTAG).dll del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)250$(WXUNICODEFLAG)$(WXDEBUGFLAG)_netutils_vc$(VENDORTAG).dll
254 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_netutils.lib del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_netutils.lib
255 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_netutils.lib del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_netutils.lib
257 !if "$(SHARED)" == "1"
258 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)250$(WXUNICODEFLAG)$(WXDEBUGFLAG)_netutils_vc$(VENDORTAG).dll: $(NETUTILSDLL_OBJECTS) $(OBJS)\netutilsdll_dummy.obj
259 link /DLL /NOLOGO /OUT:$@ $(LDFLAGS) $(__DEBUGINFO_1) /LIBPATH:$(LIBDIRNAME) @<<
260 $(NETUTILSDLL_OBJECTS) $(__WXLIB_MONO_p) $(__LIB_TIFF_p) $(__LIB_JPEG_p) $(__LIB_PNG_p) wxzlib$(WXDEBUGFLAG).lib wxregex$(WXDEBUGFLAG).lib wxexpat$(WXDEBUGFLAG).lib 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 $(__WXLIB_CORE_p) $(__WXLIB_BASE_p) /IMPLIB:$(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_netutils.lib
264 !if "$(SHARED)" == "0"
265 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_netutils.lib: $(NETUTILSLIB_OBJECTS) $(OBJS)\netutilslib_dummy.obj
267 lib /NOLOGO /OUT:$@ @<<
268 $(NETUTILSLIB_OBJECTS)