]> git.saurik.com Git - wxWidgets.git/blame - contrib/build/deprecated/makefile.bcc
added .chm support for Unix (Markus Sinner)
[wxWidgets.git] / contrib / build / deprecated / makefile.bcc
CommitLineData
15e8daec
VS
1# =========================================================================
2# This makefile was generated by
3# Bakefile 0.1.1 (http://bakefile.sourceforge.net)
4# Do not modify, all changes will be overwritten!
5# =========================================================================
6
7!ifndef BCCDIR
8BCCDIR = $(MAKEDIR)\..
9!endif
10
fd9f42b6 11!include ../../../build/msw/config.bcc
15e8daec
VS
12
13# -------------------------------------------------------------------------
14# Do not modify the rest of this file!
15# -------------------------------------------------------------------------
16
17!if "$(BCCDIR)" == "\.."
18!error Your Borland compiler does not define MAKEDIR. Please define the BCCDIR variable, e.g. BCCDIR=d:\bc4
19!endif
20
21### Variables: ###
22
1c3a6972
VS
23DEPRECATEDDLL_CFLAGS = $(CPPFLAGS) $(__RUNTIME_LIBS) -I$(BCCDIR)\include \
24 $(__DEBUGINFO) $(__OPTIMIZEFLAG) -tWM -D__WXMSW__ $(__WXUNIV_DEFINE_p) \
25 $(__DEBUG_DEFINE_p) $(__UNICODE_DEFINE_p) \
26 -I..\..\src\deprecated\..\..\..\include -I$(SETUPHDIR) \
27 -I..\..\src\deprecated\..\..\include -DWXUSINGDLL -DWXMAKINGDLL_DEPRECATED \
28 -I..\..\src\deprecated $(CFLAGS)
29DEPRECATEDDLL_CXXFLAGS = $(CPPFLAGS) $(__RUNTIME_LIBS) -I$(BCCDIR)\include \
30 $(__DEBUGINFO) $(__OPTIMIZEFLAG) -tWM -D__WXMSW__ $(__WXUNIV_DEFINE_p) \
31 $(__DEBUG_DEFINE_p) $(__UNICODE_DEFINE_p) \
32 -I..\..\src\deprecated\..\..\..\include -I$(SETUPHDIR) \
33 -I..\..\src\deprecated\..\..\include -DWXUSINGDLL -DWXMAKINGDLL_DEPRECATED \
34 -I..\..\src\deprecated $(CXXFLAGS) -Hu -H=$(OBJS)\wxprec_deprecateddll.csm
15e8daec
VS
35DEPRECATEDDLL_OBJECTS = \
36 $(OBJS)\deprecateddll_dummy.obj \
37 $(OBJS)\deprecateddll_prop.obj \
38 $(OBJS)\deprecateddll_propform.obj \
39 $(OBJS)\deprecateddll_proplist.obj \
40 $(OBJS)\deprecateddll_resource.obj \
8a82c9ec 41 $(OBJS)\deprecateddll_tbarsmpl.obj \
15e8daec
VS
42 $(OBJS)\deprecateddll_treelay.obj \
43 $(OBJS)\deprecateddll_wxexpr.obj \
44 $(OBJS)\deprecateddll_dosyacc.obj
1c3a6972
VS
45DEPRECATEDLIB_CFLAGS = $(CPPFLAGS) $(__RUNTIME_LIBS) -I$(BCCDIR)\include \
46 $(__DEBUGINFO) $(__OPTIMIZEFLAG) -tWM -D__WXMSW__ $(__WXUNIV_DEFINE_p) \
47 $(__DEBUG_DEFINE_p) $(__UNICODE_DEFINE_p) \
48 -I..\..\src\deprecated\..\..\..\include -I$(SETUPHDIR) \
49 -I..\..\src\deprecated\..\..\include -I..\..\src\deprecated $(CFLAGS)
50DEPRECATEDLIB_CXXFLAGS = $(CPPFLAGS) $(__RUNTIME_LIBS) -I$(BCCDIR)\include \
51 $(__DEBUGINFO) $(__OPTIMIZEFLAG) -tWM -D__WXMSW__ $(__WXUNIV_DEFINE_p) \
52 $(__DEBUG_DEFINE_p) $(__UNICODE_DEFINE_p) \
53 -I..\..\src\deprecated\..\..\..\include -I$(SETUPHDIR) \
54 -I..\..\src\deprecated\..\..\include -I..\..\src\deprecated $(CXXFLAGS) -Hu \
55 -H=$(OBJS)\wxprec_deprecatedlib.csm
15e8daec
VS
56DEPRECATEDLIB_OBJECTS = \
57 $(OBJS)\deprecatedlib_dummy.obj \
58 $(OBJS)\deprecatedlib_prop.obj \
59 $(OBJS)\deprecatedlib_propform.obj \
60 $(OBJS)\deprecatedlib_proplist.obj \
61 $(OBJS)\deprecatedlib_resource.obj \
8a82c9ec 62 $(OBJS)\deprecatedlib_tbarsmpl.obj \
15e8daec
VS
63 $(OBJS)\deprecatedlib_treelay.obj \
64 $(OBJS)\deprecatedlib_wxexpr.obj \
65 $(OBJS)\deprecatedlib_dosyacc.obj
15e8daec
VS
66OBJS = \
67 bcc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)
75a0a7b7
VS
68SETUPHDIR = \
69 $(LIBDIRNAME)\$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)
15e8daec
VS
70
71### Conditionally set variables: ###
72
75a0a7b7
VS
73!if "$(SHARED)" == "0"
74LIBDIRNAME = ..\..\src\deprecated\..\..\..\lib\bcc_lib$(CFG)
75!endif
76!if "$(SHARED)" == "1"
77LIBDIRNAME = ..\..\src\deprecated\..\..\..\lib\bcc_dll$(CFG)
78!endif
15e8daec
VS
79!if "$(USE_GUI)" == "0"
80PORTNAME = base
81!endif
82!if "$(USE_GUI)" == "1"
83PORTNAME = msw
84!endif
85!if "$(OFFICIAL_BUILD)" == "0"
86VENDORTAG = _$(VENDOR)
87!endif
88!if "$(OFFICIAL_BUILD)" == "1"
89VENDORTAG =
90!endif
91!if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
92WXDEBUGFLAG = d
93!endif
94!if "$(DEBUG_FLAG)" == "1"
95WXDEBUGFLAG = d
96!endif
97!if "$(SHARED)" == "1"
98WXDLLFLAG = dll
99!endif
100!if "$(UNICODE)" == "1"
101WXUNICODEFLAG = u
102!endif
103!if "$(WXUNIV)" == "1"
104WXUNIVNAME = univ
105!endif
106!if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
107__DEBUGINFO = -v
108!endif
109!if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
110__DEBUGINFO = -v-
111!endif
112!if "$(DEBUG_INFO)" == "0"
113__DEBUGINFO = -v-
114!endif
115!if "$(DEBUG_INFO)" == "1"
116__DEBUGINFO = -v
117!endif
118!if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
119__DEBUG_DEFINE_p = -D__WXDEBUG__
120!endif
121!if "$(DEBUG_FLAG)" == "1"
122__DEBUG_DEFINE_p = -D__WXDEBUG__
123!endif
124!if "$(USE_GUI)" == "1"
125__LIB_JPEG_p = wxjpeg$(WXDEBUGFLAG).lib
126!endif
127!if "$(USE_GUI)" == "1"
128__LIB_PNG_p = wxpng$(WXDEBUGFLAG).lib
129!endif
130!if "$(USE_GUI)" == "1"
131__LIB_TIFF_p = wxtiff$(WXDEBUGFLAG).lib
132!endif
133!if "$(BUILD)" == "debug"
134__OPTIMIZEFLAG = -Od
135!endif
136!if "$(BUILD)" == "release"
137__OPTIMIZEFLAG = -O2
138!endif
139!if "$(RUNTIME_LIBS)" == "dynamic"
140__RUNTIME_LIBS = -tWR
141!endif
142!if "$(RUNTIME_LIBS)" == "static"
143__RUNTIME_LIBS =
144!endif
145!if "$(RUNTIME_LIBS)" == "dynamic"
146__RUNTIME_LIBS_7 = i
147!endif
148!if "$(RUNTIME_LIBS)" == "static"
149__RUNTIME_LIBS_7 =
150!endif
151!if "$(UNICODE)" == "1"
ec08d395 152__UNICODE_DEFINE_p = -D_UNICODE
15e8daec 153!endif
2265a2d5
VS
154!if "$(MSLU)" == "1"
155__UNICOWS_LIB_p = unicows.lib
156!endif
15e8daec
VS
157!if "$(MONOLITHIC)" == "0"
158__WXLIB_BASE_p = wxbase25$(WXUNICODEFLAG)$(WXDEBUGFLAG).lib
159!endif
160!if "$(MONOLITHIC)" == "0"
161__WXLIB_CORE_p = \
162 wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_core.lib
163!endif
164!if "$(MONOLITHIC)" == "1"
165__WXLIB_MONO_p = \
166 wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG).lib
167!endif
168!if "$(WXUNIV)" == "1"
169__WXUNIV_DEFINE_p = -D__WXUNIVERSAL__
170!endif
171!if "$(SHARED)" == "1"
172__deprecateddll___depname = \
ec08d395 173 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)251$(WXUNICODEFLAG)$(WXDEBUGFLAG)_deprecated_bcc$(VENDORTAG).dll
15e8daec
VS
174!endif
175!if "$(SHARED)" == "0"
176__deprecatedlib___depname = \
177 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_deprecated.lib
178!endif
179
180
181all: $(OBJS)
182$(OBJS):
183 -if not exist $(OBJS) mkdir $(OBJS)
184
185### Targets: ###
186
187all: $(__deprecateddll___depname) $(__deprecatedlib___depname)
188
189$(OBJS)\deprecateddll_dosyacc.obj: ../../src/deprecated\dosyacc.c
190 $(CC) -q -c -P- -o$@ $(DEPRECATEDDLL_CFLAGS) $**
191
192$(OBJS)\deprecateddll_dummy.obj: ../../src/deprecated\..\..\..\src\msw\dummy.cpp
193 $(CXX) -q -c -P -o$@ $(DEPRECATEDDLL_CXXFLAGS) -H $**
194
195$(OBJS)\deprecateddll_prop.obj: ../../src/deprecated\prop.cpp
196 $(CXX) -q -c -P -o$@ $(DEPRECATEDDLL_CXXFLAGS) $**
197
198$(OBJS)\deprecateddll_propform.obj: ../../src/deprecated\propform.cpp
199 $(CXX) -q -c -P -o$@ $(DEPRECATEDDLL_CXXFLAGS) $**
200
201$(OBJS)\deprecateddll_proplist.obj: ../../src/deprecated\proplist.cpp
202 $(CXX) -q -c -P -o$@ $(DEPRECATEDDLL_CXXFLAGS) $**
203
204$(OBJS)\deprecateddll_resource.obj: ../../src/deprecated\resource.cpp
205 $(CXX) -q -c -P -o$@ $(DEPRECATEDDLL_CXXFLAGS) $**
206
8a82c9ec
JS
207$(OBJS)\deprecateddll_tbarsmpl.obj: ../../src/deprecated\tbarsmpl.cpp
208 $(CXX) -q -c -P -o$@ $(DEPRECATEDDLL_CXXFLAGS) $**
209
15e8daec
VS
210$(OBJS)\deprecateddll_treelay.obj: ../../src/deprecated\treelay.cpp
211 $(CXX) -q -c -P -o$@ $(DEPRECATEDDLL_CXXFLAGS) $**
212
213$(OBJS)\deprecateddll_wxexpr.obj: ../../src/deprecated\wxexpr.cpp
214 $(CXX) -q -c -P -o$@ $(DEPRECATEDDLL_CXXFLAGS) $**
215
216$(OBJS)\deprecatedlib_dosyacc.obj: ../../src/deprecated\dosyacc.c
217 $(CC) -q -c -P- -o$@ $(DEPRECATEDLIB_CFLAGS) $**
218
219$(OBJS)\deprecatedlib_dummy.obj: ../../src/deprecated\..\..\..\src\msw\dummy.cpp
220 $(CXX) -q -c -P -o$@ $(DEPRECATEDLIB_CXXFLAGS) -H $**
221
222$(OBJS)\deprecatedlib_prop.obj: ../../src/deprecated\prop.cpp
223 $(CXX) -q -c -P -o$@ $(DEPRECATEDLIB_CXXFLAGS) $**
224
225$(OBJS)\deprecatedlib_propform.obj: ../../src/deprecated\propform.cpp
226 $(CXX) -q -c -P -o$@ $(DEPRECATEDLIB_CXXFLAGS) $**
227
228$(OBJS)\deprecatedlib_proplist.obj: ../../src/deprecated\proplist.cpp
229 $(CXX) -q -c -P -o$@ $(DEPRECATEDLIB_CXXFLAGS) $**
230
231$(OBJS)\deprecatedlib_resource.obj: ../../src/deprecated\resource.cpp
232 $(CXX) -q -c -P -o$@ $(DEPRECATEDLIB_CXXFLAGS) $**
233
8a82c9ec
JS
234$(OBJS)\deprecatedlib_tbarsmpl.obj: ../../src/deprecated\tbarsmpl.cpp
235 $(CXX) -q -c -P -o$@ $(DEPRECATEDLIB_CXXFLAGS) $**
236
15e8daec
VS
237$(OBJS)\deprecatedlib_treelay.obj: ../../src/deprecated\treelay.cpp
238 $(CXX) -q -c -P -o$@ $(DEPRECATEDLIB_CXXFLAGS) $**
239
240$(OBJS)\deprecatedlib_wxexpr.obj: ../../src/deprecated\wxexpr.cpp
241 $(CXX) -q -c -P -o$@ $(DEPRECATEDLIB_CXXFLAGS) $**
242
243clean:
244 -if exist $(OBJS)\*.obj del $(OBJS)\*.obj
245 -if exist $(OBJS)\*.res del $(OBJS)\*.res
ec08d395
JS
246 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)251$(WXUNICODEFLAG)$(WXDEBUGFLAG)_deprecated_bcc$(VENDORTAG).dll del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)251$(WXUNICODEFLAG)$(WXDEBUGFLAG)_deprecated_bcc$(VENDORTAG).dll
247 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)251$(WXUNICODEFLAG)$(WXDEBUGFLAG)_deprecated_bcc$(VENDORTAG).tds del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)251$(WXUNICODEFLAG)$(WXDEBUGFLAG)_deprecated_bcc$(VENDORTAG).tds
248 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)251$(WXUNICODEFLAG)$(WXDEBUGFLAG)_deprecated_bcc$(VENDORTAG).ilc del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)251$(WXUNICODEFLAG)$(WXDEBUGFLAG)_deprecated_bcc$(VENDORTAG).ilc
249 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)251$(WXUNICODEFLAG)$(WXDEBUGFLAG)_deprecated_bcc$(VENDORTAG).ild del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)251$(WXUNICODEFLAG)$(WXDEBUGFLAG)_deprecated_bcc$(VENDORTAG).ild
250 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)251$(WXUNICODEFLAG)$(WXDEBUGFLAG)_deprecated_bcc$(VENDORTAG).ilf del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)251$(WXUNICODEFLAG)$(WXDEBUGFLAG)_deprecated_bcc$(VENDORTAG).ilf
251 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)251$(WXUNICODEFLAG)$(WXDEBUGFLAG)_deprecated_bcc$(VENDORTAG).ils del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)251$(WXUNICODEFLAG)$(WXDEBUGFLAG)_deprecated_bcc$(VENDORTAG).ils
15e8daec
VS
252 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_deprecated.lib del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_deprecated.lib
253 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_deprecated.lib del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_deprecated.lib
254
255!if "$(SHARED)" == "1"
ec08d395 256$(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)251$(WXUNICODEFLAG)$(WXDEBUGFLAG)_deprecated_bcc$(VENDORTAG).dll: $(OBJS)\deprecateddll_dummy.obj $(DEPRECATEDDLL_OBJECTS)
1c3a6972 257 ilink32 -Tpd -q $(LDFLAGS) -L$(BCCDIR)\lib $(__DEBUGINFO) -L$(LIBDIRNAME) @&&|
ec08d395 258 c0d32.obj $(DEPRECATEDDLL_OBJECTS),$@,, $(__WXLIB_MONO_p) $(__LIB_TIFF_p) $(__LIB_JPEG_p) $(__LIB_PNG_p) wxzlib$(WXDEBUGFLAG).lib wxregex$(WXDEBUGFLAG).lib wxexpat$(WXDEBUGFLAG).lib $(__UNICOWS_LIB_p) ole2w32.lib oleacc.lib $(__WXLIB_CORE_p) $(__WXLIB_BASE_p) import32.lib cw32mt$(__RUNTIME_LIBS_7).lib,,
15e8daec
VS
259|
260 implib -f $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_deprecated $@
261!endif
262
263!if "$(SHARED)" == "0"
75a0a7b7 264$(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_deprecated.lib: $(OBJS)\deprecatedlib_dummy.obj $(DEPRECATEDLIB_OBJECTS)
15e8daec
VS
265 if exist $@ del $@
266 tlib /a /p2048 $@ @&&|
267 $(DEPRECATEDLIB_OBJECTS)
268|
269!endif