]> git.saurik.com Git - wxWidgets.git/blame - contrib/build/net/makefile.bcc
comment out test code
[wxWidgets.git] / contrib / build / net / makefile.bcc
CommitLineData
15e8daec
VS
1# =========================================================================
2# This makefile was generated by
25bb1412 3# Bakefile 0.2.1 (http://bakefile.sourceforge.net)
15e8daec
VS
4# Do not modify, all changes will be overwritten!
5# =========================================================================
6
9bfe7ad9
VS
7.autodepend
8
15e8daec 9!ifndef BCCDIR
9bfe7ad9
VS
10!ifndef MAKEDIR
11!error Your Borland compiler does not define MAKEDIR. Please define the BCCDIR variable, e.g. BCCDIR=d:\bc4
12!endif
15e8daec
VS
13BCCDIR = $(MAKEDIR)\..
14!endif
15
fd9f42b6 16!include ../../../build/msw/config.bcc
15e8daec
VS
17
18# -------------------------------------------------------------------------
19# Do not modify the rest of this file!
20# -------------------------------------------------------------------------
21
15e8daec
VS
22### Variables: ###
23
25bb1412 24WX_RELEASE_NODOT = 28
b17c1746
DE
25OBJS = \
26 bcc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)
b14abf14 27LIBDIRNAME = ..\..\src\net\..\..\..\lib\bcc_$(LIBTYPE_SUFFIX)$(CFG)
b17c1746
DE
28SETUPHDIR = \
29 $(LIBDIRNAME)\$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)
9bfe7ad9 30NETUTILSDLL_CXXFLAGS = $(__RUNTIME_LIBS) -I$(BCCDIR)\include $(__DEBUGINFO) \
8c9f8f91
JS
31 $(__OPTIMIZEFLAG) $(__THREADSFLAG) -D__WXMSW__ $(__WXUNIV_DEFINE_p) \
32 $(__DEBUG_DEFINE_p) $(__EXCEPTIONS_DEFINE_p) $(__RTTI_DEFINE_p) \
2113bc77 33 $(__THREAD_DEFINE_p) $(__UNICODE_DEFINE_p) $(__MSLU_DEFINE_p) \
3abcf424 34 $(__GFXCTX_DEFINE_p) -I$(SETUPHDIR) -I..\..\src\net\..\..\..\include \
9bfe7ad9
VS
35 -I..\..\src\net\..\..\include -DWXUSINGDLL -DWXMAKINGDLL_NETUTILS -Hu \
36 -H=$(OBJS)\wxprec_netutilsdll.csm $(CPPFLAGS) $(CXXFLAGS)
15e8daec
VS
37NETUTILSDLL_OBJECTS = \
38 $(OBJS)\netutilsdll_dummy.obj \
39 $(OBJS)\netutilsdll_email.obj \
40 $(OBJS)\netutilsdll_smapi.obj \
41 $(OBJS)\netutilsdll_web.obj
9bfe7ad9 42NETUTILSLIB_CXXFLAGS = $(__RUNTIME_LIBS) -I$(BCCDIR)\include $(__DEBUGINFO) \
8c9f8f91
JS
43 $(__OPTIMIZEFLAG) $(__THREADSFLAG) -D__WXMSW__ $(__WXUNIV_DEFINE_p) \
44 $(__DEBUG_DEFINE_p) $(__EXCEPTIONS_DEFINE_p) $(__RTTI_DEFINE_p) \
2113bc77 45 $(__THREAD_DEFINE_p) $(__UNICODE_DEFINE_p) $(__MSLU_DEFINE_p) \
3abcf424 46 $(__GFXCTX_DEFINE_p) -I$(SETUPHDIR) -I..\..\src\net\..\..\..\include \
9bfe7ad9
VS
47 -I..\..\src\net\..\..\include -Hu -H=$(OBJS)\wxprec_netutilslib.csm \
48 $(CPPFLAGS) $(CXXFLAGS)
15e8daec
VS
49NETUTILSLIB_OBJECTS = \
50 $(OBJS)\netutilslib_dummy.obj \
51 $(OBJS)\netutilslib_email.obj \
52 $(OBJS)\netutilslib_smapi.obj \
53 $(OBJS)\netutilslib_web.obj
15e8daec
VS
54
55### Conditionally set variables: ###
56
57!if "$(USE_GUI)" == "0"
58PORTNAME = base
59!endif
60!if "$(USE_GUI)" == "1"
61PORTNAME = msw
62!endif
63!if "$(OFFICIAL_BUILD)" == "0"
64VENDORTAG = _$(VENDOR)
65!endif
66!if "$(OFFICIAL_BUILD)" == "1"
67VENDORTAG =
68!endif
69!if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
70WXDEBUGFLAG = d
71!endif
72!if "$(DEBUG_FLAG)" == "1"
73WXDEBUGFLAG = d
74!endif
15e8daec
VS
75!if "$(UNICODE)" == "1"
76WXUNICODEFLAG = u
77!endif
78!if "$(WXUNIV)" == "1"
79WXUNIVNAME = univ
80!endif
b17c1746
DE
81!if "$(SHARED)" == "1"
82WXDLLFLAG = dll
15e8daec 83!endif
b14abf14
JS
84!if "$(SHARED)" == "0"
85LIBTYPE_SUFFIX = lib
86!endif
87!if "$(SHARED)" == "1"
88LIBTYPE_SUFFIX = dll
89!endif
dd65d8c8
RN
90!if "$(MONOLITHIC)" == "0"
91EXTRALIBS_FOR_BASE =
92!endif
93!if "$(MONOLITHIC)" == "1"
94EXTRALIBS_FOR_BASE =
95!endif
b17c1746
DE
96!if "$(SHARED)" == "1"
97__netutilsdll___depname = \
25bb1412 98 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_netutils_bcc$(VENDORTAG).dll
15e8daec 99!endif
8c9f8f91
JS
100!if "$(USE_THREADS)" == "0"
101__THREADSFLAG_6 =
102!endif
103!if "$(USE_THREADS)" == "1"
104__THREADSFLAG_6 = mt
105!endif
b17c1746 106!if "$(RUNTIME_LIBS)" == "dynamic"
8c9f8f91 107__RUNTIME_LIBS_9 = i
15e8daec 108!endif
b17c1746 109!if "$(RUNTIME_LIBS)" == "static"
8c9f8f91
JS
110__RUNTIME_LIBS_9 =
111!endif
112!if "$(WXUNIV)" == "1"
113__WXUNIV_DEFINE_p_1 = -d__WXUNIVERSAL__
114!endif
115!if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
116__DEBUG_DEFINE_p_1 = -d__WXDEBUG__
117!endif
118!if "$(DEBUG_FLAG)" == "1"
119__DEBUG_DEFINE_p_1 = -d__WXDEBUG__
120!endif
121!if "$(USE_EXCEPTIONS)" == "0"
122__EXCEPTIONS_DEFINE_p_1 = -dwxNO_EXCEPTIONS
123!endif
124!if "$(USE_RTTI)" == "0"
125__RTTI_DEFINE_p_1 = -dwxNO_RTTI
126!endif
127!if "$(USE_THREADS)" == "0"
128__THREAD_DEFINE_p_1 = -dwxNO_THREADS
129!endif
130!if "$(UNICODE)" == "1"
131__UNICODE_DEFINE_p_1 = -d_UNICODE
15e8daec 132!endif
2113bc77
MW
133!if "$(MSLU)" == "1"
134__MSLU_DEFINE_p_1 = -dwxUSE_UNICODE_MSLU=1
135!endif
3abcf424
RD
136!if "$(USE_GDIPLUS)" == "1"
137__GFXCTX_DEFINE_p_1 = -dwxUSE_GRAPHICS_CONTEXT=1
138!endif
b17c1746
DE
139!if "$(MONOLITHIC)" == "1"
140__WXLIB_MONO_p = \
c33fae85 141 wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib
15e8daec 142!endif
b17c1746 143!if "$(USE_GUI)" == "1"
9c2d002b 144__LIB_TIFF_p = wxtiff$(WXDEBUGFLAG).lib
15e8daec
VS
145!endif
146!if "$(USE_GUI)" == "1"
9c2d002b 147__LIB_JPEG_p = wxjpeg$(WXDEBUGFLAG).lib
15e8daec
VS
148!endif
149!if "$(USE_GUI)" == "1"
9c2d002b 150__LIB_PNG_p = wxpng$(WXDEBUGFLAG).lib
15e8daec 151!endif
b17c1746
DE
152!if "$(MSLU)" == "1"
153__UNICOWS_LIB_p = unicows.lib
154!endif
3abcf424
RD
155!if "$(USE_GDIPLUS)" == "1"
156__GDIPLUS_LIB_p = gdiplus.lib
157!endif
b17c1746
DE
158!if "$(MONOLITHIC)" == "0"
159__WXLIB_CORE_p = \
c33fae85 160 wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_core.lib
b17c1746
DE
161!endif
162!if "$(MONOLITHIC)" == "0"
c33fae85
RN
163__WXLIB_BASE_p = \
164 wxbase$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib
b17c1746
DE
165!endif
166!if "$(SHARED)" == "0"
167__netutilslib___depname = \
c33fae85 168 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_netutils.lib
b17c1746
DE
169!endif
170!if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
171__DEBUGINFO = -v
172!endif
173!if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
174__DEBUGINFO = -v-
175!endif
176!if "$(DEBUG_INFO)" == "0"
177__DEBUGINFO = -v-
178!endif
179!if "$(DEBUG_INFO)" == "1"
180__DEBUGINFO = -v
15e8daec
VS
181!endif
182!if "$(BUILD)" == "debug"
183__OPTIMIZEFLAG = -Od
184!endif
185!if "$(BUILD)" == "release"
186__OPTIMIZEFLAG = -O2
187!endif
8c9f8f91
JS
188!if "$(USE_THREADS)" == "0"
189__THREADSFLAG =
190!endif
191!if "$(USE_THREADS)" == "1"
192__THREADSFLAG = -tWM
193!endif
15e8daec
VS
194!if "$(RUNTIME_LIBS)" == "dynamic"
195__RUNTIME_LIBS = -tWR
196!endif
197!if "$(RUNTIME_LIBS)" == "static"
198__RUNTIME_LIBS =
199!endif
b17c1746
DE
200!if "$(WXUNIV)" == "1"
201__WXUNIV_DEFINE_p = -D__WXUNIVERSAL__
15e8daec 202!endif
b17c1746
DE
203!if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
204__DEBUG_DEFINE_p = -D__WXDEBUG__
205!endif
206!if "$(DEBUG_FLAG)" == "1"
207__DEBUG_DEFINE_p = -D__WXDEBUG__
15e8daec 208!endif
8c9f8f91
JS
209!if "$(USE_EXCEPTIONS)" == "0"
210__EXCEPTIONS_DEFINE_p = -DwxNO_EXCEPTIONS
211!endif
212!if "$(USE_RTTI)" == "0"
213__RTTI_DEFINE_p = -DwxNO_RTTI
214!endif
215!if "$(USE_THREADS)" == "0"
216__THREAD_DEFINE_p = -DwxNO_THREADS
217!endif
15e8daec 218!if "$(UNICODE)" == "1"
ec08d395 219__UNICODE_DEFINE_p = -D_UNICODE
15e8daec 220!endif
2113bc77
MW
221!if "$(MSLU)" == "1"
222__MSLU_DEFINE_p = -DwxUSE_UNICODE_MSLU=1
223!endif
3abcf424
RD
224!if "$(USE_GDIPLUS)" == "1"
225__GFXCTX_DEFINE_p = -DwxUSE_GRAPHICS_CONTEXT=1
226!endif
15e8daec
VS
227
228
229all: $(OBJS)
230$(OBJS):
231 -if not exist $(OBJS) mkdir $(OBJS)
232
233### Targets: ###
234
235all: $(__netutilsdll___depname) $(__netutilslib___depname)
236
15e8daec
VS
237clean:
238 -if exist $(OBJS)\*.obj del $(OBJS)\*.obj
239 -if exist $(OBJS)\*.res del $(OBJS)\*.res
b14abf14 240 -if exist $(OBJS)\*.csm del $(OBJS)\*.csm
25bb1412
RD
241 -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
242 -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
243 -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
244 -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
245 -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
246 -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
c33fae85
RN
247 -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
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
15e8daec
VS
249
250!if "$(SHARED)" == "1"
25bb1412 251$(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
9bfe7ad9 252 ilink32 -Tpd -q $(LDFLAGS) -L$(BCCDIR)\lib -L$(BCCDIR)\lib\psdk $(__DEBUGINFO) -L$(LIBDIRNAME) @&&|
3abcf424 253 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
15e8daec 254|
c33fae85 255 implib -f $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_netutils $@
15e8daec
VS
256!endif
257
258!if "$(SHARED)" == "0"
c33fae85 259$(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_netutils.lib: $(OBJS)\netutilslib_dummy.obj $(NETUTILSLIB_OBJECTS)
15e8daec 260 if exist $@ del $@
9bfe7ad9 261 tlib /a /p4096 $@ @&&|
15e8daec
VS
262 $(NETUTILSLIB_OBJECTS)
263|
264!endif
b17c1746 265
66b9f7f7 266$(OBJS)\netutilsdll_dummy.obj: ../../src/net\..\..\..\src\common\dummy.cpp
b17c1746
DE
267 $(CXX) -q -c -P -o$@ $(NETUTILSDLL_CXXFLAGS) -H $**
268
102d46f3 269$(OBJS)\netutilsdll_version.res: ../../src/net\..\..\..\src\msw\version.rc
25bb1412 270 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_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_netutils_bcc$(VENDORTAG) $**
8c9f8f91 271
b17c1746
DE
272$(OBJS)\netutilsdll_email.obj: ../../src/net\email.cpp
273 $(CXX) -q -c -P -o$@ $(NETUTILSDLL_CXXFLAGS) $**
274
275$(OBJS)\netutilsdll_smapi.obj: ../../src/net\smapi.cpp
276 $(CXX) -q -c -P -o$@ $(NETUTILSDLL_CXXFLAGS) $**
277
278$(OBJS)\netutilsdll_web.obj: ../../src/net\web.cpp
279 $(CXX) -q -c -P -o$@ $(NETUTILSDLL_CXXFLAGS) $**
280
66b9f7f7 281$(OBJS)\netutilslib_dummy.obj: ../../src/net\..\..\..\src\common\dummy.cpp
b17c1746
DE
282 $(CXX) -q -c -P -o$@ $(NETUTILSLIB_CXXFLAGS) -H $**
283
284$(OBJS)\netutilslib_email.obj: ../../src/net\email.cpp
285 $(CXX) -q -c -P -o$@ $(NETUTILSLIB_CXXFLAGS) $**
286
287$(OBJS)\netutilslib_smapi.obj: ../../src/net\smapi.cpp
288 $(CXX) -q -c -P -o$@ $(NETUTILSLIB_CXXFLAGS) $**
289
290$(OBJS)\netutilslib_web.obj: ../../src/net\web.cpp
291 $(CXX) -q -c -P -o$@ $(NETUTILSLIB_CXXFLAGS) $**
b14abf14 292