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 bcc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)
27 $(LIBDIRNAME)\$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)
28 DEPRECATEDDLL_CFLAGS = $(__RUNTIME_LIBS) -I$(BCCDIR)\include $(__DEBUGINFO) \
29 $(__OPTIMIZEFLAG) -tWM -D__WXMSW__ $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) \
30 $(__UNICODE_DEFINE_p) -I..\..\src\deprecated\..\..\..\include \
31 -I$(SETUPHDIR) -I..\..\src\deprecated\..\..\include -DWXUSINGDLL \
32 -DWXMAKINGDLL_DEPRECATED -I..\..\src\deprecated $(CPPFLAGS) $(CFLAGS)
33 DEPRECATEDDLL_CXXFLAGS = $(__RUNTIME_LIBS) -I$(BCCDIR)\include $(__DEBUGINFO) \
34 $(__OPTIMIZEFLAG) -tWM -D__WXMSW__ $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) \
35 $(__UNICODE_DEFINE_p) -I..\..\src\deprecated\..\..\..\include \
36 -I$(SETUPHDIR) -I..\..\src\deprecated\..\..\include -DWXUSINGDLL \
37 -DWXMAKINGDLL_DEPRECATED -I..\..\src\deprecated -Hu \
38 -H=$(OBJS)\wxprec_deprecateddll.csm $(CPPFLAGS) $(CXXFLAGS)
39 DEPRECATEDDLL_OBJECTS = \
40 $(OBJS)\deprecateddll_dummy.obj \
41 $(OBJS)\deprecateddll_prop.obj \
42 $(OBJS)\deprecateddll_propform.obj \
43 $(OBJS)\deprecateddll_proplist.obj \
44 $(OBJS)\deprecateddll_resource.obj \
45 $(OBJS)\deprecateddll_tbarsmpl.obj \
46 $(OBJS)\deprecateddll_treelay.obj \
47 $(OBJS)\deprecateddll_wxexpr.obj \
48 $(OBJS)\deprecateddll_dosyacc.obj
49 DEPRECATEDLIB_CFLAGS = $(__RUNTIME_LIBS) -I$(BCCDIR)\include $(__DEBUGINFO) \
50 $(__OPTIMIZEFLAG) -tWM -D__WXMSW__ $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) \
51 $(__UNICODE_DEFINE_p) -I..\..\src\deprecated\..\..\..\include \
52 -I$(SETUPHDIR) -I..\..\src\deprecated\..\..\include -I..\..\src\deprecated \
54 DEPRECATEDLIB_CXXFLAGS = $(__RUNTIME_LIBS) -I$(BCCDIR)\include $(__DEBUGINFO) \
55 $(__OPTIMIZEFLAG) -tWM -D__WXMSW__ $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) \
56 $(__UNICODE_DEFINE_p) -I..\..\src\deprecated\..\..\..\include \
57 -I$(SETUPHDIR) -I..\..\src\deprecated\..\..\include -I..\..\src\deprecated \
58 -Hu -H=$(OBJS)\wxprec_deprecatedlib.csm $(CPPFLAGS) $(CXXFLAGS)
59 DEPRECATEDLIB_OBJECTS = \
60 $(OBJS)\deprecatedlib_dummy.obj \
61 $(OBJS)\deprecatedlib_prop.obj \
62 $(OBJS)\deprecatedlib_propform.obj \
63 $(OBJS)\deprecatedlib_proplist.obj \
64 $(OBJS)\deprecatedlib_resource.obj \
65 $(OBJS)\deprecatedlib_tbarsmpl.obj \
66 $(OBJS)\deprecatedlib_treelay.obj \
67 $(OBJS)\deprecatedlib_wxexpr.obj \
68 $(OBJS)\deprecatedlib_dosyacc.obj
70 ### Conditionally set variables: ###
72 !if "$(USE_GUI)" == "0"
75 !if "$(USE_GUI)" == "1"
78 !if "$(OFFICIAL_BUILD)" == "0"
79 VENDORTAG = _$(VENDOR)
81 !if "$(OFFICIAL_BUILD)" == "1"
84 !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
87 !if "$(DEBUG_FLAG)" == "1"
90 !if "$(UNICODE)" == "1"
93 !if "$(WXUNIV)" == "1"
96 !if "$(SHARED)" == "1"
99 !if "$(SHARED)" == "1"
100 __deprecateddll___depname = \
101 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)252$(WXUNICODEFLAG)$(WXDEBUGFLAG)_deprecated_bcc$(VENDORTAG).dll
103 !if "$(RUNTIME_LIBS)" == "dynamic"
106 !if "$(RUNTIME_LIBS)" == "static"
109 !if "$(MONOLITHIC)" == "1"
111 wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG).lib
113 !if "$(USE_GUI)" == "1"
114 __LIB_TIFF_p = wxtiff$(WXDEBUGFLAG).lib
116 !if "$(USE_GUI)" == "1"
117 __LIB_JPEG_p = wxjpeg$(WXDEBUGFLAG).lib
119 !if "$(USE_GUI)" == "1"
120 __LIB_PNG_p = wxpng$(WXDEBUGFLAG).lib
123 __UNICOWS_LIB_p = unicows.lib
125 !if "$(MONOLITHIC)" == "0"
127 wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_core.lib
129 !if "$(MONOLITHIC)" == "0"
130 __WXLIB_BASE_p = wxbase25$(WXUNICODEFLAG)$(WXDEBUGFLAG).lib
132 !if "$(SHARED)" == "0"
133 __deprecatedlib___depname = \
134 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_deprecated.lib
136 !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
139 !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
142 !if "$(DEBUG_INFO)" == "0"
145 !if "$(DEBUG_INFO)" == "1"
148 !if "$(BUILD)" == "debug"
151 !if "$(BUILD)" == "release"
154 !if "$(RUNTIME_LIBS)" == "dynamic"
155 __RUNTIME_LIBS = -tWR
157 !if "$(RUNTIME_LIBS)" == "static"
160 !if "$(WXUNIV)" == "1"
161 __WXUNIV_DEFINE_p = -D__WXUNIVERSAL__
163 !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
164 __DEBUG_DEFINE_p = -D__WXDEBUG__
166 !if "$(DEBUG_FLAG)" == "1"
167 __DEBUG_DEFINE_p = -D__WXDEBUG__
169 !if "$(UNICODE)" == "1"
170 __UNICODE_DEFINE_p = -D_UNICODE
172 !if "$(SHARED)" == "0"
173 LIBDIRNAME = ..\..\src\deprecated\..\..\..\lib\bcc_lib$(CFG)
175 !if "$(SHARED)" == "1"
176 LIBDIRNAME = ..\..\src\deprecated\..\..\..\lib\bcc_dll$(CFG)
182 -if not exist $(OBJS) mkdir $(OBJS)
186 all: $(__deprecateddll___depname) $(__deprecatedlib___depname)
189 -if exist $(OBJS)\*.obj del $(OBJS)\*.obj
190 -if exist $(OBJS)\*.res del $(OBJS)\*.res
191 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)252$(WXUNICODEFLAG)$(WXDEBUGFLAG)_deprecated_bcc$(VENDORTAG).dll del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)252$(WXUNICODEFLAG)$(WXDEBUGFLAG)_deprecated_bcc$(VENDORTAG).dll
192 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)252$(WXUNICODEFLAG)$(WXDEBUGFLAG)_deprecated_bcc$(VENDORTAG).tds del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)252$(WXUNICODEFLAG)$(WXDEBUGFLAG)_deprecated_bcc$(VENDORTAG).tds
193 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)252$(WXUNICODEFLAG)$(WXDEBUGFLAG)_deprecated_bcc$(VENDORTAG).ilc del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)252$(WXUNICODEFLAG)$(WXDEBUGFLAG)_deprecated_bcc$(VENDORTAG).ilc
194 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)252$(WXUNICODEFLAG)$(WXDEBUGFLAG)_deprecated_bcc$(VENDORTAG).ild del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)252$(WXUNICODEFLAG)$(WXDEBUGFLAG)_deprecated_bcc$(VENDORTAG).ild
195 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)252$(WXUNICODEFLAG)$(WXDEBUGFLAG)_deprecated_bcc$(VENDORTAG).ilf del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)252$(WXUNICODEFLAG)$(WXDEBUGFLAG)_deprecated_bcc$(VENDORTAG).ilf
196 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)252$(WXUNICODEFLAG)$(WXDEBUGFLAG)_deprecated_bcc$(VENDORTAG).ils del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)252$(WXUNICODEFLAG)$(WXDEBUGFLAG)_deprecated_bcc$(VENDORTAG).ils
197 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_deprecated.lib del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_deprecated.lib
198 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_deprecated.lib del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_deprecated.lib
200 !if "$(SHARED)" == "1"
201 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)252$(WXUNICODEFLAG)$(WXDEBUGFLAG)_deprecated_bcc$(VENDORTAG).dll: $(OBJS)\deprecateddll_dummy.obj $(DEPRECATEDDLL_OBJECTS)
202 ilink32 -Tpd -q $(LDFLAGS) -L$(BCCDIR)\lib -L$(BCCDIR)\lib\psdk $(__DEBUGINFO) -L$(LIBDIRNAME) @&&|
203 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 $(__UNICOWS_LIB_p) ole2w32.lib oleacc.lib odbc32.lib $(__WXLIB_CORE_p) $(__WXLIB_BASE_p) import32.lib cw32mt$(__RUNTIME_LIBS_8).lib,,
205 implib -f $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_deprecated $@
208 !if "$(SHARED)" == "0"
209 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_deprecated.lib: $(OBJS)\deprecatedlib_dummy.obj $(DEPRECATEDLIB_OBJECTS)
211 tlib /a /p4096 $@ @&&|
212 $(DEPRECATEDLIB_OBJECTS)
216 $(OBJS)\deprecateddll_dummy.obj: ../../src/deprecated\..\..\..\src\msw\dummy.cpp
217 $(CXX) -q -c -P -o$@ $(DEPRECATEDDLL_CXXFLAGS) -H $**
219 $(OBJS)\deprecateddll_prop.obj: ../../src/deprecated\prop.cpp
220 $(CXX) -q -c -P -o$@ $(DEPRECATEDDLL_CXXFLAGS) $**
222 $(OBJS)\deprecateddll_propform.obj: ../../src/deprecated\propform.cpp
223 $(CXX) -q -c -P -o$@ $(DEPRECATEDDLL_CXXFLAGS) $**
225 $(OBJS)\deprecateddll_proplist.obj: ../../src/deprecated\proplist.cpp
226 $(CXX) -q -c -P -o$@ $(DEPRECATEDDLL_CXXFLAGS) $**
228 $(OBJS)\deprecateddll_resource.obj: ../../src/deprecated\resource.cpp
229 $(CXX) -q -c -P -o$@ $(DEPRECATEDDLL_CXXFLAGS) $**
231 $(OBJS)\deprecateddll_tbarsmpl.obj: ../../src/deprecated\tbarsmpl.cpp
232 $(CXX) -q -c -P -o$@ $(DEPRECATEDDLL_CXXFLAGS) $**
234 $(OBJS)\deprecateddll_treelay.obj: ../../src/deprecated\treelay.cpp
235 $(CXX) -q -c -P -o$@ $(DEPRECATEDDLL_CXXFLAGS) $**
237 $(OBJS)\deprecateddll_wxexpr.obj: ../../src/deprecated\wxexpr.cpp
238 $(CXX) -q -c -P -o$@ $(DEPRECATEDDLL_CXXFLAGS) $**
240 $(OBJS)\deprecateddll_dosyacc.obj: ../../src/deprecated\dosyacc.c
241 $(CC) -q -c -P- -o$@ $(DEPRECATEDDLL_CFLAGS) $**
243 $(OBJS)\deprecatedlib_dummy.obj: ../../src/deprecated\..\..\..\src\msw\dummy.cpp
244 $(CXX) -q -c -P -o$@ $(DEPRECATEDLIB_CXXFLAGS) -H $**
246 $(OBJS)\deprecatedlib_prop.obj: ../../src/deprecated\prop.cpp
247 $(CXX) -q -c -P -o$@ $(DEPRECATEDLIB_CXXFLAGS) $**
249 $(OBJS)\deprecatedlib_propform.obj: ../../src/deprecated\propform.cpp
250 $(CXX) -q -c -P -o$@ $(DEPRECATEDLIB_CXXFLAGS) $**
252 $(OBJS)\deprecatedlib_proplist.obj: ../../src/deprecated\proplist.cpp
253 $(CXX) -q -c -P -o$@ $(DEPRECATEDLIB_CXXFLAGS) $**
255 $(OBJS)\deprecatedlib_resource.obj: ../../src/deprecated\resource.cpp
256 $(CXX) -q -c -P -o$@ $(DEPRECATEDLIB_CXXFLAGS) $**
258 $(OBJS)\deprecatedlib_tbarsmpl.obj: ../../src/deprecated\tbarsmpl.cpp
259 $(CXX) -q -c -P -o$@ $(DEPRECATEDLIB_CXXFLAGS) $**
261 $(OBJS)\deprecatedlib_treelay.obj: ../../src/deprecated\treelay.cpp
262 $(CXX) -q -c -P -o$@ $(DEPRECATEDLIB_CXXFLAGS) $**
264 $(OBJS)\deprecatedlib_wxexpr.obj: ../../src/deprecated\wxexpr.cpp
265 $(CXX) -q -c -P -o$@ $(DEPRECATEDLIB_CXXFLAGS) $**
267 $(OBJS)\deprecatedlib_dosyacc.obj: ../../src/deprecated\dosyacc.c
268 $(CC) -q -c -P- -o$@ $(DEPRECATEDLIB_CFLAGS) $**