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 # =========================================================================
11 !error Your Borland compiler does not define MAKEDIR. Please define the BCCDIR variable, e.g. BCCDIR=d:\bc4
13 BCCDIR = $(MAKEDIR)\..
16 !include ../../../build/msw/config.bcc
18 # -------------------------------------------------------------------------
19 # Do not modify the rest of this file!
20 # -------------------------------------------------------------------------
26 bcc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)
27 LIBDIRNAME = ..\..\src\net\..\..\..\lib\bcc_$(LIBTYPE_SUFFIX)$(CFG)
29 $(LIBDIRNAME)\$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)
30 NETUTILSDLL_CXXFLAGS = $(__RUNTIME_LIBS) -I$(BCCDIR)\include $(__DEBUGINFO) \
31 $(__OPTIMIZEFLAG) $(__THREADSFLAG) -D__WXMSW__ $(__WXUNIV_DEFINE_p) \
32 $(__DEBUG_DEFINE_p) $(__EXCEPTIONS_DEFINE_p) $(__RTTI_DEFINE_p) \
33 $(__THREAD_DEFINE_p) $(__UNICODE_DEFINE_p) \
34 -I..\..\src\net\..\..\..\include -I$(SETUPHDIR) \
35 -I..\..\src\net\..\..\include -DWXUSINGDLL -DWXMAKINGDLL_NETUTILS -Hu \
36 -H=$(OBJS)\wxprec_netutilsdll.csm $(CPPFLAGS) $(CXXFLAGS)
37 NETUTILSDLL_OBJECTS = \
38 $(OBJS)\netutilsdll_dummy.obj \
39 $(OBJS)\netutilsdll_email.obj \
40 $(OBJS)\netutilsdll_smapi.obj \
41 $(OBJS)\netutilsdll_web.obj
42 NETUTILSLIB_CXXFLAGS = $(__RUNTIME_LIBS) -I$(BCCDIR)\include $(__DEBUGINFO) \
43 $(__OPTIMIZEFLAG) $(__THREADSFLAG) -D__WXMSW__ $(__WXUNIV_DEFINE_p) \
44 $(__DEBUG_DEFINE_p) $(__EXCEPTIONS_DEFINE_p) $(__RTTI_DEFINE_p) \
45 $(__THREAD_DEFINE_p) $(__UNICODE_DEFINE_p) \
46 -I..\..\src\net\..\..\..\include -I$(SETUPHDIR) \
47 -I..\..\src\net\..\..\include -Hu -H=$(OBJS)\wxprec_netutilslib.csm \
48 $(CPPFLAGS) $(CXXFLAGS)
49 NETUTILSLIB_OBJECTS = \
50 $(OBJS)\netutilslib_dummy.obj \
51 $(OBJS)\netutilslib_email.obj \
52 $(OBJS)\netutilslib_smapi.obj \
53 $(OBJS)\netutilslib_web.obj
55 ### Conditionally set variables: ###
57 !if "$(USE_GUI)" == "0"
60 !if "$(USE_GUI)" == "1"
63 !if "$(OFFICIAL_BUILD)" == "0"
64 VENDORTAG = _$(VENDOR)
66 !if "$(OFFICIAL_BUILD)" == "1"
69 !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
72 !if "$(DEBUG_FLAG)" == "1"
75 !if "$(UNICODE)" == "1"
78 !if "$(WXUNIV)" == "1"
81 !if "$(SHARED)" == "1"
84 !if "$(SHARED)" == "0"
87 !if "$(SHARED)" == "1"
90 !if "$(MONOLITHIC)" == "0"
93 !if "$(MONOLITHIC)" == "1"
96 !if "$(SHARED)" == "1"
97 __netutilsdll___depname = \
98 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_netutils_bcc$(VENDORTAG).dll
100 !if "$(USE_THREADS)" == "0"
103 !if "$(USE_THREADS)" == "1"
106 !if "$(RUNTIME_LIBS)" == "dynamic"
109 !if "$(RUNTIME_LIBS)" == "static"
112 !if "$(WXUNIV)" == "1"
113 __WXUNIV_DEFINE_p_1 = -d__WXUNIVERSAL__
115 !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
116 __DEBUG_DEFINE_p_1 = -d__WXDEBUG__
118 !if "$(DEBUG_FLAG)" == "1"
119 __DEBUG_DEFINE_p_1 = -d__WXDEBUG__
121 !if "$(USE_EXCEPTIONS)" == "0"
122 __EXCEPTIONS_DEFINE_p_1 = -dwxNO_EXCEPTIONS
124 !if "$(USE_RTTI)" == "0"
125 __RTTI_DEFINE_p_1 = -dwxNO_RTTI
127 !if "$(USE_THREADS)" == "0"
128 __THREAD_DEFINE_p_1 = -dwxNO_THREADS
130 !if "$(UNICODE)" == "1"
131 __UNICODE_DEFINE_p_1 = -d_UNICODE
133 !if "$(MONOLITHIC)" == "1"
135 wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib
137 !if "$(USE_GUI)" == "1"
138 __LIB_TIFF_p = wxtiff$(WXDEBUGFLAG).lib
140 !if "$(USE_GUI)" == "1"
141 __LIB_JPEG_p = wxjpeg$(WXDEBUGFLAG).lib
143 !if "$(USE_GUI)" == "1"
144 __LIB_PNG_p = wxpng$(WXDEBUGFLAG).lib
147 __UNICOWS_LIB_p = unicows.lib
149 !if "$(MONOLITHIC)" == "0"
151 wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_core.lib
153 !if "$(MONOLITHIC)" == "0"
155 wxbase$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib
157 !if "$(SHARED)" == "0"
158 __netutilslib___depname = \
159 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_netutils.lib
161 !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
164 !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
167 !if "$(DEBUG_INFO)" == "0"
170 !if "$(DEBUG_INFO)" == "1"
173 !if "$(BUILD)" == "debug"
176 !if "$(BUILD)" == "release"
179 !if "$(USE_THREADS)" == "0"
182 !if "$(USE_THREADS)" == "1"
185 !if "$(RUNTIME_LIBS)" == "dynamic"
186 __RUNTIME_LIBS = -tWR
188 !if "$(RUNTIME_LIBS)" == "static"
191 !if "$(WXUNIV)" == "1"
192 __WXUNIV_DEFINE_p = -D__WXUNIVERSAL__
194 !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
195 __DEBUG_DEFINE_p = -D__WXDEBUG__
197 !if "$(DEBUG_FLAG)" == "1"
198 __DEBUG_DEFINE_p = -D__WXDEBUG__
200 !if "$(USE_EXCEPTIONS)" == "0"
201 __EXCEPTIONS_DEFINE_p = -DwxNO_EXCEPTIONS
203 !if "$(USE_RTTI)" == "0"
204 __RTTI_DEFINE_p = -DwxNO_RTTI
206 !if "$(USE_THREADS)" == "0"
207 __THREAD_DEFINE_p = -DwxNO_THREADS
209 !if "$(UNICODE)" == "1"
210 __UNICODE_DEFINE_p = -D_UNICODE
216 -if not exist $(OBJS) mkdir $(OBJS)
220 all: $(__netutilsdll___depname) $(__netutilslib___depname)
223 -if exist $(OBJS)\*.obj del $(OBJS)\*.obj
224 -if exist $(OBJS)\*.res del $(OBJS)\*.res
225 -if exist $(OBJS)\*.csm del $(OBJS)\*.csm
226 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_netutils_bcc$(VENDORTAG).dll del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_netutils_bcc$(VENDORTAG).dll
227 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_netutils_bcc$(VENDORTAG).tds del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_netutils_bcc$(VENDORTAG).tds
228 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_netutils_bcc$(VENDORTAG).ilc del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_netutils_bcc$(VENDORTAG).ilc
229 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_netutils_bcc$(VENDORTAG).ild del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_netutils_bcc$(VENDORTAG).ild
230 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_netutils_bcc$(VENDORTAG).ilf del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_netutils_bcc$(VENDORTAG).ilf
231 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_netutils_bcc$(VENDORTAG).ils del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_netutils_bcc$(VENDORTAG).ils
232 -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
233 -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
235 !if "$(SHARED)" == "1"
236 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_netutils_bcc$(VENDORTAG).dll: $(OBJS)\netutilsdll_dummy.obj $(NETUTILSDLL_OBJECTS) $(OBJS)\netutilsdll_version.res
237 ilink32 -Tpd -q $(LDFLAGS) -L$(BCCDIR)\lib -L$(BCCDIR)\lib\psdk $(__DEBUGINFO) -L$(LIBDIRNAME) @&&|
238 c0d32.obj $(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) ole2w32.lib oleacc.lib odbc32.lib $(__WXLIB_CORE_p) $(__WXLIB_BASE_p) import32.lib cw32$(__THREADSFLAG_6)$(__RUNTIME_LIBS_9).lib,, $(OBJS)\netutilsdll_version.res
240 implib -f $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_netutils $@
243 !if "$(SHARED)" == "0"
244 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_netutils.lib: $(OBJS)\netutilslib_dummy.obj $(NETUTILSLIB_OBJECTS)
246 tlib /a /p4096 $@ @&&|
247 $(NETUTILSLIB_OBJECTS)
251 $(OBJS)\netutilsdll_dummy.obj: ../../src/net\..\..\..\src\msw\dummy.cpp
252 $(CXX) -q -c -P -o$@ $(NETUTILSDLL_CXXFLAGS) -H $**
254 $(OBJS)\netutilsdll_version.res: ../../src/net\..\..\..\src\msw\version.rc
255 brcc32 -32 -r -fo$@ -i$(BCCDIR)\include -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) -dWXDLLNAME=wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_netutils_bcc$(VENDORTAG) $**
257 $(OBJS)\netutilsdll_email.obj: ../../src/net\email.cpp
258 $(CXX) -q -c -P -o$@ $(NETUTILSDLL_CXXFLAGS) $**
260 $(OBJS)\netutilsdll_smapi.obj: ../../src/net\smapi.cpp
261 $(CXX) -q -c -P -o$@ $(NETUTILSDLL_CXXFLAGS) $**
263 $(OBJS)\netutilsdll_web.obj: ../../src/net\web.cpp
264 $(CXX) -q -c -P -o$@ $(NETUTILSDLL_CXXFLAGS) $**
266 $(OBJS)\netutilslib_dummy.obj: ../../src/net\..\..\..\src\msw\dummy.cpp
267 $(CXX) -q -c -P -o$@ $(NETUTILSLIB_CXXFLAGS) -H $**
269 $(OBJS)\netutilslib_email.obj: ../../src/net\email.cpp
270 $(CXX) -q -c -P -o$@ $(NETUTILSLIB_CXXFLAGS) $**
272 $(OBJS)\netutilslib_smapi.obj: ../../src/net\smapi.cpp
273 $(CXX) -q -c -P -o$@ $(NETUTILSLIB_CXXFLAGS) $**
275 $(OBJS)\netutilslib_web.obj: ../../src/net\web.cpp
276 $(CXX) -q -c -P -o$@ $(NETUTILSLIB_CXXFLAGS) $**