]> git.saurik.com Git - wxWidgets.git/blame - contrib/build/foldbar/makefile.bcc
[ 1176516 ] argv datatype has changed (char in docs but really wxChar)
[wxWidgets.git] / contrib / build / foldbar / makefile.bcc
CommitLineData
f3ac19c2
WS
1# =========================================================================
2# This makefile was generated by
8c9f8f91 3# Bakefile 0.1.8 (http://bakefile.sourceforge.net)
f3ac19c2
WS
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
c33fae85 24WX_RELEASE_NODOT = 25
8c9f8f91 25WX_VERSION_NODOT = $(WX_RELEASE_NODOT)5
f3ac19c2
WS
26OBJS = \
27 bcc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)
b14abf14 28LIBDIRNAME = ..\..\src\foldbar\..\..\..\lib\bcc_$(LIBTYPE_SUFFIX)$(CFG)
f3ac19c2
WS
29SETUPHDIR = \
30 $(LIBDIRNAME)\$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)
31FOLDBARDLL_CXXFLAGS = $(__RUNTIME_LIBS) -I$(BCCDIR)\include $(__DEBUGINFO) \
8c9f8f91
JS
32 $(__OPTIMIZEFLAG) $(__THREADSFLAG) -D__WXMSW__ $(__WXUNIV_DEFINE_p) \
33 $(__DEBUG_DEFINE_p) $(__EXCEPTIONS_DEFINE_p) $(__RTTI_DEFINE_p) \
34 $(__THREAD_DEFINE_p) $(__UNICODE_DEFINE_p) \
35 -I..\..\src\foldbar\..\..\..\include -I$(SETUPHDIR) \
f3ac19c2
WS
36 -I..\..\src\foldbar\..\..\include -DWXUSINGDLL -DWXMAKINGDLL_FOLDBAR -Hu \
37 -H=$(OBJS)\wxprec_foldbardll.csm $(CPPFLAGS) $(CXXFLAGS)
38FOLDBARDLL_OBJECTS = \
39 $(OBJS)\foldbardll_dummy.obj \
40 $(OBJS)\foldbardll_captionbar.obj \
41 $(OBJS)\foldbardll_foldpanelbar.obj \
42 $(OBJS)\foldbardll_foldpanelitem.obj
43FOLDBARLIB_CXXFLAGS = $(__RUNTIME_LIBS) -I$(BCCDIR)\include $(__DEBUGINFO) \
8c9f8f91
JS
44 $(__OPTIMIZEFLAG) $(__THREADSFLAG) -D__WXMSW__ $(__WXUNIV_DEFINE_p) \
45 $(__DEBUG_DEFINE_p) $(__EXCEPTIONS_DEFINE_p) $(__RTTI_DEFINE_p) \
46 $(__THREAD_DEFINE_p) $(__UNICODE_DEFINE_p) \
47 -I..\..\src\foldbar\..\..\..\include -I$(SETUPHDIR) \
f3ac19c2
WS
48 -I..\..\src\foldbar\..\..\include -Hu -H=$(OBJS)\wxprec_foldbarlib.csm \
49 $(CPPFLAGS) $(CXXFLAGS)
50FOLDBARLIB_OBJECTS = \
51 $(OBJS)\foldbarlib_dummy.obj \
52 $(OBJS)\foldbarlib_captionbar.obj \
53 $(OBJS)\foldbarlib_foldpanelbar.obj \
54 $(OBJS)\foldbarlib_foldpanelitem.obj
55
56### Conditionally set variables: ###
57
58!if "$(USE_GUI)" == "0"
59PORTNAME = base
60!endif
61!if "$(USE_GUI)" == "1"
62PORTNAME = msw
63!endif
64!if "$(OFFICIAL_BUILD)" == "0"
65VENDORTAG = _$(VENDOR)
66!endif
67!if "$(OFFICIAL_BUILD)" == "1"
68VENDORTAG =
69!endif
70!if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
71WXDEBUGFLAG = d
72!endif
73!if "$(DEBUG_FLAG)" == "1"
74WXDEBUGFLAG = d
75!endif
76!if "$(UNICODE)" == "1"
77WXUNICODEFLAG = u
78!endif
79!if "$(WXUNIV)" == "1"
80WXUNIVNAME = univ
81!endif
82!if "$(SHARED)" == "1"
83WXDLLFLAG = dll
84!endif
b14abf14
JS
85!if "$(SHARED)" == "0"
86LIBTYPE_SUFFIX = lib
87!endif
88!if "$(SHARED)" == "1"
89LIBTYPE_SUFFIX = dll
90!endif
dd65d8c8
RN
91!if "$(MONOLITHIC)" == "0"
92EXTRALIBS_FOR_BASE =
93!endif
94!if "$(MONOLITHIC)" == "1"
95EXTRALIBS_FOR_BASE =
96!endif
f3ac19c2
WS
97!if "$(SHARED)" == "1"
98__foldbardll___depname = \
c33fae85 99 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_foldbar_bcc$(VENDORTAG).dll
f3ac19c2 100!endif
8c9f8f91
JS
101!if "$(USE_THREADS)" == "0"
102__THREADSFLAG_6 =
103!endif
104!if "$(USE_THREADS)" == "1"
105__THREADSFLAG_6 = mt
106!endif
f3ac19c2 107!if "$(RUNTIME_LIBS)" == "dynamic"
8c9f8f91 108__RUNTIME_LIBS_9 = i
f3ac19c2
WS
109!endif
110!if "$(RUNTIME_LIBS)" == "static"
8c9f8f91
JS
111__RUNTIME_LIBS_9 =
112!endif
113!if "$(WXUNIV)" == "1"
114__WXUNIV_DEFINE_p_1 = -d__WXUNIVERSAL__
115!endif
116!if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
117__DEBUG_DEFINE_p_1 = -d__WXDEBUG__
118!endif
119!if "$(DEBUG_FLAG)" == "1"
120__DEBUG_DEFINE_p_1 = -d__WXDEBUG__
121!endif
122!if "$(USE_EXCEPTIONS)" == "0"
123__EXCEPTIONS_DEFINE_p_1 = -dwxNO_EXCEPTIONS
124!endif
125!if "$(USE_RTTI)" == "0"
126__RTTI_DEFINE_p_1 = -dwxNO_RTTI
127!endif
128!if "$(USE_THREADS)" == "0"
129__THREAD_DEFINE_p_1 = -dwxNO_THREADS
130!endif
131!if "$(UNICODE)" == "1"
132__UNICODE_DEFINE_p_1 = -d_UNICODE
f3ac19c2
WS
133!endif
134!if "$(MONOLITHIC)" == "1"
135__WXLIB_MONO_p = \
c33fae85 136 wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib
f3ac19c2
WS
137!endif
138!if "$(USE_GUI)" == "1"
9c2d002b 139__LIB_TIFF_p = wxtiff$(WXDEBUGFLAG).lib
f3ac19c2
WS
140!endif
141!if "$(USE_GUI)" == "1"
9c2d002b 142__LIB_JPEG_p = wxjpeg$(WXDEBUGFLAG).lib
f3ac19c2
WS
143!endif
144!if "$(USE_GUI)" == "1"
9c2d002b 145__LIB_PNG_p = wxpng$(WXDEBUGFLAG).lib
f3ac19c2
WS
146!endif
147!if "$(MSLU)" == "1"
148__UNICOWS_LIB_p = unicows.lib
149!endif
150!if "$(MONOLITHIC)" == "0"
151__WXLIB_CORE_p = \
c33fae85 152 wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_core.lib
f3ac19c2
WS
153!endif
154!if "$(MONOLITHIC)" == "0"
c33fae85
RN
155__WXLIB_BASE_p = \
156 wxbase$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib
f3ac19c2
WS
157!endif
158!if "$(SHARED)" == "0"
159__foldbarlib___depname = \
c33fae85 160 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_foldbar.lib
f3ac19c2
WS
161!endif
162!if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
163__DEBUGINFO = -v
164!endif
165!if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
166__DEBUGINFO = -v-
167!endif
168!if "$(DEBUG_INFO)" == "0"
169__DEBUGINFO = -v-
170!endif
171!if "$(DEBUG_INFO)" == "1"
172__DEBUGINFO = -v
173!endif
174!if "$(BUILD)" == "debug"
175__OPTIMIZEFLAG = -Od
176!endif
177!if "$(BUILD)" == "release"
178__OPTIMIZEFLAG = -O2
179!endif
8c9f8f91
JS
180!if "$(USE_THREADS)" == "0"
181__THREADSFLAG =
182!endif
183!if "$(USE_THREADS)" == "1"
184__THREADSFLAG = -tWM
185!endif
f3ac19c2
WS
186!if "$(RUNTIME_LIBS)" == "dynamic"
187__RUNTIME_LIBS = -tWR
188!endif
189!if "$(RUNTIME_LIBS)" == "static"
190__RUNTIME_LIBS =
191!endif
192!if "$(WXUNIV)" == "1"
193__WXUNIV_DEFINE_p = -D__WXUNIVERSAL__
194!endif
195!if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
196__DEBUG_DEFINE_p = -D__WXDEBUG__
197!endif
198!if "$(DEBUG_FLAG)" == "1"
199__DEBUG_DEFINE_p = -D__WXDEBUG__
200!endif
8c9f8f91
JS
201!if "$(USE_EXCEPTIONS)" == "0"
202__EXCEPTIONS_DEFINE_p = -DwxNO_EXCEPTIONS
203!endif
204!if "$(USE_RTTI)" == "0"
205__RTTI_DEFINE_p = -DwxNO_RTTI
206!endif
207!if "$(USE_THREADS)" == "0"
208__THREAD_DEFINE_p = -DwxNO_THREADS
209!endif
f3ac19c2
WS
210!if "$(UNICODE)" == "1"
211__UNICODE_DEFINE_p = -D_UNICODE
212!endif
f3ac19c2
WS
213
214
215all: $(OBJS)
216$(OBJS):
217 -if not exist $(OBJS) mkdir $(OBJS)
218
219### Targets: ###
220
221all: $(__foldbardll___depname) $(__foldbarlib___depname)
222
223clean:
224 -if exist $(OBJS)\*.obj del $(OBJS)\*.obj
225 -if exist $(OBJS)\*.res del $(OBJS)\*.res
b14abf14 226 -if exist $(OBJS)\*.csm del $(OBJS)\*.csm
c33fae85
RN
227 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_foldbar_bcc$(VENDORTAG).dll del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_foldbar_bcc$(VENDORTAG).dll
228 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_foldbar_bcc$(VENDORTAG).tds del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_foldbar_bcc$(VENDORTAG).tds
229 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_foldbar_bcc$(VENDORTAG).ilc del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_foldbar_bcc$(VENDORTAG).ilc
230 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_foldbar_bcc$(VENDORTAG).ild del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_foldbar_bcc$(VENDORTAG).ild
231 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_foldbar_bcc$(VENDORTAG).ilf del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_foldbar_bcc$(VENDORTAG).ilf
232 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_foldbar_bcc$(VENDORTAG).ils del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_foldbar_bcc$(VENDORTAG).ils
233 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_foldbar.lib del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_foldbar.lib
234 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_foldbar.lib del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_foldbar.lib
f3ac19c2
WS
235
236!if "$(SHARED)" == "1"
8c9f8f91 237$(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_foldbar_bcc$(VENDORTAG).dll: $(OBJS)\foldbardll_dummy.obj $(FOLDBARDLL_OBJECTS) $(OBJS)\foldbardll_version.res
f3ac19c2 238 ilink32 -Tpd -q $(LDFLAGS) -L$(BCCDIR)\lib -L$(BCCDIR)\lib\psdk $(__DEBUGINFO) -L$(LIBDIRNAME) @&&|
8c9f8f91 239 c0d32.obj $(FOLDBARDLL_OBJECTS),$@,, $(__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) ole2w32.lib oleacc.lib odbc32.lib $(__WXLIB_CORE_p) $(__WXLIB_BASE_p) import32.lib cw32$(__THREADSFLAG_6)$(__RUNTIME_LIBS_9).lib,, $(OBJS)\foldbardll_version.res
f3ac19c2 240|
c33fae85 241 implib -f $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_foldbar $@
f3ac19c2
WS
242!endif
243
244!if "$(SHARED)" == "0"
c33fae85 245$(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_foldbar.lib: $(OBJS)\foldbarlib_dummy.obj $(FOLDBARLIB_OBJECTS)
f3ac19c2
WS
246 if exist $@ del $@
247 tlib /a /p4096 $@ @&&|
248 $(FOLDBARLIB_OBJECTS)
249|
250!endif
251
252$(OBJS)\foldbardll_dummy.obj: ../../src/foldbar\..\..\..\src\msw\dummy.cpp
253 $(CXX) -q -c -P -o$@ $(FOLDBARDLL_CXXFLAGS) -H $**
254
102d46f3 255$(OBJS)\foldbardll_version.res: ../../src/foldbar\..\..\..\src\msw\version.rc
8c9f8f91
JS
256 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) -i..\..\src\foldbar\..\..\..\include -i$(SETUPHDIR) -dWXDLLNAME=wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_foldbar_bcc$(VENDORTAG) $**
257
f3ac19c2
WS
258$(OBJS)\foldbardll_captionbar.obj: ../../src/foldbar\captionbar.cpp
259 $(CXX) -q -c -P -o$@ $(FOLDBARDLL_CXXFLAGS) $**
260
261$(OBJS)\foldbardll_foldpanelbar.obj: ../../src/foldbar\foldpanelbar.cpp
262 $(CXX) -q -c -P -o$@ $(FOLDBARDLL_CXXFLAGS) $**
263
264$(OBJS)\foldbardll_foldpanelitem.obj: ../../src/foldbar\foldpanelitem.cpp
265 $(CXX) -q -c -P -o$@ $(FOLDBARDLL_CXXFLAGS) $**
266
267$(OBJS)\foldbarlib_dummy.obj: ../../src/foldbar\..\..\..\src\msw\dummy.cpp
268 $(CXX) -q -c -P -o$@ $(FOLDBARLIB_CXXFLAGS) -H $**
269
270$(OBJS)\foldbarlib_captionbar.obj: ../../src/foldbar\captionbar.cpp
271 $(CXX) -q -c -P -o$@ $(FOLDBARLIB_CXXFLAGS) $**
272
273$(OBJS)\foldbarlib_foldpanelbar.obj: ../../src/foldbar\foldpanelbar.cpp
274 $(CXX) -q -c -P -o$@ $(FOLDBARLIB_CXXFLAGS) $**
275
276$(OBJS)\foldbarlib_foldpanelitem.obj: ../../src/foldbar\foldpanelitem.cpp
277 $(CXX) -q -c -P -o$@ $(FOLDBARLIB_CXXFLAGS) $**
b14abf14 278