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