]> git.saurik.com Git - wxWidgets.git/blob - contrib/build/gizmos/makefile.bcc
mark slider as being transparent, otherwise it has ugly solid grey background when...
[wxWidgets.git] / contrib / build / gizmos / makefile.bcc
1 # =========================================================================
2 # This makefile was generated by
3 # Bakefile 0.1.8 (http://bakefile.sourceforge.net)
4 # Do not modify, all changes will be overwritten!
5 # =========================================================================
6
7 .autodepend
8
9 !ifndef BCCDIR
10 !ifndef MAKEDIR
11 !error Your Borland compiler does not define MAKEDIR. Please define the BCCDIR variable, e.g. BCCDIR=d:\bc4
12 !endif
13 BCCDIR = $(MAKEDIR)\..
14 !endif
15
16 !include ../../../build/msw/config.bcc
17
18 # -------------------------------------------------------------------------
19 # Do not modify the rest of this file!
20 # -------------------------------------------------------------------------
21
22 ### Variables: ###
23
24 WX_RELEASE_NODOT = 25
25 WX_VERSION_NODOT = $(WX_RELEASE_NODOT)5
26 OBJS = \
27 bcc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)
28 LIBDIRNAME = ..\..\src\gizmos\..\..\..\lib\bcc_$(LIBTYPE_SUFFIX)$(CFG)
29 SETUPHDIR = \
30 $(LIBDIRNAME)\$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)
31 GIZMOSDLL_CXXFLAGS = $(__RUNTIME_LIBS) -I$(BCCDIR)\include $(__DEBUGINFO) \
32 $(__OPTIMIZEFLAG) $(__THREADSFLAG) -D__WXMSW__ $(__WXUNIV_DEFINE_p) \
33 $(__DEBUG_DEFINE_p) $(__EXCEPTIONS_DEFINE_p) $(__RTTI_DEFINE_p) \
34 $(__THREAD_DEFINE_p) $(__UNICODE_DEFINE_p) \
35 -I..\..\src\gizmos\..\..\..\include -I$(SETUPHDIR) \
36 -I..\..\src\gizmos\..\..\include -DWXUSINGDLL -DWXMAKINGDLL_GIZMOS -Hu \
37 -H=$(OBJS)\wxprec_gizmosdll.csm $(CPPFLAGS) $(CXXFLAGS)
38 GIZMOSDLL_OBJECTS = \
39 $(OBJS)\gizmosdll_dummy.obj \
40 $(OBJS)\gizmosdll_dynamicsash.obj \
41 $(OBJS)\gizmosdll_editlbox.obj \
42 $(OBJS)\gizmosdll_ledctrl.obj \
43 $(OBJS)\gizmosdll_multicell.obj \
44 $(OBJS)\gizmosdll_splittree.obj \
45 $(OBJS)\gizmosdll_statpict.obj \
46 $(OBJS)\gizmosdll_xh_statpict.obj
47 GIZMOSLIB_CXXFLAGS = $(__RUNTIME_LIBS) -I$(BCCDIR)\include $(__DEBUGINFO) \
48 $(__OPTIMIZEFLAG) $(__THREADSFLAG) -D__WXMSW__ $(__WXUNIV_DEFINE_p) \
49 $(__DEBUG_DEFINE_p) $(__EXCEPTIONS_DEFINE_p) $(__RTTI_DEFINE_p) \
50 $(__THREAD_DEFINE_p) $(__UNICODE_DEFINE_p) \
51 -I..\..\src\gizmos\..\..\..\include -I$(SETUPHDIR) \
52 -I..\..\src\gizmos\..\..\include -Hu -H=$(OBJS)\wxprec_gizmoslib.csm \
53 $(CPPFLAGS) $(CXXFLAGS)
54 GIZMOSLIB_OBJECTS = \
55 $(OBJS)\gizmoslib_dummy.obj \
56 $(OBJS)\gizmoslib_dynamicsash.obj \
57 $(OBJS)\gizmoslib_editlbox.obj \
58 $(OBJS)\gizmoslib_ledctrl.obj \
59 $(OBJS)\gizmoslib_multicell.obj \
60 $(OBJS)\gizmoslib_splittree.obj \
61 $(OBJS)\gizmoslib_statpict.obj \
62 $(OBJS)\gizmoslib_xh_statpict.obj
63
64 ### Conditionally set variables: ###
65
66 !if "$(USE_GUI)" == "0"
67 PORTNAME = base
68 !endif
69 !if "$(USE_GUI)" == "1"
70 PORTNAME = msw
71 !endif
72 !if "$(OFFICIAL_BUILD)" == "0"
73 VENDORTAG = _$(VENDOR)
74 !endif
75 !if "$(OFFICIAL_BUILD)" == "1"
76 VENDORTAG =
77 !endif
78 !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
79 WXDEBUGFLAG = d
80 !endif
81 !if "$(DEBUG_FLAG)" == "1"
82 WXDEBUGFLAG = d
83 !endif
84 !if "$(UNICODE)" == "1"
85 WXUNICODEFLAG = u
86 !endif
87 !if "$(WXUNIV)" == "1"
88 WXUNIVNAME = univ
89 !endif
90 !if "$(SHARED)" == "1"
91 WXDLLFLAG = dll
92 !endif
93 !if "$(SHARED)" == "0"
94 LIBTYPE_SUFFIX = lib
95 !endif
96 !if "$(SHARED)" == "1"
97 LIBTYPE_SUFFIX = dll
98 !endif
99 !if "$(MONOLITHIC)" == "0"
100 EXTRALIBS_FOR_BASE =
101 !endif
102 !if "$(MONOLITHIC)" == "1"
103 EXTRALIBS_FOR_BASE =
104 !endif
105 !if "$(SHARED)" == "1"
106 __gizmosdll___depname = \
107 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_gizmos_bcc$(VENDORTAG).dll
108 !endif
109 !if "$(USE_THREADS)" == "0"
110 __THREADSFLAG_6 =
111 !endif
112 !if "$(USE_THREADS)" == "1"
113 __THREADSFLAG_6 = mt
114 !endif
115 !if "$(RUNTIME_LIBS)" == "dynamic"
116 __RUNTIME_LIBS_9 = i
117 !endif
118 !if "$(RUNTIME_LIBS)" == "static"
119 __RUNTIME_LIBS_9 =
120 !endif
121 !if "$(WXUNIV)" == "1"
122 __WXUNIV_DEFINE_p_1 = -d__WXUNIVERSAL__
123 !endif
124 !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
125 __DEBUG_DEFINE_p_1 = -d__WXDEBUG__
126 !endif
127 !if "$(DEBUG_FLAG)" == "1"
128 __DEBUG_DEFINE_p_1 = -d__WXDEBUG__
129 !endif
130 !if "$(USE_EXCEPTIONS)" == "0"
131 __EXCEPTIONS_DEFINE_p_1 = -dwxNO_EXCEPTIONS
132 !endif
133 !if "$(USE_RTTI)" == "0"
134 __RTTI_DEFINE_p_1 = -dwxNO_RTTI
135 !endif
136 !if "$(USE_THREADS)" == "0"
137 __THREAD_DEFINE_p_1 = -dwxNO_THREADS
138 !endif
139 !if "$(UNICODE)" == "1"
140 __UNICODE_DEFINE_p_1 = -d_UNICODE
141 !endif
142 !if "$(MONOLITHIC)" == "1"
143 __WXLIB_MONO_p = \
144 wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib
145 !endif
146 !if "$(USE_GUI)" == "1"
147 __LIB_TIFF_p = wxtiff$(WXDEBUGFLAG).lib
148 !endif
149 !if "$(USE_GUI)" == "1"
150 __LIB_JPEG_p = wxjpeg$(WXDEBUGFLAG).lib
151 !endif
152 !if "$(USE_GUI)" == "1"
153 __LIB_PNG_p = wxpng$(WXDEBUGFLAG).lib
154 !endif
155 !if "$(MSLU)" == "1"
156 __UNICOWS_LIB_p = unicows.lib
157 !endif
158 !if "$(MONOLITHIC)" == "0"
159 __WXLIB_BASE_p = \
160 wxbase$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib
161 !endif
162 !if "$(MONOLITHIC)" == "0"
163 __WXLIB_CORE_p = \
164 wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_core.lib
165 !endif
166 !if "$(SHARED)" == "0"
167 __gizmoslib___depname = \
168 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_gizmos.lib
169 !endif
170 !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
171 __DEBUGINFO = -v
172 !endif
173 !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
174 __DEBUGINFO = -v-
175 !endif
176 !if "$(DEBUG_INFO)" == "0"
177 __DEBUGINFO = -v-
178 !endif
179 !if "$(DEBUG_INFO)" == "1"
180 __DEBUGINFO = -v
181 !endif
182 !if "$(BUILD)" == "debug"
183 __OPTIMIZEFLAG = -Od
184 !endif
185 !if "$(BUILD)" == "release"
186 __OPTIMIZEFLAG = -O2
187 !endif
188 !if "$(USE_THREADS)" == "0"
189 __THREADSFLAG =
190 !endif
191 !if "$(USE_THREADS)" == "1"
192 __THREADSFLAG = -tWM
193 !endif
194 !if "$(RUNTIME_LIBS)" == "dynamic"
195 __RUNTIME_LIBS = -tWR
196 !endif
197 !if "$(RUNTIME_LIBS)" == "static"
198 __RUNTIME_LIBS =
199 !endif
200 !if "$(WXUNIV)" == "1"
201 __WXUNIV_DEFINE_p = -D__WXUNIVERSAL__
202 !endif
203 !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
204 __DEBUG_DEFINE_p = -D__WXDEBUG__
205 !endif
206 !if "$(DEBUG_FLAG)" == "1"
207 __DEBUG_DEFINE_p = -D__WXDEBUG__
208 !endif
209 !if "$(USE_EXCEPTIONS)" == "0"
210 __EXCEPTIONS_DEFINE_p = -DwxNO_EXCEPTIONS
211 !endif
212 !if "$(USE_RTTI)" == "0"
213 __RTTI_DEFINE_p = -DwxNO_RTTI
214 !endif
215 !if "$(USE_THREADS)" == "0"
216 __THREAD_DEFINE_p = -DwxNO_THREADS
217 !endif
218 !if "$(UNICODE)" == "1"
219 __UNICODE_DEFINE_p = -D_UNICODE
220 !endif
221
222
223 all: $(OBJS)
224 $(OBJS):
225 -if not exist $(OBJS) mkdir $(OBJS)
226
227 ### Targets: ###
228
229 all: $(__gizmosdll___depname) $(__gizmoslib___depname)
230
231 clean:
232 -if exist $(OBJS)\*.obj del $(OBJS)\*.obj
233 -if exist $(OBJS)\*.res del $(OBJS)\*.res
234 -if exist $(OBJS)\*.csm del $(OBJS)\*.csm
235 -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
236 -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
237 -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
238 -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
239 -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
240 -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
241 -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
242 -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
243
244 !if "$(SHARED)" == "1"
245 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_gizmos_bcc$(VENDORTAG).dll: $(OBJS)\gizmosdll_dummy.obj $(GIZMOSDLL_OBJECTS) $(OBJS)\gizmosdll_version.res
246 ilink32 -Tpd -q $(LDFLAGS) -L$(BCCDIR)\lib -L$(BCCDIR)\lib\psdk $(__DEBUGINFO) -L$(LIBDIRNAME) @&&|
247 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 cw32$(__THREADSFLAG_6)$(__RUNTIME_LIBS_9).lib,, $(OBJS)\gizmosdll_version.res
248 |
249 implib -f $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_gizmos $@
250 !endif
251
252 !if "$(SHARED)" == "0"
253 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_gizmos.lib: $(OBJS)\gizmoslib_dummy.obj $(GIZMOSLIB_OBJECTS)
254 if exist $@ del $@
255 tlib /a /p4096 $@ @&&|
256 $(GIZMOSLIB_OBJECTS)
257 |
258 !endif
259
260 $(OBJS)\gizmosdll_dummy.obj: ../../src/gizmos\..\..\..\src\msw\dummy.cpp
261 $(CXX) -q -c -P -o$@ $(GIZMOSDLL_CXXFLAGS) -H $**
262
263 $(OBJS)\gizmosdll_version.res: ../../src/gizmos\..\..\..\src\msw\version.rc
264 brcc32 -32 -r -fo$@ -i$(BCCDIR)\include -d__WXMSW__ $(__WXUNIV_DEFINE_p_1) $(__DEBUG_DEFINE_p_1) $(__EXCEPTIONS_DEFINE_p_1) $(__RTTI_DEFINE_p_1) $(__THREAD_DEFINE_p_1) $(__UNICODE_DEFINE_p_1) -i..\..\src\gizmos\..\..\..\include -i$(SETUPHDIR) -dWXDLLNAME=wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_gizmos_bcc$(VENDORTAG) $**
265
266 $(OBJS)\gizmosdll_dynamicsash.obj: ../../src/gizmos\dynamicsash.cpp
267 $(CXX) -q -c -P -o$@ $(GIZMOSDLL_CXXFLAGS) $**
268
269 $(OBJS)\gizmosdll_editlbox.obj: ../../src/gizmos\editlbox.cpp
270 $(CXX) -q -c -P -o$@ $(GIZMOSDLL_CXXFLAGS) $**
271
272 $(OBJS)\gizmosdll_ledctrl.obj: ../../src/gizmos\ledctrl.cpp
273 $(CXX) -q -c -P -o$@ $(GIZMOSDLL_CXXFLAGS) $**
274
275 $(OBJS)\gizmosdll_multicell.obj: ../../src/gizmos\multicell.cpp
276 $(CXX) -q -c -P -o$@ $(GIZMOSDLL_CXXFLAGS) $**
277
278 $(OBJS)\gizmosdll_splittree.obj: ../../src/gizmos\splittree.cpp
279 $(CXX) -q -c -P -o$@ $(GIZMOSDLL_CXXFLAGS) $**
280
281 $(OBJS)\gizmosdll_statpict.obj: ../../src/gizmos\statpict.cpp
282 $(CXX) -q -c -P -o$@ $(GIZMOSDLL_CXXFLAGS) $**
283
284 $(OBJS)\gizmosdll_xh_statpict.obj: ../../src/gizmos\xh_statpict.cpp
285 $(CXX) -q -c -P -o$@ $(GIZMOSDLL_CXXFLAGS) $**
286
287 $(OBJS)\gizmoslib_dummy.obj: ../../src/gizmos\..\..\..\src\msw\dummy.cpp
288 $(CXX) -q -c -P -o$@ $(GIZMOSLIB_CXXFLAGS) -H $**
289
290 $(OBJS)\gizmoslib_dynamicsash.obj: ../../src/gizmos\dynamicsash.cpp
291 $(CXX) -q -c -P -o$@ $(GIZMOSLIB_CXXFLAGS) $**
292
293 $(OBJS)\gizmoslib_editlbox.obj: ../../src/gizmos\editlbox.cpp
294 $(CXX) -q -c -P -o$@ $(GIZMOSLIB_CXXFLAGS) $**
295
296 $(OBJS)\gizmoslib_ledctrl.obj: ../../src/gizmos\ledctrl.cpp
297 $(CXX) -q -c -P -o$@ $(GIZMOSLIB_CXXFLAGS) $**
298
299 $(OBJS)\gizmoslib_multicell.obj: ../../src/gizmos\multicell.cpp
300 $(CXX) -q -c -P -o$@ $(GIZMOSLIB_CXXFLAGS) $**
301
302 $(OBJS)\gizmoslib_splittree.obj: ../../src/gizmos\splittree.cpp
303 $(CXX) -q -c -P -o$@ $(GIZMOSLIB_CXXFLAGS) $**
304
305 $(OBJS)\gizmoslib_statpict.obj: ../../src/gizmos\statpict.cpp
306 $(CXX) -q -c -P -o$@ $(GIZMOSLIB_CXXFLAGS) $**
307
308 $(OBJS)\gizmoslib_xh_statpict.obj: ../../src/gizmos\xh_statpict.cpp
309 $(CXX) -q -c -P -o$@ $(GIZMOSLIB_CXXFLAGS) $**
310