1 # =========================================================================
2 # This makefile was generated by
3 # Bakefile 0.1.1 (http://bakefile.sourceforge.net)
4 # Do not modify, all changes will be overwritten!
5 # =========================================================================
11 !include ../../../build/msw/config.bcc
13 # -------------------------------------------------------------------------
14 # Do not modify the rest of this file!
15 # -------------------------------------------------------------------------
17 !if "$(BCCDIR)" == "\.."
18 !error Your Borland compiler does not define MAKEDIR. Please define the BCCDIR variable, e.g. BCCDIR=d:\bc4
23 DEPRECATEDDLL_CFLAGS = $(CPPFLAGS) $(__RUNTIME_LIBS) $(__DEBUGINFO) \
24 $(__OPTIMIZEFLAG) -tWM -D__WXMSW__ $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) \
25 $(__UNICODE_DEFINE_p) -I..\..\src\deprecated\..\..\..\include \
26 -I$(SETUPHDIR) -I..\..\src\deprecated\..\..\include -DWXUSINGDLL \
27 -DWXMAKINGDLL_DEPRECATED $(CFLAGS)
28 DEPRECATEDDLL_CXXFLAGS = $(CPPFLAGS) $(__RUNTIME_LIBS) $(__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 $(CXXFLAGS) -Hu \
33 -H=$(OBJS)\wxprec_deprecateddll.csm
34 DEPRECATEDDLL_OBJECTS = \
35 $(OBJS)\deprecateddll_dummy.obj \
36 $(OBJS)\deprecateddll_prop.obj \
37 $(OBJS)\deprecateddll_propform.obj \
38 $(OBJS)\deprecateddll_proplist.obj \
39 $(OBJS)\deprecateddll_resource.obj \
40 $(OBJS)\deprecateddll_tbarsmpl.obj \
41 $(OBJS)\deprecateddll_treelay.obj \
42 $(OBJS)\deprecateddll_wxexpr.obj \
43 $(OBJS)\deprecateddll_dosyacc.obj
44 DEPRECATEDLIB_CFLAGS = $(CPPFLAGS) $(__RUNTIME_LIBS) $(__DEBUGINFO) \
45 $(__OPTIMIZEFLAG) -tWM -D__WXMSW__ $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) \
46 $(__UNICODE_DEFINE_p) -I..\..\src\deprecated\..\..\..\include \
47 -I$(SETUPHDIR) -I..\..\src\deprecated\..\..\include $(CFLAGS)
48 DEPRECATEDLIB_CXXFLAGS = $(CPPFLAGS) $(__RUNTIME_LIBS) $(__DEBUGINFO) \
49 $(__OPTIMIZEFLAG) -tWM -D__WXMSW__ $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) \
50 $(__UNICODE_DEFINE_p) -I..\..\src\deprecated\..\..\..\include \
51 -I$(SETUPHDIR) -I..\..\src\deprecated\..\..\include $(CXXFLAGS) -Hu \
52 -H=$(OBJS)\wxprec_deprecatedlib.csm
53 DEPRECATEDLIB_OBJECTS = \
54 $(OBJS)\deprecatedlib_dummy.obj \
55 $(OBJS)\deprecatedlib_prop.obj \
56 $(OBJS)\deprecatedlib_propform.obj \
57 $(OBJS)\deprecatedlib_proplist.obj \
58 $(OBJS)\deprecatedlib_resource.obj \
59 $(OBJS)\deprecatedlib_tbarsmpl.obj \
60 $(OBJS)\deprecatedlib_treelay.obj \
61 $(OBJS)\deprecatedlib_wxexpr.obj \
62 $(OBJS)\deprecatedlib_dosyacc.obj
64 bcc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)
66 $(LIBDIRNAME)\$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)
68 ### Conditionally set variables: ###
70 !if "$(SHARED)" == "0"
71 LIBDIRNAME = ..\..\src\deprecated\..\..\..\lib\bcc_lib$(CFG)
73 !if "$(SHARED)" == "1"
74 LIBDIRNAME = ..\..\src\deprecated\..\..\..\lib\bcc_dll$(CFG)
76 !if "$(USE_GUI)" == "0"
79 !if "$(USE_GUI)" == "1"
82 !if "$(OFFICIAL_BUILD)" == "0"
83 VENDORTAG = _$(VENDOR)
85 !if "$(OFFICIAL_BUILD)" == "1"
88 !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
91 !if "$(DEBUG_FLAG)" == "1"
94 !if "$(SHARED)" == "1"
97 !if "$(UNICODE)" == "1"
100 !if "$(WXUNIV)" == "1"
103 !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
106 !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
109 !if "$(DEBUG_INFO)" == "0"
112 !if "$(DEBUG_INFO)" == "1"
115 !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
116 __DEBUG_DEFINE_p = -D__WXDEBUG__
118 !if "$(DEBUG_FLAG)" == "1"
119 __DEBUG_DEFINE_p = -D__WXDEBUG__
121 !if "$(USE_GUI)" == "1"
122 __LIB_JPEG_p = wxjpeg$(WXDEBUGFLAG).lib
124 !if "$(USE_GUI)" == "1"
125 __LIB_PNG_p = wxpng$(WXDEBUGFLAG).lib
127 !if "$(USE_GUI)" == "1"
128 __LIB_TIFF_p = wxtiff$(WXDEBUGFLAG).lib
130 !if "$(BUILD)" == "debug"
133 !if "$(BUILD)" == "release"
136 !if "$(RUNTIME_LIBS)" == "dynamic"
137 __RUNTIME_LIBS = -tWR
139 !if "$(RUNTIME_LIBS)" == "static"
142 !if "$(RUNTIME_LIBS)" == "dynamic"
145 !if "$(RUNTIME_LIBS)" == "static"
148 !if "$(UNICODE)" == "1"
149 __UNICODE_DEFINE_p = -DwxUSE_UNICODE=1
152 __UNICOWS_LIB_p = unicows.lib
154 !if "$(MONOLITHIC)" == "0"
155 __WXLIB_BASE_p = wxbase25$(WXUNICODEFLAG)$(WXDEBUGFLAG).lib
157 !if "$(MONOLITHIC)" == "0"
159 wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_core.lib
161 !if "$(MONOLITHIC)" == "1"
163 wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG).lib
165 !if "$(WXUNIV)" == "1"
166 __WXUNIV_DEFINE_p = -D__WXUNIVERSAL__
168 !if "$(SHARED)" == "1"
169 __deprecateddll___depname = \
170 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)250$(WXUNICODEFLAG)$(WXDEBUGFLAG)_deprecated_bcc$(VENDORTAG).dll
172 !if "$(SHARED)" == "0"
173 __deprecatedlib___depname = \
174 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_deprecated.lib
180 -if not exist $(OBJS) mkdir $(OBJS)
184 all: $(__deprecateddll___depname) $(__deprecatedlib___depname)
186 $(OBJS)\deprecateddll_dosyacc.obj: ../../src/deprecated\dosyacc.c
187 $(CC) -q -c -P- -o$@ $(DEPRECATEDDLL_CFLAGS) $**
189 $(OBJS)\deprecateddll_dummy.obj: ../../src/deprecated\..\..\..\src\msw\dummy.cpp
190 $(CXX) -q -c -P -o$@ $(DEPRECATEDDLL_CXXFLAGS) -H $**
192 $(OBJS)\deprecateddll_prop.obj: ../../src/deprecated\prop.cpp
193 $(CXX) -q -c -P -o$@ $(DEPRECATEDDLL_CXXFLAGS) $**
195 $(OBJS)\deprecateddll_propform.obj: ../../src/deprecated\propform.cpp
196 $(CXX) -q -c -P -o$@ $(DEPRECATEDDLL_CXXFLAGS) $**
198 $(OBJS)\deprecateddll_proplist.obj: ../../src/deprecated\proplist.cpp
199 $(CXX) -q -c -P -o$@ $(DEPRECATEDDLL_CXXFLAGS) $**
201 $(OBJS)\deprecateddll_resource.obj: ../../src/deprecated\resource.cpp
202 $(CXX) -q -c -P -o$@ $(DEPRECATEDDLL_CXXFLAGS) $**
204 $(OBJS)\deprecateddll_tbarsmpl.obj: ../../src/deprecated\tbarsmpl.cpp
205 $(CXX) -q -c -P -o$@ $(DEPRECATEDDLL_CXXFLAGS) $**
207 $(OBJS)\deprecateddll_treelay.obj: ../../src/deprecated\treelay.cpp
208 $(CXX) -q -c -P -o$@ $(DEPRECATEDDLL_CXXFLAGS) $**
210 $(OBJS)\deprecateddll_wxexpr.obj: ../../src/deprecated\wxexpr.cpp
211 $(CXX) -q -c -P -o$@ $(DEPRECATEDDLL_CXXFLAGS) $**
213 $(OBJS)\deprecatedlib_dosyacc.obj: ../../src/deprecated\dosyacc.c
214 $(CC) -q -c -P- -o$@ $(DEPRECATEDLIB_CFLAGS) $**
216 $(OBJS)\deprecatedlib_dummy.obj: ../../src/deprecated\..\..\..\src\msw\dummy.cpp
217 $(CXX) -q -c -P -o$@ $(DEPRECATEDLIB_CXXFLAGS) -H $**
219 $(OBJS)\deprecatedlib_prop.obj: ../../src/deprecated\prop.cpp
220 $(CXX) -q -c -P -o$@ $(DEPRECATEDLIB_CXXFLAGS) $**
222 $(OBJS)\deprecatedlib_propform.obj: ../../src/deprecated\propform.cpp
223 $(CXX) -q -c -P -o$@ $(DEPRECATEDLIB_CXXFLAGS) $**
225 $(OBJS)\deprecatedlib_proplist.obj: ../../src/deprecated\proplist.cpp
226 $(CXX) -q -c -P -o$@ $(DEPRECATEDLIB_CXXFLAGS) $**
228 $(OBJS)\deprecatedlib_resource.obj: ../../src/deprecated\resource.cpp
229 $(CXX) -q -c -P -o$@ $(DEPRECATEDLIB_CXXFLAGS) $**
231 $(OBJS)\deprecatedlib_tbarsmpl.obj: ../../src/deprecated\tbarsmpl.cpp
232 $(CXX) -q -c -P -o$@ $(DEPRECATEDLIB_CXXFLAGS) $**
234 $(OBJS)\deprecatedlib_treelay.obj: ../../src/deprecated\treelay.cpp
235 $(CXX) -q -c -P -o$@ $(DEPRECATEDLIB_CXXFLAGS) $**
237 $(OBJS)\deprecatedlib_wxexpr.obj: ../../src/deprecated\wxexpr.cpp
238 $(CXX) -q -c -P -o$@ $(DEPRECATEDLIB_CXXFLAGS) $**
241 -if exist $(OBJS)\*.obj del $(OBJS)\*.obj
242 -if exist $(OBJS)\*.res del $(OBJS)\*.res
243 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)250$(WXUNICODEFLAG)$(WXDEBUGFLAG)_deprecated_bcc$(VENDORTAG).dll del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)250$(WXUNICODEFLAG)$(WXDEBUGFLAG)_deprecated_bcc$(VENDORTAG).dll
244 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_deprecated.lib del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_deprecated.lib
245 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_deprecated.lib del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_deprecated.lib
247 !if "$(SHARED)" == "1"
248 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)250$(WXUNICODEFLAG)$(WXDEBUGFLAG)_deprecated_bcc$(VENDORTAG).dll: $(OBJS)\deprecateddll_dummy.obj $(DEPRECATEDDLL_OBJECTS)
249 ilink32 -Tpd -q $(LDFLAGS) $(__DEBUGINFO) -L$(LIBDIRNAME) @&&|
250 c0d32.obj $(DEPRECATEDDLL_OBJECTS),$@,, $(__WXLIB_MONO_p) $(__LIB_TIFF_p) $(__LIB_JPEG_p) $(__LIB_PNG_p) wxzlib$(WXDEBUGFLAG).lib wxregex$(WXDEBUGFLAG).lib wxexpat$(WXDEBUGFLAG).lib $(__UNICOWS_LIB_p) import32.lib ole2w32.lib $(__WXLIB_CORE_p) $(__WXLIB_BASE_p) import32.lib cw32mt$(__RUNTIME_LIBS_7).lib,,
252 implib -f $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_deprecated $@
255 !if "$(SHARED)" == "0"
256 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_deprecated.lib: $(OBJS)\deprecatedlib_dummy.obj $(DEPRECATEDLIB_OBJECTS)
258 tlib /a /p2048 $@ @&&|
259 $(DEPRECATEDLIB_OBJECTS)