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