]> git.saurik.com Git - wxWidgets.git/blame - samples/widgets/makefile.bcc
Applied colspan corrections, #15274 and #15275 (dghart)
[wxWidgets.git] / samples / widgets / makefile.bcc
CommitLineData
f82b7036
KO
1# =========================================================================\r
2# This makefile was generated by\r
00eef16d 3# Bakefile 0.2.9 (http://www.bakefile.org)\r
f82b7036
KO
4# Do not modify, all changes will be overwritten!\r
5# =========================================================================\r
6\r
7.autodepend\r
8\r
9!ifndef BCCDIR\r
10!ifndef MAKEDIR\r
11!error Your Borland compiler does not define MAKEDIR. Please define the BCCDIR variable, e.g. BCCDIR=d:\bc4\r
12!endif\r
13BCCDIR = $(MAKEDIR)\..\r
14!endif\r
15\r
16!include ../../build/msw/config.bcc\r
17\r
18# -------------------------------------------------------------------------\r
19# Do not modify the rest of this file!\r
20# -------------------------------------------------------------------------\r
21\r
22### Variables: ###\r
23\r
24WX_RELEASE_NODOT = 29\r
25COMPILER_PREFIX = bcc\r
26OBJS = \\r
14b682f7
VZ
27 $(COMPILER_PREFIX)$(COMPILER_VERSION)_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)
28LIBDIRNAME = \
29 .\..\..\lib\$(COMPILER_PREFIX)$(COMPILER_VERSION)_$(LIBTYPE_SUFFIX)$(CFG)
f82b7036
KO
30SETUPHDIR = \\r
31 $(LIBDIRNAME)\$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)\r
32WIDGETS_CXXFLAGS = $(__RUNTIME_LIBS_7) -I$(BCCDIR)\include $(__DEBUGINFO) \\r
22a3b6e4
VZ
33 $(__OPTIMIZEFLAG_2) $(__THREADSFLAG_6) -D__WX$(TOOLKIT)__ \
34 $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) $(__NDEBUG_DEFINE_p) \
35 $(__EXCEPTIONS_DEFINE_p) $(__RTTI_DEFINE_p) $(__THREAD_DEFINE_p) \
36 $(__UNICODE_DEFINE_p) $(__MSLU_DEFINE_p) -I$(SETUPHDIR) -I.\..\..\include \
f82b7036
KO
37 $(____CAIRO_INCLUDEDIR_FILENAMES_p) -I. $(__DLLFLAG_p) -I.\..\..\samples \\r
38 -DNOPCH $(CPPFLAGS) $(CXXFLAGS)\r
39WIDGETS_OBJECTS = \\r
40 $(OBJS)\widgets_bmpcombobox.obj \\r
41 $(OBJS)\widgets_button.obj \\r
42 $(OBJS)\widgets_checkbox.obj \\r
43 $(OBJS)\widgets_choice.obj \\r
44 $(OBJS)\widgets_clrpicker.obj \\r
45 $(OBJS)\widgets_combobox.obj \\r
46 $(OBJS)\widgets_datepick.obj \\r
47 $(OBJS)\widgets_dirctrl.obj \\r
48 $(OBJS)\widgets_dirpicker.obj \\r
49 $(OBJS)\widgets_editlbox.obj \\r
50 $(OBJS)\widgets_filectrl.obj \\r
51 $(OBJS)\widgets_filepicker.obj \\r
52 $(OBJS)\widgets_fontpicker.obj \\r
53 $(OBJS)\widgets_gauge.obj \\r
54 $(OBJS)\widgets_hyperlnk.obj \\r
55 $(OBJS)\widgets_itemcontainer.obj \\r
56 $(OBJS)\widgets_listbox.obj \\r
57 $(OBJS)\widgets_notebook.obj \\r
58 $(OBJS)\widgets_odcombobox.obj \\r
59 $(OBJS)\widgets_radiobox.obj \\r
60 $(OBJS)\widgets_searchctrl.obj \\r
61 $(OBJS)\widgets_slider.obj \\r
62 $(OBJS)\widgets_spinbtn.obj \\r
63 $(OBJS)\widgets_static.obj \\r
64 $(OBJS)\widgets_statbmp.obj \\r
65 $(OBJS)\widgets_textctrl.obj \\r
51ec29ea 66 $(OBJS)\widgets_timepick.obj \\r
f82b7036
KO
67 $(OBJS)\widgets_toggle.obj \\r
68 $(OBJS)\widgets_widgets.obj\r
69\r
70### Conditionally set variables: ###\r
71\r
22a3b6e4
VZ
72!if "$(TOOLKIT)" == "GTK"
73WIN32_TOOLKIT_LOWERCASE = gtk
74!endif
75!if "$(TOOLKIT)" == "MSW"
76WIN32_TOOLKIT_LOWERCASE = msw
77!endif
f82b7036
KO
78!if "$(USE_GUI)" == "0"\r
79PORTNAME = base\r
80!endif\r
81!if "$(USE_GUI)" == "1"\r
22a3b6e4
VZ
82PORTNAME = $(WIN32_TOOLKIT_LOWERCASE)$(TOOLKIT_VERSION)
83!endif
84!if "$(TOOLKIT)" == "MAC"
85WXBASEPORT = _carbon
86!endif
14b682f7
VZ
87!if "$(OFFICIAL_BUILD)" == "1"
88COMPILER_VERSION = ERROR-COMPILER-VERSION-MUST-BE-SET-FOR-OFFICIAL-BUILD
22a3b6e4 89!endif\r
f82b7036
KO
90!if "$(BUILD)" == "debug"\r
91WXDEBUGFLAG = d\r
92!endif\r
93!if "$(UNICODE)" == "1"\r
94WXUNICODEFLAG = u\r
95!endif\r
96!if "$(WXUNIV)" == "1"\r
97WXUNIVNAME = univ\r
98!endif\r
99!if "$(SHARED)" == "1"\r
100WXDLLFLAG = dll\r
101!endif\r
102!if "$(SHARED)" == "0"\r
103LIBTYPE_SUFFIX = lib\r
104!endif\r
105!if "$(SHARED)" == "1"\r
106LIBTYPE_SUFFIX = dll\r
107!endif\r
108!if "$(MONOLITHIC)" == "0"\r
109EXTRALIBS_FOR_BASE = \r
110!endif\r
111!if "$(MONOLITHIC)" == "1"\r
51ec29ea 112EXTRALIBS_FOR_BASE = \r
f82b7036 113!endif\r
22a3b6e4
VZ
114!if "$(TOOLKIT)" == "GTK" && "$(TOOLKIT_VERSION)" == "2"
115LIB_GTK = gtk-win32-2.0.lib gdk-win32-2.0.lib pangocairo-1.0.lib \
116 gdk_pixbuf-2.0.lib cairo.lib pango-1.0.lib gobject-2.0.lib gthread-2.0.lib \
117 glib-2.0.lib
118!endif
f82b7036
KO
119!if "$(BUILD)" == "debug"\r
120__OPTIMIZEFLAG_2 = -Od\r
121!endif\r
122!if "$(BUILD)" == "release"\r
123__OPTIMIZEFLAG_2 = -O2\r
124!endif\r
125!if "$(USE_THREADS)" == "0"\r
126__THREADSFLAG_5 = \r
127!endif\r
128!if "$(USE_THREADS)" == "1"\r
129__THREADSFLAG_5 = mt\r
130!endif\r
131!if "$(USE_THREADS)" == "0"\r
132__THREADSFLAG_6 = \r
133!endif\r
134!if "$(USE_THREADS)" == "1"\r
135__THREADSFLAG_6 = -tWM\r
136!endif\r
137!if "$(RUNTIME_LIBS)" == "dynamic"\r
138__RUNTIME_LIBS_7 = -tWR\r
139!endif\r
140!if "$(RUNTIME_LIBS)" == "static"\r
141__RUNTIME_LIBS_7 = \r
142!endif\r
143!if "$(RUNTIME_LIBS)" == "dynamic"\r
144__RUNTIME_LIBS_8 = i\r
145!endif\r
146!if "$(RUNTIME_LIBS)" == "static"\r
147__RUNTIME_LIBS_8 = \r
148!endif\r
149!if "$(WXUNIV)" == "1"\r
150__WXUNIV_DEFINE_p = -D__WXUNIVERSAL__\r
151!endif\r
152!if "$(WXUNIV)" == "1"\r
153__WXUNIV_DEFINE_p_1 = -d__WXUNIVERSAL__\r
154!endif\r
155!if "$(DEBUG_FLAG)" == "0"\r
156__DEBUG_DEFINE_p = -DwxDEBUG_LEVEL=0\r
157!endif\r
158!if "$(DEBUG_FLAG)" == "0"\r
159__DEBUG_DEFINE_p_1 = -dwxDEBUG_LEVEL=0\r
160!endif\r
00fb97de
KO
161!if "$(BUILD)" == "release"\r
162__NDEBUG_DEFINE_p = -DNDEBUG\r
163!endif\r
164!if "$(BUILD)" == "release"\r
165__NDEBUG_DEFINE_p_1 = -dNDEBUG\r
166!endif\r
f82b7036
KO
167!if "$(USE_EXCEPTIONS)" == "0"\r
168__EXCEPTIONS_DEFINE_p = -DwxNO_EXCEPTIONS\r
169!endif\r
170!if "$(USE_EXCEPTIONS)" == "0"\r
171__EXCEPTIONS_DEFINE_p_1 = -dwxNO_EXCEPTIONS\r
172!endif\r
173!if "$(USE_RTTI)" == "0"\r
174__RTTI_DEFINE_p = -DwxNO_RTTI\r
175!endif\r
176!if "$(USE_RTTI)" == "0"\r
177__RTTI_DEFINE_p_1 = -dwxNO_RTTI\r
178!endif\r
179!if "$(USE_THREADS)" == "0"\r
180__THREAD_DEFINE_p = -DwxNO_THREADS\r
181!endif\r
182!if "$(USE_THREADS)" == "0"\r
183__THREAD_DEFINE_p_1 = -dwxNO_THREADS\r
184!endif\r
185!if "$(UNICODE)" == "0"\r
186__UNICODE_DEFINE_p = -DwxUSE_UNICODE=0\r
187!endif\r
188!if "$(UNICODE)" == "1"\r
189__UNICODE_DEFINE_p = -D_UNICODE\r
190!endif\r
191!if "$(UNICODE)" == "0"\r
192__UNICODE_DEFINE_p_1 = -dwxUSE_UNICODE=0\r
193!endif\r
194!if "$(UNICODE)" == "1"\r
195__UNICODE_DEFINE_p_1 = -d_UNICODE\r
196!endif\r
197!if "$(MSLU)" == "1"\r
198__MSLU_DEFINE_p = -DwxUSE_UNICODE_MSLU=1\r
199!endif\r
200!if "$(MSLU)" == "1"\r
201__MSLU_DEFINE_p_1 = -dwxUSE_UNICODE_MSLU=1\r
202!endif\r
f82b7036
KO
203!if "$(USE_CAIRO)" == "1"\r
204____CAIRO_INCLUDEDIR_FILENAMES_p = -I$(CAIRO_ROOT)\include\cairo\r
205!endif\r
206!if "$(USE_CAIRO)" == "1"\r
207____CAIRO_INCLUDEDIR_FILENAMES_1_p = -i$(CAIRO_ROOT)\include\cairo\r
208!endif\r
209!if "$(SHARED)" == "1"\r
210__DLLFLAG_p = -DWXUSINGDLL\r
211!endif\r
212!if "$(SHARED)" == "1"\r
213__DLLFLAG_p_1 = -dWXUSINGDLL\r
214!endif\r
215!if "$(MONOLITHIC)" == "0"\r
216__WXLIB_ADV_p = \\r
217 wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_adv.lib\r
218!endif\r
219!if "$(MONOLITHIC)" == "0"\r
220__WXLIB_CORE_p = \\r
221 wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_core.lib\r
222!endif\r
223!if "$(MONOLITHIC)" == "0"\r
224__WXLIB_BASE_p = \\r
22a3b6e4 225 wxbase$(WXBASEPORT)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib
f82b7036
KO
226!endif\r
227!if "$(MONOLITHIC)" == "1"\r
228__WXLIB_MONO_p = \\r
229 wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib\r
230!endif\r
231!if "$(USE_GUI)" == "1"\r
232__LIB_TIFF_p = wxtiff$(WXDEBUGFLAG).lib\r
233!endif\r
234!if "$(USE_GUI)" == "1"\r
235__LIB_JPEG_p = wxjpeg$(WXDEBUGFLAG).lib\r
236!endif\r
237!if "$(USE_GUI)" == "1"\r
238__LIB_PNG_p = wxpng$(WXDEBUGFLAG).lib\r
239!endif\r
240!if "$(MSLU)" == "1"\r
241__UNICOWS_LIB_p = unicows.lib\r
242!endif\r
f82b7036
KO
243!if "$(USE_CAIRO)" == "1"\r
244__CAIRO_LIB_p = cairo.lib\r
245!endif\r
246!if "$(USE_CAIRO)" == "1"\r
247____CAIRO_LIBDIR_FILENAMES_p = -L$(CAIRO_ROOT)\lib\r
248!endif\r
249!if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"\r
250__DEBUGINFO = -v\r
251!endif\r
252!if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"\r
253__DEBUGINFO = -v-\r
254!endif\r
255!if "$(DEBUG_INFO)" == "0"\r
256__DEBUGINFO = -v-\r
257!endif\r
258!if "$(DEBUG_INFO)" == "1"\r
259__DEBUGINFO = -v\r
260!endif\r
261\r
262\r
263all: $(OBJS)\r
264$(OBJS):\r
265 -if not exist $(OBJS) mkdir $(OBJS)\r
266\r
267### Targets: ###\r
268\r
269all: $(OBJS)\widgets.exe\r
270\r
271clean: \r
272 -if exist $(OBJS)\*.obj del $(OBJS)\*.obj\r
273 -if exist $(OBJS)\*.res del $(OBJS)\*.res\r
274 -if exist $(OBJS)\*.csm del $(OBJS)\*.csm\r
275 -if exist $(OBJS)\widgets.exe del $(OBJS)\widgets.exe\r
276 -if exist $(OBJS)\widgets.tds del $(OBJS)\widgets.tds\r
277 -if exist $(OBJS)\widgets.ilc del $(OBJS)\widgets.ilc\r
278 -if exist $(OBJS)\widgets.ild del $(OBJS)\widgets.ild\r
279 -if exist $(OBJS)\widgets.ilf del $(OBJS)\widgets.ilf\r
280 -if exist $(OBJS)\widgets.ils del $(OBJS)\widgets.ils\r
281\r
282$(OBJS)\widgets.exe: $(WIDGETS_OBJECTS) $(OBJS)\widgets_sample.res\r
283 ilink32 -Tpe -q -L$(BCCDIR)\lib -L$(BCCDIR)\lib\psdk $(__DEBUGINFO) -L$(LIBDIRNAME) -aa $(____CAIRO_LIBDIR_FILENAMES_p) $(LDFLAGS) @&&|\r
22a3b6e4 284 c0w32.obj $(WIDGETS_OBJECTS),$@,, $(__WXLIB_ADV_p) $(__WXLIB_CORE_p) $(__WXLIB_BASE_p) $(__WXLIB_MONO_p) $(__LIB_TIFF_p) $(__LIB_JPEG_p) $(__LIB_PNG_p) $(LIB_GTK) wxzlib$(WXDEBUGFLAG).lib wxregex$(WXUNICODEFLAG)$(WXDEBUGFLAG).lib wxexpat$(WXDEBUGFLAG).lib $(EXTRALIBS_FOR_BASE) $(__UNICOWS_LIB_p) $(__CAIRO_LIB_p) ole2w32.lib oleacc.lib import32.lib cw32$(__THREADSFLAG_5)$(__RUNTIME_LIBS_8).lib,, $(OBJS)\widgets_sample.res
f82b7036
KO
285|\r
286\r
287$(OBJS)\widgets_bmpcombobox.obj: .\bmpcombobox.cpp\r
288 $(CXX) -q -c -P -o$@ $(WIDGETS_CXXFLAGS) .\bmpcombobox.cpp\r
289\r
290$(OBJS)\widgets_button.obj: .\button.cpp\r
291 $(CXX) -q -c -P -o$@ $(WIDGETS_CXXFLAGS) .\button.cpp\r
292\r
293$(OBJS)\widgets_checkbox.obj: .\checkbox.cpp\r
294 $(CXX) -q -c -P -o$@ $(WIDGETS_CXXFLAGS) .\checkbox.cpp\r
295\r
296$(OBJS)\widgets_choice.obj: .\choice.cpp\r
297 $(CXX) -q -c -P -o$@ $(WIDGETS_CXXFLAGS) .\choice.cpp\r
298\r
299$(OBJS)\widgets_clrpicker.obj: .\clrpicker.cpp\r
300 $(CXX) -q -c -P -o$@ $(WIDGETS_CXXFLAGS) .\clrpicker.cpp\r
301\r
302$(OBJS)\widgets_combobox.obj: .\combobox.cpp\r
303 $(CXX) -q -c -P -o$@ $(WIDGETS_CXXFLAGS) .\combobox.cpp\r
304\r
305$(OBJS)\widgets_datepick.obj: .\datepick.cpp\r
306 $(CXX) -q -c -P -o$@ $(WIDGETS_CXXFLAGS) .\datepick.cpp\r
307\r
308$(OBJS)\widgets_dirctrl.obj: .\dirctrl.cpp\r
309 $(CXX) -q -c -P -o$@ $(WIDGETS_CXXFLAGS) .\dirctrl.cpp\r
310\r
311$(OBJS)\widgets_dirpicker.obj: .\dirpicker.cpp\r
312 $(CXX) -q -c -P -o$@ $(WIDGETS_CXXFLAGS) .\dirpicker.cpp\r
313\r
314$(OBJS)\widgets_editlbox.obj: .\editlbox.cpp\r
315 $(CXX) -q -c -P -o$@ $(WIDGETS_CXXFLAGS) .\editlbox.cpp\r
316\r
317$(OBJS)\widgets_filectrl.obj: .\filectrl.cpp\r
318 $(CXX) -q -c -P -o$@ $(WIDGETS_CXXFLAGS) .\filectrl.cpp\r
319\r
320$(OBJS)\widgets_filepicker.obj: .\filepicker.cpp\r
321 $(CXX) -q -c -P -o$@ $(WIDGETS_CXXFLAGS) .\filepicker.cpp\r
322\r
323$(OBJS)\widgets_fontpicker.obj: .\fontpicker.cpp\r
324 $(CXX) -q -c -P -o$@ $(WIDGETS_CXXFLAGS) .\fontpicker.cpp\r
325\r
326$(OBJS)\widgets_gauge.obj: .\gauge.cpp\r
327 $(CXX) -q -c -P -o$@ $(WIDGETS_CXXFLAGS) .\gauge.cpp\r
328\r
329$(OBJS)\widgets_hyperlnk.obj: .\hyperlnk.cpp\r
330 $(CXX) -q -c -P -o$@ $(WIDGETS_CXXFLAGS) .\hyperlnk.cpp\r
331\r
332$(OBJS)\widgets_itemcontainer.obj: .\itemcontainer.cpp\r
333 $(CXX) -q -c -P -o$@ $(WIDGETS_CXXFLAGS) .\itemcontainer.cpp\r
334\r
335$(OBJS)\widgets_listbox.obj: .\listbox.cpp\r
336 $(CXX) -q -c -P -o$@ $(WIDGETS_CXXFLAGS) .\listbox.cpp\r
337\r
338$(OBJS)\widgets_notebook.obj: .\notebook.cpp\r
339 $(CXX) -q -c -P -o$@ $(WIDGETS_CXXFLAGS) .\notebook.cpp\r
340\r
341$(OBJS)\widgets_odcombobox.obj: .\odcombobox.cpp\r
342 $(CXX) -q -c -P -o$@ $(WIDGETS_CXXFLAGS) .\odcombobox.cpp\r
343\r
344$(OBJS)\widgets_radiobox.obj: .\radiobox.cpp\r
345 $(CXX) -q -c -P -o$@ $(WIDGETS_CXXFLAGS) .\radiobox.cpp\r
346\r
347$(OBJS)\widgets_searchctrl.obj: .\searchctrl.cpp\r
348 $(CXX) -q -c -P -o$@ $(WIDGETS_CXXFLAGS) .\searchctrl.cpp\r
349\r
350$(OBJS)\widgets_slider.obj: .\slider.cpp\r
351 $(CXX) -q -c -P -o$@ $(WIDGETS_CXXFLAGS) .\slider.cpp\r
352\r
353$(OBJS)\widgets_spinbtn.obj: .\spinbtn.cpp\r
354 $(CXX) -q -c -P -o$@ $(WIDGETS_CXXFLAGS) .\spinbtn.cpp\r
355\r
356$(OBJS)\widgets_static.obj: .\static.cpp\r
357 $(CXX) -q -c -P -o$@ $(WIDGETS_CXXFLAGS) .\static.cpp\r
358\r
359$(OBJS)\widgets_statbmp.obj: .\statbmp.cpp\r
360 $(CXX) -q -c -P -o$@ $(WIDGETS_CXXFLAGS) .\statbmp.cpp\r
361\r
362$(OBJS)\widgets_textctrl.obj: .\textctrl.cpp\r
363 $(CXX) -q -c -P -o$@ $(WIDGETS_CXXFLAGS) .\textctrl.cpp\r
364\r
51ec29ea
VZ
365$(OBJS)\widgets_timepick.obj: .\timepick.cpp\r
366 $(CXX) -q -c -P -o$@ $(WIDGETS_CXXFLAGS) .\timepick.cpp\r
367\r
f82b7036
KO
368$(OBJS)\widgets_toggle.obj: .\toggle.cpp\r
369 $(CXX) -q -c -P -o$@ $(WIDGETS_CXXFLAGS) .\toggle.cpp\r
370\r
371$(OBJS)\widgets_widgets.obj: .\widgets.cpp\r
372 $(CXX) -q -c -P -o$@ $(WIDGETS_CXXFLAGS) .\widgets.cpp\r
373\r
374$(OBJS)\widgets_sample.res: .\..\sample.rc\r
22a3b6e4 375 brcc32 -32 -r -fo$@ -i$(BCCDIR)\include -d__WX$(TOOLKIT)__ $(__WXUNIV_DEFINE_p_1) $(__DEBUG_DEFINE_p_1) $(__NDEBUG_DEFINE_p_1) $(__EXCEPTIONS_DEFINE_p_1) $(__RTTI_DEFINE_p_1) $(__THREAD_DEFINE_p_1) $(__UNICODE_DEFINE_p_1) $(__MSLU_DEFINE_p_1) -i$(SETUPHDIR) -i.\..\..\include $(____CAIRO_INCLUDEDIR_FILENAMES_1_p) -i. $(__DLLFLAG_p_1) -i.\..\..\samples -dNOPCH .\..\sample.rc
f82b7036 376\r