]> git.saurik.com Git - wxWidgets.git/blob - contrib/build/net/makefile.bcc
Missing includes.
[wxWidgets.git] / contrib / build / net / makefile.bcc
1 # =========================================================================
2 # This makefile was generated by
3 # Bakefile 0.1.9 (http://bakefile.sourceforge.net)
4 # Do not modify, all changes will be overwritten!
5 # =========================================================================
6
7 .autodepend
8
9 !ifndef BCCDIR
10 !ifndef MAKEDIR
11 !error Your Borland compiler does not define MAKEDIR. Please define the BCCDIR variable, e.g. BCCDIR=d:\bc4
12 !endif
13 BCCDIR = $(MAKEDIR)\..
14 !endif
15
16 !include ../../../build/msw/config.bcc
17
18 # -------------------------------------------------------------------------
19 # Do not modify the rest of this file!
20 # -------------------------------------------------------------------------
21
22 ### Variables: ###
23
24 WX_RELEASE_NODOT = 26
25 OBJS = \
26 bcc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)
27 LIBDIRNAME = ..\..\src\net\..\..\..\lib\bcc_$(LIBTYPE_SUFFIX)$(CFG)
28 SETUPHDIR = \
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) $(__MSLU_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) $(__MSLU_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
54
55 ### Conditionally set variables: ###
56
57 !if "$(USE_GUI)" == "0"
58 PORTNAME = base
59 !endif
60 !if "$(USE_GUI)" == "1"
61 PORTNAME = msw
62 !endif
63 !if "$(OFFICIAL_BUILD)" == "0"
64 VENDORTAG = _$(VENDOR)
65 !endif
66 !if "$(OFFICIAL_BUILD)" == "1"
67 VENDORTAG =
68 !endif
69 !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
70 WXDEBUGFLAG = d
71 !endif
72 !if "$(DEBUG_FLAG)" == "1"
73 WXDEBUGFLAG = d
74 !endif
75 !if "$(UNICODE)" == "1"
76 WXUNICODEFLAG = u
77 !endif
78 !if "$(WXUNIV)" == "1"
79 WXUNIVNAME = univ
80 !endif
81 !if "$(SHARED)" == "1"
82 WXDLLFLAG = dll
83 !endif
84 !if "$(SHARED)" == "0"
85 LIBTYPE_SUFFIX = lib
86 !endif
87 !if "$(SHARED)" == "1"
88 LIBTYPE_SUFFIX = dll
89 !endif
90 !if "$(MONOLITHIC)" == "0"
91 EXTRALIBS_FOR_BASE =
92 !endif
93 !if "$(MONOLITHIC)" == "1"
94 EXTRALIBS_FOR_BASE =
95 !endif
96 !if "$(SHARED)" == "1"
97 __netutilsdll___depname = \
98 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_netutils_bcc$(VENDORTAG).dll
99 !endif
100 !if "$(USE_THREADS)" == "0"
101 __THREADSFLAG_6 =
102 !endif
103 !if "$(USE_THREADS)" == "1"
104 __THREADSFLAG_6 = mt
105 !endif
106 !if "$(RUNTIME_LIBS)" == "dynamic"
107 __RUNTIME_LIBS_9 = i
108 !endif
109 !if "$(RUNTIME_LIBS)" == "static"
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
132 !endif
133 !if "$(MSLU)" == "1"
134 __MSLU_DEFINE_p_1 = -dwxUSE_UNICODE_MSLU=1
135 !endif
136 !if "$(MONOLITHIC)" == "1"
137 __WXLIB_MONO_p = \
138 wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib
139 !endif
140 !if "$(USE_GUI)" == "1"
141 __LIB_TIFF_p = wxtiff$(WXDEBUGFLAG).lib
142 !endif
143 !if "$(USE_GUI)" == "1"
144 __LIB_JPEG_p = wxjpeg$(WXDEBUGFLAG).lib
145 !endif
146 !if "$(USE_GUI)" == "1"
147 __LIB_PNG_p = wxpng$(WXDEBUGFLAG).lib
148 !endif
149 !if "$(MSLU)" == "1"
150 __UNICOWS_LIB_p = unicows.lib
151 !endif
152 !if "$(MONOLITHIC)" == "0"
153 __WXLIB_CORE_p = \
154 wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_core.lib
155 !endif
156 !if "$(MONOLITHIC)" == "0"
157 __WXLIB_BASE_p = \
158 wxbase$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib
159 !endif
160 !if "$(SHARED)" == "0"
161 __netutilslib___depname = \
162 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_netutils.lib
163 !endif
164 !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
165 __DEBUGINFO = -v
166 !endif
167 !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
168 __DEBUGINFO = -v-
169 !endif
170 !if "$(DEBUG_INFO)" == "0"
171 __DEBUGINFO = -v-
172 !endif
173 !if "$(DEBUG_INFO)" == "1"
174 __DEBUGINFO = -v
175 !endif
176 !if "$(BUILD)" == "debug"
177 __OPTIMIZEFLAG = -Od
178 !endif
179 !if "$(BUILD)" == "release"
180 __OPTIMIZEFLAG = -O2
181 !endif
182 !if "$(USE_THREADS)" == "0"
183 __THREADSFLAG =
184 !endif
185 !if "$(USE_THREADS)" == "1"
186 __THREADSFLAG = -tWM
187 !endif
188 !if "$(RUNTIME_LIBS)" == "dynamic"
189 __RUNTIME_LIBS = -tWR
190 !endif
191 !if "$(RUNTIME_LIBS)" == "static"
192 __RUNTIME_LIBS =
193 !endif
194 !if "$(WXUNIV)" == "1"
195 __WXUNIV_DEFINE_p = -D__WXUNIVERSAL__
196 !endif
197 !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
198 __DEBUG_DEFINE_p = -D__WXDEBUG__
199 !endif
200 !if "$(DEBUG_FLAG)" == "1"
201 __DEBUG_DEFINE_p = -D__WXDEBUG__
202 !endif
203 !if "$(USE_EXCEPTIONS)" == "0"
204 __EXCEPTIONS_DEFINE_p = -DwxNO_EXCEPTIONS
205 !endif
206 !if "$(USE_RTTI)" == "0"
207 __RTTI_DEFINE_p = -DwxNO_RTTI
208 !endif
209 !if "$(USE_THREADS)" == "0"
210 __THREAD_DEFINE_p = -DwxNO_THREADS
211 !endif
212 !if "$(UNICODE)" == "1"
213 __UNICODE_DEFINE_p = -D_UNICODE
214 !endif
215 !if "$(MSLU)" == "1"
216 __MSLU_DEFINE_p = -DwxUSE_UNICODE_MSLU=1
217 !endif
218
219
220 all: $(OBJS)
221 $(OBJS):
222 -if not exist $(OBJS) mkdir $(OBJS)
223
224 ### Targets: ###
225
226 all: $(__netutilsdll___depname) $(__netutilslib___depname)
227
228 clean:
229 -if exist $(OBJS)\*.obj del $(OBJS)\*.obj
230 -if exist $(OBJS)\*.res del $(OBJS)\*.res
231 -if exist $(OBJS)\*.csm del $(OBJS)\*.csm
232 -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
233 -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
234 -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
235 -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
236 -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
237 -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
238 -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
239 -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
240
241 !if "$(SHARED)" == "1"
242 $(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
243 ilink32 -Tpd -q $(LDFLAGS) -L$(BCCDIR)\lib -L$(BCCDIR)\lib\psdk $(__DEBUGINFO) -L$(LIBDIRNAME) @&&|
244 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
245 |
246 implib -f $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_netutils $@
247 !endif
248
249 !if "$(SHARED)" == "0"
250 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_netutils.lib: $(OBJS)\netutilslib_dummy.obj $(NETUTILSLIB_OBJECTS)
251 if exist $@ del $@
252 tlib /a /p4096 $@ @&&|
253 $(NETUTILSLIB_OBJECTS)
254 |
255 !endif
256
257 $(OBJS)\netutilsdll_dummy.obj: ../../src/net\..\..\..\src\msw\dummy.cpp
258 $(CXX) -q -c -P -o$@ $(NETUTILSDLL_CXXFLAGS) -H $**
259
260 $(OBJS)\netutilsdll_version.res: ../../src/net\..\..\..\src\msw\version.rc
261 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) -i..\..\src\net\..\..\..\include -i$(SETUPHDIR) -dWXDLLNAME=wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_netutils_bcc$(VENDORTAG) $**
262
263 $(OBJS)\netutilsdll_email.obj: ../../src/net\email.cpp
264 $(CXX) -q -c -P -o$@ $(NETUTILSDLL_CXXFLAGS) $**
265
266 $(OBJS)\netutilsdll_smapi.obj: ../../src/net\smapi.cpp
267 $(CXX) -q -c -P -o$@ $(NETUTILSDLL_CXXFLAGS) $**
268
269 $(OBJS)\netutilsdll_web.obj: ../../src/net\web.cpp
270 $(CXX) -q -c -P -o$@ $(NETUTILSDLL_CXXFLAGS) $**
271
272 $(OBJS)\netutilslib_dummy.obj: ../../src/net\..\..\..\src\msw\dummy.cpp
273 $(CXX) -q -c -P -o$@ $(NETUTILSLIB_CXXFLAGS) -H $**
274
275 $(OBJS)\netutilslib_email.obj: ../../src/net\email.cpp
276 $(CXX) -q -c -P -o$@ $(NETUTILSLIB_CXXFLAGS) $**
277
278 $(OBJS)\netutilslib_smapi.obj: ../../src/net\smapi.cpp
279 $(CXX) -q -c -P -o$@ $(NETUTILSLIB_CXXFLAGS) $**
280
281 $(OBJS)\netutilslib_web.obj: ../../src/net\web.cpp
282 $(CXX) -q -c -P -o$@ $(NETUTILSLIB_CXXFLAGS) $**
283