1 # =========================================================================
2 # This makefile was generated by
3 # Bakefile 0.1.4 (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)3
27 bcc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)
29 $(LIBDIRNAME)\$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)
30 DEPRECATEDDLL_CFLAGS = $(__RUNTIME_LIBS) -I$(BCCDIR)\include $(__DEBUGINFO) \
31 $(__OPTIMIZEFLAG) -tWM -D__WXMSW__ $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) \
32 $(__UNICODE_DEFINE_p) -I..\..\src\deprecated\..\..\..\include \
33 -I$(SETUPHDIR) -I..\..\src\deprecated\..\..\include -DWXUSINGDLL \
34 -DWXMAKINGDLL_DEPRECATED -I..\..\src\deprecated $(CPPFLAGS) $(CFLAGS)
35 DEPRECATEDDLL_CXXFLAGS = $(__RUNTIME_LIBS) -I$(BCCDIR)\include $(__DEBUGINFO) \
36 $(__OPTIMIZEFLAG) -tWM -D__WXMSW__ $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) \
37 $(__UNICODE_DEFINE_p) -I..\..\src\deprecated\..\..\..\include \
38 -I$(SETUPHDIR) -I..\..\src\deprecated\..\..\include -DWXUSINGDLL \
39 -DWXMAKINGDLL_DEPRECATED -I..\..\src\deprecated -Hu \
40 -H=$(OBJS)\wxprec_deprecateddll.csm $(CPPFLAGS) $(CXXFLAGS)
41 DEPRECATEDDLL_OBJECTS = \
42 $(OBJS)\deprecateddll_dummy.obj \
43 $(OBJS)\deprecateddll_prop.obj \
44 $(OBJS)\deprecateddll_propform.obj \
45 $(OBJS)\deprecateddll_proplist.obj \
46 $(OBJS)\deprecateddll_resource.obj \
47 $(OBJS)\deprecateddll_tbarsmpl.obj \
48 $(OBJS)\deprecateddll_treelay.obj \
49 $(OBJS)\deprecateddll_wxexpr.obj \
50 $(OBJS)\deprecateddll_dosyacc.obj
51 DEPRECATEDLIB_CFLAGS = $(__RUNTIME_LIBS) -I$(BCCDIR)\include $(__DEBUGINFO) \
52 $(__OPTIMIZEFLAG) -tWM -D__WXMSW__ $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) \
53 $(__UNICODE_DEFINE_p) -I..\..\src\deprecated\..\..\..\include \
54 -I$(SETUPHDIR) -I..\..\src\deprecated\..\..\include -I..\..\src\deprecated \
56 DEPRECATEDLIB_CXXFLAGS = $(__RUNTIME_LIBS) -I$(BCCDIR)\include $(__DEBUGINFO) \
57 $(__OPTIMIZEFLAG) -tWM -D__WXMSW__ $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) \
58 $(__UNICODE_DEFINE_p) -I..\..\src\deprecated\..\..\..\include \
59 -I$(SETUPHDIR) -I..\..\src\deprecated\..\..\include -I..\..\src\deprecated \
60 -Hu -H=$(OBJS)\wxprec_deprecatedlib.csm $(CPPFLAGS) $(CXXFLAGS)
61 DEPRECATEDLIB_OBJECTS = \
62 $(OBJS)\deprecatedlib_dummy.obj \
63 $(OBJS)\deprecatedlib_prop.obj \
64 $(OBJS)\deprecatedlib_propform.obj \
65 $(OBJS)\deprecatedlib_proplist.obj \
66 $(OBJS)\deprecatedlib_resource.obj \
67 $(OBJS)\deprecatedlib_tbarsmpl.obj \
68 $(OBJS)\deprecatedlib_treelay.obj \
69 $(OBJS)\deprecatedlib_wxexpr.obj \
70 $(OBJS)\deprecatedlib_dosyacc.obj
72 ### Conditionally set variables: ###
74 !if "$(USE_GUI)" == "0"
77 !if "$(USE_GUI)" == "1"
80 !if "$(OFFICIAL_BUILD)" == "0"
81 VENDORTAG = _$(VENDOR)
83 !if "$(OFFICIAL_BUILD)" == "1"
86 !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
89 !if "$(DEBUG_FLAG)" == "1"
92 !if "$(UNICODE)" == "1"
95 !if "$(WXUNIV)" == "1"
98 !if "$(SHARED)" == "1"
101 !if "$(MONOLITHIC)" == "0"
104 !if "$(MONOLITHIC)" == "1"
107 !if "$(SHARED)" == "1"
108 __deprecateddll___depname = \
109 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_deprecated_bcc$(VENDORTAG).dll
111 !if "$(RUNTIME_LIBS)" == "dynamic"
114 !if "$(RUNTIME_LIBS)" == "static"
117 !if "$(MONOLITHIC)" == "1"
119 wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib
121 !if "$(USE_GUI)" == "1"
122 __LIB_TIFF_p = wxtiff$(WXDEBUGFLAG).lib
124 !if "$(USE_GUI)" == "1"
125 __LIB_JPEG_p = wxjpeg$(WXDEBUGFLAG).lib
127 !if "$(USE_GUI)" == "1"
128 __LIB_PNG_p = wxpng$(WXDEBUGFLAG).lib
131 __UNICOWS_LIB_p = unicows.lib
133 !if "$(MONOLITHIC)" == "0"
135 wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_core.lib
137 !if "$(MONOLITHIC)" == "0"
139 wxbase$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib
141 !if "$(SHARED)" == "0"
142 __deprecatedlib___depname = \
143 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_deprecated.lib
145 !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
148 !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
151 !if "$(DEBUG_INFO)" == "0"
154 !if "$(DEBUG_INFO)" == "1"
157 !if "$(BUILD)" == "debug"
160 !if "$(BUILD)" == "release"
163 !if "$(RUNTIME_LIBS)" == "dynamic"
164 __RUNTIME_LIBS = -tWR
166 !if "$(RUNTIME_LIBS)" == "static"
169 !if "$(WXUNIV)" == "1"
170 __WXUNIV_DEFINE_p = -D__WXUNIVERSAL__
172 !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
173 __DEBUG_DEFINE_p = -D__WXDEBUG__
175 !if "$(DEBUG_FLAG)" == "1"
176 __DEBUG_DEFINE_p = -D__WXDEBUG__
178 !if "$(UNICODE)" == "1"
179 __UNICODE_DEFINE_p = -D_UNICODE
181 !if "$(SHARED)" == "0"
182 LIBDIRNAME = ..\..\src\deprecated\..\..\..\lib\bcc_lib$(CFG)
184 !if "$(SHARED)" == "1"
185 LIBDIRNAME = ..\..\src\deprecated\..\..\..\lib\bcc_dll$(CFG)
191 -if not exist $(OBJS) mkdir $(OBJS)
195 all: $(__deprecateddll___depname) $(__deprecatedlib___depname)
198 -if exist $(OBJS)\*.obj del $(OBJS)\*.obj
199 -if exist $(OBJS)\*.res del $(OBJS)\*.res
200 -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
201 -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
202 -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
203 -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
204 -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
205 -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
206 -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
207 -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 "$(SHARED)" == "1"
210 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_deprecated_bcc$(VENDORTAG).dll: $(OBJS)\deprecateddll_dummy.obj $(DEPRECATEDDLL_OBJECTS)
211 ilink32 -Tpd -q $(LDFLAGS) -L$(BCCDIR)\lib -L$(BCCDIR)\lib\psdk $(__DEBUGINFO) -L$(LIBDIRNAME) @&&|
212 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,,
214 implib -f $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_deprecated $@
217 !if "$(SHARED)" == "0"
218 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_deprecated.lib: $(OBJS)\deprecatedlib_dummy.obj $(DEPRECATEDLIB_OBJECTS)
220 tlib /a /p4096 $@ @&&|
221 $(DEPRECATEDLIB_OBJECTS)
225 $(OBJS)\deprecateddll_dummy.obj: ../../src/deprecated\..\..\..\src\msw\dummy.cpp
226 $(CXX) -q -c -P -o$@ $(DEPRECATEDDLL_CXXFLAGS) -H $**
228 $(OBJS)\deprecateddll_prop.obj: ../../src/deprecated\prop.cpp
229 $(CXX) -q -c -P -o$@ $(DEPRECATEDDLL_CXXFLAGS) $**
231 $(OBJS)\deprecateddll_propform.obj: ../../src/deprecated\propform.cpp
232 $(CXX) -q -c -P -o$@ $(DEPRECATEDDLL_CXXFLAGS) $**
234 $(OBJS)\deprecateddll_proplist.obj: ../../src/deprecated\proplist.cpp
235 $(CXX) -q -c -P -o$@ $(DEPRECATEDDLL_CXXFLAGS) $**
237 $(OBJS)\deprecateddll_resource.obj: ../../src/deprecated\resource.cpp
238 $(CXX) -q -c -P -o$@ $(DEPRECATEDDLL_CXXFLAGS) $**
240 $(OBJS)\deprecateddll_tbarsmpl.obj: ../../src/deprecated\tbarsmpl.cpp
241 $(CXX) -q -c -P -o$@ $(DEPRECATEDDLL_CXXFLAGS) $**
243 $(OBJS)\deprecateddll_treelay.obj: ../../src/deprecated\treelay.cpp
244 $(CXX) -q -c -P -o$@ $(DEPRECATEDDLL_CXXFLAGS) $**
246 $(OBJS)\deprecateddll_wxexpr.obj: ../../src/deprecated\wxexpr.cpp
247 $(CXX) -q -c -P -o$@ $(DEPRECATEDDLL_CXXFLAGS) $**
249 $(OBJS)\deprecateddll_dosyacc.obj: ../../src/deprecated\dosyacc.c
250 $(CC) -q -c -P- -o$@ $(DEPRECATEDDLL_CFLAGS) $**
252 $(OBJS)\deprecatedlib_dummy.obj: ../../src/deprecated\..\..\..\src\msw\dummy.cpp
253 $(CXX) -q -c -P -o$@ $(DEPRECATEDLIB_CXXFLAGS) -H $**
255 $(OBJS)\deprecatedlib_prop.obj: ../../src/deprecated\prop.cpp
256 $(CXX) -q -c -P -o$@ $(DEPRECATEDLIB_CXXFLAGS) $**
258 $(OBJS)\deprecatedlib_propform.obj: ../../src/deprecated\propform.cpp
259 $(CXX) -q -c -P -o$@ $(DEPRECATEDLIB_CXXFLAGS) $**
261 $(OBJS)\deprecatedlib_proplist.obj: ../../src/deprecated\proplist.cpp
262 $(CXX) -q -c -P -o$@ $(DEPRECATEDLIB_CXXFLAGS) $**
264 $(OBJS)\deprecatedlib_resource.obj: ../../src/deprecated\resource.cpp
265 $(CXX) -q -c -P -o$@ $(DEPRECATEDLIB_CXXFLAGS) $**
267 $(OBJS)\deprecatedlib_tbarsmpl.obj: ../../src/deprecated\tbarsmpl.cpp
268 $(CXX) -q -c -P -o$@ $(DEPRECATEDLIB_CXXFLAGS) $**
270 $(OBJS)\deprecatedlib_treelay.obj: ../../src/deprecated\treelay.cpp
271 $(CXX) -q -c -P -o$@ $(DEPRECATEDLIB_CXXFLAGS) $**
273 $(OBJS)\deprecatedlib_wxexpr.obj: ../../src/deprecated\wxexpr.cpp
274 $(CXX) -q -c -P -o$@ $(DEPRECATEDLIB_CXXFLAGS) $**
276 $(OBJS)\deprecatedlib_dosyacc.obj: ../../src/deprecated\dosyacc.c
277 $(CC) -q -c -P- -o$@ $(DEPRECATEDLIB_CFLAGS) $**