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 # =========================================================================
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)4
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) -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 \
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
73 ### Conditionally set variables: ###
75 !if "$(USE_GUI)" == "0"
78 !if "$(USE_GUI)" == "1"
81 !if "$(OFFICIAL_BUILD)" == "0"
82 VENDORTAG = _$(VENDOR)
84 !if "$(OFFICIAL_BUILD)" == "1"
87 !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
90 !if "$(DEBUG_FLAG)" == "1"
93 !if "$(UNICODE)" == "1"
96 !if "$(WXUNIV)" == "1"
99 !if "$(SHARED)" == "1"
102 !if "$(SHARED)" == "0"
105 !if "$(SHARED)" == "1"
108 !if "$(MONOLITHIC)" == "0"
111 !if "$(MONOLITHIC)" == "1"
114 !if "$(SHARED)" == "1"
115 __deprecateddll___depname = \
116 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_deprecated_bcc$(VENDORTAG).dll
118 !if "$(RUNTIME_LIBS)" == "dynamic"
121 !if "$(RUNTIME_LIBS)" == "static"
124 !if "$(MONOLITHIC)" == "1"
126 wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib
128 !if "$(USE_GUI)" == "1"
129 __LIB_TIFF_p = wxtiff$(WXDEBUGFLAG).lib
131 !if "$(USE_GUI)" == "1"
132 __LIB_JPEG_p = wxjpeg$(WXDEBUGFLAG).lib
134 !if "$(USE_GUI)" == "1"
135 __LIB_PNG_p = wxpng$(WXDEBUGFLAG).lib
138 __UNICOWS_LIB_p = unicows.lib
140 !if "$(MONOLITHIC)" == "0"
142 wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_core.lib
144 !if "$(MONOLITHIC)" == "0"
146 wxbase$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib
148 !if "$(SHARED)" == "0"
149 __deprecatedlib___depname = \
150 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_deprecated.lib
152 !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
155 !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
158 !if "$(DEBUG_INFO)" == "0"
161 !if "$(DEBUG_INFO)" == "1"
164 !if "$(BUILD)" == "debug"
167 !if "$(BUILD)" == "release"
170 !if "$(RUNTIME_LIBS)" == "dynamic"
171 __RUNTIME_LIBS = -tWR
173 !if "$(RUNTIME_LIBS)" == "static"
176 !if "$(WXUNIV)" == "1"
177 __WXUNIV_DEFINE_p = -D__WXUNIVERSAL__
179 !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
180 __DEBUG_DEFINE_p = -D__WXDEBUG__
182 !if "$(DEBUG_FLAG)" == "1"
183 __DEBUG_DEFINE_p = -D__WXDEBUG__
185 !if "$(UNICODE)" == "1"
186 __UNICODE_DEFINE_p = -D_UNICODE
192 -if not exist $(OBJS) mkdir $(OBJS)
196 all: $(__deprecateddll___depname) $(__deprecatedlib___depname)
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
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,,
216 implib -f $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_deprecated $@
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)
222 tlib /a /p4096 $@ @&&|
223 $(DEPRECATEDLIB_OBJECTS)
227 $(OBJS)\deprecateddll_dummy.obj: ../../src/deprecated\..\..\..\src\msw\dummy.cpp
228 $(CXX) -q -c -P -o$@ $(DEPRECATEDDLL_CXXFLAGS) -H $**
230 $(OBJS)\deprecateddll_prop.obj: ../../src/deprecated\prop.cpp
231 $(CXX) -q -c -P -o$@ $(DEPRECATEDDLL_CXXFLAGS) $**
233 $(OBJS)\deprecateddll_propform.obj: ../../src/deprecated\propform.cpp
234 $(CXX) -q -c -P -o$@ $(DEPRECATEDDLL_CXXFLAGS) $**
236 $(OBJS)\deprecateddll_proplist.obj: ../../src/deprecated\proplist.cpp
237 $(CXX) -q -c -P -o$@ $(DEPRECATEDDLL_CXXFLAGS) $**
239 $(OBJS)\deprecateddll_resource.obj: ../../src/deprecated\resource.cpp
240 $(CXX) -q -c -P -o$@ $(DEPRECATEDDLL_CXXFLAGS) $**
242 $(OBJS)\deprecateddll_tbarsmpl.obj: ../../src/deprecated\tbarsmpl.cpp
243 $(CXX) -q -c -P -o$@ $(DEPRECATEDDLL_CXXFLAGS) $**
245 $(OBJS)\deprecateddll_treelay.obj: ../../src/deprecated\treelay.cpp
246 $(CXX) -q -c -P -o$@ $(DEPRECATEDDLL_CXXFLAGS) $**
248 $(OBJS)\deprecateddll_wxexpr.obj: ../../src/deprecated\wxexpr.cpp
249 $(CXX) -q -c -P -o$@ $(DEPRECATEDDLL_CXXFLAGS) $**
251 $(OBJS)\deprecateddll_dosyacc.obj: ../../src/deprecated\dosyacc.c
252 $(CC) -q -c -P- -o$@ $(DEPRECATEDDLL_CFLAGS) $**
254 $(OBJS)\deprecatedlib_dummy.obj: ../../src/deprecated\..\..\..\src\msw\dummy.cpp
255 $(CXX) -q -c -P -o$@ $(DEPRECATEDLIB_CXXFLAGS) -H $**
257 $(OBJS)\deprecatedlib_prop.obj: ../../src/deprecated\prop.cpp
258 $(CXX) -q -c -P -o$@ $(DEPRECATEDLIB_CXXFLAGS) $**
260 $(OBJS)\deprecatedlib_propform.obj: ../../src/deprecated\propform.cpp
261 $(CXX) -q -c -P -o$@ $(DEPRECATEDLIB_CXXFLAGS) $**
263 $(OBJS)\deprecatedlib_proplist.obj: ../../src/deprecated\proplist.cpp
264 $(CXX) -q -c -P -o$@ $(DEPRECATEDLIB_CXXFLAGS) $**
266 $(OBJS)\deprecatedlib_resource.obj: ../../src/deprecated\resource.cpp
267 $(CXX) -q -c -P -o$@ $(DEPRECATEDLIB_CXXFLAGS) $**
269 $(OBJS)\deprecatedlib_tbarsmpl.obj: ../../src/deprecated\tbarsmpl.cpp
270 $(CXX) -q -c -P -o$@ $(DEPRECATEDLIB_CXXFLAGS) $**
272 $(OBJS)\deprecatedlib_treelay.obj: ../../src/deprecated\treelay.cpp
273 $(CXX) -q -c -P -o$@ $(DEPRECATEDLIB_CXXFLAGS) $**
275 $(OBJS)\deprecatedlib_wxexpr.obj: ../../src/deprecated\wxexpr.cpp
276 $(CXX) -q -c -P -o$@ $(DEPRECATEDLIB_CXXFLAGS) $**
278 $(OBJS)\deprecatedlib_dosyacc.obj: ../../src/deprecated\dosyacc.c
279 $(CC) -q -c -P- -o$@ $(DEPRECATEDLIB_CFLAGS) $**