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 -I..\..\src\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 -I..\..\src\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 -I..\..\src\deprecated \
49 DEPRECATEDLIB_CXXFLAGS = $(CPPFLAGS) $(__RUNTIME_LIBS) $(__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 \
53 $(CXXFLAGS) -Hu -H=$(OBJS)\wxprec_deprecatedlib.csm
54 DEPRECATEDLIB_OBJECTS = \
55 $(OBJS)\deprecatedlib_dummy.obj \
56 $(OBJS)\deprecatedlib_prop.obj \
57 $(OBJS)\deprecatedlib_propform.obj \
58 $(OBJS)\deprecatedlib_proplist.obj \
59 $(OBJS)\deprecatedlib_resource.obj \
60 $(OBJS)\deprecatedlib_tbarsmpl.obj \
61 $(OBJS)\deprecatedlib_treelay.obj \
62 $(OBJS)\deprecatedlib_wxexpr.obj \
63 $(OBJS)\deprecatedlib_dosyacc.obj
65 bcc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)
67 $(LIBDIRNAME)\$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)
69 ### Conditionally set variables: ###
71 !if "$(SHARED)" == "0"
72 LIBDIRNAME = ..\..\src\deprecated\..\..\..\lib\bcc_lib$(CFG)
74 !if "$(SHARED)" == "1"
75 LIBDIRNAME = ..\..\src\deprecated\..\..\..\lib\bcc_dll$(CFG)
77 !if "$(USE_GUI)" == "0"
80 !if "$(USE_GUI)" == "1"
83 !if "$(OFFICIAL_BUILD)" == "0"
84 VENDORTAG = _$(VENDOR)
86 !if "$(OFFICIAL_BUILD)" == "1"
89 !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
92 !if "$(DEBUG_FLAG)" == "1"
95 !if "$(SHARED)" == "1"
98 !if "$(UNICODE)" == "1"
101 !if "$(WXUNIV)" == "1"
104 !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
107 !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
110 !if "$(DEBUG_INFO)" == "0"
113 !if "$(DEBUG_INFO)" == "1"
116 !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
117 __DEBUG_DEFINE_p = -D__WXDEBUG__
119 !if "$(DEBUG_FLAG)" == "1"
120 __DEBUG_DEFINE_p = -D__WXDEBUG__
122 !if "$(USE_GUI)" == "1"
123 __LIB_JPEG_p = wxjpeg$(WXDEBUGFLAG).lib
125 !if "$(USE_GUI)" == "1"
126 __LIB_PNG_p = wxpng$(WXDEBUGFLAG).lib
128 !if "$(USE_GUI)" == "1"
129 __LIB_TIFF_p = wxtiff$(WXDEBUGFLAG).lib
131 !if "$(BUILD)" == "debug"
134 !if "$(BUILD)" == "release"
137 !if "$(RUNTIME_LIBS)" == "dynamic"
138 __RUNTIME_LIBS = -tWR
140 !if "$(RUNTIME_LIBS)" == "static"
143 !if "$(RUNTIME_LIBS)" == "dynamic"
146 !if "$(RUNTIME_LIBS)" == "static"
149 !if "$(UNICODE)" == "1"
150 __UNICODE_DEFINE_p = -DwxUSE_UNICODE=1
153 __UNICOWS_LIB_p = unicows.lib
155 !if "$(MONOLITHIC)" == "0"
156 __WXLIB_BASE_p = wxbase25$(WXUNICODEFLAG)$(WXDEBUGFLAG).lib
158 !if "$(MONOLITHIC)" == "0"
160 wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_core.lib
162 !if "$(MONOLITHIC)" == "1"
164 wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG).lib
166 !if "$(WXUNIV)" == "1"
167 __WXUNIV_DEFINE_p = -D__WXUNIVERSAL__
169 !if "$(SHARED)" == "1"
170 __deprecateddll___depname = \
171 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)250$(WXUNICODEFLAG)$(WXDEBUGFLAG)_deprecated_bcc$(VENDORTAG).dll
173 !if "$(SHARED)" == "0"
174 __deprecatedlib___depname = \
175 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_deprecated.lib
181 -if not exist $(OBJS) mkdir $(OBJS)
185 all: $(__deprecateddll___depname) $(__deprecatedlib___depname)
187 $(OBJS)\deprecateddll_dosyacc.obj: ../../src/deprecated\dosyacc.c
188 $(CC) -q -c -P- -o$@ $(DEPRECATEDDLL_CFLAGS) $**
190 $(OBJS)\deprecateddll_dummy.obj: ../../src/deprecated\..\..\..\src\msw\dummy.cpp
191 $(CXX) -q -c -P -o$@ $(DEPRECATEDDLL_CXXFLAGS) -H $**
193 $(OBJS)\deprecateddll_prop.obj: ../../src/deprecated\prop.cpp
194 $(CXX) -q -c -P -o$@ $(DEPRECATEDDLL_CXXFLAGS) $**
196 $(OBJS)\deprecateddll_propform.obj: ../../src/deprecated\propform.cpp
197 $(CXX) -q -c -P -o$@ $(DEPRECATEDDLL_CXXFLAGS) $**
199 $(OBJS)\deprecateddll_proplist.obj: ../../src/deprecated\proplist.cpp
200 $(CXX) -q -c -P -o$@ $(DEPRECATEDDLL_CXXFLAGS) $**
202 $(OBJS)\deprecateddll_resource.obj: ../../src/deprecated\resource.cpp
203 $(CXX) -q -c -P -o$@ $(DEPRECATEDDLL_CXXFLAGS) $**
205 $(OBJS)\deprecateddll_tbarsmpl.obj: ../../src/deprecated\tbarsmpl.cpp
206 $(CXX) -q -c -P -o$@ $(DEPRECATEDDLL_CXXFLAGS) $**
208 $(OBJS)\deprecateddll_treelay.obj: ../../src/deprecated\treelay.cpp
209 $(CXX) -q -c -P -o$@ $(DEPRECATEDDLL_CXXFLAGS) $**
211 $(OBJS)\deprecateddll_wxexpr.obj: ../../src/deprecated\wxexpr.cpp
212 $(CXX) -q -c -P -o$@ $(DEPRECATEDDLL_CXXFLAGS) $**
214 $(OBJS)\deprecatedlib_dosyacc.obj: ../../src/deprecated\dosyacc.c
215 $(CC) -q -c -P- -o$@ $(DEPRECATEDLIB_CFLAGS) $**
217 $(OBJS)\deprecatedlib_dummy.obj: ../../src/deprecated\..\..\..\src\msw\dummy.cpp
218 $(CXX) -q -c -P -o$@ $(DEPRECATEDLIB_CXXFLAGS) -H $**
220 $(OBJS)\deprecatedlib_prop.obj: ../../src/deprecated\prop.cpp
221 $(CXX) -q -c -P -o$@ $(DEPRECATEDLIB_CXXFLAGS) $**
223 $(OBJS)\deprecatedlib_propform.obj: ../../src/deprecated\propform.cpp
224 $(CXX) -q -c -P -o$@ $(DEPRECATEDLIB_CXXFLAGS) $**
226 $(OBJS)\deprecatedlib_proplist.obj: ../../src/deprecated\proplist.cpp
227 $(CXX) -q -c -P -o$@ $(DEPRECATEDLIB_CXXFLAGS) $**
229 $(OBJS)\deprecatedlib_resource.obj: ../../src/deprecated\resource.cpp
230 $(CXX) -q -c -P -o$@ $(DEPRECATEDLIB_CXXFLAGS) $**
232 $(OBJS)\deprecatedlib_tbarsmpl.obj: ../../src/deprecated\tbarsmpl.cpp
233 $(CXX) -q -c -P -o$@ $(DEPRECATEDLIB_CXXFLAGS) $**
235 $(OBJS)\deprecatedlib_treelay.obj: ../../src/deprecated\treelay.cpp
236 $(CXX) -q -c -P -o$@ $(DEPRECATEDLIB_CXXFLAGS) $**
238 $(OBJS)\deprecatedlib_wxexpr.obj: ../../src/deprecated\wxexpr.cpp
239 $(CXX) -q -c -P -o$@ $(DEPRECATEDLIB_CXXFLAGS) $**
242 -if exist $(OBJS)\*.obj del $(OBJS)\*.obj
243 -if exist $(OBJS)\*.res del $(OBJS)\*.res
244 -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
245 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_deprecated.lib del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_deprecated.lib
246 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_deprecated.lib del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_deprecated.lib
248 !if "$(SHARED)" == "1"
249 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)250$(WXUNICODEFLAG)$(WXDEBUGFLAG)_deprecated_bcc$(VENDORTAG).dll: $(OBJS)\deprecateddll_dummy.obj $(DEPRECATEDDLL_OBJECTS)
250 ilink32 -Tpd -q $(LDFLAGS) $(__DEBUGINFO) -L$(LIBDIRNAME) @&&|
251 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,,
253 implib -f $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_deprecated $@
256 !if "$(SHARED)" == "0"
257 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_deprecated.lib: $(OBJS)\deprecatedlib_dummy.obj $(DEPRECATEDLIB_OBJECTS)
259 tlib /a /p2048 $@ @&&|
260 $(DEPRECATEDLIB_OBJECTS)