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