]> git.saurik.com Git - wxWidgets.git/blob - contrib/build/deprecated/makefile.bcc
b11390ffb98c465d5fb2f61bdcecda4e61f87d1e
[wxWidgets.git] / contrib / build / deprecated / makefile.bcc
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 # =========================================================================
6
7 !ifndef BCCDIR
8 BCCDIR = $(MAKEDIR)\..
9 !endif
10
11 !include ../../../build/msw/config.bcc
12
13 # -------------------------------------------------------------------------
14 # Do not modify the rest of this file!
15 # -------------------------------------------------------------------------
16
17 !if "$(BCCDIR)" == "\.."
18 !error Your Borland compiler does not define MAKEDIR. Please define the BCCDIR variable, e.g. BCCDIR=d:\bc4
19 !endif
20
21 ### Variables: ###
22
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
63 OBJS = \
64 bcc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)
65 SETUPHDIR = \
66 $(LIBDIRNAME)\$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)
67
68 ### Conditionally set variables: ###
69
70 !if "$(SHARED)" == "0"
71 LIBDIRNAME = ..\..\src\deprecated\..\..\..\lib\bcc_lib$(CFG)
72 !endif
73 !if "$(SHARED)" == "1"
74 LIBDIRNAME = ..\..\src\deprecated\..\..\..\lib\bcc_dll$(CFG)
75 !endif
76 !if "$(USE_GUI)" == "0"
77 PORTNAME = base
78 !endif
79 !if "$(USE_GUI)" == "1"
80 PORTNAME = msw
81 !endif
82 !if "$(OFFICIAL_BUILD)" == "0"
83 VENDORTAG = _$(VENDOR)
84 !endif
85 !if "$(OFFICIAL_BUILD)" == "1"
86 VENDORTAG =
87 !endif
88 !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
89 WXDEBUGFLAG = d
90 !endif
91 !if "$(DEBUG_FLAG)" == "1"
92 WXDEBUGFLAG = d
93 !endif
94 !if "$(SHARED)" == "1"
95 WXDLLFLAG = dll
96 !endif
97 !if "$(UNICODE)" == "1"
98 WXUNICODEFLAG = u
99 !endif
100 !if "$(WXUNIV)" == "1"
101 WXUNIVNAME = univ
102 !endif
103 !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
104 __DEBUGINFO = -v
105 !endif
106 !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
107 __DEBUGINFO = -v-
108 !endif
109 !if "$(DEBUG_INFO)" == "0"
110 __DEBUGINFO = -v-
111 !endif
112 !if "$(DEBUG_INFO)" == "1"
113 __DEBUGINFO = -v
114 !endif
115 !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
116 __DEBUG_DEFINE_p = -D__WXDEBUG__
117 !endif
118 !if "$(DEBUG_FLAG)" == "1"
119 __DEBUG_DEFINE_p = -D__WXDEBUG__
120 !endif
121 !if "$(USE_GUI)" == "1"
122 __LIB_JPEG_p = wxjpeg$(WXDEBUGFLAG).lib
123 !endif
124 !if "$(USE_GUI)" == "1"
125 __LIB_PNG_p = wxpng$(WXDEBUGFLAG).lib
126 !endif
127 !if "$(USE_GUI)" == "1"
128 __LIB_TIFF_p = wxtiff$(WXDEBUGFLAG).lib
129 !endif
130 !if "$(BUILD)" == "debug"
131 __OPTIMIZEFLAG = -Od
132 !endif
133 !if "$(BUILD)" == "release"
134 __OPTIMIZEFLAG = -O2
135 !endif
136 !if "$(RUNTIME_LIBS)" == "dynamic"
137 __RUNTIME_LIBS = -tWR
138 !endif
139 !if "$(RUNTIME_LIBS)" == "static"
140 __RUNTIME_LIBS =
141 !endif
142 !if "$(RUNTIME_LIBS)" == "dynamic"
143 __RUNTIME_LIBS_7 = i
144 !endif
145 !if "$(RUNTIME_LIBS)" == "static"
146 __RUNTIME_LIBS_7 =
147 !endif
148 !if "$(UNICODE)" == "1"
149 __UNICODE_DEFINE_p = -DwxUSE_UNICODE=1
150 !endif
151 !if "$(MSLU)" == "1"
152 __UNICOWS_LIB_p = unicows.lib
153 !endif
154 !if "$(MONOLITHIC)" == "0"
155 __WXLIB_BASE_p = wxbase25$(WXUNICODEFLAG)$(WXDEBUGFLAG).lib
156 !endif
157 !if "$(MONOLITHIC)" == "0"
158 __WXLIB_CORE_p = \
159 wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_core.lib
160 !endif
161 !if "$(MONOLITHIC)" == "1"
162 __WXLIB_MONO_p = \
163 wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG).lib
164 !endif
165 !if "$(WXUNIV)" == "1"
166 __WXUNIV_DEFINE_p = -D__WXUNIVERSAL__
167 !endif
168 !if "$(SHARED)" == "1"
169 __deprecateddll___depname = \
170 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)250$(WXUNICODEFLAG)$(WXDEBUGFLAG)_deprecated_bcc$(VENDORTAG).dll
171 !endif
172 !if "$(SHARED)" == "0"
173 __deprecatedlib___depname = \
174 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_deprecated.lib
175 !endif
176
177
178 all: $(OBJS)
179 $(OBJS):
180 -if not exist $(OBJS) mkdir $(OBJS)
181
182 ### Targets: ###
183
184 all: $(__deprecateddll___depname) $(__deprecatedlib___depname)
185
186 $(OBJS)\deprecateddll_dosyacc.obj: ../../src/deprecated\dosyacc.c
187 $(CC) -q -c -P- -o$@ $(DEPRECATEDDLL_CFLAGS) $**
188
189 $(OBJS)\deprecateddll_dummy.obj: ../../src/deprecated\..\..\..\src\msw\dummy.cpp
190 $(CXX) -q -c -P -o$@ $(DEPRECATEDDLL_CXXFLAGS) -H $**
191
192 $(OBJS)\deprecateddll_prop.obj: ../../src/deprecated\prop.cpp
193 $(CXX) -q -c -P -o$@ $(DEPRECATEDDLL_CXXFLAGS) $**
194
195 $(OBJS)\deprecateddll_propform.obj: ../../src/deprecated\propform.cpp
196 $(CXX) -q -c -P -o$@ $(DEPRECATEDDLL_CXXFLAGS) $**
197
198 $(OBJS)\deprecateddll_proplist.obj: ../../src/deprecated\proplist.cpp
199 $(CXX) -q -c -P -o$@ $(DEPRECATEDDLL_CXXFLAGS) $**
200
201 $(OBJS)\deprecateddll_resource.obj: ../../src/deprecated\resource.cpp
202 $(CXX) -q -c -P -o$@ $(DEPRECATEDDLL_CXXFLAGS) $**
203
204 $(OBJS)\deprecateddll_tbarsmpl.obj: ../../src/deprecated\tbarsmpl.cpp
205 $(CXX) -q -c -P -o$@ $(DEPRECATEDDLL_CXXFLAGS) $**
206
207 $(OBJS)\deprecateddll_treelay.obj: ../../src/deprecated\treelay.cpp
208 $(CXX) -q -c -P -o$@ $(DEPRECATEDDLL_CXXFLAGS) $**
209
210 $(OBJS)\deprecateddll_wxexpr.obj: ../../src/deprecated\wxexpr.cpp
211 $(CXX) -q -c -P -o$@ $(DEPRECATEDDLL_CXXFLAGS) $**
212
213 $(OBJS)\deprecatedlib_dosyacc.obj: ../../src/deprecated\dosyacc.c
214 $(CC) -q -c -P- -o$@ $(DEPRECATEDLIB_CFLAGS) $**
215
216 $(OBJS)\deprecatedlib_dummy.obj: ../../src/deprecated\..\..\..\src\msw\dummy.cpp
217 $(CXX) -q -c -P -o$@ $(DEPRECATEDLIB_CXXFLAGS) -H $**
218
219 $(OBJS)\deprecatedlib_prop.obj: ../../src/deprecated\prop.cpp
220 $(CXX) -q -c -P -o$@ $(DEPRECATEDLIB_CXXFLAGS) $**
221
222 $(OBJS)\deprecatedlib_propform.obj: ../../src/deprecated\propform.cpp
223 $(CXX) -q -c -P -o$@ $(DEPRECATEDLIB_CXXFLAGS) $**
224
225 $(OBJS)\deprecatedlib_proplist.obj: ../../src/deprecated\proplist.cpp
226 $(CXX) -q -c -P -o$@ $(DEPRECATEDLIB_CXXFLAGS) $**
227
228 $(OBJS)\deprecatedlib_resource.obj: ../../src/deprecated\resource.cpp
229 $(CXX) -q -c -P -o$@ $(DEPRECATEDLIB_CXXFLAGS) $**
230
231 $(OBJS)\deprecatedlib_tbarsmpl.obj: ../../src/deprecated\tbarsmpl.cpp
232 $(CXX) -q -c -P -o$@ $(DEPRECATEDLIB_CXXFLAGS) $**
233
234 $(OBJS)\deprecatedlib_treelay.obj: ../../src/deprecated\treelay.cpp
235 $(CXX) -q -c -P -o$@ $(DEPRECATEDLIB_CXXFLAGS) $**
236
237 $(OBJS)\deprecatedlib_wxexpr.obj: ../../src/deprecated\wxexpr.cpp
238 $(CXX) -q -c -P -o$@ $(DEPRECATEDLIB_CXXFLAGS) $**
239
240 clean:
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
246
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,,
251 |
252 implib -f $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_deprecated $@
253 !endif
254
255 !if "$(SHARED)" == "0"
256 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_deprecated.lib: $(OBJS)\deprecatedlib_dummy.obj $(DEPRECATEDLIB_OBJECTS)
257 if exist $@ del $@
258 tlib /a /p2048 $@ @&&|
259 $(DEPRECATEDLIB_OBJECTS)
260 |
261 !endif