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) $(__MSLU_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) $(__MSLU_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) $(__MSLU_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) $(__MSLU_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
159 __MSLU_DEFINE_p_1 = -dwxUSE_UNICODE_MSLU=1
161 !if "$(MONOLITHIC)" == "1"
163 wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib
165 !if "$(USE_GUI)" == "1"
166 __LIB_TIFF_p = wxtiff$(WXDEBUGFLAG).lib
168 !if "$(USE_GUI)" == "1"
169 __LIB_JPEG_p = wxjpeg$(WXDEBUGFLAG).lib
171 !if "$(USE_GUI)" == "1"
172 __LIB_PNG_p = wxpng$(WXDEBUGFLAG).lib
175 __UNICOWS_LIB_p = unicows.lib
177 !if "$(MONOLITHIC)" == "0"
179 wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_core.lib
181 !if "$(MONOLITHIC)" == "0"
183 wxbase$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib
185 !if "$(SHARED)" == "0"
186 __deprecatedlib___depname = \
187 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_deprecated.lib
189 !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
192 !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
195 !if "$(DEBUG_INFO)" == "0"
198 !if "$(DEBUG_INFO)" == "1"
201 !if "$(BUILD)" == "debug"
204 !if "$(BUILD)" == "release"
207 !if "$(USE_THREADS)" == "0"
210 !if "$(USE_THREADS)" == "1"
213 !if "$(RUNTIME_LIBS)" == "dynamic"
214 __RUNTIME_LIBS = -tWR
216 !if "$(RUNTIME_LIBS)" == "static"
219 !if "$(WXUNIV)" == "1"
220 __WXUNIV_DEFINE_p = -D__WXUNIVERSAL__
222 !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
223 __DEBUG_DEFINE_p = -D__WXDEBUG__
225 !if "$(DEBUG_FLAG)" == "1"
226 __DEBUG_DEFINE_p = -D__WXDEBUG__
228 !if "$(USE_EXCEPTIONS)" == "0"
229 __EXCEPTIONS_DEFINE_p = -DwxNO_EXCEPTIONS
231 !if "$(USE_RTTI)" == "0"
232 __RTTI_DEFINE_p = -DwxNO_RTTI
234 !if "$(USE_THREADS)" == "0"
235 __THREAD_DEFINE_p = -DwxNO_THREADS
237 !if "$(UNICODE)" == "1"
238 __UNICODE_DEFINE_p = -D_UNICODE
241 __MSLU_DEFINE_p = -DwxUSE_UNICODE_MSLU=1
247 -if not exist $(OBJS) mkdir $(OBJS)
251 all: $(__deprecateddll___depname) $(__deprecatedlib___depname)
254 -if exist $(OBJS)\*.obj del $(OBJS)\*.obj
255 -if exist $(OBJS)\*.res del $(OBJS)\*.res
256 -if exist $(OBJS)\*.csm del $(OBJS)\*.csm
257 -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
258 -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
259 -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
260 -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
261 -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
262 -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
263 -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
264 -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
266 !if "$(SHARED)" == "1"
267 $(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
268 ilink32 -Tpd -q $(LDFLAGS) -L$(BCCDIR)\lib -L$(BCCDIR)\lib\psdk $(__DEBUGINFO) -L$(LIBDIRNAME) @&&|
269 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
271 implib -f $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_deprecated $@
274 !if "$(SHARED)" == "0"
275 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_deprecated.lib: $(OBJS)\deprecatedlib_dummy.obj $(DEPRECATEDLIB_OBJECTS)
277 tlib /a /p4096 $@ @&&|
278 $(DEPRECATEDLIB_OBJECTS)
282 $(OBJS)\deprecateddll_dummy.obj: ../../src/deprecated\..\..\..\src\msw\dummy.cpp
283 $(CXX) -q -c -P -o$@ $(DEPRECATEDDLL_CXXFLAGS) -H $**
285 $(OBJS)\deprecateddll_version.res: ../../src/deprecated\..\..\..\src\msw\version.rc
286 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) $(__MSLU_DEFINE_p_1) -i..\..\src\deprecated\..\..\..\include -i$(SETUPHDIR) -dWXDLLNAME=wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_deprecated_bcc$(VENDORTAG) $**
288 $(OBJS)\deprecateddll_prop.obj: ../../src/deprecated\prop.cpp
289 $(CXX) -q -c -P -o$@ $(DEPRECATEDDLL_CXXFLAGS) $**
291 $(OBJS)\deprecateddll_propform.obj: ../../src/deprecated\propform.cpp
292 $(CXX) -q -c -P -o$@ $(DEPRECATEDDLL_CXXFLAGS) $**
294 $(OBJS)\deprecateddll_proplist.obj: ../../src/deprecated\proplist.cpp
295 $(CXX) -q -c -P -o$@ $(DEPRECATEDDLL_CXXFLAGS) $**
297 $(OBJS)\deprecateddll_resource.obj: ../../src/deprecated\resource.cpp
298 $(CXX) -q -c -P -o$@ $(DEPRECATEDDLL_CXXFLAGS) $**
300 $(OBJS)\deprecateddll_tbarsmpl.obj: ../../src/deprecated\tbarsmpl.cpp
301 $(CXX) -q -c -P -o$@ $(DEPRECATEDDLL_CXXFLAGS) $**
303 $(OBJS)\deprecateddll_treelay.obj: ../../src/deprecated\treelay.cpp
304 $(CXX) -q -c -P -o$@ $(DEPRECATEDDLL_CXXFLAGS) $**
306 $(OBJS)\deprecateddll_wxexpr.obj: ../../src/deprecated\wxexpr.cpp
307 $(CXX) -q -c -P -o$@ $(DEPRECATEDDLL_CXXFLAGS) $**
309 $(OBJS)\deprecateddll_dosyacc.obj: ../../src/deprecated\dosyacc.c
310 $(CC) -q -c -P- -o$@ $(DEPRECATEDDLL_CFLAGS) $**
312 $(OBJS)\deprecatedlib_dummy.obj: ../../src/deprecated\..\..\..\src\msw\dummy.cpp
313 $(CXX) -q -c -P -o$@ $(DEPRECATEDLIB_CXXFLAGS) -H $**
315 $(OBJS)\deprecatedlib_prop.obj: ../../src/deprecated\prop.cpp
316 $(CXX) -q -c -P -o$@ $(DEPRECATEDLIB_CXXFLAGS) $**
318 $(OBJS)\deprecatedlib_propform.obj: ../../src/deprecated\propform.cpp
319 $(CXX) -q -c -P -o$@ $(DEPRECATEDLIB_CXXFLAGS) $**
321 $(OBJS)\deprecatedlib_proplist.obj: ../../src/deprecated\proplist.cpp
322 $(CXX) -q -c -P -o$@ $(DEPRECATEDLIB_CXXFLAGS) $**
324 $(OBJS)\deprecatedlib_resource.obj: ../../src/deprecated\resource.cpp
325 $(CXX) -q -c -P -o$@ $(DEPRECATEDLIB_CXXFLAGS) $**
327 $(OBJS)\deprecatedlib_tbarsmpl.obj: ../../src/deprecated\tbarsmpl.cpp
328 $(CXX) -q -c -P -o$@ $(DEPRECATEDLIB_CXXFLAGS) $**
330 $(OBJS)\deprecatedlib_treelay.obj: ../../src/deprecated\treelay.cpp
331 $(CXX) -q -c -P -o$@ $(DEPRECATEDLIB_CXXFLAGS) $**
333 $(OBJS)\deprecatedlib_wxexpr.obj: ../../src/deprecated\wxexpr.cpp
334 $(CXX) -q -c -P -o$@ $(DEPRECATEDLIB_CXXFLAGS) $**
336 $(OBJS)\deprecatedlib_dosyacc.obj: ../../src/deprecated\dosyacc.c
337 $(CC) -q -c -P- -o$@ $(DEPRECATEDLIB_CFLAGS) $**