1 # =========================================================================
2 # This makefile was generated by
3 # Bakefile 0.2.0 (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)1
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) $(__MSLU_DEFINE_p) \
35 $(__GFXCTX_DEFINE_p) -I$(SETUPHDIR) \
36 -I..\..\src\deprecated\..\..\..\include \
37 -I..\..\src\deprecated\..\..\include -DWXUSINGDLL -DWXMAKINGDLL_DEPRECATED \
38 -I..\..\src\deprecated $(CPPFLAGS) $(CFLAGS)
39 DEPRECATEDDLL_CXXFLAGS = $(__RUNTIME_LIBS) -I$(BCCDIR)\include $(__DEBUGINFO) \
40 $(__OPTIMIZEFLAG) $(__THREADSFLAG) -D__WXMSW__ $(__WXUNIV_DEFINE_p) \
41 $(__DEBUG_DEFINE_p) $(__EXCEPTIONS_DEFINE_p) $(__RTTI_DEFINE_p) \
42 $(__THREAD_DEFINE_p) $(__UNICODE_DEFINE_p) $(__MSLU_DEFINE_p) \
43 $(__GFXCTX_DEFINE_p) -I$(SETUPHDIR) \
44 -I..\..\src\deprecated\..\..\..\include \
45 -I..\..\src\deprecated\..\..\include -DWXUSINGDLL -DWXMAKINGDLL_DEPRECATED \
46 -I..\..\src\deprecated -Hu -H=$(OBJS)\wxprec_deprecateddll.csm $(CPPFLAGS) \
48 DEPRECATEDDLL_OBJECTS = \
49 $(OBJS)\deprecateddll_dummy.obj \
50 $(OBJS)\deprecateddll_prop.obj \
51 $(OBJS)\deprecateddll_propform.obj \
52 $(OBJS)\deprecateddll_proplist.obj \
53 $(OBJS)\deprecateddll_resource.obj \
54 $(OBJS)\deprecateddll_tbarsmpl.obj \
55 $(OBJS)\deprecateddll_treelay.obj \
56 $(OBJS)\deprecateddll_wxexpr.obj \
57 $(OBJS)\deprecateddll_dosyacc.obj
58 DEPRECATEDLIB_CFLAGS = $(__RUNTIME_LIBS) -I$(BCCDIR)\include $(__DEBUGINFO) \
59 $(__OPTIMIZEFLAG) $(__THREADSFLAG) -D__WXMSW__ $(__WXUNIV_DEFINE_p) \
60 $(__DEBUG_DEFINE_p) $(__EXCEPTIONS_DEFINE_p) $(__RTTI_DEFINE_p) \
61 $(__THREAD_DEFINE_p) $(__UNICODE_DEFINE_p) $(__MSLU_DEFINE_p) \
62 $(__GFXCTX_DEFINE_p) -I$(SETUPHDIR) \
63 -I..\..\src\deprecated\..\..\..\include \
64 -I..\..\src\deprecated\..\..\include -I..\..\src\deprecated $(CPPFLAGS) \
66 DEPRECATEDLIB_CXXFLAGS = $(__RUNTIME_LIBS) -I$(BCCDIR)\include $(__DEBUGINFO) \
67 $(__OPTIMIZEFLAG) $(__THREADSFLAG) -D__WXMSW__ $(__WXUNIV_DEFINE_p) \
68 $(__DEBUG_DEFINE_p) $(__EXCEPTIONS_DEFINE_p) $(__RTTI_DEFINE_p) \
69 $(__THREAD_DEFINE_p) $(__UNICODE_DEFINE_p) $(__MSLU_DEFINE_p) \
70 $(__GFXCTX_DEFINE_p) -I$(SETUPHDIR) \
71 -I..\..\src\deprecated\..\..\..\include \
72 -I..\..\src\deprecated\..\..\include -I..\..\src\deprecated -Hu \
73 -H=$(OBJS)\wxprec_deprecatedlib.csm $(CPPFLAGS) $(CXXFLAGS)
74 DEPRECATEDLIB_OBJECTS = \
75 $(OBJS)\deprecatedlib_dummy.obj \
76 $(OBJS)\deprecatedlib_prop.obj \
77 $(OBJS)\deprecatedlib_propform.obj \
78 $(OBJS)\deprecatedlib_proplist.obj \
79 $(OBJS)\deprecatedlib_resource.obj \
80 $(OBJS)\deprecatedlib_tbarsmpl.obj \
81 $(OBJS)\deprecatedlib_treelay.obj \
82 $(OBJS)\deprecatedlib_wxexpr.obj \
83 $(OBJS)\deprecatedlib_dosyacc.obj
85 ### Conditionally set variables: ###
87 !if "$(USE_GUI)" == "0"
90 !if "$(USE_GUI)" == "1"
93 !if "$(OFFICIAL_BUILD)" == "0"
94 VENDORTAG = _$(VENDOR)
96 !if "$(OFFICIAL_BUILD)" == "1"
99 !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
102 !if "$(DEBUG_FLAG)" == "1"
105 !if "$(UNICODE)" == "1"
108 !if "$(WXUNIV)" == "1"
111 !if "$(SHARED)" == "1"
114 !if "$(SHARED)" == "0"
117 !if "$(SHARED)" == "1"
120 !if "$(MONOLITHIC)" == "0"
123 !if "$(MONOLITHIC)" == "1"
126 !if "$(SHARED)" == "1"
127 __deprecateddll___depname = \
128 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_deprecated_bcc$(VENDORTAG).dll
130 !if "$(USE_THREADS)" == "0"
133 !if "$(USE_THREADS)" == "1"
136 !if "$(RUNTIME_LIBS)" == "dynamic"
139 !if "$(RUNTIME_LIBS)" == "static"
142 !if "$(WXUNIV)" == "1"
143 __WXUNIV_DEFINE_p_1 = -d__WXUNIVERSAL__
145 !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
146 __DEBUG_DEFINE_p_1 = -d__WXDEBUG__
148 !if "$(DEBUG_FLAG)" == "1"
149 __DEBUG_DEFINE_p_1 = -d__WXDEBUG__
151 !if "$(USE_EXCEPTIONS)" == "0"
152 __EXCEPTIONS_DEFINE_p_1 = -dwxNO_EXCEPTIONS
154 !if "$(USE_RTTI)" == "0"
155 __RTTI_DEFINE_p_1 = -dwxNO_RTTI
157 !if "$(USE_THREADS)" == "0"
158 __THREAD_DEFINE_p_1 = -dwxNO_THREADS
160 !if "$(UNICODE)" == "1"
161 __UNICODE_DEFINE_p_1 = -d_UNICODE
164 __MSLU_DEFINE_p_1 = -dwxUSE_UNICODE_MSLU=1
166 !if "$(USE_GDIPLUS)" == "1"
167 __GFXCTX_DEFINE_p_1 = -dwxUSE_GRAPHICS_CONTEXT=1
169 !if "$(MONOLITHIC)" == "1"
171 wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib
173 !if "$(USE_GUI)" == "1"
174 __LIB_TIFF_p = wxtiff$(WXDEBUGFLAG).lib
176 !if "$(USE_GUI)" == "1"
177 __LIB_JPEG_p = wxjpeg$(WXDEBUGFLAG).lib
179 !if "$(USE_GUI)" == "1"
180 __LIB_PNG_p = wxpng$(WXDEBUGFLAG).lib
183 __UNICOWS_LIB_p = unicows.lib
185 !if "$(USE_GDIPLUS)" == "1"
186 __GDIPLUS_LIB_p = gdiplus.lib
188 !if "$(MONOLITHIC)" == "0"
190 wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_core.lib
192 !if "$(MONOLITHIC)" == "0"
194 wxbase$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib
196 !if "$(SHARED)" == "0"
197 __deprecatedlib___depname = \
198 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_deprecated.lib
200 !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
203 !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
206 !if "$(DEBUG_INFO)" == "0"
209 !if "$(DEBUG_INFO)" == "1"
212 !if "$(BUILD)" == "debug"
215 !if "$(BUILD)" == "release"
218 !if "$(USE_THREADS)" == "0"
221 !if "$(USE_THREADS)" == "1"
224 !if "$(RUNTIME_LIBS)" == "dynamic"
225 __RUNTIME_LIBS = -tWR
227 !if "$(RUNTIME_LIBS)" == "static"
230 !if "$(WXUNIV)" == "1"
231 __WXUNIV_DEFINE_p = -D__WXUNIVERSAL__
233 !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
234 __DEBUG_DEFINE_p = -D__WXDEBUG__
236 !if "$(DEBUG_FLAG)" == "1"
237 __DEBUG_DEFINE_p = -D__WXDEBUG__
239 !if "$(USE_EXCEPTIONS)" == "0"
240 __EXCEPTIONS_DEFINE_p = -DwxNO_EXCEPTIONS
242 !if "$(USE_RTTI)" == "0"
243 __RTTI_DEFINE_p = -DwxNO_RTTI
245 !if "$(USE_THREADS)" == "0"
246 __THREAD_DEFINE_p = -DwxNO_THREADS
248 !if "$(UNICODE)" == "1"
249 __UNICODE_DEFINE_p = -D_UNICODE
252 __MSLU_DEFINE_p = -DwxUSE_UNICODE_MSLU=1
254 !if "$(USE_GDIPLUS)" == "1"
255 __GFXCTX_DEFINE_p = -DwxUSE_GRAPHICS_CONTEXT=1
261 -if not exist $(OBJS) mkdir $(OBJS)
265 all: $(__deprecateddll___depname) $(__deprecatedlib___depname)
268 -if exist $(OBJS)\*.obj del $(OBJS)\*.obj
269 -if exist $(OBJS)\*.res del $(OBJS)\*.res
270 -if exist $(OBJS)\*.csm del $(OBJS)\*.csm
271 -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
272 -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
273 -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
274 -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
275 -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
276 -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
277 -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
278 -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
280 !if "$(SHARED)" == "1"
281 $(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
282 ilink32 -Tpd -q $(LDFLAGS) -L$(BCCDIR)\lib -L$(BCCDIR)\lib\psdk $(__DEBUGINFO) -L$(LIBDIRNAME) @&&|
283 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) $(__GDIPLUS_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
285 implib -f $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_deprecated $@
288 !if "$(SHARED)" == "0"
289 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_deprecated.lib: $(OBJS)\deprecatedlib_dummy.obj $(DEPRECATEDLIB_OBJECTS)
291 tlib /a /p4096 $@ @&&|
292 $(DEPRECATEDLIB_OBJECTS)
296 $(OBJS)\deprecateddll_dummy.obj: ../../src/deprecated\..\..\..\src\common\dummy.cpp
297 $(CXX) -q -c -P -o$@ $(DEPRECATEDDLL_CXXFLAGS) -H $**
299 $(OBJS)\deprecateddll_version.res: ../../src/deprecated\..\..\..\src\msw\version.rc
300 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) $(__GFXCTX_DEFINE_p_1) -i$(SETUPHDIR) -i..\..\src\deprecated\..\..\..\include -dWXDLLNAME=wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_deprecated_bcc$(VENDORTAG) $**
302 $(OBJS)\deprecateddll_prop.obj: ../../src/deprecated\prop.cpp
303 $(CXX) -q -c -P -o$@ $(DEPRECATEDDLL_CXXFLAGS) $**
305 $(OBJS)\deprecateddll_propform.obj: ../../src/deprecated\propform.cpp
306 $(CXX) -q -c -P -o$@ $(DEPRECATEDDLL_CXXFLAGS) $**
308 $(OBJS)\deprecateddll_proplist.obj: ../../src/deprecated\proplist.cpp
309 $(CXX) -q -c -P -o$@ $(DEPRECATEDDLL_CXXFLAGS) $**
311 $(OBJS)\deprecateddll_resource.obj: ../../src/deprecated\resource.cpp
312 $(CXX) -q -c -P -o$@ $(DEPRECATEDDLL_CXXFLAGS) $**
314 $(OBJS)\deprecateddll_tbarsmpl.obj: ../../src/deprecated\tbarsmpl.cpp
315 $(CXX) -q -c -P -o$@ $(DEPRECATEDDLL_CXXFLAGS) $**
317 $(OBJS)\deprecateddll_treelay.obj: ../../src/deprecated\treelay.cpp
318 $(CXX) -q -c -P -o$@ $(DEPRECATEDDLL_CXXFLAGS) $**
320 $(OBJS)\deprecateddll_wxexpr.obj: ../../src/deprecated\wxexpr.cpp
321 $(CXX) -q -c -P -o$@ $(DEPRECATEDDLL_CXXFLAGS) $**
323 $(OBJS)\deprecateddll_dosyacc.obj: ../../src/deprecated\dosyacc.c
324 $(CC) -q -c -P- -o$@ $(DEPRECATEDDLL_CFLAGS) $**
326 $(OBJS)\deprecatedlib_dummy.obj: ../../src/deprecated\..\..\..\src\common\dummy.cpp
327 $(CXX) -q -c -P -o$@ $(DEPRECATEDLIB_CXXFLAGS) -H $**
329 $(OBJS)\deprecatedlib_prop.obj: ../../src/deprecated\prop.cpp
330 $(CXX) -q -c -P -o$@ $(DEPRECATEDLIB_CXXFLAGS) $**
332 $(OBJS)\deprecatedlib_propform.obj: ../../src/deprecated\propform.cpp
333 $(CXX) -q -c -P -o$@ $(DEPRECATEDLIB_CXXFLAGS) $**
335 $(OBJS)\deprecatedlib_proplist.obj: ../../src/deprecated\proplist.cpp
336 $(CXX) -q -c -P -o$@ $(DEPRECATEDLIB_CXXFLAGS) $**
338 $(OBJS)\deprecatedlib_resource.obj: ../../src/deprecated\resource.cpp
339 $(CXX) -q -c -P -o$@ $(DEPRECATEDLIB_CXXFLAGS) $**
341 $(OBJS)\deprecatedlib_tbarsmpl.obj: ../../src/deprecated\tbarsmpl.cpp
342 $(CXX) -q -c -P -o$@ $(DEPRECATEDLIB_CXXFLAGS) $**
344 $(OBJS)\deprecatedlib_treelay.obj: ../../src/deprecated\treelay.cpp
345 $(CXX) -q -c -P -o$@ $(DEPRECATEDLIB_CXXFLAGS) $**
347 $(OBJS)\deprecatedlib_wxexpr.obj: ../../src/deprecated\wxexpr.cpp
348 $(CXX) -q -c -P -o$@ $(DEPRECATEDLIB_CXXFLAGS) $**
350 $(OBJS)\deprecatedlib_dosyacc.obj: ../../src/deprecated\dosyacc.c
351 $(CC) -q -c -P- -o$@ $(DEPRECATEDLIB_CFLAGS) $**