]> git.saurik.com Git - wxWidgets.git/blame - contrib/build/foldbar/makefile.bcc
Removed ambiguity between deprecated and new constructor.
[wxWidgets.git] / contrib / build / foldbar / makefile.bcc
CommitLineData
f3ac19c2
WS
1# =========================================================================
2# This makefile was generated by
b14abf14 3# Bakefile 0.1.6 (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
b14abf14 25WX_VERSION_NODOT = $(WX_RELEASE_NODOT)4
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) \
32 $(__OPTIMIZEFLAG) -tWM -D__WXMSW__ $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) \
33 $(__UNICODE_DEFINE_p) -I..\..\src\foldbar\..\..\..\include -I$(SETUPHDIR) \
34 -I..\..\src\foldbar\..\..\include -DWXUSINGDLL -DWXMAKINGDLL_FOLDBAR -Hu \
35 -H=$(OBJS)\wxprec_foldbardll.csm $(CPPFLAGS) $(CXXFLAGS)
36FOLDBARDLL_OBJECTS = \
37 $(OBJS)\foldbardll_dummy.obj \
38 $(OBJS)\foldbardll_captionbar.obj \
39 $(OBJS)\foldbardll_foldpanelbar.obj \
40 $(OBJS)\foldbardll_foldpanelitem.obj
41FOLDBARLIB_CXXFLAGS = $(__RUNTIME_LIBS) -I$(BCCDIR)\include $(__DEBUGINFO) \
42 $(__OPTIMIZEFLAG) -tWM -D__WXMSW__ $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) \
43 $(__UNICODE_DEFINE_p) -I..\..\src\foldbar\..\..\..\include -I$(SETUPHDIR) \
44 -I..\..\src\foldbar\..\..\include -Hu -H=$(OBJS)\wxprec_foldbarlib.csm \
45 $(CPPFLAGS) $(CXXFLAGS)
46FOLDBARLIB_OBJECTS = \
47 $(OBJS)\foldbarlib_dummy.obj \
48 $(OBJS)\foldbarlib_captionbar.obj \
49 $(OBJS)\foldbarlib_foldpanelbar.obj \
50 $(OBJS)\foldbarlib_foldpanelitem.obj
51
52### Conditionally set variables: ###
53
54!if "$(USE_GUI)" == "0"
55PORTNAME = base
56!endif
57!if "$(USE_GUI)" == "1"
58PORTNAME = msw
59!endif
60!if "$(OFFICIAL_BUILD)" == "0"
61VENDORTAG = _$(VENDOR)
62!endif
63!if "$(OFFICIAL_BUILD)" == "1"
64VENDORTAG =
65!endif
66!if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
67WXDEBUGFLAG = d
68!endif
69!if "$(DEBUG_FLAG)" == "1"
70WXDEBUGFLAG = d
71!endif
72!if "$(UNICODE)" == "1"
73WXUNICODEFLAG = u
74!endif
75!if "$(WXUNIV)" == "1"
76WXUNIVNAME = univ
77!endif
78!if "$(SHARED)" == "1"
79WXDLLFLAG = dll
80!endif
b14abf14
JS
81!if "$(SHARED)" == "0"
82LIBTYPE_SUFFIX = lib
83!endif
84!if "$(SHARED)" == "1"
85LIBTYPE_SUFFIX = dll
86!endif
dd65d8c8
RN
87!if "$(MONOLITHIC)" == "0"
88EXTRALIBS_FOR_BASE =
89!endif
90!if "$(MONOLITHIC)" == "1"
91EXTRALIBS_FOR_BASE =
92!endif
f3ac19c2
WS
93!if "$(SHARED)" == "1"
94__foldbardll___depname = \
c33fae85 95 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_foldbar_bcc$(VENDORTAG).dll
f3ac19c2
WS
96!endif
97!if "$(RUNTIME_LIBS)" == "dynamic"
98__RUNTIME_LIBS_8 = i
99!endif
100!if "$(RUNTIME_LIBS)" == "static"
101__RUNTIME_LIBS_8 =
102!endif
103!if "$(MONOLITHIC)" == "1"
104__WXLIB_MONO_p = \
c33fae85 105 wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib
f3ac19c2
WS
106!endif
107!if "$(USE_GUI)" == "1"
9c2d002b 108__LIB_TIFF_p = wxtiff$(WXDEBUGFLAG).lib
f3ac19c2
WS
109!endif
110!if "$(USE_GUI)" == "1"
9c2d002b 111__LIB_JPEG_p = wxjpeg$(WXDEBUGFLAG).lib
f3ac19c2
WS
112!endif
113!if "$(USE_GUI)" == "1"
9c2d002b 114__LIB_PNG_p = wxpng$(WXDEBUGFLAG).lib
f3ac19c2
WS
115!endif
116!if "$(MSLU)" == "1"
117__UNICOWS_LIB_p = unicows.lib
118!endif
119!if "$(MONOLITHIC)" == "0"
120__WXLIB_CORE_p = \
c33fae85 121 wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_core.lib
f3ac19c2
WS
122!endif
123!if "$(MONOLITHIC)" == "0"
c33fae85
RN
124__WXLIB_BASE_p = \
125 wxbase$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib
f3ac19c2
WS
126!endif
127!if "$(SHARED)" == "0"
128__foldbarlib___depname = \
c33fae85 129 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_foldbar.lib
f3ac19c2
WS
130!endif
131!if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
132__DEBUGINFO = -v
133!endif
134!if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
135__DEBUGINFO = -v-
136!endif
137!if "$(DEBUG_INFO)" == "0"
138__DEBUGINFO = -v-
139!endif
140!if "$(DEBUG_INFO)" == "1"
141__DEBUGINFO = -v
142!endif
143!if "$(BUILD)" == "debug"
144__OPTIMIZEFLAG = -Od
145!endif
146!if "$(BUILD)" == "release"
147__OPTIMIZEFLAG = -O2
148!endif
149!if "$(RUNTIME_LIBS)" == "dynamic"
150__RUNTIME_LIBS = -tWR
151!endif
152!if "$(RUNTIME_LIBS)" == "static"
153__RUNTIME_LIBS =
154!endif
155!if "$(WXUNIV)" == "1"
156__WXUNIV_DEFINE_p = -D__WXUNIVERSAL__
157!endif
158!if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
159__DEBUG_DEFINE_p = -D__WXDEBUG__
160!endif
161!if "$(DEBUG_FLAG)" == "1"
162__DEBUG_DEFINE_p = -D__WXDEBUG__
163!endif
164!if "$(UNICODE)" == "1"
165__UNICODE_DEFINE_p = -D_UNICODE
166!endif
f3ac19c2
WS
167
168
169all: $(OBJS)
170$(OBJS):
171 -if not exist $(OBJS) mkdir $(OBJS)
172
173### Targets: ###
174
175all: $(__foldbardll___depname) $(__foldbarlib___depname)
176
177clean:
178 -if exist $(OBJS)\*.obj del $(OBJS)\*.obj
179 -if exist $(OBJS)\*.res del $(OBJS)\*.res
b14abf14 180 -if exist $(OBJS)\*.csm del $(OBJS)\*.csm
c33fae85
RN
181 -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
182 -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
183 -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
184 -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
185 -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
186 -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
187 -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
188 -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
189
190!if "$(SHARED)" == "1"
c33fae85 191$(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_foldbar_bcc$(VENDORTAG).dll: $(OBJS)\foldbardll_dummy.obj $(FOLDBARDLL_OBJECTS)
f3ac19c2 192 ilink32 -Tpd -q $(LDFLAGS) -L$(BCCDIR)\lib -L$(BCCDIR)\lib\psdk $(__DEBUGINFO) -L$(LIBDIRNAME) @&&|
dd65d8c8 193 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 cw32mt$(__RUNTIME_LIBS_8).lib,,
f3ac19c2 194|
c33fae85 195 implib -f $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_foldbar $@
f3ac19c2
WS
196!endif
197
198!if "$(SHARED)" == "0"
c33fae85 199$(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_foldbar.lib: $(OBJS)\foldbarlib_dummy.obj $(FOLDBARLIB_OBJECTS)
f3ac19c2
WS
200 if exist $@ del $@
201 tlib /a /p4096 $@ @&&|
202 $(FOLDBARLIB_OBJECTS)
203|
204!endif
205
206$(OBJS)\foldbardll_dummy.obj: ../../src/foldbar\..\..\..\src\msw\dummy.cpp
207 $(CXX) -q -c -P -o$@ $(FOLDBARDLL_CXXFLAGS) -H $**
208
209$(OBJS)\foldbardll_captionbar.obj: ../../src/foldbar\captionbar.cpp
210 $(CXX) -q -c -P -o$@ $(FOLDBARDLL_CXXFLAGS) $**
211
212$(OBJS)\foldbardll_foldpanelbar.obj: ../../src/foldbar\foldpanelbar.cpp
213 $(CXX) -q -c -P -o$@ $(FOLDBARDLL_CXXFLAGS) $**
214
215$(OBJS)\foldbardll_foldpanelitem.obj: ../../src/foldbar\foldpanelitem.cpp
216 $(CXX) -q -c -P -o$@ $(FOLDBARDLL_CXXFLAGS) $**
217
218$(OBJS)\foldbarlib_dummy.obj: ../../src/foldbar\..\..\..\src\msw\dummy.cpp
219 $(CXX) -q -c -P -o$@ $(FOLDBARLIB_CXXFLAGS) -H $**
220
221$(OBJS)\foldbarlib_captionbar.obj: ../../src/foldbar\captionbar.cpp
222 $(CXX) -q -c -P -o$@ $(FOLDBARLIB_CXXFLAGS) $**
223
224$(OBJS)\foldbarlib_foldpanelbar.obj: ../../src/foldbar\foldpanelbar.cpp
225 $(CXX) -q -c -P -o$@ $(FOLDBARLIB_CXXFLAGS) $**
226
227$(OBJS)\foldbarlib_foldpanelitem.obj: ../../src/foldbar\foldpanelitem.cpp
228 $(CXX) -q -c -P -o$@ $(FOLDBARLIB_CXXFLAGS) $**
b14abf14 229