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