]> git.saurik.com Git - wxWidgets.git/blame_incremental - contrib/build/gizmos/makefile.bcc
1.10.2 and less mbtowc and wctomb HAVE THE COOTIEScd .. (they are just stubs and...
[wxWidgets.git] / contrib / build / gizmos / makefile.bcc
... / ...
CommitLineData
1# =========================================================================
2# This makefile was generated by
3# Bakefile 0.1.4 (http://bakefile.sourceforge.net)
4# Do not modify, all changes will be overwritten!
5# =========================================================================
6
7.autodepend
8
9!ifndef BCCDIR
10!ifndef MAKEDIR
11!error Your Borland compiler does not define MAKEDIR. Please define the BCCDIR variable, e.g. BCCDIR=d:\bc4
12!endif
13BCCDIR = $(MAKEDIR)\..
14!endif
15
16!include ../../../build/msw/config.bcc
17
18# -------------------------------------------------------------------------
19# Do not modify the rest of this file!
20# -------------------------------------------------------------------------
21
22### Variables: ###
23
24WX_RELEASE_NODOT = 25
25WX_VERSION_NODOT = $(WX_RELEASE_NODOT)2
26OBJS = \
27 bcc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)
28SETUPHDIR = \
29 $(LIBDIRNAME)\$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)
30GIZMOSDLL_CXXFLAGS = $(__RUNTIME_LIBS) -I$(BCCDIR)\include $(__DEBUGINFO) \
31 $(__OPTIMIZEFLAG) -tWM -D__WXMSW__ $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) \
32 $(__UNICODE_DEFINE_p) -I..\..\src\gizmos\..\..\..\include -I$(SETUPHDIR) \
33 -I..\..\src\gizmos\..\..\include -DWXUSINGDLL -DWXMAKINGDLL_GIZMOS -Hu \
34 -H=$(OBJS)\wxprec_gizmosdll.csm $(CPPFLAGS) $(CXXFLAGS)
35GIZMOSDLL_OBJECTS = \
36 $(OBJS)\gizmosdll_dummy.obj \
37 $(OBJS)\gizmosdll_dynamicsash.obj \
38 $(OBJS)\gizmosdll_editlbox.obj \
39 $(OBJS)\gizmosdll_ledctrl.obj \
40 $(OBJS)\gizmosdll_multicell.obj \
41 $(OBJS)\gizmosdll_splittree.obj \
42 $(OBJS)\gizmosdll_statpict.obj
43GIZMOSLIB_CXXFLAGS = $(__RUNTIME_LIBS) -I$(BCCDIR)\include $(__DEBUGINFO) \
44 $(__OPTIMIZEFLAG) -tWM -D__WXMSW__ $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) \
45 $(__UNICODE_DEFINE_p) -I..\..\src\gizmos\..\..\..\include -I$(SETUPHDIR) \
46 -I..\..\src\gizmos\..\..\include -Hu -H=$(OBJS)\wxprec_gizmoslib.csm \
47 $(CPPFLAGS) $(CXXFLAGS)
48GIZMOSLIB_OBJECTS = \
49 $(OBJS)\gizmoslib_dummy.obj \
50 $(OBJS)\gizmoslib_dynamicsash.obj \
51 $(OBJS)\gizmoslib_editlbox.obj \
52 $(OBJS)\gizmoslib_ledctrl.obj \
53 $(OBJS)\gizmoslib_multicell.obj \
54 $(OBJS)\gizmoslib_splittree.obj \
55 $(OBJS)\gizmoslib_statpict.obj
56
57### Conditionally set variables: ###
58
59!if "$(USE_GUI)" == "0"
60PORTNAME = base
61!endif
62!if "$(USE_GUI)" == "1"
63PORTNAME = msw
64!endif
65!if "$(OFFICIAL_BUILD)" == "0"
66VENDORTAG = _$(VENDOR)
67!endif
68!if "$(OFFICIAL_BUILD)" == "1"
69VENDORTAG =
70!endif
71!if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
72WXDEBUGFLAG = d
73!endif
74!if "$(DEBUG_FLAG)" == "1"
75WXDEBUGFLAG = d
76!endif
77!if "$(UNICODE)" == "1"
78WXUNICODEFLAG = u
79!endif
80!if "$(WXUNIV)" == "1"
81WXUNIVNAME = univ
82!endif
83!if "$(SHARED)" == "1"
84WXDLLFLAG = dll
85!endif
86!if "$(SHARED)" == "1"
87__gizmosdll___depname = \
88 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_gizmos_bcc$(VENDORTAG).dll
89!endif
90!if "$(RUNTIME_LIBS)" == "dynamic"
91__RUNTIME_LIBS_8 = i
92!endif
93!if "$(RUNTIME_LIBS)" == "static"
94__RUNTIME_LIBS_8 =
95!endif
96!if "$(MONOLITHIC)" == "1"
97__WXLIB_MONO_p = \
98 wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib
99!endif
100!if "$(USE_GUI)" == "1"
101__LIB_TIFF_p = wxtiff$(WXDEBUGFLAG)$(WX_RELEASE_NODOT).lib
102!endif
103!if "$(USE_GUI)" == "1"
104__LIB_JPEG_p = wxjpeg$(WXDEBUGFLAG)$(WX_RELEASE_NODOT).lib
105!endif
106!if "$(USE_GUI)" == "1"
107__LIB_PNG_p = wxpng$(WXDEBUGFLAG)$(WX_RELEASE_NODOT).lib
108!endif
109!if "$(MSLU)" == "1"
110__UNICOWS_LIB_p = unicows.lib
111!endif
112!if "$(MONOLITHIC)" == "0"
113__WXLIB_BASE_p = \
114 wxbase$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib
115!endif
116!if "$(MONOLITHIC)" == "0"
117__WXLIB_CORE_p = \
118 wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_core.lib
119!endif
120!if "$(SHARED)" == "0"
121__gizmoslib___depname = \
122 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_gizmos.lib
123!endif
124!if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
125__DEBUGINFO = -v
126!endif
127!if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
128__DEBUGINFO = -v-
129!endif
130!if "$(DEBUG_INFO)" == "0"
131__DEBUGINFO = -v-
132!endif
133!if "$(DEBUG_INFO)" == "1"
134__DEBUGINFO = -v
135!endif
136!if "$(BUILD)" == "debug"
137__OPTIMIZEFLAG = -Od
138!endif
139!if "$(BUILD)" == "release"
140__OPTIMIZEFLAG = -O2
141!endif
142!if "$(RUNTIME_LIBS)" == "dynamic"
143__RUNTIME_LIBS = -tWR
144!endif
145!if "$(RUNTIME_LIBS)" == "static"
146__RUNTIME_LIBS =
147!endif
148!if "$(WXUNIV)" == "1"
149__WXUNIV_DEFINE_p = -D__WXUNIVERSAL__
150!endif
151!if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
152__DEBUG_DEFINE_p = -D__WXDEBUG__
153!endif
154!if "$(DEBUG_FLAG)" == "1"
155__DEBUG_DEFINE_p = -D__WXDEBUG__
156!endif
157!if "$(UNICODE)" == "1"
158__UNICODE_DEFINE_p = -D_UNICODE
159!endif
160!if "$(SHARED)" == "0"
161LIBDIRNAME = ..\..\src\gizmos\..\..\..\lib\bcc_lib$(CFG)
162!endif
163!if "$(SHARED)" == "1"
164LIBDIRNAME = ..\..\src\gizmos\..\..\..\lib\bcc_dll$(CFG)
165!endif
166
167
168all: $(OBJS)
169$(OBJS):
170 -if not exist $(OBJS) mkdir $(OBJS)
171
172### Targets: ###
173
174all: $(__gizmosdll___depname) $(__gizmoslib___depname)
175
176clean:
177 -if exist $(OBJS)\*.obj del $(OBJS)\*.obj
178 -if exist $(OBJS)\*.res del $(OBJS)\*.res
179 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_gizmos_bcc$(VENDORTAG).dll del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_gizmos_bcc$(VENDORTAG).dll
180 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_gizmos_bcc$(VENDORTAG).tds del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_gizmos_bcc$(VENDORTAG).tds
181 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_gizmos_bcc$(VENDORTAG).ilc del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_gizmos_bcc$(VENDORTAG).ilc
182 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_gizmos_bcc$(VENDORTAG).ild del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_gizmos_bcc$(VENDORTAG).ild
183 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_gizmos_bcc$(VENDORTAG).ilf del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_gizmos_bcc$(VENDORTAG).ilf
184 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_gizmos_bcc$(VENDORTAG).ils del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_gizmos_bcc$(VENDORTAG).ils
185 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_gizmos.lib del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_gizmos.lib
186 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_gizmos.lib del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_gizmos.lib
187
188!if "$(SHARED)" == "1"
189$(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_gizmos_bcc$(VENDORTAG).dll: $(OBJS)\gizmosdll_dummy.obj $(GIZMOSDLL_OBJECTS)
190 ilink32 -Tpd -q $(LDFLAGS) -L$(BCCDIR)\lib -L$(BCCDIR)\lib\psdk $(__DEBUGINFO) -L$(LIBDIRNAME) @&&|
191 c0d32.obj $(GIZMOSDLL_OBJECTS),$@,, $(__WXLIB_MONO_p) $(__LIB_TIFF_p) $(__LIB_JPEG_p) $(__LIB_PNG_p) wxzlib$(WXDEBUGFLAG)$(WX_RELEASE_NODOT).lib wxregex$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_RELEASE_NODOT).lib wxexpat$(WXDEBUGFLAG)$(WX_RELEASE_NODOT).lib $(__UNICOWS_LIB_p) ole2w32.lib oleacc.lib odbc32.lib $(__WXLIB_BASE_p) $(__WXLIB_CORE_p) import32.lib cw32mt$(__RUNTIME_LIBS_8).lib,,
192|
193 implib -f $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_gizmos $@
194!endif
195
196!if "$(SHARED)" == "0"
197$(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_gizmos.lib: $(OBJS)\gizmoslib_dummy.obj $(GIZMOSLIB_OBJECTS)
198 if exist $@ del $@
199 tlib /a /p4096 $@ @&&|
200 $(GIZMOSLIB_OBJECTS)
201|
202!endif
203
204$(OBJS)\gizmosdll_dummy.obj: ../../src/gizmos\..\..\..\src\msw\dummy.cpp
205 $(CXX) -q -c -P -o$@ $(GIZMOSDLL_CXXFLAGS) -H $**
206
207$(OBJS)\gizmosdll_dynamicsash.obj: ../../src/gizmos\dynamicsash.cpp
208 $(CXX) -q -c -P -o$@ $(GIZMOSDLL_CXXFLAGS) $**
209
210$(OBJS)\gizmosdll_editlbox.obj: ../../src/gizmos\editlbox.cpp
211 $(CXX) -q -c -P -o$@ $(GIZMOSDLL_CXXFLAGS) $**
212
213$(OBJS)\gizmosdll_ledctrl.obj: ../../src/gizmos\ledctrl.cpp
214 $(CXX) -q -c -P -o$@ $(GIZMOSDLL_CXXFLAGS) $**
215
216$(OBJS)\gizmosdll_multicell.obj: ../../src/gizmos\multicell.cpp
217 $(CXX) -q -c -P -o$@ $(GIZMOSDLL_CXXFLAGS) $**
218
219$(OBJS)\gizmosdll_splittree.obj: ../../src/gizmos\splittree.cpp
220 $(CXX) -q -c -P -o$@ $(GIZMOSDLL_CXXFLAGS) $**
221
222$(OBJS)\gizmosdll_statpict.obj: ../../src/gizmos\statpict.cpp
223 $(CXX) -q -c -P -o$@ $(GIZMOSDLL_CXXFLAGS) $**
224
225$(OBJS)\gizmoslib_dummy.obj: ../../src/gizmos\..\..\..\src\msw\dummy.cpp
226 $(CXX) -q -c -P -o$@ $(GIZMOSLIB_CXXFLAGS) -H $**
227
228$(OBJS)\gizmoslib_dynamicsash.obj: ../../src/gizmos\dynamicsash.cpp
229 $(CXX) -q -c -P -o$@ $(GIZMOSLIB_CXXFLAGS) $**
230
231$(OBJS)\gizmoslib_editlbox.obj: ../../src/gizmos\editlbox.cpp
232 $(CXX) -q -c -P -o$@ $(GIZMOSLIB_CXXFLAGS) $**
233
234$(OBJS)\gizmoslib_ledctrl.obj: ../../src/gizmos\ledctrl.cpp
235 $(CXX) -q -c -P -o$@ $(GIZMOSLIB_CXXFLAGS) $**
236
237$(OBJS)\gizmoslib_multicell.obj: ../../src/gizmos\multicell.cpp
238 $(CXX) -q -c -P -o$@ $(GIZMOSLIB_CXXFLAGS) $**
239
240$(OBJS)\gizmoslib_splittree.obj: ../../src/gizmos\splittree.cpp
241 $(CXX) -q -c -P -o$@ $(GIZMOSLIB_CXXFLAGS) $**
242
243$(OBJS)\gizmoslib_statpict.obj: ../../src/gizmos\statpict.cpp
244 $(CXX) -q -c -P -o$@ $(GIZMOSLIB_CXXFLAGS) $**