]> git.saurik.com Git - wxWidgets.git/blame - samples/widgets/makefile.bcc
don't call SetInsertionPointToEnd() on read-only combobox in wxGridCellChoiceEditor...
[wxWidgets.git] / samples / widgets / makefile.bcc
CommitLineData
6f628073
VS
1# =========================================================================
2# This makefile was generated by
6e0fbb3d 3# Bakefile 0.2.3 (http://www.bakefile.org)
6f628073
VS
4# Do not modify, all changes will be overwritten!
5# =========================================================================
2246169a 6
9bfe7ad9
VS
7.autodepend
8
0706fb23 9!ifndef BCCDIR
9bfe7ad9
VS
10!ifndef MAKEDIR
11!error Your Borland compiler does not define MAKEDIR. Please define the BCCDIR variable, e.g. BCCDIR=d:\bc4
12!endif
0706fb23
VS
13BCCDIR = $(MAKEDIR)\..
14!endif
6f628073 15
fd9f42b6 16!include ../../build/msw/config.bcc
6f628073
VS
17
18# -------------------------------------------------------------------------
19# Do not modify the rest of this file!
20# -------------------------------------------------------------------------
21
6f628073
VS
22### Variables: ###
23
ae4ccf12 24WX_RELEASE_NODOT = 29
a236aa20 25COMPILER_PREFIX = bcc
250700e4 26OBJS = \
a236aa20
VZ
27 $(COMPILER_PREFIX)_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)
28LIBDIRNAME = .\..\..\lib\$(COMPILER_PREFIX)_$(LIBTYPE_SUFFIX)$(CFG)
75a0a7b7
VS
29SETUPHDIR = \
30 $(LIBDIRNAME)\$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)
8c9f8f91
JS
31WIDGETS_CXXFLAGS = $(__RUNTIME_LIBS_7) -I$(BCCDIR)\include $(__DEBUGINFO) \
32 $(__OPTIMIZEFLAG_2) $(__THREADSFLAG_6) -D__WXMSW__ $(__WXUNIV_DEFINE_p) \
33 $(__DEBUG_DEFINE_p) $(__EXCEPTIONS_DEFINE_p) $(__RTTI_DEFINE_p) \
2113bc77 34 $(__THREAD_DEFINE_p) $(__UNICODE_DEFINE_p) $(__MSLU_DEFINE_p) \
3abcf424
RD
35 $(__GFXCTX_DEFINE_p) -I$(SETUPHDIR) -I.\..\..\include -I. $(__DLLFLAG_p) \
36 -I.\..\..\samples -DNOPCH $(CPPFLAGS) $(CXXFLAGS)
25a73439 37WIDGETS_OBJECTS = \
b2b98dfd 38 $(OBJS)\widgets_bmpcombobox.obj \
25a73439 39 $(OBJS)\widgets_button.obj \
8941fa88 40 $(OBJS)\widgets_checkbox.obj \
a236aa20 41 $(OBJS)\widgets_choice.obj \
b2b98dfd 42 $(OBJS)\widgets_clrpicker.obj \
25a73439 43 $(OBJS)\widgets_combobox.obj \
f2fdc4d5 44 $(OBJS)\widgets_datepick.obj \
c4f6d998 45 $(OBJS)\widgets_dirctrl.obj \
b2b98dfd 46 $(OBJS)\widgets_dirpicker.obj \
0cf3e587 47 $(OBJS)\widgets_filectrl.obj \
b2b98dfd
WS
48 $(OBJS)\widgets_filepicker.obj \
49 $(OBJS)\widgets_fontpicker.obj \
25a73439 50 $(OBJS)\widgets_gauge.obj \
f9300d42 51 $(OBJS)\widgets_hyperlnk.obj \
a236aa20 52 $(OBJS)\widgets_itemcontainer.obj \
25a73439
VS
53 $(OBJS)\widgets_listbox.obj \
54 $(OBJS)\widgets_notebook.obj \
53a0475d 55 $(OBJS)\widgets_odcombobox.obj \
25a73439 56 $(OBJS)\widgets_radiobox.obj \
3f7f284d 57 $(OBJS)\widgets_searchctrl.obj \
25a73439
VS
58 $(OBJS)\widgets_slider.obj \
59 $(OBJS)\widgets_spinbtn.obj \
60 $(OBJS)\widgets_static.obj \
a30e7029 61 $(OBJS)\widgets_statbmp.obj \
25a73439 62 $(OBJS)\widgets_textctrl.obj \
32816f9a 63 $(OBJS)\widgets_toggle.obj \
25a73439 64 $(OBJS)\widgets_widgets.obj
6f628073
VS
65
66### Conditionally set variables: ###
67
68!if "$(USE_GUI)" == "0"
69PORTNAME = base
70!endif
71!if "$(USE_GUI)" == "1"
72PORTNAME = msw
73!endif
25a73439
VS
74!if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
75WXDEBUGFLAG = d
76!endif
77!if "$(DEBUG_FLAG)" == "1"
6f628073
VS
78WXDEBUGFLAG = d
79!endif
6f628073
VS
80!if "$(UNICODE)" == "1"
81WXUNICODEFLAG = u
2246169a 82!endif
6f628073
VS
83!if "$(WXUNIV)" == "1"
84WXUNIVNAME = univ
85!endif
6f628073 86!if "$(SHARED)" == "1"
b17c1746 87WXDLLFLAG = dll
25a73439 88!endif
b14abf14
JS
89!if "$(SHARED)" == "0"
90LIBTYPE_SUFFIX = lib
91!endif
92!if "$(SHARED)" == "1"
93LIBTYPE_SUFFIX = dll
94!endif
dd65d8c8
RN
95!if "$(MONOLITHIC)" == "0"
96EXTRALIBS_FOR_BASE =
97!endif
98!if "$(MONOLITHIC)" == "1"
99EXTRALIBS_FOR_BASE =
100!endif
250700e4
RD
101!if "$(BUILD)" == "debug"
102__OPTIMIZEFLAG_2 = -Od
103!endif
104!if "$(BUILD)" == "release"
105__OPTIMIZEFLAG_2 = -O2
106!endif
8c9f8f91
JS
107!if "$(USE_THREADS)" == "0"
108__THREADSFLAG_5 =
109!endif
110!if "$(USE_THREADS)" == "1"
111__THREADSFLAG_5 = mt
112!endif
113!if "$(USE_THREADS)" == "0"
114__THREADSFLAG_6 =
115!endif
116!if "$(USE_THREADS)" == "1"
117__THREADSFLAG_6 = -tWM
118!endif
250700e4 119!if "$(RUNTIME_LIBS)" == "dynamic"
8c9f8f91 120__RUNTIME_LIBS_7 = -tWR
250700e4
RD
121!endif
122!if "$(RUNTIME_LIBS)" == "static"
8c9f8f91 123__RUNTIME_LIBS_7 =
250700e4
RD
124!endif
125!if "$(RUNTIME_LIBS)" == "dynamic"
8c9f8f91 126__RUNTIME_LIBS_8 = i
250700e4
RD
127!endif
128!if "$(RUNTIME_LIBS)" == "static"
8c9f8f91 129__RUNTIME_LIBS_8 =
250700e4 130!endif
b17c1746
DE
131!if "$(WXUNIV)" == "1"
132__WXUNIV_DEFINE_p = -D__WXUNIVERSAL__
133!endif
134!if "$(WXUNIV)" == "1"
135__WXUNIV_DEFINE_p_1 = -d__WXUNIVERSAL__
136!endif
137!if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
138__DEBUG_DEFINE_p = -D__WXDEBUG__
139!endif
140!if "$(DEBUG_FLAG)" == "1"
141__DEBUG_DEFINE_p = -D__WXDEBUG__
142!endif
143!if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
144__DEBUG_DEFINE_p_1 = -d__WXDEBUG__
145!endif
146!if "$(DEBUG_FLAG)" == "1"
147__DEBUG_DEFINE_p_1 = -d__WXDEBUG__
148!endif
8c9f8f91
JS
149!if "$(USE_EXCEPTIONS)" == "0"
150__EXCEPTIONS_DEFINE_p = -DwxNO_EXCEPTIONS
151!endif
152!if "$(USE_EXCEPTIONS)" == "0"
153__EXCEPTIONS_DEFINE_p_1 = -dwxNO_EXCEPTIONS
154!endif
155!if "$(USE_RTTI)" == "0"
156__RTTI_DEFINE_p = -DwxNO_RTTI
157!endif
158!if "$(USE_RTTI)" == "0"
159__RTTI_DEFINE_p_1 = -dwxNO_RTTI
160!endif
161!if "$(USE_THREADS)" == "0"
162__THREAD_DEFINE_p = -DwxNO_THREADS
163!endif
164!if "$(USE_THREADS)" == "0"
165__THREAD_DEFINE_p_1 = -dwxNO_THREADS
166!endif
7379e476
VZ
167!if "$(UNICODE)" == "0"
168__UNICODE_DEFINE_p = -DwxUSE_UNICODE=0
169!endif
6f628073 170!if "$(UNICODE)" == "1"
ec08d395 171__UNICODE_DEFINE_p = -D_UNICODE
6f628073 172!endif
7379e476
VZ
173!if "$(UNICODE)" == "0"
174__UNICODE_DEFINE_p_1 = -dwxUSE_UNICODE=0
175!endif
6f628073 176!if "$(UNICODE)" == "1"
ec08d395 177__UNICODE_DEFINE_p_1 = -d_UNICODE
6f628073 178!endif
2113bc77
MW
179!if "$(MSLU)" == "1"
180__MSLU_DEFINE_p = -DwxUSE_UNICODE_MSLU=1
181!endif
182!if "$(MSLU)" == "1"
183__MSLU_DEFINE_p_1 = -dwxUSE_UNICODE_MSLU=1
184!endif
3abcf424
RD
185!if "$(USE_GDIPLUS)" == "1"
186__GFXCTX_DEFINE_p = -DwxUSE_GRAPHICS_CONTEXT=1
187!endif
188!if "$(USE_GDIPLUS)" == "1"
189__GFXCTX_DEFINE_p_1 = -dwxUSE_GRAPHICS_CONTEXT=1
190!endif
b17c1746
DE
191!if "$(SHARED)" == "1"
192__DLLFLAG_p = -DWXUSINGDLL
4e209a20 193!endif
b17c1746
DE
194!if "$(SHARED)" == "1"
195__DLLFLAG_p_1 = -dWXUSINGDLL
0706fb23
VS
196!endif
197!if "$(MONOLITHIC)" == "0"
137c8bde
WS
198__WXLIB_XML_p = \
199 wxbase$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_xml.lib
200!endif
201!if "$(MONOLITHIC)" == "0"
f2fdc4d5
WS
202__WXLIB_ADV_p = \
203 wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_adv.lib
204!endif
205!if "$(MONOLITHIC)" == "0"
206__WXLIB_HTML_p = \
207 wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_html.lib
208!endif
209!if "$(MONOLITHIC)" == "0"
250700e4 210__WXLIB_CORE_p = \
c33fae85 211 wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_core.lib
6f628073 212!endif
b17c1746 213!if "$(MONOLITHIC)" == "0"
c33fae85
RN
214__WXLIB_BASE_p = \
215 wxbase$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib
b17c1746 216!endif
6f628073 217!if "$(MONOLITHIC)" == "1"
250700e4 218__WXLIB_MONO_p = \
c33fae85 219 wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib
6f628073 220!endif
b17c1746 221!if "$(USE_GUI)" == "1"
9c2d002b 222__LIB_TIFF_p = wxtiff$(WXDEBUGFLAG).lib
6f628073 223!endif
b17c1746 224!if "$(USE_GUI)" == "1"
9c2d002b 225__LIB_JPEG_p = wxjpeg$(WXDEBUGFLAG).lib
b17c1746
DE
226!endif
227!if "$(USE_GUI)" == "1"
9c2d002b 228__LIB_PNG_p = wxpng$(WXDEBUGFLAG).lib
b17c1746
DE
229!endif
230!if "$(MSLU)" == "1"
231__UNICOWS_LIB_p = unicows.lib
232!endif
3abcf424
RD
233!if "$(USE_GDIPLUS)" == "1"
234__GDIPLUS_LIB_p = gdiplus.lib
235!endif
b17c1746
DE
236!if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
237__DEBUGINFO = -v
238!endif
239!if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
240__DEBUGINFO = -v-
241!endif
242!if "$(DEBUG_INFO)" == "0"
243__DEBUGINFO = -v-
244!endif
245!if "$(DEBUG_INFO)" == "1"
246__DEBUGINFO = -v
6f628073
VS
247!endif
248
249
250all: $(OBJS)
251$(OBJS):
252 -if not exist $(OBJS) mkdir $(OBJS)
253
254### Targets: ###
255
256all: $(OBJS)\widgets.exe
257
b17c1746
DE
258clean:
259 -if exist $(OBJS)\*.obj del $(OBJS)\*.obj
260 -if exist $(OBJS)\*.res del $(OBJS)\*.res
b14abf14 261 -if exist $(OBJS)\*.csm del $(OBJS)\*.csm
b17c1746
DE
262 -if exist $(OBJS)\widgets.exe del $(OBJS)\widgets.exe
263 -if exist $(OBJS)\widgets.tds del $(OBJS)\widgets.tds
264 -if exist $(OBJS)\widgets.ilc del $(OBJS)\widgets.ilc
265 -if exist $(OBJS)\widgets.ild del $(OBJS)\widgets.ild
266 -if exist $(OBJS)\widgets.ilf del $(OBJS)\widgets.ilf
267 -if exist $(OBJS)\widgets.ils del $(OBJS)\widgets.ils
268
f2fdc4d5 269$(OBJS)\widgets.exe: $(WIDGETS_OBJECTS) $(OBJS)\widgets_sample.res
b17c1746 270 ilink32 -Tpe -q $(LDFLAGS) -L$(BCCDIR)\lib -L$(BCCDIR)\lib\psdk $(__DEBUGINFO) -L$(LIBDIRNAME) -aa @&&|
7379e476 271 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 import32.lib cw32$(__THREADSFLAG_5)$(__RUNTIME_LIBS_8).lib,, $(OBJS)\widgets_sample.res
b17c1746
DE
272|
273
b2b98dfd 274$(OBJS)\widgets_bmpcombobox.obj: .\bmpcombobox.cpp
6e0fbb3d 275 $(CXX) -q -c -P -o$@ $(WIDGETS_CXXFLAGS) .\bmpcombobox.cpp
b2b98dfd 276
6f628073 277$(OBJS)\widgets_button.obj: .\button.cpp
6e0fbb3d 278 $(CXX) -q -c -P -o$@ $(WIDGETS_CXXFLAGS) .\button.cpp
6f628073 279
8941fa88 280$(OBJS)\widgets_checkbox.obj: .\checkbox.cpp
6e0fbb3d 281 $(CXX) -q -c -P -o$@ $(WIDGETS_CXXFLAGS) .\checkbox.cpp
8941fa88 282
a236aa20 283$(OBJS)\widgets_choice.obj: .\choice.cpp
6e0fbb3d 284 $(CXX) -q -c -P -o$@ $(WIDGETS_CXXFLAGS) .\choice.cpp
a236aa20 285
b2b98dfd 286$(OBJS)\widgets_clrpicker.obj: .\clrpicker.cpp
6e0fbb3d 287 $(CXX) -q -c -P -o$@ $(WIDGETS_CXXFLAGS) .\clrpicker.cpp
6f628073 288
b2b98dfd 289$(OBJS)\widgets_combobox.obj: .\combobox.cpp
6e0fbb3d 290 $(CXX) -q -c -P -o$@ $(WIDGETS_CXXFLAGS) .\combobox.cpp
f2fdc4d5 291
b2b98dfd 292$(OBJS)\widgets_datepick.obj: .\datepick.cpp
6e0fbb3d 293 $(CXX) -q -c -P -o$@ $(WIDGETS_CXXFLAGS) .\datepick.cpp
6f628073 294
c4f6d998 295$(OBJS)\widgets_dirctrl.obj: .\dirctrl.cpp
6e0fbb3d 296 $(CXX) -q -c -P -o$@ $(WIDGETS_CXXFLAGS) .\dirctrl.cpp
c4f6d998 297
b2b98dfd 298$(OBJS)\widgets_dirpicker.obj: .\dirpicker.cpp
6e0fbb3d 299 $(CXX) -q -c -P -o$@ $(WIDGETS_CXXFLAGS) .\dirpicker.cpp
f9300d42 300
0cf3e587 301$(OBJS)\widgets_filectrl.obj: .\filectrl.cpp
6e0fbb3d 302 $(CXX) -q -c -P -o$@ $(WIDGETS_CXXFLAGS) .\filectrl.cpp
0cf3e587 303
b2b98dfd 304$(OBJS)\widgets_filepicker.obj: .\filepicker.cpp
6e0fbb3d 305 $(CXX) -q -c -P -o$@ $(WIDGETS_CXXFLAGS) .\filepicker.cpp
6f628073 306
b2b98dfd 307$(OBJS)\widgets_fontpicker.obj: .\fontpicker.cpp
6e0fbb3d 308 $(CXX) -q -c -P -o$@ $(WIDGETS_CXXFLAGS) .\fontpicker.cpp
ec376c8f 309
b2b98dfd 310$(OBJS)\widgets_gauge.obj: .\gauge.cpp
6e0fbb3d 311 $(CXX) -q -c -P -o$@ $(WIDGETS_CXXFLAGS) .\gauge.cpp
137c8bde 312
b2b98dfd 313$(OBJS)\widgets_hyperlnk.obj: .\hyperlnk.cpp
6e0fbb3d 314 $(CXX) -q -c -P -o$@ $(WIDGETS_CXXFLAGS) .\hyperlnk.cpp
137c8bde 315
a236aa20 316$(OBJS)\widgets_itemcontainer.obj: .\itemcontainer.cpp
6e0fbb3d 317 $(CXX) -q -c -P -o$@ $(WIDGETS_CXXFLAGS) .\itemcontainer.cpp
a236aa20 318
b2b98dfd 319$(OBJS)\widgets_listbox.obj: .\listbox.cpp
6e0fbb3d 320 $(CXX) -q -c -P -o$@ $(WIDGETS_CXXFLAGS) .\listbox.cpp
137c8bde 321
b2b98dfd 322$(OBJS)\widgets_notebook.obj: .\notebook.cpp
6e0fbb3d 323 $(CXX) -q -c -P -o$@ $(WIDGETS_CXXFLAGS) .\notebook.cpp
53a0475d
WS
324
325$(OBJS)\widgets_odcombobox.obj: .\odcombobox.cpp
6e0fbb3d 326 $(CXX) -q -c -P -o$@ $(WIDGETS_CXXFLAGS) .\odcombobox.cpp
6f628073
VS
327
328$(OBJS)\widgets_radiobox.obj: .\radiobox.cpp
6e0fbb3d 329 $(CXX) -q -c -P -o$@ $(WIDGETS_CXXFLAGS) .\radiobox.cpp
6f628073 330
3f7f284d 331$(OBJS)\widgets_searchctrl.obj: .\searchctrl.cpp
6e0fbb3d 332 $(CXX) -q -c -P -o$@ $(WIDGETS_CXXFLAGS) .\searchctrl.cpp
3f7f284d 333
6f628073 334$(OBJS)\widgets_slider.obj: .\slider.cpp
6e0fbb3d 335 $(CXX) -q -c -P -o$@ $(WIDGETS_CXXFLAGS) .\slider.cpp
6f628073
VS
336
337$(OBJS)\widgets_spinbtn.obj: .\spinbtn.cpp
6e0fbb3d 338 $(CXX) -q -c -P -o$@ $(WIDGETS_CXXFLAGS) .\spinbtn.cpp
6f628073
VS
339
340$(OBJS)\widgets_static.obj: .\static.cpp
6e0fbb3d 341 $(CXX) -q -c -P -o$@ $(WIDGETS_CXXFLAGS) .\static.cpp
6f628073 342
a30e7029
VZ
343$(OBJS)\widgets_statbmp.obj: .\statbmp.cpp
344 $(CXX) -q -c -P -o$@ $(WIDGETS_CXXFLAGS) .\statbmp.cpp
345
6f628073 346$(OBJS)\widgets_textctrl.obj: .\textctrl.cpp
6e0fbb3d 347 $(CXX) -q -c -P -o$@ $(WIDGETS_CXXFLAGS) .\textctrl.cpp
6f628073 348
32816f9a 349$(OBJS)\widgets_toggle.obj: .\toggle.cpp
6e0fbb3d 350 $(CXX) -q -c -P -o$@ $(WIDGETS_CXXFLAGS) .\toggle.cpp
32816f9a 351
6f628073 352$(OBJS)\widgets_widgets.obj: .\widgets.cpp
6e0fbb3d 353 $(CXX) -q -c -P -o$@ $(WIDGETS_CXXFLAGS) .\widgets.cpp
6f628073 354
f2fdc4d5 355$(OBJS)\widgets_sample.res: .\..\sample.rc
6e0fbb3d 356 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 .\..\sample.rc
b14abf14 357