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