1 # =========================================================================
2 # This makefile was generated by
3 # Bakefile 0.2.0 (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 # -------------------------------------------------------------------------
25 WX_VERSION_NODOT = $(WX_RELEASE_NODOT)1
27 bcc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)
28 LIBDIRNAME = ..\..\src\net\..\..\..\lib\bcc_$(LIBTYPE_SUFFIX)$(CFG)
30 $(LIBDIRNAME)\$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)
31 NETUTILSDLL_CXXFLAGS = $(__RUNTIME_LIBS) -I$(BCCDIR)\include $(__DEBUGINFO) \
32 $(__OPTIMIZEFLAG) $(__THREADSFLAG) -D__WXMSW__ $(__WXUNIV_DEFINE_p) \
33 $(__DEBUG_DEFINE_p) $(__EXCEPTIONS_DEFINE_p) $(__RTTI_DEFINE_p) \
34 $(__THREAD_DEFINE_p) $(__UNICODE_DEFINE_p) $(__MSLU_DEFINE_p) \
35 $(__GFXCTX_DEFINE_p) -I$(SETUPHDIR) -I..\..\src\net\..\..\..\include \
36 -I..\..\src\net\..\..\include -DWXUSINGDLL -DWXMAKINGDLL_NETUTILS -Hu \
37 -H=$(OBJS)\wxprec_netutilsdll.csm $(CPPFLAGS) $(CXXFLAGS)
38 NETUTILSDLL_OBJECTS = \
39 $(OBJS)\netutilsdll_dummy.obj \
40 $(OBJS)\netutilsdll_email.obj \
41 $(OBJS)\netutilsdll_smapi.obj \
42 $(OBJS)\netutilsdll_web.obj
43 NETUTILSLIB_CXXFLAGS = $(__RUNTIME_LIBS) -I$(BCCDIR)\include $(__DEBUGINFO) \
44 $(__OPTIMIZEFLAG) $(__THREADSFLAG) -D__WXMSW__ $(__WXUNIV_DEFINE_p) \
45 $(__DEBUG_DEFINE_p) $(__EXCEPTIONS_DEFINE_p) $(__RTTI_DEFINE_p) \
46 $(__THREAD_DEFINE_p) $(__UNICODE_DEFINE_p) $(__MSLU_DEFINE_p) \
47 $(__GFXCTX_DEFINE_p) -I$(SETUPHDIR) -I..\..\src\net\..\..\..\include \
48 -I..\..\src\net\..\..\include -Hu -H=$(OBJS)\wxprec_netutilslib.csm \
49 $(CPPFLAGS) $(CXXFLAGS)
50 NETUTILSLIB_OBJECTS = \
51 $(OBJS)\netutilslib_dummy.obj \
52 $(OBJS)\netutilslib_email.obj \
53 $(OBJS)\netutilslib_smapi.obj \
54 $(OBJS)\netutilslib_web.obj
56 ### Conditionally set variables: ###
58 !if "$(USE_GUI)" == "0"
61 !if "$(USE_GUI)" == "1"
64 !if "$(OFFICIAL_BUILD)" == "0"
65 VENDORTAG = _$(VENDOR)
67 !if "$(OFFICIAL_BUILD)" == "1"
70 !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
73 !if "$(DEBUG_FLAG)" == "1"
76 !if "$(UNICODE)" == "1"
79 !if "$(WXUNIV)" == "1"
82 !if "$(SHARED)" == "1"
85 !if "$(SHARED)" == "0"
88 !if "$(SHARED)" == "1"
91 !if "$(MONOLITHIC)" == "0"
94 !if "$(MONOLITHIC)" == "1"
97 !if "$(SHARED)" == "1"
98 __netutilsdll___depname = \
99 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_netutils_bcc$(VENDORTAG).dll
101 !if "$(USE_THREADS)" == "0"
104 !if "$(USE_THREADS)" == "1"
107 !if "$(RUNTIME_LIBS)" == "dynamic"
110 !if "$(RUNTIME_LIBS)" == "static"
113 !if "$(WXUNIV)" == "1"
114 __WXUNIV_DEFINE_p_1 = -d__WXUNIVERSAL__
116 !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
117 __DEBUG_DEFINE_p_1 = -d__WXDEBUG__
119 !if "$(DEBUG_FLAG)" == "1"
120 __DEBUG_DEFINE_p_1 = -d__WXDEBUG__
122 !if "$(USE_EXCEPTIONS)" == "0"
123 __EXCEPTIONS_DEFINE_p_1 = -dwxNO_EXCEPTIONS
125 !if "$(USE_RTTI)" == "0"
126 __RTTI_DEFINE_p_1 = -dwxNO_RTTI
128 !if "$(USE_THREADS)" == "0"
129 __THREAD_DEFINE_p_1 = -dwxNO_THREADS
131 !if "$(UNICODE)" == "1"
132 __UNICODE_DEFINE_p_1 = -d_UNICODE
135 __MSLU_DEFINE_p_1 = -dwxUSE_UNICODE_MSLU=1
137 !if "$(USE_GDIPLUS)" == "1"
138 __GFXCTX_DEFINE_p_1 = -dwxUSE_GRAPHICS_CONTEXT=1
140 !if "$(MONOLITHIC)" == "1"
142 wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib
144 !if "$(USE_GUI)" == "1"
145 __LIB_TIFF_p = wxtiff$(WXDEBUGFLAG).lib
147 !if "$(USE_GUI)" == "1"
148 __LIB_JPEG_p = wxjpeg$(WXDEBUGFLAG).lib
150 !if "$(USE_GUI)" == "1"
151 __LIB_PNG_p = wxpng$(WXDEBUGFLAG).lib
154 __UNICOWS_LIB_p = unicows.lib
156 !if "$(USE_GDIPLUS)" == "1"
157 __GDIPLUS_LIB_p = gdiplus.lib
159 !if "$(MONOLITHIC)" == "0"
161 wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_core.lib
163 !if "$(MONOLITHIC)" == "0"
165 wxbase$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib
167 !if "$(SHARED)" == "0"
168 __netutilslib___depname = \
169 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_netutils.lib
171 !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
174 !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
177 !if "$(DEBUG_INFO)" == "0"
180 !if "$(DEBUG_INFO)" == "1"
183 !if "$(BUILD)" == "debug"
186 !if "$(BUILD)" == "release"
189 !if "$(USE_THREADS)" == "0"
192 !if "$(USE_THREADS)" == "1"
195 !if "$(RUNTIME_LIBS)" == "dynamic"
196 __RUNTIME_LIBS = -tWR
198 !if "$(RUNTIME_LIBS)" == "static"
201 !if "$(WXUNIV)" == "1"
202 __WXUNIV_DEFINE_p = -D__WXUNIVERSAL__
204 !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
205 __DEBUG_DEFINE_p = -D__WXDEBUG__
207 !if "$(DEBUG_FLAG)" == "1"
208 __DEBUG_DEFINE_p = -D__WXDEBUG__
210 !if "$(USE_EXCEPTIONS)" == "0"
211 __EXCEPTIONS_DEFINE_p = -DwxNO_EXCEPTIONS
213 !if "$(USE_RTTI)" == "0"
214 __RTTI_DEFINE_p = -DwxNO_RTTI
216 !if "$(USE_THREADS)" == "0"
217 __THREAD_DEFINE_p = -DwxNO_THREADS
219 !if "$(UNICODE)" == "1"
220 __UNICODE_DEFINE_p = -D_UNICODE
223 __MSLU_DEFINE_p = -DwxUSE_UNICODE_MSLU=1
225 !if "$(USE_GDIPLUS)" == "1"
226 __GFXCTX_DEFINE_p = -DwxUSE_GRAPHICS_CONTEXT=1
232 -if not exist $(OBJS) mkdir $(OBJS)
236 all: $(__netutilsdll___depname) $(__netutilslib___depname)
239 -if exist $(OBJS)\*.obj del $(OBJS)\*.obj
240 -if exist $(OBJS)\*.res del $(OBJS)\*.res
241 -if exist $(OBJS)\*.csm del $(OBJS)\*.csm
242 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_netutils_bcc$(VENDORTAG).dll del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_netutils_bcc$(VENDORTAG).dll
243 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_netutils_bcc$(VENDORTAG).tds del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_netutils_bcc$(VENDORTAG).tds
244 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_netutils_bcc$(VENDORTAG).ilc del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_netutils_bcc$(VENDORTAG).ilc
245 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_netutils_bcc$(VENDORTAG).ild del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_netutils_bcc$(VENDORTAG).ild
246 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_netutils_bcc$(VENDORTAG).ilf del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_netutils_bcc$(VENDORTAG).ilf
247 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_netutils_bcc$(VENDORTAG).ils del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_netutils_bcc$(VENDORTAG).ils
248 -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
249 -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
251 !if "$(SHARED)" == "1"
252 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_netutils_bcc$(VENDORTAG).dll: $(OBJS)\netutilsdll_dummy.obj $(NETUTILSDLL_OBJECTS) $(OBJS)\netutilsdll_version.res
253 ilink32 -Tpd -q $(LDFLAGS) -L$(BCCDIR)\lib -L$(BCCDIR)\lib\psdk $(__DEBUGINFO) -L$(LIBDIRNAME) @&&|
254 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) $(__GDIPLUS_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
256 implib -f $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_netutils $@
259 !if "$(SHARED)" == "0"
260 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_netutils.lib: $(OBJS)\netutilslib_dummy.obj $(NETUTILSLIB_OBJECTS)
262 tlib /a /p4096 $@ @&&|
263 $(NETUTILSLIB_OBJECTS)
267 $(OBJS)\netutilsdll_dummy.obj: ../../src/net\..\..\..\src\common\dummy.cpp
268 $(CXX) -q -c -P -o$@ $(NETUTILSDLL_CXXFLAGS) -H $**
270 $(OBJS)\netutilsdll_version.res: ../../src/net\..\..\..\src\msw\version.rc
271 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) $(__MSLU_DEFINE_p_1) $(__GFXCTX_DEFINE_p_1) -i$(SETUPHDIR) -i..\..\src\net\..\..\..\include -dWXDLLNAME=wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_netutils_bcc$(VENDORTAG) $**
273 $(OBJS)\netutilsdll_email.obj: ../../src/net\email.cpp
274 $(CXX) -q -c -P -o$@ $(NETUTILSDLL_CXXFLAGS) $**
276 $(OBJS)\netutilsdll_smapi.obj: ../../src/net\smapi.cpp
277 $(CXX) -q -c -P -o$@ $(NETUTILSDLL_CXXFLAGS) $**
279 $(OBJS)\netutilsdll_web.obj: ../../src/net\web.cpp
280 $(CXX) -q -c -P -o$@ $(NETUTILSDLL_CXXFLAGS) $**
282 $(OBJS)\netutilslib_dummy.obj: ../../src/net\..\..\..\src\common\dummy.cpp
283 $(CXX) -q -c -P -o$@ $(NETUTILSLIB_CXXFLAGS) -H $**
285 $(OBJS)\netutilslib_email.obj: ../../src/net\email.cpp
286 $(CXX) -q -c -P -o$@ $(NETUTILSLIB_CXXFLAGS) $**
288 $(OBJS)\netutilslib_smapi.obj: ../../src/net\smapi.cpp
289 $(CXX) -q -c -P -o$@ $(NETUTILSLIB_CXXFLAGS) $**
291 $(OBJS)\netutilslib_web.obj: ../../src/net\web.cpp
292 $(CXX) -q -c -P -o$@ $(NETUTILSLIB_CXXFLAGS) $**