1 # =========================================================================
2 # This makefile was generated by
3 # Bakefile 0.1.9 (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 # -------------------------------------------------------------------------
26 bcc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)
27 LIBDIRNAME = ..\..\src\deprecated\..\..\..\lib\bcc_$(LIBTYPE_SUFFIX)$(CFG)
29 $(LIBDIRNAME)\$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)
30 DEPRECATEDDLL_CFLAGS = $(__RUNTIME_LIBS) -I$(BCCDIR)\include $(__DEBUGINFO) \
31 $(__OPTIMIZEFLAG) $(__THREADSFLAG) -D__WXMSW__ $(__WXUNIV_DEFINE_p) \
32 $(__DEBUG_DEFINE_p) $(__EXCEPTIONS_DEFINE_p) $(__RTTI_DEFINE_p) \
33 $(__THREAD_DEFINE_p) $(__UNICODE_DEFINE_p) \
34 -I..\..\src\deprecated\..\..\..\include -I$(SETUPHDIR) \
35 -I..\..\src\deprecated\..\..\include -DWXUSINGDLL -DWXMAKINGDLL_DEPRECATED \
36 -I..\..\src\deprecated $(CPPFLAGS) $(CFLAGS)
37 DEPRECATEDDLL_CXXFLAGS = $(__RUNTIME_LIBS) -I$(BCCDIR)\include $(__DEBUGINFO) \
38 $(__OPTIMIZEFLAG) $(__THREADSFLAG) -D__WXMSW__ $(__WXUNIV_DEFINE_p) \
39 $(__DEBUG_DEFINE_p) $(__EXCEPTIONS_DEFINE_p) $(__RTTI_DEFINE_p) \
40 $(__THREAD_DEFINE_p) $(__UNICODE_DEFINE_p) \
41 -I..\..\src\deprecated\..\..\..\include -I$(SETUPHDIR) \
42 -I..\..\src\deprecated\..\..\include -DWXUSINGDLL -DWXMAKINGDLL_DEPRECATED \
43 -I..\..\src\deprecated -Hu -H=$(OBJS)\wxprec_deprecateddll.csm $(CPPFLAGS) \
45 DEPRECATEDDLL_OBJECTS = \
46 $(OBJS)\deprecateddll_dummy.obj \
47 $(OBJS)\deprecateddll_prop.obj \
48 $(OBJS)\deprecateddll_propform.obj \
49 $(OBJS)\deprecateddll_proplist.obj \
50 $(OBJS)\deprecateddll_resource.obj \
51 $(OBJS)\deprecateddll_tbarsmpl.obj \
52 $(OBJS)\deprecateddll_treelay.obj \
53 $(OBJS)\deprecateddll_wxexpr.obj \
54 $(OBJS)\deprecateddll_dosyacc.obj
55 DEPRECATEDLIB_CFLAGS = $(__RUNTIME_LIBS) -I$(BCCDIR)\include $(__DEBUGINFO) \
56 $(__OPTIMIZEFLAG) $(__THREADSFLAG) -D__WXMSW__ $(__WXUNIV_DEFINE_p) \
57 $(__DEBUG_DEFINE_p) $(__EXCEPTIONS_DEFINE_p) $(__RTTI_DEFINE_p) \
58 $(__THREAD_DEFINE_p) $(__UNICODE_DEFINE_p) \
59 -I..\..\src\deprecated\..\..\..\include -I$(SETUPHDIR) \
60 -I..\..\src\deprecated\..\..\include -I..\..\src\deprecated $(CPPFLAGS) \
62 DEPRECATEDLIB_CXXFLAGS = $(__RUNTIME_LIBS) -I$(BCCDIR)\include $(__DEBUGINFO) \
63 $(__OPTIMIZEFLAG) $(__THREADSFLAG) -D__WXMSW__ $(__WXUNIV_DEFINE_p) \
64 $(__DEBUG_DEFINE_p) $(__EXCEPTIONS_DEFINE_p) $(__RTTI_DEFINE_p) \
65 $(__THREAD_DEFINE_p) $(__UNICODE_DEFINE_p) \
66 -I..\..\src\deprecated\..\..\..\include -I$(SETUPHDIR) \
67 -I..\..\src\deprecated\..\..\include -I..\..\src\deprecated -Hu \
68 -H=$(OBJS)\wxprec_deprecatedlib.csm $(CPPFLAGS) $(CXXFLAGS)
69 DEPRECATEDLIB_OBJECTS = \
70 $(OBJS)\deprecatedlib_dummy.obj \
71 $(OBJS)\deprecatedlib_prop.obj \
72 $(OBJS)\deprecatedlib_propform.obj \
73 $(OBJS)\deprecatedlib_proplist.obj \
74 $(OBJS)\deprecatedlib_resource.obj \
75 $(OBJS)\deprecatedlib_tbarsmpl.obj \
76 $(OBJS)\deprecatedlib_treelay.obj \
77 $(OBJS)\deprecatedlib_wxexpr.obj \
78 $(OBJS)\deprecatedlib_dosyacc.obj
80 ### Conditionally set variables: ###
82 !if "$(USE_GUI)" == "0"
85 !if "$(USE_GUI)" == "1"
88 !if "$(OFFICIAL_BUILD)" == "0"
89 VENDORTAG = _$(VENDOR)
91 !if "$(OFFICIAL_BUILD)" == "1"
94 !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
97 !if "$(DEBUG_FLAG)" == "1"
100 !if "$(UNICODE)" == "1"
103 !if "$(WXUNIV)" == "1"
106 !if "$(SHARED)" == "1"
109 !if "$(SHARED)" == "0"
112 !if "$(SHARED)" == "1"
115 !if "$(MONOLITHIC)" == "0"
118 !if "$(MONOLITHIC)" == "1"
121 !if "$(SHARED)" == "1"
122 __deprecateddll___depname = \
123 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_deprecated_bcc$(VENDORTAG).dll
125 !if "$(USE_THREADS)" == "0"
128 !if "$(USE_THREADS)" == "1"
131 !if "$(RUNTIME_LIBS)" == "dynamic"
134 !if "$(RUNTIME_LIBS)" == "static"
137 !if "$(WXUNIV)" == "1"
138 __WXUNIV_DEFINE_p_1 = -d__WXUNIVERSAL__
140 !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
141 __DEBUG_DEFINE_p_1 = -d__WXDEBUG__
143 !if "$(DEBUG_FLAG)" == "1"
144 __DEBUG_DEFINE_p_1 = -d__WXDEBUG__
146 !if "$(USE_EXCEPTIONS)" == "0"
147 __EXCEPTIONS_DEFINE_p_1 = -dwxNO_EXCEPTIONS
149 !if "$(USE_RTTI)" == "0"
150 __RTTI_DEFINE_p_1 = -dwxNO_RTTI
152 !if "$(USE_THREADS)" == "0"
153 __THREAD_DEFINE_p_1 = -dwxNO_THREADS
155 !if "$(UNICODE)" == "1"
156 __UNICODE_DEFINE_p_1 = -d_UNICODE
158 !if "$(MONOLITHIC)" == "1"
160 wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib
162 !if "$(USE_GUI)" == "1"
163 __LIB_TIFF_p = wxtiff$(WXDEBUGFLAG).lib
165 !if "$(USE_GUI)" == "1"
166 __LIB_JPEG_p = wxjpeg$(WXDEBUGFLAG).lib
168 !if "$(USE_GUI)" == "1"
169 __LIB_PNG_p = wxpng$(WXDEBUGFLAG).lib
172 __UNICOWS_LIB_p = unicows.lib
174 !if "$(MONOLITHIC)" == "0"
176 wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_core.lib
178 !if "$(MONOLITHIC)" == "0"
180 wxbase$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib
182 !if "$(SHARED)" == "0"
183 __deprecatedlib___depname = \
184 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_deprecated.lib
186 !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
189 !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
192 !if "$(DEBUG_INFO)" == "0"
195 !if "$(DEBUG_INFO)" == "1"
198 !if "$(BUILD)" == "debug"
201 !if "$(BUILD)" == "release"
204 !if "$(USE_THREADS)" == "0"
207 !if "$(USE_THREADS)" == "1"
210 !if "$(RUNTIME_LIBS)" == "dynamic"
211 __RUNTIME_LIBS = -tWR
213 !if "$(RUNTIME_LIBS)" == "static"
216 !if "$(WXUNIV)" == "1"
217 __WXUNIV_DEFINE_p = -D__WXUNIVERSAL__
219 !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
220 __DEBUG_DEFINE_p = -D__WXDEBUG__
222 !if "$(DEBUG_FLAG)" == "1"
223 __DEBUG_DEFINE_p = -D__WXDEBUG__
225 !if "$(USE_EXCEPTIONS)" == "0"
226 __EXCEPTIONS_DEFINE_p = -DwxNO_EXCEPTIONS
228 !if "$(USE_RTTI)" == "0"
229 __RTTI_DEFINE_p = -DwxNO_RTTI
231 !if "$(USE_THREADS)" == "0"
232 __THREAD_DEFINE_p = -DwxNO_THREADS
234 !if "$(UNICODE)" == "1"
235 __UNICODE_DEFINE_p = -D_UNICODE
241 -if not exist $(OBJS) mkdir $(OBJS)
245 all: $(__deprecateddll___depname) $(__deprecatedlib___depname)
248 -if exist $(OBJS)\*.obj del $(OBJS)\*.obj
249 -if exist $(OBJS)\*.res del $(OBJS)\*.res
250 -if exist $(OBJS)\*.csm del $(OBJS)\*.csm
251 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_deprecated_bcc$(VENDORTAG).dll del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_deprecated_bcc$(VENDORTAG).dll
252 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_deprecated_bcc$(VENDORTAG).tds del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_deprecated_bcc$(VENDORTAG).tds
253 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_deprecated_bcc$(VENDORTAG).ilc del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_deprecated_bcc$(VENDORTAG).ilc
254 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_deprecated_bcc$(VENDORTAG).ild del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_deprecated_bcc$(VENDORTAG).ild
255 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_deprecated_bcc$(VENDORTAG).ilf del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_deprecated_bcc$(VENDORTAG).ilf
256 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_deprecated_bcc$(VENDORTAG).ils del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_deprecated_bcc$(VENDORTAG).ils
257 -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
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
260 !if "$(SHARED)" == "1"
261 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_deprecated_bcc$(VENDORTAG).dll: $(OBJS)\deprecateddll_dummy.obj $(DEPRECATEDDLL_OBJECTS) $(OBJS)\deprecateddll_version.res
262 ilink32 -Tpd -q $(LDFLAGS) -L$(BCCDIR)\lib -L$(BCCDIR)\lib\psdk $(__DEBUGINFO) -L$(LIBDIRNAME) @&&|
263 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
265 implib -f $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_deprecated $@
268 !if "$(SHARED)" == "0"
269 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_deprecated.lib: $(OBJS)\deprecatedlib_dummy.obj $(DEPRECATEDLIB_OBJECTS)
271 tlib /a /p4096 $@ @&&|
272 $(DEPRECATEDLIB_OBJECTS)
276 $(OBJS)\deprecateddll_dummy.obj: ../../src/deprecated\..\..\..\src\msw\dummy.cpp
277 $(CXX) -q -c -P -o$@ $(DEPRECATEDDLL_CXXFLAGS) -H $**
279 $(OBJS)\deprecateddll_version.res: ../../src/deprecated\..\..\..\src\msw\version.rc
280 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_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_deprecated_bcc$(VENDORTAG) $**
282 $(OBJS)\deprecateddll_prop.obj: ../../src/deprecated\prop.cpp
283 $(CXX) -q -c -P -o$@ $(DEPRECATEDDLL_CXXFLAGS) $**
285 $(OBJS)\deprecateddll_propform.obj: ../../src/deprecated\propform.cpp
286 $(CXX) -q -c -P -o$@ $(DEPRECATEDDLL_CXXFLAGS) $**
288 $(OBJS)\deprecateddll_proplist.obj: ../../src/deprecated\proplist.cpp
289 $(CXX) -q -c -P -o$@ $(DEPRECATEDDLL_CXXFLAGS) $**
291 $(OBJS)\deprecateddll_resource.obj: ../../src/deprecated\resource.cpp
292 $(CXX) -q -c -P -o$@ $(DEPRECATEDDLL_CXXFLAGS) $**
294 $(OBJS)\deprecateddll_tbarsmpl.obj: ../../src/deprecated\tbarsmpl.cpp
295 $(CXX) -q -c -P -o$@ $(DEPRECATEDDLL_CXXFLAGS) $**
297 $(OBJS)\deprecateddll_treelay.obj: ../../src/deprecated\treelay.cpp
298 $(CXX) -q -c -P -o$@ $(DEPRECATEDDLL_CXXFLAGS) $**
300 $(OBJS)\deprecateddll_wxexpr.obj: ../../src/deprecated\wxexpr.cpp
301 $(CXX) -q -c -P -o$@ $(DEPRECATEDDLL_CXXFLAGS) $**
303 $(OBJS)\deprecateddll_dosyacc.obj: ../../src/deprecated\dosyacc.c
304 $(CC) -q -c -P- -o$@ $(DEPRECATEDDLL_CFLAGS) $**
306 $(OBJS)\deprecatedlib_dummy.obj: ../../src/deprecated\..\..\..\src\msw\dummy.cpp
307 $(CXX) -q -c -P -o$@ $(DEPRECATEDLIB_CXXFLAGS) -H $**
309 $(OBJS)\deprecatedlib_prop.obj: ../../src/deprecated\prop.cpp
310 $(CXX) -q -c -P -o$@ $(DEPRECATEDLIB_CXXFLAGS) $**
312 $(OBJS)\deprecatedlib_propform.obj: ../../src/deprecated\propform.cpp
313 $(CXX) -q -c -P -o$@ $(DEPRECATEDLIB_CXXFLAGS) $**
315 $(OBJS)\deprecatedlib_proplist.obj: ../../src/deprecated\proplist.cpp
316 $(CXX) -q -c -P -o$@ $(DEPRECATEDLIB_CXXFLAGS) $**
318 $(OBJS)\deprecatedlib_resource.obj: ../../src/deprecated\resource.cpp
319 $(CXX) -q -c -P -o$@ $(DEPRECATEDLIB_CXXFLAGS) $**
321 $(OBJS)\deprecatedlib_tbarsmpl.obj: ../../src/deprecated\tbarsmpl.cpp
322 $(CXX) -q -c -P -o$@ $(DEPRECATEDLIB_CXXFLAGS) $**
324 $(OBJS)\deprecatedlib_treelay.obj: ../../src/deprecated\treelay.cpp
325 $(CXX) -q -c -P -o$@ $(DEPRECATEDLIB_CXXFLAGS) $**
327 $(OBJS)\deprecatedlib_wxexpr.obj: ../../src/deprecated\wxexpr.cpp
328 $(CXX) -q -c -P -o$@ $(DEPRECATEDLIB_CXXFLAGS) $**
330 $(OBJS)\deprecatedlib_dosyacc.obj: ../../src/deprecated\dosyacc.c
331 $(CC) -q -c -P- -o$@ $(DEPRECATEDLIB_CFLAGS) $**