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