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