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)250$(WXUNICODEFLAG)$(WXDEBUGFLAG)_netutils_vc$(VENDORTAG).pdb \
18 $(____DEBUGRUNTIME_2_p) $(__OPTIMIZEFLAG) /D__WXMSW__ $(__WXUNIV_DEFINE_p) \
19 $(__DEBUG_DEFINE_p) $(__UNICODE_DEFINE_p) /I..\..\src\net\..\..\..\include \
20 /I$(SETUPHDIR) /I..\..\src\net\..\..\include /DWXUSINGDLL \
21 /DWXMAKINGDLL_NETUTILS $(CXXFLAGS) /GR /GX /Yu"wx/wxprec.h" \
22 /Fp"$(OBJS)\wxprec_netutilsdll.pch"
23 NETUTILSDLL_OBJECTS = \
24 $(OBJS)\netutilsdll_dummy.obj \
25 $(OBJS)\netutilsdll_email.obj \
26 $(OBJS)\netutilsdll_smapi.obj \
27 $(OBJS)\netutilsdll_web.obj
28 NETUTILSLIB_CXXFLAGS = $(CPPFLAGS) /M$(__RUNTIME_LIBS)$(__DEBUGRUNTIME_12) \
29 /DWIN32 $(__DEBUGINFO_2) \
30 /Fd$(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_netutils.pdb \
31 $(____DEBUGRUNTIME_11_p) $(__OPTIMIZEFLAG) /D__WXMSW__ $(__WXUNIV_DEFINE_p) \
32 $(__DEBUG_DEFINE_p) $(__UNICODE_DEFINE_p) /I..\..\src\net\..\..\..\include \
33 /I$(SETUPHDIR) /I..\..\src\net\..\..\include $(CXXFLAGS) /GR /GX \
34 /Yu"wx/wxprec.h" /Fp"$(OBJS)\wxprec_netutilslib.pch"
35 NETUTILSLIB_OBJECTS = \
36 $(OBJS)\netutilslib_dummy.obj \
37 $(OBJS)\netutilslib_email.obj \
38 $(OBJS)\netutilslib_smapi.obj \
39 $(OBJS)\netutilslib_web.obj
41 vc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)
43 $(LIBDIRNAME)\$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)
45 ### Conditionally set variables: ###
47 !if "$(SHARED)" == "0"
48 LIBDIRNAME = ..\..\src\net\..\..\..\lib\vc_lib$(CFG)
50 !if "$(SHARED)" == "1"
51 LIBDIRNAME = ..\..\src\net\..\..\..\lib\vc_dll$(CFG)
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
165 __UNICOWS_LIB_p = unicows.lib
167 !if "$(MONOLITHIC)" == "0"
168 __WXLIB_BASE_p = wxbase25$(WXUNICODEFLAG)$(WXDEBUGFLAG).lib
170 !if "$(MONOLITHIC)" == "0"
172 wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_core.lib
174 !if "$(MONOLITHIC)" == "1"
176 wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG).lib
178 !if "$(WXUNIV)" == "1"
179 __WXUNIV_DEFINE_p = /D__WXUNIVERSAL__
181 !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
182 ____DEBUGINFO = /D_DEBUG
184 !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
187 !if "$(DEBUG_INFO)" == "0"
190 !if "$(DEBUG_INFO)" == "1"
191 ____DEBUGINFO = /D_DEBUG
193 !if "$(DEBUG_RUNTIME_LIBS)" == "0"
194 ____DEBUGRUNTIME_11_p =
196 !if "$(DEBUG_RUNTIME_LIBS)" == "1"
197 ____DEBUGRUNTIME_11_p = /D_DEBUG
199 !if "$(DEBUG_RUNTIME_LIBS)" == "default"
200 ____DEBUGRUNTIME_11_p = $(____DEBUGINFO)
202 !if "$(DEBUG_RUNTIME_LIBS)" == "0"
203 ____DEBUGRUNTIME_2_p =
205 !if "$(DEBUG_RUNTIME_LIBS)" == "1"
206 ____DEBUGRUNTIME_2_p = /D_DEBUG
208 !if "$(DEBUG_RUNTIME_LIBS)" == "default"
209 ____DEBUGRUNTIME_2_p = $(____DEBUGINFO)
211 !if "$(SHARED)" == "1"
212 __netutilsdll___depname = \
213 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)250$(WXUNICODEFLAG)$(WXDEBUGFLAG)_netutils_vc$(VENDORTAG).dll
215 !if "$(SHARED)" == "0"
216 __netutilslib___depname = \
217 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_netutils.lib
223 -if not exist $(OBJS) mkdir $(OBJS)
227 all: $(__netutilsdll___depname) $(__netutilslib___depname)
229 $(OBJS)\netutilsdll_dummy.obj: ../../src/net\..\..\..\src\msw\dummy.cpp
230 $(CXX) /c /nologo /TP /Fo$@ $(NETUTILSDLL_CXXFLAGS) /Ycwx/wxprec.h $**
232 $(OBJS)\netutilsdll_email.obj: ../../src/net\email.cpp
233 $(CXX) /c /nologo /TP /Fo$@ $(NETUTILSDLL_CXXFLAGS) $**
235 $(OBJS)\netutilsdll_smapi.obj: ../../src/net\smapi.cpp
236 $(CXX) /c /nologo /TP /Fo$@ $(NETUTILSDLL_CXXFLAGS) $**
238 $(OBJS)\netutilsdll_web.obj: ../../src/net\web.cpp
239 $(CXX) /c /nologo /TP /Fo$@ $(NETUTILSDLL_CXXFLAGS) $**
241 $(OBJS)\netutilslib_dummy.obj: ../../src/net\..\..\..\src\msw\dummy.cpp
242 $(CXX) /c /nologo /TP /Fo$@ $(NETUTILSLIB_CXXFLAGS) /Ycwx/wxprec.h $**
244 $(OBJS)\netutilslib_email.obj: ../../src/net\email.cpp
245 $(CXX) /c /nologo /TP /Fo$@ $(NETUTILSLIB_CXXFLAGS) $**
247 $(OBJS)\netutilslib_smapi.obj: ../../src/net\smapi.cpp
248 $(CXX) /c /nologo /TP /Fo$@ $(NETUTILSLIB_CXXFLAGS) $**
250 $(OBJS)\netutilslib_web.obj: ../../src/net\web.cpp
251 $(CXX) /c /nologo /TP /Fo$@ $(NETUTILSLIB_CXXFLAGS) $**
254 -if exist $(OBJS)\*.obj del $(OBJS)\*.obj
255 -if exist $(OBJS)\*.res del $(OBJS)\*.res
256 -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
257 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_netutils.lib del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_netutils.lib
258 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_netutils.lib del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_netutils.lib
260 !if "$(SHARED)" == "1"
261 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)250$(WXUNICODEFLAG)$(WXDEBUGFLAG)_netutils_vc$(VENDORTAG).dll: $(OBJS)\netutilsdll_dummy.obj $(NETUTILSDLL_OBJECTS)
262 link /DLL /NOLOGO /OUT:$@ $(LDFLAGS) $(__DEBUGINFO_1) /LIBPATH:$(LIBDIRNAME) @<<
263 $(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 $(__WXLIB_CORE_p) $(__WXLIB_BASE_p) /IMPLIB:$(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_netutils.lib
267 !if "$(SHARED)" == "0"
268 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_netutils.lib: $(OBJS)\netutilslib_dummy.obj $(NETUTILSLIB_OBJECTS)
270 lib /NOLOGO /OUT:$@ @<<
271 $(NETUTILSLIB_OBJECTS)