]> git.saurik.com Git - wxWidgets.git/blame - contrib/build/deprecated/makefile.bcc
Applied [ 1110257 ] wxFoldPanelBar does not display correctly
[wxWidgets.git] / contrib / build / deprecated / makefile.bcc
CommitLineData
15e8daec
VS
1# =========================================================================
2# This makefile was generated by
c4839ccf 3# Bakefile 0.1.4 (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
c33fae85 24WX_RELEASE_NODOT = 25
ab921f5f 25WX_VERSION_NODOT = $(WX_RELEASE_NODOT)3
b17c1746
DE
26OBJS = \
27 bcc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)
28SETUPHDIR = \
29 $(LIBDIRNAME)\$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)
9bfe7ad9
VS
30DEPRECATEDDLL_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)
35DEPRECATEDDLL_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)
15e8daec
VS
41DEPRECATEDDLL_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 \
8a82c9ec 47 $(OBJS)\deprecateddll_tbarsmpl.obj \
15e8daec
VS
48 $(OBJS)\deprecateddll_treelay.obj \
49 $(OBJS)\deprecateddll_wxexpr.obj \
50 $(OBJS)\deprecateddll_dosyacc.obj
9bfe7ad9
VS
51DEPRECATEDLIB_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)
56DEPRECATEDLIB_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)
15e8daec
VS
61DEPRECATEDLIB_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 \
8a82c9ec 67 $(OBJS)\deprecatedlib_tbarsmpl.obj \
15e8daec
VS
68 $(OBJS)\deprecatedlib_treelay.obj \
69 $(OBJS)\deprecatedlib_wxexpr.obj \
70 $(OBJS)\deprecatedlib_dosyacc.obj
15e8daec
VS
71
72### Conditionally set variables: ###
73
74!if "$(USE_GUI)" == "0"
75PORTNAME = base
76!endif
77!if "$(USE_GUI)" == "1"
78PORTNAME = msw
79!endif
80!if "$(OFFICIAL_BUILD)" == "0"
81VENDORTAG = _$(VENDOR)
82!endif
83!if "$(OFFICIAL_BUILD)" == "1"
84VENDORTAG =
85!endif
86!if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
87WXDEBUGFLAG = d
88!endif
89!if "$(DEBUG_FLAG)" == "1"
90WXDEBUGFLAG = d
91!endif
15e8daec
VS
92!if "$(UNICODE)" == "1"
93WXUNICODEFLAG = u
94!endif
95!if "$(WXUNIV)" == "1"
96WXUNIVNAME = univ
97!endif
b17c1746
DE
98!if "$(SHARED)" == "1"
99WXDLLFLAG = dll
15e8daec 100!endif
dd65d8c8
RN
101!if "$(MONOLITHIC)" == "0"
102EXTRALIBS_FOR_BASE =
103!endif
104!if "$(MONOLITHIC)" == "1"
105EXTRALIBS_FOR_BASE =
106!endif
b17c1746
DE
107!if "$(SHARED)" == "1"
108__deprecateddll___depname = \
c33fae85 109 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_deprecated_bcc$(VENDORTAG).dll
15e8daec 110!endif
b17c1746 111!if "$(RUNTIME_LIBS)" == "dynamic"
c4839ccf 112__RUNTIME_LIBS_8 = i
15e8daec 113!endif
b17c1746 114!if "$(RUNTIME_LIBS)" == "static"
c4839ccf 115__RUNTIME_LIBS_8 =
15e8daec 116!endif
b17c1746
DE
117!if "$(MONOLITHIC)" == "1"
118__WXLIB_MONO_p = \
c33fae85 119 wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib
15e8daec 120!endif
b17c1746 121!if "$(USE_GUI)" == "1"
9c2d002b 122__LIB_TIFF_p = wxtiff$(WXDEBUGFLAG).lib
15e8daec
VS
123!endif
124!if "$(USE_GUI)" == "1"
9c2d002b 125__LIB_JPEG_p = wxjpeg$(WXDEBUGFLAG).lib
15e8daec
VS
126!endif
127!if "$(USE_GUI)" == "1"
9c2d002b 128__LIB_PNG_p = wxpng$(WXDEBUGFLAG).lib
15e8daec 129!endif
b17c1746
DE
130!if "$(MSLU)" == "1"
131__UNICOWS_LIB_p = unicows.lib
132!endif
133!if "$(MONOLITHIC)" == "0"
134__WXLIB_CORE_p = \
c33fae85 135 wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_core.lib
b17c1746
DE
136!endif
137!if "$(MONOLITHIC)" == "0"
c33fae85
RN
138__WXLIB_BASE_p = \
139 wxbase$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib
b17c1746
DE
140!endif
141!if "$(SHARED)" == "0"
142__deprecatedlib___depname = \
c33fae85 143 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_deprecated.lib
b17c1746
DE
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
15e8daec
VS
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
b17c1746
DE
169!if "$(WXUNIV)" == "1"
170__WXUNIV_DEFINE_p = -D__WXUNIVERSAL__
15e8daec 171!endif
b17c1746
DE
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__
15e8daec
VS
177!endif
178!if "$(UNICODE)" == "1"
ec08d395 179__UNICODE_DEFINE_p = -D_UNICODE
15e8daec 180!endif
b17c1746
DE
181!if "$(SHARED)" == "0"
182LIBDIRNAME = ..\..\src\deprecated\..\..\..\lib\bcc_lib$(CFG)
15e8daec
VS
183!endif
184!if "$(SHARED)" == "1"
b17c1746 185LIBDIRNAME = ..\..\src\deprecated\..\..\..\lib\bcc_dll$(CFG)
15e8daec
VS
186!endif
187
188
189all: $(OBJS)
190$(OBJS):
191 -if not exist $(OBJS) mkdir $(OBJS)
192
193### Targets: ###
194
195all: $(__deprecateddll___depname) $(__deprecatedlib___depname)
196
b17c1746
DE
197clean:
198 -if exist $(OBJS)\*.obj del $(OBJS)\*.obj
199 -if exist $(OBJS)\*.res del $(OBJS)\*.res
c33fae85
RN
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
b17c1746
DE
208
209!if "$(SHARED)" == "1"
c33fae85 210$(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_deprecated_bcc$(VENDORTAG).dll: $(OBJS)\deprecateddll_dummy.obj $(DEPRECATEDDLL_OBJECTS)
b17c1746 211 ilink32 -Tpd -q $(LDFLAGS) -L$(BCCDIR)\lib -L$(BCCDIR)\lib\psdk $(__DEBUGINFO) -L$(LIBDIRNAME) @&&|
dd65d8c8 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,,
b17c1746 213|
c33fae85 214 implib -f $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_deprecated $@
b17c1746
DE
215!endif
216
217!if "$(SHARED)" == "0"
c33fae85 218$(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_deprecated.lib: $(OBJS)\deprecatedlib_dummy.obj $(DEPRECATEDLIB_OBJECTS)
b17c1746
DE
219 if exist $@ del $@
220 tlib /a /p4096 $@ @&&|
221 $(DEPRECATEDLIB_OBJECTS)
222|
223!endif
15e8daec
VS
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
8a82c9ec
JS
240$(OBJS)\deprecateddll_tbarsmpl.obj: ../../src/deprecated\tbarsmpl.cpp
241 $(CXX) -q -c -P -o$@ $(DEPRECATEDDLL_CXXFLAGS) $**
242
15e8daec
VS
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
b17c1746
DE
249$(OBJS)\deprecateddll_dosyacc.obj: ../../src/deprecated\dosyacc.c
250 $(CC) -q -c -P- -o$@ $(DEPRECATEDDLL_CFLAGS) $**
15e8daec
VS
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
8a82c9ec
JS
267$(OBJS)\deprecatedlib_tbarsmpl.obj: ../../src/deprecated\tbarsmpl.cpp
268 $(CXX) -q -c -P -o$@ $(DEPRECATEDLIB_CXXFLAGS) $**
269
15e8daec
VS
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
b17c1746
DE
276$(OBJS)\deprecatedlib_dosyacc.obj: ../../src/deprecated\dosyacc.c
277 $(CC) -q -c -P- -o$@ $(DEPRECATEDLIB_CFLAGS) $**