]> git.saurik.com Git - wxWidgets.git/blame - contrib/build/gizmos/makefile.bcc
Add implementation for pure virtual method.
[wxWidgets.git] / contrib / build / gizmos / makefile.bcc
CommitLineData
250700e4
RD
1# =========================================================================
2# This makefile was generated by
b14abf14 3# Bakefile 0.1.6 (http://bakefile.sourceforge.net)
250700e4
RD
4# Do not modify, all changes will be overwritten!
5# =========================================================================
6
9bfe7ad9
VS
7.autodepend
8
250700e4 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
250700e4
RD
13BCCDIR = $(MAKEDIR)\..
14!endif
15
fd9f42b6 16!include ../../../build/msw/config.bcc
250700e4
RD
17
18# -------------------------------------------------------------------------
19# Do not modify the rest of this file!
20# -------------------------------------------------------------------------
21
250700e4
RD
22### Variables: ###
23
c33fae85 24WX_RELEASE_NODOT = 25
b14abf14 25WX_VERSION_NODOT = $(WX_RELEASE_NODOT)4
b17c1746
DE
26OBJS = \
27 bcc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)
b14abf14 28LIBDIRNAME = ..\..\src\gizmos\..\..\..\lib\bcc_$(LIBTYPE_SUFFIX)$(CFG)
b17c1746
DE
29SETUPHDIR = \
30 $(LIBDIRNAME)\$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)
9bfe7ad9
VS
31GIZMOSDLL_CXXFLAGS = $(__RUNTIME_LIBS) -I$(BCCDIR)\include $(__DEBUGINFO) \
32 $(__OPTIMIZEFLAG) -tWM -D__WXMSW__ $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) \
33 $(__UNICODE_DEFINE_p) -I..\..\src\gizmos\..\..\..\include -I$(SETUPHDIR) \
34 -I..\..\src\gizmos\..\..\include -DWXUSINGDLL -DWXMAKINGDLL_GIZMOS -Hu \
35 -H=$(OBJS)\wxprec_gizmosdll.csm $(CPPFLAGS) $(CXXFLAGS)
3f55f5b8
VS
36GIZMOSDLL_OBJECTS = \
37 $(OBJS)\gizmosdll_dummy.obj \
38 $(OBJS)\gizmosdll_dynamicsash.obj \
39 $(OBJS)\gizmosdll_editlbox.obj \
40 $(OBJS)\gizmosdll_ledctrl.obj \
41 $(OBJS)\gizmosdll_multicell.obj \
42 $(OBJS)\gizmosdll_splittree.obj \
8151e997 43 $(OBJS)\gizmosdll_statpict.obj
9bfe7ad9
VS
44GIZMOSLIB_CXXFLAGS = $(__RUNTIME_LIBS) -I$(BCCDIR)\include $(__DEBUGINFO) \
45 $(__OPTIMIZEFLAG) -tWM -D__WXMSW__ $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) \
46 $(__UNICODE_DEFINE_p) -I..\..\src\gizmos\..\..\..\include -I$(SETUPHDIR) \
47 -I..\..\src\gizmos\..\..\include -Hu -H=$(OBJS)\wxprec_gizmoslib.csm \
48 $(CPPFLAGS) $(CXXFLAGS)
3f55f5b8
VS
49GIZMOSLIB_OBJECTS = \
50 $(OBJS)\gizmoslib_dummy.obj \
51 $(OBJS)\gizmoslib_dynamicsash.obj \
52 $(OBJS)\gizmoslib_editlbox.obj \
53 $(OBJS)\gizmoslib_ledctrl.obj \
54 $(OBJS)\gizmoslib_multicell.obj \
55 $(OBJS)\gizmoslib_splittree.obj \
8151e997 56 $(OBJS)\gizmoslib_statpict.obj
250700e4
RD
57
58### Conditionally set variables: ###
59
60!if "$(USE_GUI)" == "0"
61PORTNAME = base
62!endif
63!if "$(USE_GUI)" == "1"
64PORTNAME = msw
65!endif
66!if "$(OFFICIAL_BUILD)" == "0"
67VENDORTAG = _$(VENDOR)
68!endif
69!if "$(OFFICIAL_BUILD)" == "1"
70VENDORTAG =
71!endif
3f55f5b8
VS
72!if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
73WXDEBUGFLAG = d
74!endif
75!if "$(DEBUG_FLAG)" == "1"
250700e4
RD
76WXDEBUGFLAG = d
77!endif
250700e4
RD
78!if "$(UNICODE)" == "1"
79WXUNICODEFLAG = u
80!endif
81!if "$(WXUNIV)" == "1"
82WXUNIVNAME = univ
83!endif
b17c1746
DE
84!if "$(SHARED)" == "1"
85WXDLLFLAG = dll
250700e4 86!endif
b14abf14
JS
87!if "$(SHARED)" == "0"
88LIBTYPE_SUFFIX = lib
89!endif
90!if "$(SHARED)" == "1"
91LIBTYPE_SUFFIX = dll
92!endif
dd65d8c8
RN
93!if "$(MONOLITHIC)" == "0"
94EXTRALIBS_FOR_BASE =
95!endif
96!if "$(MONOLITHIC)" == "1"
97EXTRALIBS_FOR_BASE =
98!endif
b17c1746
DE
99!if "$(SHARED)" == "1"
100__gizmosdll___depname = \
c33fae85 101 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_gizmos_bcc$(VENDORTAG).dll
250700e4 102!endif
b17c1746 103!if "$(RUNTIME_LIBS)" == "dynamic"
c4839ccf 104__RUNTIME_LIBS_8 = i
3f55f5b8 105!endif
b17c1746 106!if "$(RUNTIME_LIBS)" == "static"
c4839ccf 107__RUNTIME_LIBS_8 =
3f55f5b8 108!endif
b17c1746
DE
109!if "$(MONOLITHIC)" == "1"
110__WXLIB_MONO_p = \
c33fae85 111 wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib
250700e4 112!endif
b17c1746 113!if "$(USE_GUI)" == "1"
9c2d002b 114__LIB_TIFF_p = wxtiff$(WXDEBUGFLAG).lib
3f55f5b8
VS
115!endif
116!if "$(USE_GUI)" == "1"
9c2d002b 117__LIB_JPEG_p = wxjpeg$(WXDEBUGFLAG).lib
3f55f5b8
VS
118!endif
119!if "$(USE_GUI)" == "1"
9c2d002b 120__LIB_PNG_p = wxpng$(WXDEBUGFLAG).lib
3f55f5b8 121!endif
b17c1746
DE
122!if "$(MSLU)" == "1"
123__UNICOWS_LIB_p = unicows.lib
124!endif
125!if "$(MONOLITHIC)" == "0"
c33fae85
RN
126__WXLIB_BASE_p = \
127 wxbase$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib
b17c1746
DE
128!endif
129!if "$(MONOLITHIC)" == "0"
130__WXLIB_CORE_p = \
c33fae85 131 wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_core.lib
b17c1746
DE
132!endif
133!if "$(SHARED)" == "0"
134__gizmoslib___depname = \
c33fae85 135 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_gizmos.lib
b17c1746
DE
136!endif
137!if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
138__DEBUGINFO = -v
139!endif
140!if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
141__DEBUGINFO = -v-
142!endif
143!if "$(DEBUG_INFO)" == "0"
144__DEBUGINFO = -v-
145!endif
146!if "$(DEBUG_INFO)" == "1"
147__DEBUGINFO = -v
3f55f5b8 148!endif
250700e4
RD
149!if "$(BUILD)" == "debug"
150__OPTIMIZEFLAG = -Od
151!endif
152!if "$(BUILD)" == "release"
153__OPTIMIZEFLAG = -O2
154!endif
155!if "$(RUNTIME_LIBS)" == "dynamic"
156__RUNTIME_LIBS = -tWR
157!endif
158!if "$(RUNTIME_LIBS)" == "static"
159__RUNTIME_LIBS =
160!endif
b17c1746
DE
161!if "$(WXUNIV)" == "1"
162__WXUNIV_DEFINE_p = -D__WXUNIVERSAL__
250700e4 163!endif
b17c1746
DE
164!if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
165__DEBUG_DEFINE_p = -D__WXDEBUG__
166!endif
167!if "$(DEBUG_FLAG)" == "1"
168__DEBUG_DEFINE_p = -D__WXDEBUG__
250700e4
RD
169!endif
170!if "$(UNICODE)" == "1"
ec08d395 171__UNICODE_DEFINE_p = -D_UNICODE
250700e4 172!endif
250700e4
RD
173
174
175all: $(OBJS)
176$(OBJS):
177 -if not exist $(OBJS) mkdir $(OBJS)
178
179### Targets: ###
180
181all: $(__gizmosdll___depname) $(__gizmoslib___depname)
182
b17c1746
DE
183clean:
184 -if exist $(OBJS)\*.obj del $(OBJS)\*.obj
185 -if exist $(OBJS)\*.res del $(OBJS)\*.res
b14abf14 186 -if exist $(OBJS)\*.csm del $(OBJS)\*.csm
c33fae85
RN
187 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_gizmos_bcc$(VENDORTAG).dll del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_gizmos_bcc$(VENDORTAG).dll
188 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_gizmos_bcc$(VENDORTAG).tds del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_gizmos_bcc$(VENDORTAG).tds
189 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_gizmos_bcc$(VENDORTAG).ilc del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_gizmos_bcc$(VENDORTAG).ilc
190 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_gizmos_bcc$(VENDORTAG).ild del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_gizmos_bcc$(VENDORTAG).ild
191 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_gizmos_bcc$(VENDORTAG).ilf del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_gizmos_bcc$(VENDORTAG).ilf
192 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_gizmos_bcc$(VENDORTAG).ils del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_gizmos_bcc$(VENDORTAG).ils
193 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_gizmos.lib del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_gizmos.lib
194 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_gizmos.lib del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_gizmos.lib
b17c1746
DE
195
196!if "$(SHARED)" == "1"
c33fae85 197$(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_gizmos_bcc$(VENDORTAG).dll: $(OBJS)\gizmosdll_dummy.obj $(GIZMOSDLL_OBJECTS)
b17c1746 198 ilink32 -Tpd -q $(LDFLAGS) -L$(BCCDIR)\lib -L$(BCCDIR)\lib\psdk $(__DEBUGINFO) -L$(LIBDIRNAME) @&&|
dd65d8c8 199 c0d32.obj $(GIZMOSDLL_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_BASE_p) $(__WXLIB_CORE_p) import32.lib cw32mt$(__RUNTIME_LIBS_8).lib,,
b17c1746 200|
c33fae85 201 implib -f $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_gizmos $@
b17c1746
DE
202!endif
203
204!if "$(SHARED)" == "0"
c33fae85 205$(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_gizmos.lib: $(OBJS)\gizmoslib_dummy.obj $(GIZMOSLIB_OBJECTS)
b17c1746
DE
206 if exist $@ del $@
207 tlib /a /p4096 $@ @&&|
208 $(GIZMOSLIB_OBJECTS)
209|
210!endif
211
250700e4
RD
212$(OBJS)\gizmosdll_dummy.obj: ../../src/gizmos\..\..\..\src\msw\dummy.cpp
213 $(CXX) -q -c -P -o$@ $(GIZMOSDLL_CXXFLAGS) -H $**
214
215$(OBJS)\gizmosdll_dynamicsash.obj: ../../src/gizmos\dynamicsash.cpp
216 $(CXX) -q -c -P -o$@ $(GIZMOSDLL_CXXFLAGS) $**
217
218$(OBJS)\gizmosdll_editlbox.obj: ../../src/gizmos\editlbox.cpp
219 $(CXX) -q -c -P -o$@ $(GIZMOSDLL_CXXFLAGS) $**
220
221$(OBJS)\gizmosdll_ledctrl.obj: ../../src/gizmos\ledctrl.cpp
222 $(CXX) -q -c -P -o$@ $(GIZMOSDLL_CXXFLAGS) $**
223
224$(OBJS)\gizmosdll_multicell.obj: ../../src/gizmos\multicell.cpp
225 $(CXX) -q -c -P -o$@ $(GIZMOSDLL_CXXFLAGS) $**
226
227$(OBJS)\gizmosdll_splittree.obj: ../../src/gizmos\splittree.cpp
228 $(CXX) -q -c -P -o$@ $(GIZMOSDLL_CXXFLAGS) $**
229
230$(OBJS)\gizmosdll_statpict.obj: ../../src/gizmos\statpict.cpp
231 $(CXX) -q -c -P -o$@ $(GIZMOSDLL_CXXFLAGS) $**
232
233$(OBJS)\gizmoslib_dummy.obj: ../../src/gizmos\..\..\..\src\msw\dummy.cpp
234 $(CXX) -q -c -P -o$@ $(GIZMOSLIB_CXXFLAGS) -H $**
235
236$(OBJS)\gizmoslib_dynamicsash.obj: ../../src/gizmos\dynamicsash.cpp
237 $(CXX) -q -c -P -o$@ $(GIZMOSLIB_CXXFLAGS) $**
238
239$(OBJS)\gizmoslib_editlbox.obj: ../../src/gizmos\editlbox.cpp
240 $(CXX) -q -c -P -o$@ $(GIZMOSLIB_CXXFLAGS) $**
241
242$(OBJS)\gizmoslib_ledctrl.obj: ../../src/gizmos\ledctrl.cpp
243 $(CXX) -q -c -P -o$@ $(GIZMOSLIB_CXXFLAGS) $**
244
245$(OBJS)\gizmoslib_multicell.obj: ../../src/gizmos\multicell.cpp
246 $(CXX) -q -c -P -o$@ $(GIZMOSLIB_CXXFLAGS) $**
247
248$(OBJS)\gizmoslib_splittree.obj: ../../src/gizmos\splittree.cpp
249 $(CXX) -q -c -P -o$@ $(GIZMOSLIB_CXXFLAGS) $**
250
251$(OBJS)\gizmoslib_statpict.obj: ../../src/gizmos\statpict.cpp
252 $(CXX) -q -c -P -o$@ $(GIZMOSLIB_CXXFLAGS) $**
b14abf14 253