]> git.saurik.com Git - wxWidgets.git/blob - contrib/build/deprecated/makefile.bcc
wxString and wxChar* access for file functions. Source cleaning.
[wxWidgets.git] / contrib / build / deprecated / makefile.bcc
1 # =========================================================================
2 # This makefile was generated by
3 # Bakefile 0.1.4 (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 = 25
25 WX_VERSION_NODOT = $(WX_RELEASE_NODOT)3
26 OBJS = \
27 bcc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)
28 SETUPHDIR = \
29 $(LIBDIRNAME)\$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)
30 DEPRECATEDDLL_CFLAGS = $(__RUNTIME_LIBS) -I$(BCCDIR)\include $(__DEBUGINFO) \
31 $(__OPTIMIZEFLAG) -tWM -D__WXMSW__ $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) \
32 $(__UNICODE_DEFINE_p) -I..\..\src\deprecated\..\..\..\include \
33 -I$(SETUPHDIR) -I..\..\src\deprecated\..\..\include -DWXUSINGDLL \
34 -DWXMAKINGDLL_DEPRECATED -I..\..\src\deprecated $(CPPFLAGS) $(CFLAGS)
35 DEPRECATEDDLL_CXXFLAGS = $(__RUNTIME_LIBS) -I$(BCCDIR)\include $(__DEBUGINFO) \
36 $(__OPTIMIZEFLAG) -tWM -D__WXMSW__ $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) \
37 $(__UNICODE_DEFINE_p) -I..\..\src\deprecated\..\..\..\include \
38 -I$(SETUPHDIR) -I..\..\src\deprecated\..\..\include -DWXUSINGDLL \
39 -DWXMAKINGDLL_DEPRECATED -I..\..\src\deprecated -Hu \
40 -H=$(OBJS)\wxprec_deprecateddll.csm $(CPPFLAGS) $(CXXFLAGS)
41 DEPRECATEDDLL_OBJECTS = \
42 $(OBJS)\deprecateddll_dummy.obj \
43 $(OBJS)\deprecateddll_prop.obj \
44 $(OBJS)\deprecateddll_propform.obj \
45 $(OBJS)\deprecateddll_proplist.obj \
46 $(OBJS)\deprecateddll_resource.obj \
47 $(OBJS)\deprecateddll_tbarsmpl.obj \
48 $(OBJS)\deprecateddll_treelay.obj \
49 $(OBJS)\deprecateddll_wxexpr.obj \
50 $(OBJS)\deprecateddll_dosyacc.obj
51 DEPRECATEDLIB_CFLAGS = $(__RUNTIME_LIBS) -I$(BCCDIR)\include $(__DEBUGINFO) \
52 $(__OPTIMIZEFLAG) -tWM -D__WXMSW__ $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) \
53 $(__UNICODE_DEFINE_p) -I..\..\src\deprecated\..\..\..\include \
54 -I$(SETUPHDIR) -I..\..\src\deprecated\..\..\include -I..\..\src\deprecated \
55 $(CPPFLAGS) $(CFLAGS)
56 DEPRECATEDLIB_CXXFLAGS = $(__RUNTIME_LIBS) -I$(BCCDIR)\include $(__DEBUGINFO) \
57 $(__OPTIMIZEFLAG) -tWM -D__WXMSW__ $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) \
58 $(__UNICODE_DEFINE_p) -I..\..\src\deprecated\..\..\..\include \
59 -I$(SETUPHDIR) -I..\..\src\deprecated\..\..\include -I..\..\src\deprecated \
60 -Hu -H=$(OBJS)\wxprec_deprecatedlib.csm $(CPPFLAGS) $(CXXFLAGS)
61 DEPRECATEDLIB_OBJECTS = \
62 $(OBJS)\deprecatedlib_dummy.obj \
63 $(OBJS)\deprecatedlib_prop.obj \
64 $(OBJS)\deprecatedlib_propform.obj \
65 $(OBJS)\deprecatedlib_proplist.obj \
66 $(OBJS)\deprecatedlib_resource.obj \
67 $(OBJS)\deprecatedlib_tbarsmpl.obj \
68 $(OBJS)\deprecatedlib_treelay.obj \
69 $(OBJS)\deprecatedlib_wxexpr.obj \
70 $(OBJS)\deprecatedlib_dosyacc.obj
71
72 ### Conditionally set variables: ###
73
74 !if "$(USE_GUI)" == "0"
75 PORTNAME = base
76 !endif
77 !if "$(USE_GUI)" == "1"
78 PORTNAME = msw
79 !endif
80 !if "$(OFFICIAL_BUILD)" == "0"
81 VENDORTAG = _$(VENDOR)
82 !endif
83 !if "$(OFFICIAL_BUILD)" == "1"
84 VENDORTAG =
85 !endif
86 !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
87 WXDEBUGFLAG = d
88 !endif
89 !if "$(DEBUG_FLAG)" == "1"
90 WXDEBUGFLAG = d
91 !endif
92 !if "$(UNICODE)" == "1"
93 WXUNICODEFLAG = u
94 !endif
95 !if "$(WXUNIV)" == "1"
96 WXUNIVNAME = univ
97 !endif
98 !if "$(SHARED)" == "1"
99 WXDLLFLAG = dll
100 !endif
101 !if "$(MONOLITHIC)" == "0"
102 EXTRALIBS_FOR_BASE =
103 !endif
104 !if "$(MONOLITHIC)" == "1"
105 EXTRALIBS_FOR_BASE =
106 !endif
107 !if "$(SHARED)" == "1"
108 __deprecateddll___depname = \
109 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_deprecated_bcc$(VENDORTAG).dll
110 !endif
111 !if "$(RUNTIME_LIBS)" == "dynamic"
112 __RUNTIME_LIBS_8 = i
113 !endif
114 !if "$(RUNTIME_LIBS)" == "static"
115 __RUNTIME_LIBS_8 =
116 !endif
117 !if "$(MONOLITHIC)" == "1"
118 __WXLIB_MONO_p = \
119 wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib
120 !endif
121 !if "$(USE_GUI)" == "1"
122 __LIB_TIFF_p = wxtiff$(WXDEBUGFLAG).lib
123 !endif
124 !if "$(USE_GUI)" == "1"
125 __LIB_JPEG_p = wxjpeg$(WXDEBUGFLAG).lib
126 !endif
127 !if "$(USE_GUI)" == "1"
128 __LIB_PNG_p = wxpng$(WXDEBUGFLAG).lib
129 !endif
130 !if "$(MSLU)" == "1"
131 __UNICOWS_LIB_p = unicows.lib
132 !endif
133 !if "$(MONOLITHIC)" == "0"
134 __WXLIB_CORE_p = \
135 wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_core.lib
136 !endif
137 !if "$(MONOLITHIC)" == "0"
138 __WXLIB_BASE_p = \
139 wxbase$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib
140 !endif
141 !if "$(SHARED)" == "0"
142 __deprecatedlib___depname = \
143 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_deprecated.lib
144 !endif
145 !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
146 __DEBUGINFO = -v
147 !endif
148 !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
149 __DEBUGINFO = -v-
150 !endif
151 !if "$(DEBUG_INFO)" == "0"
152 __DEBUGINFO = -v-
153 !endif
154 !if "$(DEBUG_INFO)" == "1"
155 __DEBUGINFO = -v
156 !endif
157 !if "$(BUILD)" == "debug"
158 __OPTIMIZEFLAG = -Od
159 !endif
160 !if "$(BUILD)" == "release"
161 __OPTIMIZEFLAG = -O2
162 !endif
163 !if "$(RUNTIME_LIBS)" == "dynamic"
164 __RUNTIME_LIBS = -tWR
165 !endif
166 !if "$(RUNTIME_LIBS)" == "static"
167 __RUNTIME_LIBS =
168 !endif
169 !if "$(WXUNIV)" == "1"
170 __WXUNIV_DEFINE_p = -D__WXUNIVERSAL__
171 !endif
172 !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
173 __DEBUG_DEFINE_p = -D__WXDEBUG__
174 !endif
175 !if "$(DEBUG_FLAG)" == "1"
176 __DEBUG_DEFINE_p = -D__WXDEBUG__
177 !endif
178 !if "$(UNICODE)" == "1"
179 __UNICODE_DEFINE_p = -D_UNICODE
180 !endif
181 !if "$(SHARED)" == "0"
182 LIBDIRNAME = ..\..\src\deprecated\..\..\..\lib\bcc_lib$(CFG)
183 !endif
184 !if "$(SHARED)" == "1"
185 LIBDIRNAME = ..\..\src\deprecated\..\..\..\lib\bcc_dll$(CFG)
186 !endif
187
188
189 all: $(OBJS)
190 $(OBJS):
191 -if not exist $(OBJS) mkdir $(OBJS)
192
193 ### Targets: ###
194
195 all: $(__deprecateddll___depname) $(__deprecatedlib___depname)
196
197 clean:
198 -if exist $(OBJS)\*.obj del $(OBJS)\*.obj
199 -if exist $(OBJS)\*.res del $(OBJS)\*.res
200 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_deprecated_bcc$(VENDORTAG).dll del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_deprecated_bcc$(VENDORTAG).dll
201 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_deprecated_bcc$(VENDORTAG).tds del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_deprecated_bcc$(VENDORTAG).tds
202 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_deprecated_bcc$(VENDORTAG).ilc del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_deprecated_bcc$(VENDORTAG).ilc
203 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_deprecated_bcc$(VENDORTAG).ild del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_deprecated_bcc$(VENDORTAG).ild
204 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_deprecated_bcc$(VENDORTAG).ilf del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_deprecated_bcc$(VENDORTAG).ilf
205 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_deprecated_bcc$(VENDORTAG).ils del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_deprecated_bcc$(VENDORTAG).ils
206 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_deprecated.lib del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_deprecated.lib
207 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_deprecated.lib del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_deprecated.lib
208
209 !if "$(SHARED)" == "1"
210 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_deprecated_bcc$(VENDORTAG).dll: $(OBJS)\deprecateddll_dummy.obj $(DEPRECATEDDLL_OBJECTS)
211 ilink32 -Tpd -q $(LDFLAGS) -L$(BCCDIR)\lib -L$(BCCDIR)\lib\psdk $(__DEBUGINFO) -L$(LIBDIRNAME) @&&|
212 c0d32.obj $(DEPRECATEDDLL_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 cw32mt$(__RUNTIME_LIBS_8).lib,,
213 |
214 implib -f $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_deprecated $@
215 !endif
216
217 !if "$(SHARED)" == "0"
218 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_deprecated.lib: $(OBJS)\deprecatedlib_dummy.obj $(DEPRECATEDLIB_OBJECTS)
219 if exist $@ del $@
220 tlib /a /p4096 $@ @&&|
221 $(DEPRECATEDLIB_OBJECTS)
222 |
223 !endif
224
225 $(OBJS)\deprecateddll_dummy.obj: ../../src/deprecated\..\..\..\src\msw\dummy.cpp
226 $(CXX) -q -c -P -o$@ $(DEPRECATEDDLL_CXXFLAGS) -H $**
227
228 $(OBJS)\deprecateddll_prop.obj: ../../src/deprecated\prop.cpp
229 $(CXX) -q -c -P -o$@ $(DEPRECATEDDLL_CXXFLAGS) $**
230
231 $(OBJS)\deprecateddll_propform.obj: ../../src/deprecated\propform.cpp
232 $(CXX) -q -c -P -o$@ $(DEPRECATEDDLL_CXXFLAGS) $**
233
234 $(OBJS)\deprecateddll_proplist.obj: ../../src/deprecated\proplist.cpp
235 $(CXX) -q -c -P -o$@ $(DEPRECATEDDLL_CXXFLAGS) $**
236
237 $(OBJS)\deprecateddll_resource.obj: ../../src/deprecated\resource.cpp
238 $(CXX) -q -c -P -o$@ $(DEPRECATEDDLL_CXXFLAGS) $**
239
240 $(OBJS)\deprecateddll_tbarsmpl.obj: ../../src/deprecated\tbarsmpl.cpp
241 $(CXX) -q -c -P -o$@ $(DEPRECATEDDLL_CXXFLAGS) $**
242
243 $(OBJS)\deprecateddll_treelay.obj: ../../src/deprecated\treelay.cpp
244 $(CXX) -q -c -P -o$@ $(DEPRECATEDDLL_CXXFLAGS) $**
245
246 $(OBJS)\deprecateddll_wxexpr.obj: ../../src/deprecated\wxexpr.cpp
247 $(CXX) -q -c -P -o$@ $(DEPRECATEDDLL_CXXFLAGS) $**
248
249 $(OBJS)\deprecateddll_dosyacc.obj: ../../src/deprecated\dosyacc.c
250 $(CC) -q -c -P- -o$@ $(DEPRECATEDDLL_CFLAGS) $**
251
252 $(OBJS)\deprecatedlib_dummy.obj: ../../src/deprecated\..\..\..\src\msw\dummy.cpp
253 $(CXX) -q -c -P -o$@ $(DEPRECATEDLIB_CXXFLAGS) -H $**
254
255 $(OBJS)\deprecatedlib_prop.obj: ../../src/deprecated\prop.cpp
256 $(CXX) -q -c -P -o$@ $(DEPRECATEDLIB_CXXFLAGS) $**
257
258 $(OBJS)\deprecatedlib_propform.obj: ../../src/deprecated\propform.cpp
259 $(CXX) -q -c -P -o$@ $(DEPRECATEDLIB_CXXFLAGS) $**
260
261 $(OBJS)\deprecatedlib_proplist.obj: ../../src/deprecated\proplist.cpp
262 $(CXX) -q -c -P -o$@ $(DEPRECATEDLIB_CXXFLAGS) $**
263
264 $(OBJS)\deprecatedlib_resource.obj: ../../src/deprecated\resource.cpp
265 $(CXX) -q -c -P -o$@ $(DEPRECATEDLIB_CXXFLAGS) $**
266
267 $(OBJS)\deprecatedlib_tbarsmpl.obj: ../../src/deprecated\tbarsmpl.cpp
268 $(CXX) -q -c -P -o$@ $(DEPRECATEDLIB_CXXFLAGS) $**
269
270 $(OBJS)\deprecatedlib_treelay.obj: ../../src/deprecated\treelay.cpp
271 $(CXX) -q -c -P -o$@ $(DEPRECATEDLIB_CXXFLAGS) $**
272
273 $(OBJS)\deprecatedlib_wxexpr.obj: ../../src/deprecated\wxexpr.cpp
274 $(CXX) -q -c -P -o$@ $(DEPRECATEDLIB_CXXFLAGS) $**
275
276 $(OBJS)\deprecatedlib_dosyacc.obj: ../../src/deprecated\dosyacc.c
277 $(CC) -q -c -P- -o$@ $(DEPRECATEDLIB_CFLAGS) $**