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