1 # =========================================================================
2 # This makefile was generated by
3 # Bakefile 0.2.1 (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 $(__GFXCTX_DEFINE_p) -I$(SETUPHDIR) \
35 -I..\..\src\deprecated\..\..\..\include \
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) $(__MSLU_DEFINE_p) \
42 $(__GFXCTX_DEFINE_p) -I$(SETUPHDIR) \
43 -I..\..\src\deprecated\..\..\..\include \
44 -I..\..\src\deprecated\..\..\include -DWXUSINGDLL -DWXMAKINGDLL_DEPRECATED \
45 -I..\..\src\deprecated -Hu -H=$(OBJS)\wxprec_deprecateddll.csm $(CPPFLAGS) \
47 DEPRECATEDDLL_OBJECTS = \
48 $(OBJS)\deprecateddll_dummy.obj \
49 $(OBJS)\deprecateddll_prop.obj \
50 $(OBJS)\deprecateddll_propform.obj \
51 $(OBJS)\deprecateddll_proplist.obj \
52 $(OBJS)\deprecateddll_resource.obj \
53 $(OBJS)\deprecateddll_tbarsmpl.obj \
54 $(OBJS)\deprecateddll_treelay.obj \
55 $(OBJS)\deprecateddll_wxexpr.obj \
56 $(OBJS)\deprecateddll_dosyacc.obj
57 DEPRECATEDLIB_CFLAGS = $(__RUNTIME_LIBS) -I$(BCCDIR)\include $(__DEBUGINFO) \
58 $(__OPTIMIZEFLAG) $(__THREADSFLAG) -D__WXMSW__ $(__WXUNIV_DEFINE_p) \
59 $(__DEBUG_DEFINE_p) $(__EXCEPTIONS_DEFINE_p) $(__RTTI_DEFINE_p) \
60 $(__THREAD_DEFINE_p) $(__UNICODE_DEFINE_p) $(__MSLU_DEFINE_p) \
61 $(__GFXCTX_DEFINE_p) -I$(SETUPHDIR) \
62 -I..\..\src\deprecated\..\..\..\include \
63 -I..\..\src\deprecated\..\..\include -I..\..\src\deprecated $(CPPFLAGS) \
65 DEPRECATEDLIB_CXXFLAGS = $(__RUNTIME_LIBS) -I$(BCCDIR)\include $(__DEBUGINFO) \
66 $(__OPTIMIZEFLAG) $(__THREADSFLAG) -D__WXMSW__ $(__WXUNIV_DEFINE_p) \
67 $(__DEBUG_DEFINE_p) $(__EXCEPTIONS_DEFINE_p) $(__RTTI_DEFINE_p) \
68 $(__THREAD_DEFINE_p) $(__UNICODE_DEFINE_p) $(__MSLU_DEFINE_p) \
69 $(__GFXCTX_DEFINE_p) -I$(SETUPHDIR) \
70 -I..\..\src\deprecated\..\..\..\include \
71 -I..\..\src\deprecated\..\..\include -I..\..\src\deprecated -Hu \
72 -H=$(OBJS)\wxprec_deprecatedlib.csm $(CPPFLAGS) $(CXXFLAGS)
73 DEPRECATEDLIB_OBJECTS = \
74 $(OBJS)\deprecatedlib_dummy.obj \
75 $(OBJS)\deprecatedlib_prop.obj \
76 $(OBJS)\deprecatedlib_propform.obj \
77 $(OBJS)\deprecatedlib_proplist.obj \
78 $(OBJS)\deprecatedlib_resource.obj \
79 $(OBJS)\deprecatedlib_tbarsmpl.obj \
80 $(OBJS)\deprecatedlib_treelay.obj \
81 $(OBJS)\deprecatedlib_wxexpr.obj \
82 $(OBJS)\deprecatedlib_dosyacc.obj
84 ### Conditionally set variables: ###
86 !if "$(USE_GUI)" == "0"
89 !if "$(USE_GUI)" == "1"
92 !if "$(OFFICIAL_BUILD)" == "0"
93 VENDORTAG = _$(VENDOR)
95 !if "$(OFFICIAL_BUILD)" == "1"
98 !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
101 !if "$(DEBUG_FLAG)" == "1"
104 !if "$(UNICODE)" == "1"
107 !if "$(WXUNIV)" == "1"
110 !if "$(SHARED)" == "1"
113 !if "$(SHARED)" == "0"
116 !if "$(SHARED)" == "1"
119 !if "$(MONOLITHIC)" == "0"
122 !if "$(MONOLITHIC)" == "1"
125 !if "$(SHARED)" == "1"
126 __deprecateddll___depname = \
127 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_deprecated_bcc$(VENDORTAG).dll
129 !if "$(USE_THREADS)" == "0"
132 !if "$(USE_THREADS)" == "1"
135 !if "$(RUNTIME_LIBS)" == "dynamic"
138 !if "$(RUNTIME_LIBS)" == "static"
141 !if "$(WXUNIV)" == "1"
142 __WXUNIV_DEFINE_p_1 = -d__WXUNIVERSAL__
144 !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
145 __DEBUG_DEFINE_p_1 = -d__WXDEBUG__
147 !if "$(DEBUG_FLAG)" == "1"
148 __DEBUG_DEFINE_p_1 = -d__WXDEBUG__
150 !if "$(USE_EXCEPTIONS)" == "0"
151 __EXCEPTIONS_DEFINE_p_1 = -dwxNO_EXCEPTIONS
153 !if "$(USE_RTTI)" == "0"
154 __RTTI_DEFINE_p_1 = -dwxNO_RTTI
156 !if "$(USE_THREADS)" == "0"
157 __THREAD_DEFINE_p_1 = -dwxNO_THREADS
159 !if "$(UNICODE)" == "1"
160 __UNICODE_DEFINE_p_1 = -d_UNICODE
163 __MSLU_DEFINE_p_1 = -dwxUSE_UNICODE_MSLU=1
165 !if "$(USE_GDIPLUS)" == "1"
166 __GFXCTX_DEFINE_p_1 = -dwxUSE_GRAPHICS_CONTEXT=1
168 !if "$(MONOLITHIC)" == "1"
170 wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib
172 !if "$(USE_GUI)" == "1"
173 __LIB_TIFF_p = wxtiff$(WXDEBUGFLAG).lib
175 !if "$(USE_GUI)" == "1"
176 __LIB_JPEG_p = wxjpeg$(WXDEBUGFLAG).lib
178 !if "$(USE_GUI)" == "1"
179 __LIB_PNG_p = wxpng$(WXDEBUGFLAG).lib
182 __UNICOWS_LIB_p = unicows.lib
184 !if "$(USE_GDIPLUS)" == "1"
185 __GDIPLUS_LIB_p = gdiplus.lib
187 !if "$(MONOLITHIC)" == "0"
189 wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_core.lib
191 !if "$(MONOLITHIC)" == "0"
193 wxbase$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib
195 !if "$(SHARED)" == "0"
196 __deprecatedlib___depname = \
197 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_deprecated.lib
199 !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
202 !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
205 !if "$(DEBUG_INFO)" == "0"
208 !if "$(DEBUG_INFO)" == "1"
211 !if "$(BUILD)" == "debug"
214 !if "$(BUILD)" == "release"
217 !if "$(USE_THREADS)" == "0"
220 !if "$(USE_THREADS)" == "1"
223 !if "$(RUNTIME_LIBS)" == "dynamic"
224 __RUNTIME_LIBS = -tWR
226 !if "$(RUNTIME_LIBS)" == "static"
229 !if "$(WXUNIV)" == "1"
230 __WXUNIV_DEFINE_p = -D__WXUNIVERSAL__
232 !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
233 __DEBUG_DEFINE_p = -D__WXDEBUG__
235 !if "$(DEBUG_FLAG)" == "1"
236 __DEBUG_DEFINE_p = -D__WXDEBUG__
238 !if "$(USE_EXCEPTIONS)" == "0"
239 __EXCEPTIONS_DEFINE_p = -DwxNO_EXCEPTIONS
241 !if "$(USE_RTTI)" == "0"
242 __RTTI_DEFINE_p = -DwxNO_RTTI
244 !if "$(USE_THREADS)" == "0"
245 __THREAD_DEFINE_p = -DwxNO_THREADS
247 !if "$(UNICODE)" == "1"
248 __UNICODE_DEFINE_p = -D_UNICODE
251 __MSLU_DEFINE_p = -DwxUSE_UNICODE_MSLU=1
253 !if "$(USE_GDIPLUS)" == "1"
254 __GFXCTX_DEFINE_p = -DwxUSE_GRAPHICS_CONTEXT=1
260 -if not exist $(OBJS) mkdir $(OBJS)
264 all: $(__deprecateddll___depname) $(__deprecatedlib___depname)
267 -if exist $(OBJS)\*.obj del $(OBJS)\*.obj
268 -if exist $(OBJS)\*.res del $(OBJS)\*.res
269 -if exist $(OBJS)\*.csm del $(OBJS)\*.csm
270 -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
271 -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
272 -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
273 -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
274 -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
275 -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
276 -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
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
279 !if "$(SHARED)" == "1"
280 $(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
281 ilink32 -Tpd -q $(LDFLAGS) -L$(BCCDIR)\lib -L$(BCCDIR)\lib\psdk $(__DEBUGINFO) -L$(LIBDIRNAME) @&&|
282 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
284 implib -f $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_deprecated $@
287 !if "$(SHARED)" == "0"
288 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_deprecated.lib: $(OBJS)\deprecatedlib_dummy.obj $(DEPRECATEDLIB_OBJECTS)
290 tlib /a /p4096 $@ @&&|
291 $(DEPRECATEDLIB_OBJECTS)
295 $(OBJS)\deprecateddll_dummy.obj: ../../src/deprecated\..\..\..\src\common\dummy.cpp
296 $(CXX) -q -c -P -o$@ $(DEPRECATEDDLL_CXXFLAGS) -H $**
298 $(OBJS)\deprecateddll_version.res: ../../src/deprecated\..\..\..\src\msw\version.rc
299 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_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_deprecated_bcc$(VENDORTAG) $**
301 $(OBJS)\deprecateddll_prop.obj: ../../src/deprecated\prop.cpp
302 $(CXX) -q -c -P -o$@ $(DEPRECATEDDLL_CXXFLAGS) $**
304 $(OBJS)\deprecateddll_propform.obj: ../../src/deprecated\propform.cpp
305 $(CXX) -q -c -P -o$@ $(DEPRECATEDDLL_CXXFLAGS) $**
307 $(OBJS)\deprecateddll_proplist.obj: ../../src/deprecated\proplist.cpp
308 $(CXX) -q -c -P -o$@ $(DEPRECATEDDLL_CXXFLAGS) $**
310 $(OBJS)\deprecateddll_resource.obj: ../../src/deprecated\resource.cpp
311 $(CXX) -q -c -P -o$@ $(DEPRECATEDDLL_CXXFLAGS) $**
313 $(OBJS)\deprecateddll_tbarsmpl.obj: ../../src/deprecated\tbarsmpl.cpp
314 $(CXX) -q -c -P -o$@ $(DEPRECATEDDLL_CXXFLAGS) $**
316 $(OBJS)\deprecateddll_treelay.obj: ../../src/deprecated\treelay.cpp
317 $(CXX) -q -c -P -o$@ $(DEPRECATEDDLL_CXXFLAGS) $**
319 $(OBJS)\deprecateddll_wxexpr.obj: ../../src/deprecated\wxexpr.cpp
320 $(CXX) -q -c -P -o$@ $(DEPRECATEDDLL_CXXFLAGS) $**
322 $(OBJS)\deprecateddll_dosyacc.obj: ../../src/deprecated\dosyacc.c
323 $(CC) -q -c -P- -o$@ $(DEPRECATEDDLL_CFLAGS) $**
325 $(OBJS)\deprecatedlib_dummy.obj: ../../src/deprecated\..\..\..\src\common\dummy.cpp
326 $(CXX) -q -c -P -o$@ $(DEPRECATEDLIB_CXXFLAGS) -H $**
328 $(OBJS)\deprecatedlib_prop.obj: ../../src/deprecated\prop.cpp
329 $(CXX) -q -c -P -o$@ $(DEPRECATEDLIB_CXXFLAGS) $**
331 $(OBJS)\deprecatedlib_propform.obj: ../../src/deprecated\propform.cpp
332 $(CXX) -q -c -P -o$@ $(DEPRECATEDLIB_CXXFLAGS) $**
334 $(OBJS)\deprecatedlib_proplist.obj: ../../src/deprecated\proplist.cpp
335 $(CXX) -q -c -P -o$@ $(DEPRECATEDLIB_CXXFLAGS) $**
337 $(OBJS)\deprecatedlib_resource.obj: ../../src/deprecated\resource.cpp
338 $(CXX) -q -c -P -o$@ $(DEPRECATEDLIB_CXXFLAGS) $**
340 $(OBJS)\deprecatedlib_tbarsmpl.obj: ../../src/deprecated\tbarsmpl.cpp
341 $(CXX) -q -c -P -o$@ $(DEPRECATEDLIB_CXXFLAGS) $**
343 $(OBJS)\deprecatedlib_treelay.obj: ../../src/deprecated\treelay.cpp
344 $(CXX) -q -c -P -o$@ $(DEPRECATEDLIB_CXXFLAGS) $**
346 $(OBJS)\deprecatedlib_wxexpr.obj: ../../src/deprecated\wxexpr.cpp
347 $(CXX) -q -c -P -o$@ $(DEPRECATEDLIB_CXXFLAGS) $**
349 $(OBJS)\deprecatedlib_dosyacc.obj: ../../src/deprecated\dosyacc.c
350 $(CC) -q -c -P- -o$@ $(DEPRECATEDLIB_CFLAGS) $**