]> git.saurik.com Git - wxWidgets.git/blame_incremental - samples/widgets/makefile.bcc
IsExposed() needs to reverse the direction in RTL.
[wxWidgets.git] / samples / widgets / makefile.bcc
... / ...
CommitLineData
1# =========================================================================
2# This makefile was generated by
3# Bakefile 0.2.0 (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
13BCCDIR = $(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
24WX_RELEASE_NODOT = 27
25OBJS = \
26 bcc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)
27LIBDIRNAME = .\..\..\lib\bcc_$(LIBTYPE_SUFFIX)$(CFG)
28SETUPHDIR = \
29 $(LIBDIRNAME)\$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)
30WIDGETS_CXXFLAGS = $(__RUNTIME_LIBS_7) -I$(BCCDIR)\include $(__DEBUGINFO) \
31 $(__OPTIMIZEFLAG_2) $(__THREADSFLAG_6) -D__WXMSW__ $(__WXUNIV_DEFINE_p) \
32 $(__DEBUG_DEFINE_p) $(__EXCEPTIONS_DEFINE_p) $(__RTTI_DEFINE_p) \
33 $(__THREAD_DEFINE_p) $(__UNICODE_DEFINE_p) $(__MSLU_DEFINE_p) \
34 $(__GFXCTX_DEFINE_p) -I$(SETUPHDIR) -I.\..\..\include -I. $(__DLLFLAG_p) \
35 -I.\..\..\samples -DNOPCH $(CPPFLAGS) $(CXXFLAGS)
36WIDGETS_OBJECTS = \
37 $(OBJS)\widgets_bmpcombobox.obj \
38 $(OBJS)\widgets_button.obj \
39 $(OBJS)\widgets_checkbox.obj \
40 $(OBJS)\widgets_clrpicker.obj \
41 $(OBJS)\widgets_combobox.obj \
42 $(OBJS)\widgets_datepick.obj \
43 $(OBJS)\widgets_dirctrl.obj \
44 $(OBJS)\widgets_dirpicker.obj \
45 $(OBJS)\widgets_filepicker.obj \
46 $(OBJS)\widgets_fontpicker.obj \
47 $(OBJS)\widgets_gauge.obj \
48 $(OBJS)\widgets_hyperlnk.obj \
49 $(OBJS)\widgets_listbox.obj \
50 $(OBJS)\widgets_notebook.obj \
51 $(OBJS)\widgets_odcombobox.obj \
52 $(OBJS)\widgets_radiobox.obj \
53 $(OBJS)\widgets_slider.obj \
54 $(OBJS)\widgets_spinbtn.obj \
55 $(OBJS)\widgets_static.obj \
56 $(OBJS)\widgets_textctrl.obj \
57 $(OBJS)\widgets_toggle.obj \
58 $(OBJS)\widgets_widgets.obj
59
60### Conditionally set variables: ###
61
62!if "$(USE_GUI)" == "0"
63PORTNAME = base
64!endif
65!if "$(USE_GUI)" == "1"
66PORTNAME = msw
67!endif
68!if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
69WXDEBUGFLAG = d
70!endif
71!if "$(DEBUG_FLAG)" == "1"
72WXDEBUGFLAG = d
73!endif
74!if "$(UNICODE)" == "1"
75WXUNICODEFLAG = u
76!endif
77!if "$(WXUNIV)" == "1"
78WXUNIVNAME = univ
79!endif
80!if "$(SHARED)" == "1"
81WXDLLFLAG = dll
82!endif
83!if "$(SHARED)" == "0"
84LIBTYPE_SUFFIX = lib
85!endif
86!if "$(SHARED)" == "1"
87LIBTYPE_SUFFIX = dll
88!endif
89!if "$(MONOLITHIC)" == "0"
90EXTRALIBS_FOR_BASE =
91!endif
92!if "$(MONOLITHIC)" == "1"
93EXTRALIBS_FOR_BASE =
94!endif
95!if "$(BUILD)" == "debug"
96__OPTIMIZEFLAG_2 = -Od
97!endif
98!if "$(BUILD)" == "release"
99__OPTIMIZEFLAG_2 = -O2
100!endif
101!if "$(USE_THREADS)" == "0"
102__THREADSFLAG_5 =
103!endif
104!if "$(USE_THREADS)" == "1"
105__THREADSFLAG_5 = mt
106!endif
107!if "$(USE_THREADS)" == "0"
108__THREADSFLAG_6 =
109!endif
110!if "$(USE_THREADS)" == "1"
111__THREADSFLAG_6 = -tWM
112!endif
113!if "$(RUNTIME_LIBS)" == "dynamic"
114__RUNTIME_LIBS_7 = -tWR
115!endif
116!if "$(RUNTIME_LIBS)" == "static"
117__RUNTIME_LIBS_7 =
118!endif
119!if "$(RUNTIME_LIBS)" == "dynamic"
120__RUNTIME_LIBS_8 = i
121!endif
122!if "$(RUNTIME_LIBS)" == "static"
123__RUNTIME_LIBS_8 =
124!endif
125!if "$(WXUNIV)" == "1"
126__WXUNIV_DEFINE_p = -D__WXUNIVERSAL__
127!endif
128!if "$(WXUNIV)" == "1"
129__WXUNIV_DEFINE_p_1 = -d__WXUNIVERSAL__
130!endif
131!if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
132__DEBUG_DEFINE_p = -D__WXDEBUG__
133!endif
134!if "$(DEBUG_FLAG)" == "1"
135__DEBUG_DEFINE_p = -D__WXDEBUG__
136!endif
137!if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
138__DEBUG_DEFINE_p_1 = -d__WXDEBUG__
139!endif
140!if "$(DEBUG_FLAG)" == "1"
141__DEBUG_DEFINE_p_1 = -d__WXDEBUG__
142!endif
143!if "$(USE_EXCEPTIONS)" == "0"
144__EXCEPTIONS_DEFINE_p = -DwxNO_EXCEPTIONS
145!endif
146!if "$(USE_EXCEPTIONS)" == "0"
147__EXCEPTIONS_DEFINE_p_1 = -dwxNO_EXCEPTIONS
148!endif
149!if "$(USE_RTTI)" == "0"
150__RTTI_DEFINE_p = -DwxNO_RTTI
151!endif
152!if "$(USE_RTTI)" == "0"
153__RTTI_DEFINE_p_1 = -dwxNO_RTTI
154!endif
155!if "$(USE_THREADS)" == "0"
156__THREAD_DEFINE_p = -DwxNO_THREADS
157!endif
158!if "$(USE_THREADS)" == "0"
159__THREAD_DEFINE_p_1 = -dwxNO_THREADS
160!endif
161!if "$(UNICODE)" == "1"
162__UNICODE_DEFINE_p = -D_UNICODE
163!endif
164!if "$(UNICODE)" == "1"
165__UNICODE_DEFINE_p_1 = -d_UNICODE
166!endif
167!if "$(MSLU)" == "1"
168__MSLU_DEFINE_p = -DwxUSE_UNICODE_MSLU=1
169!endif
170!if "$(MSLU)" == "1"
171__MSLU_DEFINE_p_1 = -dwxUSE_UNICODE_MSLU=1
172!endif
173!if "$(USE_GDIPLUS)" == "1"
174__GFXCTX_DEFINE_p = -DwxUSE_GRAPHICS_CONTEXT=1
175!endif
176!if "$(USE_GDIPLUS)" == "1"
177__GFXCTX_DEFINE_p_1 = -dwxUSE_GRAPHICS_CONTEXT=1
178!endif
179!if "$(SHARED)" == "1"
180__DLLFLAG_p = -DWXUSINGDLL
181!endif
182!if "$(SHARED)" == "1"
183__DLLFLAG_p_1 = -dWXUSINGDLL
184!endif
185!if "$(MONOLITHIC)" == "0"
186__WXLIB_XML_p = \
187 wxbase$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_xml.lib
188!endif
189!if "$(MONOLITHIC)" == "0"
190__WXLIB_ADV_p = \
191 wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_adv.lib
192!endif
193!if "$(MONOLITHIC)" == "0"
194__WXLIB_HTML_p = \
195 wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_html.lib
196!endif
197!if "$(MONOLITHIC)" == "0"
198__WXLIB_CORE_p = \
199 wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_core.lib
200!endif
201!if "$(MONOLITHIC)" == "0"
202__WXLIB_BASE_p = \
203 wxbase$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib
204!endif
205!if "$(MONOLITHIC)" == "1"
206__WXLIB_MONO_p = \
207 wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib
208!endif
209!if "$(USE_GUI)" == "1"
210__LIB_TIFF_p = wxtiff$(WXDEBUGFLAG).lib
211!endif
212!if "$(USE_GUI)" == "1"
213__LIB_JPEG_p = wxjpeg$(WXDEBUGFLAG).lib
214!endif
215!if "$(USE_GUI)" == "1"
216__LIB_PNG_p = wxpng$(WXDEBUGFLAG).lib
217!endif
218!if "$(MSLU)" == "1"
219__UNICOWS_LIB_p = unicows.lib
220!endif
221!if "$(USE_GDIPLUS)" == "1"
222__GDIPLUS_LIB_p = gdiplus.lib
223!endif
224!if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
225__DEBUGINFO = -v
226!endif
227!if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
228__DEBUGINFO = -v-
229!endif
230!if "$(DEBUG_INFO)" == "0"
231__DEBUGINFO = -v-
232!endif
233!if "$(DEBUG_INFO)" == "1"
234__DEBUGINFO = -v
235!endif
236
237
238all: $(OBJS)
239$(OBJS):
240 -if not exist $(OBJS) mkdir $(OBJS)
241
242### Targets: ###
243
244all: $(OBJS)\widgets.exe
245
246clean:
247 -if exist $(OBJS)\*.obj del $(OBJS)\*.obj
248 -if exist $(OBJS)\*.res del $(OBJS)\*.res
249 -if exist $(OBJS)\*.csm del $(OBJS)\*.csm
250 -if exist $(OBJS)\widgets.exe del $(OBJS)\widgets.exe
251 -if exist $(OBJS)\widgets.tds del $(OBJS)\widgets.tds
252 -if exist $(OBJS)\widgets.ilc del $(OBJS)\widgets.ilc
253 -if exist $(OBJS)\widgets.ild del $(OBJS)\widgets.ild
254 -if exist $(OBJS)\widgets.ilf del $(OBJS)\widgets.ilf
255 -if exist $(OBJS)\widgets.ils del $(OBJS)\widgets.ils
256
257$(OBJS)\widgets.exe: $(WIDGETS_OBJECTS) $(OBJS)\widgets_sample.res
258 ilink32 -Tpe -q $(LDFLAGS) -L$(BCCDIR)\lib -L$(BCCDIR)\lib\psdk $(__DEBUGINFO) -L$(LIBDIRNAME) -aa @&&|
259 c0w32.obj $(WIDGETS_OBJECTS),$@,, $(__WXLIB_XML_p) $(__WXLIB_ADV_p) $(__WXLIB_HTML_p) $(__WXLIB_CORE_p) $(__WXLIB_BASE_p) $(__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) $(__GDIPLUS_LIB_p) ole2w32.lib oleacc.lib odbc32.lib import32.lib cw32$(__THREADSFLAG_5)$(__RUNTIME_LIBS_8).lib,, $(OBJS)\widgets_sample.res
260|
261
262$(OBJS)\widgets_bmpcombobox.obj: .\bmpcombobox.cpp
263 $(CXX) -q -c -P -o$@ $(WIDGETS_CXXFLAGS) $**
264
265$(OBJS)\widgets_button.obj: .\button.cpp
266 $(CXX) -q -c -P -o$@ $(WIDGETS_CXXFLAGS) $**
267
268$(OBJS)\widgets_checkbox.obj: .\checkbox.cpp
269 $(CXX) -q -c -P -o$@ $(WIDGETS_CXXFLAGS) $**
270
271$(OBJS)\widgets_clrpicker.obj: .\clrpicker.cpp
272 $(CXX) -q -c -P -o$@ $(WIDGETS_CXXFLAGS) $**
273
274$(OBJS)\widgets_combobox.obj: .\combobox.cpp
275 $(CXX) -q -c -P -o$@ $(WIDGETS_CXXFLAGS) $**
276
277$(OBJS)\widgets_datepick.obj: .\datepick.cpp
278 $(CXX) -q -c -P -o$@ $(WIDGETS_CXXFLAGS) $**
279
280$(OBJS)\widgets_dirctrl.obj: .\dirctrl.cpp
281 $(CXX) -q -c -P -o$@ $(WIDGETS_CXXFLAGS) $**
282
283$(OBJS)\widgets_dirpicker.obj: .\dirpicker.cpp
284 $(CXX) -q -c -P -o$@ $(WIDGETS_CXXFLAGS) $**
285
286$(OBJS)\widgets_filepicker.obj: .\filepicker.cpp
287 $(CXX) -q -c -P -o$@ $(WIDGETS_CXXFLAGS) $**
288
289$(OBJS)\widgets_fontpicker.obj: .\fontpicker.cpp
290 $(CXX) -q -c -P -o$@ $(WIDGETS_CXXFLAGS) $**
291
292$(OBJS)\widgets_gauge.obj: .\gauge.cpp
293 $(CXX) -q -c -P -o$@ $(WIDGETS_CXXFLAGS) $**
294
295$(OBJS)\widgets_hyperlnk.obj: .\hyperlnk.cpp
296 $(CXX) -q -c -P -o$@ $(WIDGETS_CXXFLAGS) $**
297
298$(OBJS)\widgets_listbox.obj: .\listbox.cpp
299 $(CXX) -q -c -P -o$@ $(WIDGETS_CXXFLAGS) $**
300
301$(OBJS)\widgets_notebook.obj: .\notebook.cpp
302 $(CXX) -q -c -P -o$@ $(WIDGETS_CXXFLAGS) $**
303
304$(OBJS)\widgets_odcombobox.obj: .\odcombobox.cpp
305 $(CXX) -q -c -P -o$@ $(WIDGETS_CXXFLAGS) $**
306
307$(OBJS)\widgets_radiobox.obj: .\radiobox.cpp
308 $(CXX) -q -c -P -o$@ $(WIDGETS_CXXFLAGS) $**
309
310$(OBJS)\widgets_slider.obj: .\slider.cpp
311 $(CXX) -q -c -P -o$@ $(WIDGETS_CXXFLAGS) $**
312
313$(OBJS)\widgets_spinbtn.obj: .\spinbtn.cpp
314 $(CXX) -q -c -P -o$@ $(WIDGETS_CXXFLAGS) $**
315
316$(OBJS)\widgets_static.obj: .\static.cpp
317 $(CXX) -q -c -P -o$@ $(WIDGETS_CXXFLAGS) $**
318
319$(OBJS)\widgets_textctrl.obj: .\textctrl.cpp
320 $(CXX) -q -c -P -o$@ $(WIDGETS_CXXFLAGS) $**
321
322$(OBJS)\widgets_toggle.obj: .\toggle.cpp
323 $(CXX) -q -c -P -o$@ $(WIDGETS_CXXFLAGS) $**
324
325$(OBJS)\widgets_widgets.obj: .\widgets.cpp
326 $(CXX) -q -c -P -o$@ $(WIDGETS_CXXFLAGS) $**
327
328$(OBJS)\widgets_sample.res: .\..\sample.rc
329 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) $(__MSLU_DEFINE_p_1) $(__GFXCTX_DEFINE_p_1) -i$(SETUPHDIR) -i.\..\..\include -i. $(__DLLFLAG_p_1) -i.\..\..\samples -dNOPCH $**
330