1 # =========================================================================
2 # This makefile was generated by
3 # Bakefile 0.1.8 (http://bakefile.sourceforge.net)
4 # Do not modify, all changes will be overwritten!
5 # =========================================================================
11 !error Your Borland compiler does not define MAKEDIR. Please define the BCCDIR variable, e.g. BCCDIR=d:\bc4
13 BCCDIR = $(MAKEDIR)\..
16 !include ../../../build/msw/config.bcc
18 # -------------------------------------------------------------------------
19 # Do not modify the rest of this file!
20 # -------------------------------------------------------------------------
25 WX_VERSION_NODOT = $(WX_RELEASE_NODOT)5
27 bcc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)
28 LIBDIRNAME = ..\..\src\deprecated\..\..\..\lib\bcc_$(LIBTYPE_SUFFIX)$(CFG)
30 $(LIBDIRNAME)\$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)
31 DEPRECATEDDLL_CFLAGS = $(__RUNTIME_LIBS) -I$(BCCDIR)\include $(__DEBUGINFO) \
32 $(__OPTIMIZEFLAG) $(__THREADSFLAG) -D__WXMSW__ $(__WXUNIV_DEFINE_p) \
33 $(__DEBUG_DEFINE_p) $(__EXCEPTIONS_DEFINE_p) $(__RTTI_DEFINE_p) \
34 $(__THREAD_DEFINE_p) $(__UNICODE_DEFINE_p) \
35 -I..\..\src\deprecated\..\..\..\include -I$(SETUPHDIR) \
36 -I..\..\src\deprecated\..\..\include -DWXUSINGDLL -DWXMAKINGDLL_DEPRECATED \
37 -I..\..\src\deprecated $(CPPFLAGS) $(CFLAGS)
38 DEPRECATEDDLL_CXXFLAGS = $(__RUNTIME_LIBS) -I$(BCCDIR)\include $(__DEBUGINFO) \
39 $(__OPTIMIZEFLAG) $(__THREADSFLAG) -D__WXMSW__ $(__WXUNIV_DEFINE_p) \
40 $(__DEBUG_DEFINE_p) $(__EXCEPTIONS_DEFINE_p) $(__RTTI_DEFINE_p) \
41 $(__THREAD_DEFINE_p) $(__UNICODE_DEFINE_p) \
42 -I..\..\src\deprecated\..\..\..\include -I$(SETUPHDIR) \
43 -I..\..\src\deprecated\..\..\include -DWXUSINGDLL -DWXMAKINGDLL_DEPRECATED \
44 -I..\..\src\deprecated -Hu -H=$(OBJS)\wxprec_deprecateddll.csm $(CPPFLAGS) \
46 DEPRECATEDDLL_OBJECTS = \
47 $(OBJS)\deprecateddll_dummy.obj \
48 $(OBJS)\deprecateddll_prop.obj \
49 $(OBJS)\deprecateddll_propform.obj \
50 $(OBJS)\deprecateddll_proplist.obj \
51 $(OBJS)\deprecateddll_resource.obj \
52 $(OBJS)\deprecateddll_tbarsmpl.obj \
53 $(OBJS)\deprecateddll_treelay.obj \
54 $(OBJS)\deprecateddll_wxexpr.obj \
55 $(OBJS)\deprecateddll_dosyacc.obj
56 DEPRECATEDLIB_CFLAGS = $(__RUNTIME_LIBS) -I$(BCCDIR)\include $(__DEBUGINFO) \
57 $(__OPTIMIZEFLAG) $(__THREADSFLAG) -D__WXMSW__ $(__WXUNIV_DEFINE_p) \
58 $(__DEBUG_DEFINE_p) $(__EXCEPTIONS_DEFINE_p) $(__RTTI_DEFINE_p) \
59 $(__THREAD_DEFINE_p) $(__UNICODE_DEFINE_p) \
60 -I..\..\src\deprecated\..\..\..\include -I$(SETUPHDIR) \
61 -I..\..\src\deprecated\..\..\include -I..\..\src\deprecated $(CPPFLAGS) \
63 DEPRECATEDLIB_CXXFLAGS = $(__RUNTIME_LIBS) -I$(BCCDIR)\include $(__DEBUGINFO) \
64 $(__OPTIMIZEFLAG) $(__THREADSFLAG) -D__WXMSW__ $(__WXUNIV_DEFINE_p) \
65 $(__DEBUG_DEFINE_p) $(__EXCEPTIONS_DEFINE_p) $(__RTTI_DEFINE_p) \
66 $(__THREAD_DEFINE_p) $(__UNICODE_DEFINE_p) \
67 -I..\..\src\deprecated\..\..\..\include -I$(SETUPHDIR) \
68 -I..\..\src\deprecated\..\..\include -I..\..\src\deprecated -Hu \
69 -H=$(OBJS)\wxprec_deprecatedlib.csm $(CPPFLAGS) $(CXXFLAGS)
70 DEPRECATEDLIB_OBJECTS = \
71 $(OBJS)\deprecatedlib_dummy.obj \
72 $(OBJS)\deprecatedlib_prop.obj \
73 $(OBJS)\deprecatedlib_propform.obj \
74 $(OBJS)\deprecatedlib_proplist.obj \
75 $(OBJS)\deprecatedlib_resource.obj \
76 $(OBJS)\deprecatedlib_tbarsmpl.obj \
77 $(OBJS)\deprecatedlib_treelay.obj \
78 $(OBJS)\deprecatedlib_wxexpr.obj \
79 $(OBJS)\deprecatedlib_dosyacc.obj
81 ### Conditionally set variables: ###
83 !if "$(USE_GUI)" == "0"
86 !if "$(USE_GUI)" == "1"
89 !if "$(OFFICIAL_BUILD)" == "0"
90 VENDORTAG = _$(VENDOR)
92 !if "$(OFFICIAL_BUILD)" == "1"
95 !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
98 !if "$(DEBUG_FLAG)" == "1"
101 !if "$(UNICODE)" == "1"
104 !if "$(WXUNIV)" == "1"
107 !if "$(SHARED)" == "1"
110 !if "$(SHARED)" == "0"
113 !if "$(SHARED)" == "1"
116 !if "$(MONOLITHIC)" == "0"
119 !if "$(MONOLITHIC)" == "1"
122 !if "$(SHARED)" == "1"
123 __deprecateddll___depname = \
124 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_deprecated_bcc$(VENDORTAG).dll
126 !if "$(USE_THREADS)" == "0"
129 !if "$(USE_THREADS)" == "1"
132 !if "$(RUNTIME_LIBS)" == "dynamic"
135 !if "$(RUNTIME_LIBS)" == "static"
138 !if "$(WXUNIV)" == "1"
139 __WXUNIV_DEFINE_p_1 = -d__WXUNIVERSAL__
141 !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
142 __DEBUG_DEFINE_p_1 = -d__WXDEBUG__
144 !if "$(DEBUG_FLAG)" == "1"
145 __DEBUG_DEFINE_p_1 = -d__WXDEBUG__
147 !if "$(USE_EXCEPTIONS)" == "0"
148 __EXCEPTIONS_DEFINE_p_1 = -dwxNO_EXCEPTIONS
150 !if "$(USE_RTTI)" == "0"
151 __RTTI_DEFINE_p_1 = -dwxNO_RTTI
153 !if "$(USE_THREADS)" == "0"
154 __THREAD_DEFINE_p_1 = -dwxNO_THREADS
156 !if "$(UNICODE)" == "1"
157 __UNICODE_DEFINE_p_1 = -d_UNICODE
159 !if "$(MONOLITHIC)" == "1"
161 wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib
163 !if "$(USE_GUI)" == "1"
164 __LIB_TIFF_p = wxtiff$(WXDEBUGFLAG).lib
166 !if "$(USE_GUI)" == "1"
167 __LIB_JPEG_p = wxjpeg$(WXDEBUGFLAG).lib
169 !if "$(USE_GUI)" == "1"
170 __LIB_PNG_p = wxpng$(WXDEBUGFLAG).lib
173 __UNICOWS_LIB_p = unicows.lib
175 !if "$(MONOLITHIC)" == "0"
177 wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_core.lib
179 !if "$(MONOLITHIC)" == "0"
181 wxbase$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib
183 !if "$(SHARED)" == "0"
184 __deprecatedlib___depname = \
185 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_deprecated.lib
187 !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
190 !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
193 !if "$(DEBUG_INFO)" == "0"
196 !if "$(DEBUG_INFO)" == "1"
199 !if "$(BUILD)" == "debug"
202 !if "$(BUILD)" == "release"
205 !if "$(USE_THREADS)" == "0"
208 !if "$(USE_THREADS)" == "1"
211 !if "$(RUNTIME_LIBS)" == "dynamic"
212 __RUNTIME_LIBS = -tWR
214 !if "$(RUNTIME_LIBS)" == "static"
217 !if "$(WXUNIV)" == "1"
218 __WXUNIV_DEFINE_p = -D__WXUNIVERSAL__
220 !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
221 __DEBUG_DEFINE_p = -D__WXDEBUG__
223 !if "$(DEBUG_FLAG)" == "1"
224 __DEBUG_DEFINE_p = -D__WXDEBUG__
226 !if "$(USE_EXCEPTIONS)" == "0"
227 __EXCEPTIONS_DEFINE_p = -DwxNO_EXCEPTIONS
229 !if "$(USE_RTTI)" == "0"
230 __RTTI_DEFINE_p = -DwxNO_RTTI
232 !if "$(USE_THREADS)" == "0"
233 __THREAD_DEFINE_p = -DwxNO_THREADS
235 !if "$(UNICODE)" == "1"
236 __UNICODE_DEFINE_p = -D_UNICODE
242 -if not exist $(OBJS) mkdir $(OBJS)
246 all: $(__deprecateddll___depname) $(__deprecatedlib___depname)
249 -if exist $(OBJS)\*.obj del $(OBJS)\*.obj
250 -if exist $(OBJS)\*.res del $(OBJS)\*.res
251 -if exist $(OBJS)\*.csm del $(OBJS)\*.csm
252 -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
253 -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
254 -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
255 -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
256 -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
257 -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
258 -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
259 -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
261 !if "$(SHARED)" == "1"
262 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_deprecated_bcc$(VENDORTAG).dll: $(OBJS)\deprecateddll_dummy.obj $(DEPRECATEDDLL_OBJECTS) $(OBJS)\deprecateddll_version.res
263 ilink32 -Tpd -q $(LDFLAGS) -L$(BCCDIR)\lib -L$(BCCDIR)\lib\psdk $(__DEBUGINFO) -L$(LIBDIRNAME) @&&|
264 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 cw32$(__THREADSFLAG_6)$(__RUNTIME_LIBS_9).lib,, $(OBJS)\deprecateddll_version.res
266 implib -f $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_deprecated $@
269 !if "$(SHARED)" == "0"
270 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_deprecated.lib: $(OBJS)\deprecatedlib_dummy.obj $(DEPRECATEDLIB_OBJECTS)
272 tlib /a /p4096 $@ @&&|
273 $(DEPRECATEDLIB_OBJECTS)
277 $(OBJS)\deprecateddll_dummy.obj: ../../src/deprecated\..\..\..\src\msw\dummy.cpp
278 $(CXX) -q -c -P -o$@ $(DEPRECATEDDLL_CXXFLAGS) -H $**
280 $(OBJS)\deprecateddll_version.res: ../../src/deprecated\..\..\..\src\msw\version.rc
281 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\deprecated\..\..\..\include -i$(SETUPHDIR) -dWXDLLNAME=wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_deprecated_bcc$(VENDORTAG) $**
283 $(OBJS)\deprecateddll_prop.obj: ../../src/deprecated\prop.cpp
284 $(CXX) -q -c -P -o$@ $(DEPRECATEDDLL_CXXFLAGS) $**
286 $(OBJS)\deprecateddll_propform.obj: ../../src/deprecated\propform.cpp
287 $(CXX) -q -c -P -o$@ $(DEPRECATEDDLL_CXXFLAGS) $**
289 $(OBJS)\deprecateddll_proplist.obj: ../../src/deprecated\proplist.cpp
290 $(CXX) -q -c -P -o$@ $(DEPRECATEDDLL_CXXFLAGS) $**
292 $(OBJS)\deprecateddll_resource.obj: ../../src/deprecated\resource.cpp
293 $(CXX) -q -c -P -o$@ $(DEPRECATEDDLL_CXXFLAGS) $**
295 $(OBJS)\deprecateddll_tbarsmpl.obj: ../../src/deprecated\tbarsmpl.cpp
296 $(CXX) -q -c -P -o$@ $(DEPRECATEDDLL_CXXFLAGS) $**
298 $(OBJS)\deprecateddll_treelay.obj: ../../src/deprecated\treelay.cpp
299 $(CXX) -q -c -P -o$@ $(DEPRECATEDDLL_CXXFLAGS) $**
301 $(OBJS)\deprecateddll_wxexpr.obj: ../../src/deprecated\wxexpr.cpp
302 $(CXX) -q -c -P -o$@ $(DEPRECATEDDLL_CXXFLAGS) $**
304 $(OBJS)\deprecateddll_dosyacc.obj: ../../src/deprecated\dosyacc.c
305 $(CC) -q -c -P- -o$@ $(DEPRECATEDDLL_CFLAGS) $**
307 $(OBJS)\deprecatedlib_dummy.obj: ../../src/deprecated\..\..\..\src\msw\dummy.cpp
308 $(CXX) -q -c -P -o$@ $(DEPRECATEDLIB_CXXFLAGS) -H $**
310 $(OBJS)\deprecatedlib_prop.obj: ../../src/deprecated\prop.cpp
311 $(CXX) -q -c -P -o$@ $(DEPRECATEDLIB_CXXFLAGS) $**
313 $(OBJS)\deprecatedlib_propform.obj: ../../src/deprecated\propform.cpp
314 $(CXX) -q -c -P -o$@ $(DEPRECATEDLIB_CXXFLAGS) $**
316 $(OBJS)\deprecatedlib_proplist.obj: ../../src/deprecated\proplist.cpp
317 $(CXX) -q -c -P -o$@ $(DEPRECATEDLIB_CXXFLAGS) $**
319 $(OBJS)\deprecatedlib_resource.obj: ../../src/deprecated\resource.cpp
320 $(CXX) -q -c -P -o$@ $(DEPRECATEDLIB_CXXFLAGS) $**
322 $(OBJS)\deprecatedlib_tbarsmpl.obj: ../../src/deprecated\tbarsmpl.cpp
323 $(CXX) -q -c -P -o$@ $(DEPRECATEDLIB_CXXFLAGS) $**
325 $(OBJS)\deprecatedlib_treelay.obj: ../../src/deprecated\treelay.cpp
326 $(CXX) -q -c -P -o$@ $(DEPRECATEDLIB_CXXFLAGS) $**
328 $(OBJS)\deprecatedlib_wxexpr.obj: ../../src/deprecated\wxexpr.cpp
329 $(CXX) -q -c -P -o$@ $(DEPRECATEDLIB_CXXFLAGS) $**
331 $(OBJS)\deprecatedlib_dosyacc.obj: ../../src/deprecated\dosyacc.c
332 $(CC) -q -c -P- -o$@ $(DEPRECATEDLIB_CFLAGS) $**