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