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