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) -I$(BCCDIR)\include \
24 $(__DEBUGINFO) $(__OPTIMIZEFLAG) -tWM -D__WXMSW__ $(__WXUNIV_DEFINE_p) \
25 $(__DEBUG_DEFINE_p) $(__UNICODE_DEFINE_p) \
26 -I..\..\src\deprecated\..\..\..\include -I$(SETUPHDIR) \
27 -I..\..\src\deprecated\..\..\include -DWXUSINGDLL -DWXMAKINGDLL_DEPRECATED \
28 -I..\..\src\deprecated $(CFLAGS)
29 DEPRECATEDDLL_CXXFLAGS = $(CPPFLAGS) $(__RUNTIME_LIBS) -I$(BCCDIR)\include \
30 $(__DEBUGINFO) $(__OPTIMIZEFLAG) -tWM -D__WXMSW__ $(__WXUNIV_DEFINE_p) \
31 $(__DEBUG_DEFINE_p) $(__UNICODE_DEFINE_p) \
32 -I..\..\src\deprecated\..\..\..\include -I$(SETUPHDIR) \
33 -I..\..\src\deprecated\..\..\include -DWXUSINGDLL -DWXMAKINGDLL_DEPRECATED \
34 -I..\..\src\deprecated $(CXXFLAGS) -Hu -H=$(OBJS)\wxprec_deprecateddll.csm
35 DEPRECATEDDLL_OBJECTS = \
36 $(OBJS)\deprecateddll_dummy.obj \
37 $(OBJS)\deprecateddll_prop.obj \
38 $(OBJS)\deprecateddll_propform.obj \
39 $(OBJS)\deprecateddll_proplist.obj \
40 $(OBJS)\deprecateddll_resource.obj \
41 $(OBJS)\deprecateddll_tbarsmpl.obj \
42 $(OBJS)\deprecateddll_treelay.obj \
43 $(OBJS)\deprecateddll_wxexpr.obj \
44 $(OBJS)\deprecateddll_dosyacc.obj
45 DEPRECATEDLIB_CFLAGS = $(CPPFLAGS) $(__RUNTIME_LIBS) -I$(BCCDIR)\include \
46 $(__DEBUGINFO) $(__OPTIMIZEFLAG) -tWM -D__WXMSW__ $(__WXUNIV_DEFINE_p) \
47 $(__DEBUG_DEFINE_p) $(__UNICODE_DEFINE_p) \
48 -I..\..\src\deprecated\..\..\..\include -I$(SETUPHDIR) \
49 -I..\..\src\deprecated\..\..\include -I..\..\src\deprecated $(CFLAGS)
50 DEPRECATEDLIB_CXXFLAGS = $(CPPFLAGS) $(__RUNTIME_LIBS) -I$(BCCDIR)\include \
51 $(__DEBUGINFO) $(__OPTIMIZEFLAG) -tWM -D__WXMSW__ $(__WXUNIV_DEFINE_p) \
52 $(__DEBUG_DEFINE_p) $(__UNICODE_DEFINE_p) \
53 -I..\..\src\deprecated\..\..\..\include -I$(SETUPHDIR) \
54 -I..\..\src\deprecated\..\..\include -I..\..\src\deprecated $(CXXFLAGS) -Hu \
55 -H=$(OBJS)\wxprec_deprecatedlib.csm
56 DEPRECATEDLIB_OBJECTS = \
57 $(OBJS)\deprecatedlib_dummy.obj \
58 $(OBJS)\deprecatedlib_prop.obj \
59 $(OBJS)\deprecatedlib_propform.obj \
60 $(OBJS)\deprecatedlib_proplist.obj \
61 $(OBJS)\deprecatedlib_resource.obj \
62 $(OBJS)\deprecatedlib_tbarsmpl.obj \
63 $(OBJS)\deprecatedlib_treelay.obj \
64 $(OBJS)\deprecatedlib_wxexpr.obj \
65 $(OBJS)\deprecatedlib_dosyacc.obj
67 bcc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)
69 $(LIBDIRNAME)\$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)
71 ### Conditionally set variables: ###
73 !if "$(SHARED)" == "0"
74 LIBDIRNAME = ..\..\src\deprecated\..\..\..\lib\bcc_lib$(CFG)
76 !if "$(SHARED)" == "1"
77 LIBDIRNAME = ..\..\src\deprecated\..\..\..\lib\bcc_dll$(CFG)
79 !if "$(USE_GUI)" == "0"
82 !if "$(USE_GUI)" == "1"
85 !if "$(OFFICIAL_BUILD)" == "0"
86 VENDORTAG = _$(VENDOR)
88 !if "$(OFFICIAL_BUILD)" == "1"
91 !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
94 !if "$(DEBUG_FLAG)" == "1"
97 !if "$(SHARED)" == "1"
100 !if "$(UNICODE)" == "1"
103 !if "$(WXUNIV)" == "1"
106 !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
109 !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
112 !if "$(DEBUG_INFO)" == "0"
115 !if "$(DEBUG_INFO)" == "1"
118 !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
119 __DEBUG_DEFINE_p = -D__WXDEBUG__
121 !if "$(DEBUG_FLAG)" == "1"
122 __DEBUG_DEFINE_p = -D__WXDEBUG__
124 !if "$(USE_GUI)" == "1"
125 __LIB_JPEG_p = wxjpeg$(WXDEBUGFLAG).lib
127 !if "$(USE_GUI)" == "1"
128 __LIB_PNG_p = wxpng$(WXDEBUGFLAG).lib
130 !if "$(USE_GUI)" == "1"
131 __LIB_TIFF_p = wxtiff$(WXDEBUGFLAG).lib
133 !if "$(BUILD)" == "debug"
136 !if "$(BUILD)" == "release"
139 !if "$(RUNTIME_LIBS)" == "dynamic"
140 __RUNTIME_LIBS = -tWR
142 !if "$(RUNTIME_LIBS)" == "static"
145 !if "$(RUNTIME_LIBS)" == "dynamic"
148 !if "$(RUNTIME_LIBS)" == "static"
151 !if "$(UNICODE)" == "1"
152 __UNICODE_DEFINE_p = -DwxUSE_UNICODE=1
155 __UNICOWS_LIB_p = unicows.lib
157 !if "$(MONOLITHIC)" == "0"
158 __WXLIB_BASE_p = wxbase25$(WXUNICODEFLAG)$(WXDEBUGFLAG).lib
160 !if "$(MONOLITHIC)" == "0"
162 wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_core.lib
164 !if "$(MONOLITHIC)" == "1"
166 wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG).lib
168 !if "$(WXUNIV)" == "1"
169 __WXUNIV_DEFINE_p = -D__WXUNIVERSAL__
171 !if "$(SHARED)" == "1"
172 __deprecateddll___depname = \
173 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)250$(WXUNICODEFLAG)$(WXDEBUGFLAG)_deprecated_bcc$(VENDORTAG).dll
175 !if "$(SHARED)" == "0"
176 __deprecatedlib___depname = \
177 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_deprecated.lib
183 -if not exist $(OBJS) mkdir $(OBJS)
187 all: $(__deprecateddll___depname) $(__deprecatedlib___depname)
189 $(OBJS)\deprecateddll_dosyacc.obj: ../../src/deprecated\dosyacc.c
190 $(CC) -q -c -P- -o$@ $(DEPRECATEDDLL_CFLAGS) $**
192 $(OBJS)\deprecateddll_dummy.obj: ../../src/deprecated\..\..\..\src\msw\dummy.cpp
193 $(CXX) -q -c -P -o$@ $(DEPRECATEDDLL_CXXFLAGS) -H $**
195 $(OBJS)\deprecateddll_prop.obj: ../../src/deprecated\prop.cpp
196 $(CXX) -q -c -P -o$@ $(DEPRECATEDDLL_CXXFLAGS) $**
198 $(OBJS)\deprecateddll_propform.obj: ../../src/deprecated\propform.cpp
199 $(CXX) -q -c -P -o$@ $(DEPRECATEDDLL_CXXFLAGS) $**
201 $(OBJS)\deprecateddll_proplist.obj: ../../src/deprecated\proplist.cpp
202 $(CXX) -q -c -P -o$@ $(DEPRECATEDDLL_CXXFLAGS) $**
204 $(OBJS)\deprecateddll_resource.obj: ../../src/deprecated\resource.cpp
205 $(CXX) -q -c -P -o$@ $(DEPRECATEDDLL_CXXFLAGS) $**
207 $(OBJS)\deprecateddll_tbarsmpl.obj: ../../src/deprecated\tbarsmpl.cpp
208 $(CXX) -q -c -P -o$@ $(DEPRECATEDDLL_CXXFLAGS) $**
210 $(OBJS)\deprecateddll_treelay.obj: ../../src/deprecated\treelay.cpp
211 $(CXX) -q -c -P -o$@ $(DEPRECATEDDLL_CXXFLAGS) $**
213 $(OBJS)\deprecateddll_wxexpr.obj: ../../src/deprecated\wxexpr.cpp
214 $(CXX) -q -c -P -o$@ $(DEPRECATEDDLL_CXXFLAGS) $**
216 $(OBJS)\deprecatedlib_dosyacc.obj: ../../src/deprecated\dosyacc.c
217 $(CC) -q -c -P- -o$@ $(DEPRECATEDLIB_CFLAGS) $**
219 $(OBJS)\deprecatedlib_dummy.obj: ../../src/deprecated\..\..\..\src\msw\dummy.cpp
220 $(CXX) -q -c -P -o$@ $(DEPRECATEDLIB_CXXFLAGS) -H $**
222 $(OBJS)\deprecatedlib_prop.obj: ../../src/deprecated\prop.cpp
223 $(CXX) -q -c -P -o$@ $(DEPRECATEDLIB_CXXFLAGS) $**
225 $(OBJS)\deprecatedlib_propform.obj: ../../src/deprecated\propform.cpp
226 $(CXX) -q -c -P -o$@ $(DEPRECATEDLIB_CXXFLAGS) $**
228 $(OBJS)\deprecatedlib_proplist.obj: ../../src/deprecated\proplist.cpp
229 $(CXX) -q -c -P -o$@ $(DEPRECATEDLIB_CXXFLAGS) $**
231 $(OBJS)\deprecatedlib_resource.obj: ../../src/deprecated\resource.cpp
232 $(CXX) -q -c -P -o$@ $(DEPRECATEDLIB_CXXFLAGS) $**
234 $(OBJS)\deprecatedlib_tbarsmpl.obj: ../../src/deprecated\tbarsmpl.cpp
235 $(CXX) -q -c -P -o$@ $(DEPRECATEDLIB_CXXFLAGS) $**
237 $(OBJS)\deprecatedlib_treelay.obj: ../../src/deprecated\treelay.cpp
238 $(CXX) -q -c -P -o$@ $(DEPRECATEDLIB_CXXFLAGS) $**
240 $(OBJS)\deprecatedlib_wxexpr.obj: ../../src/deprecated\wxexpr.cpp
241 $(CXX) -q -c -P -o$@ $(DEPRECATEDLIB_CXXFLAGS) $**
244 -if exist $(OBJS)\*.obj del $(OBJS)\*.obj
245 -if exist $(OBJS)\*.res del $(OBJS)\*.res
246 -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
247 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_deprecated.lib del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_deprecated.lib
248 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_deprecated.lib del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_deprecated.lib
250 !if "$(SHARED)" == "1"
251 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)250$(WXUNICODEFLAG)$(WXDEBUGFLAG)_deprecated_bcc$(VENDORTAG).dll: $(OBJS)\deprecateddll_dummy.obj $(DEPRECATEDDLL_OBJECTS)
252 ilink32 -Tpd -q $(LDFLAGS) -L$(BCCDIR)\lib $(__DEBUGINFO) -L$(LIBDIRNAME) @&&|
253 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,,
255 implib -f $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_deprecated $@
258 !if "$(SHARED)" == "0"
259 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_deprecated.lib: $(OBJS)\deprecatedlib_dummy.obj $(DEPRECATEDLIB_OBJECTS)
261 tlib /a /p2048 $@ @&&|
262 $(DEPRECATEDLIB_OBJECTS)