]>
Commit | Line | Data |
---|---|---|
15e8daec VS |
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 | ||
fd9f42b6 | 11 | !include ../../../build/msw/config.bcc |
15e8daec VS |
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$(LIBDIRNAME) -I..\..\src\deprecated\..\..\..\src\tiff \ | |
27 | -I..\..\src\deprecated\..\..\..\src\jpeg \ | |
28 | -I..\..\src\deprecated\..\..\..\src\png \ | |
29 | -I..\..\src\deprecated\..\..\..\src\zlib \ | |
30 | -I..\..\src\deprecated\..\..\..\src\regex \ | |
31 | -I..\..\src\deprecated\..\..\..\src\expat\lib \ | |
32 | -I..\..\src\deprecated\..\..\include -DWXUSINGDLL -DWXMAKINGDLL_DEPRECATED \ | |
33 | $(CFLAGS) | |
34 | DEPRECATEDDLL_CXXFLAGS = $(CPPFLAGS) $(__RUNTIME_LIBS) $(__DEBUGINFO) \ | |
35 | $(__OPTIMIZEFLAG) -tWM -D__WXMSW__ $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) \ | |
36 | $(__UNICODE_DEFINE_p) -I..\..\src\deprecated\..\..\..\include \ | |
37 | -I$(LIBDIRNAME) -I..\..\src\deprecated\..\..\..\src\tiff \ | |
38 | -I..\..\src\deprecated\..\..\..\src\jpeg \ | |
39 | -I..\..\src\deprecated\..\..\..\src\png \ | |
40 | -I..\..\src\deprecated\..\..\..\src\zlib \ | |
41 | -I..\..\src\deprecated\..\..\..\src\regex \ | |
42 | -I..\..\src\deprecated\..\..\..\src\expat\lib \ | |
43 | -I..\..\src\deprecated\..\..\include -DWXUSINGDLL -DWXMAKINGDLL_DEPRECATED \ | |
44 | $(CXXFLAGS) -Hu -H=$(OBJS)\wxprec_deprecateddll.csm | |
45 | DEPRECATEDDLL_OBJECTS = \ | |
46 | $(OBJS)\deprecateddll_dummy.obj \ | |
47 | $(OBJS)\deprecateddll_prop.obj \ | |
48 | $(OBJS)\deprecateddll_propform.obj \ | |
49 | $(OBJS)\deprecateddll_proplist.obj \ | |
50 | $(OBJS)\deprecateddll_resource.obj \ | |
51 | $(OBJS)\deprecateddll_treelay.obj \ | |
52 | $(OBJS)\deprecateddll_wxexpr.obj \ | |
53 | $(OBJS)\deprecateddll_dosyacc.obj | |
54 | DEPRECATEDLIB_CFLAGS = $(CPPFLAGS) $(__RUNTIME_LIBS) $(__DEBUGINFO) \ | |
55 | $(__OPTIMIZEFLAG) -tWM -D__WXMSW__ $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) \ | |
56 | $(__UNICODE_DEFINE_p) -I..\..\src\deprecated\..\..\..\include \ | |
57 | -I$(LIBDIRNAME) -I..\..\src\deprecated\..\..\..\src\tiff \ | |
58 | -I..\..\src\deprecated\..\..\..\src\jpeg \ | |
59 | -I..\..\src\deprecated\..\..\..\src\png \ | |
60 | -I..\..\src\deprecated\..\..\..\src\zlib \ | |
61 | -I..\..\src\deprecated\..\..\..\src\regex \ | |
62 | -I..\..\src\deprecated\..\..\..\src\expat\lib \ | |
63 | -I..\..\src\deprecated\..\..\include $(CFLAGS) | |
64 | DEPRECATEDLIB_CXXFLAGS = $(CPPFLAGS) $(__RUNTIME_LIBS) $(__DEBUGINFO) \ | |
65 | $(__OPTIMIZEFLAG) -tWM -D__WXMSW__ $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) \ | |
66 | $(__UNICODE_DEFINE_p) -I..\..\src\deprecated\..\..\..\include \ | |
67 | -I$(LIBDIRNAME) -I..\..\src\deprecated\..\..\..\src\tiff \ | |
68 | -I..\..\src\deprecated\..\..\..\src\jpeg \ | |
69 | -I..\..\src\deprecated\..\..\..\src\png \ | |
70 | -I..\..\src\deprecated\..\..\..\src\zlib \ | |
71 | -I..\..\src\deprecated\..\..\..\src\regex \ | |
72 | -I..\..\src\deprecated\..\..\..\src\expat\lib \ | |
73 | -I..\..\src\deprecated\..\..\include $(CXXFLAGS) -Hu \ | |
74 | -H=$(OBJS)\wxprec_deprecatedlib.csm | |
75 | DEPRECATEDLIB_OBJECTS = \ | |
76 | $(OBJS)\deprecatedlib_dummy.obj \ | |
77 | $(OBJS)\deprecatedlib_prop.obj \ | |
78 | $(OBJS)\deprecatedlib_propform.obj \ | |
79 | $(OBJS)\deprecatedlib_proplist.obj \ | |
80 | $(OBJS)\deprecatedlib_resource.obj \ | |
81 | $(OBJS)\deprecatedlib_treelay.obj \ | |
82 | $(OBJS)\deprecatedlib_wxexpr.obj \ | |
83 | $(OBJS)\deprecatedlib_dosyacc.obj | |
84 | LIBDIRNAME = \ | |
85 | ..\..\src\deprecated\..\..\..\lib\bcc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG) | |
86 | OBJS = \ | |
87 | bcc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG) | |
88 | ||
89 | ### Conditionally set variables: ### | |
90 | ||
91 | !if "$(USE_GUI)" == "0" | |
92 | PORTNAME = base | |
93 | !endif | |
94 | !if "$(USE_GUI)" == "1" | |
95 | PORTNAME = msw | |
96 | !endif | |
97 | !if "$(OFFICIAL_BUILD)" == "0" | |
98 | VENDORTAG = _$(VENDOR) | |
99 | !endif | |
100 | !if "$(OFFICIAL_BUILD)" == "1" | |
101 | VENDORTAG = | |
102 | !endif | |
103 | !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default" | |
104 | WXDEBUGFLAG = d | |
105 | !endif | |
106 | !if "$(DEBUG_FLAG)" == "1" | |
107 | WXDEBUGFLAG = d | |
108 | !endif | |
109 | !if "$(SHARED)" == "1" | |
110 | WXDLLFLAG = dll | |
111 | !endif | |
112 | !if "$(UNICODE)" == "1" | |
113 | WXUNICODEFLAG = u | |
114 | !endif | |
115 | !if "$(WXUNIV)" == "1" | |
116 | WXUNIVNAME = univ | |
117 | !endif | |
118 | !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default" | |
119 | __DEBUGINFO = -v | |
120 | !endif | |
121 | !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default" | |
122 | __DEBUGINFO = -v- | |
123 | !endif | |
124 | !if "$(DEBUG_INFO)" == "0" | |
125 | __DEBUGINFO = -v- | |
126 | !endif | |
127 | !if "$(DEBUG_INFO)" == "1" | |
128 | __DEBUGINFO = -v | |
129 | !endif | |
130 | !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default" | |
131 | __DEBUG_DEFINE_p = -D__WXDEBUG__ | |
132 | !endif | |
133 | !if "$(DEBUG_FLAG)" == "1" | |
134 | __DEBUG_DEFINE_p = -D__WXDEBUG__ | |
135 | !endif | |
136 | !if "$(USE_GUI)" == "1" | |
137 | __LIB_JPEG_p = wxjpeg$(WXDEBUGFLAG).lib | |
138 | !endif | |
139 | !if "$(USE_GUI)" == "1" | |
140 | __LIB_PNG_p = wxpng$(WXDEBUGFLAG).lib | |
141 | !endif | |
142 | !if "$(USE_GUI)" == "1" | |
143 | __LIB_TIFF_p = wxtiff$(WXDEBUGFLAG).lib | |
144 | !endif | |
145 | !if "$(BUILD)" == "debug" | |
146 | __OPTIMIZEFLAG = -Od | |
147 | !endif | |
148 | !if "$(BUILD)" == "release" | |
149 | __OPTIMIZEFLAG = -O2 | |
150 | !endif | |
151 | !if "$(RUNTIME_LIBS)" == "dynamic" | |
152 | __RUNTIME_LIBS = -tWR | |
153 | !endif | |
154 | !if "$(RUNTIME_LIBS)" == "static" | |
155 | __RUNTIME_LIBS = | |
156 | !endif | |
157 | !if "$(RUNTIME_LIBS)" == "dynamic" | |
158 | __RUNTIME_LIBS_7 = i | |
159 | !endif | |
160 | !if "$(RUNTIME_LIBS)" == "static" | |
161 | __RUNTIME_LIBS_7 = | |
162 | !endif | |
163 | !if "$(UNICODE)" == "1" | |
164 | __UNICODE_DEFINE_p = -DwxUSE_UNICODE=1 | |
165 | !endif | |
166 | !if "$(MONOLITHIC)" == "0" | |
167 | __WXLIB_BASE_p = wxbase25$(WXUNICODEFLAG)$(WXDEBUGFLAG).lib | |
168 | !endif | |
169 | !if "$(MONOLITHIC)" == "0" | |
170 | __WXLIB_CORE_p = \ | |
171 | wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_core.lib | |
172 | !endif | |
173 | !if "$(MONOLITHIC)" == "1" | |
174 | __WXLIB_MONO_p = \ | |
175 | wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG).lib | |
176 | !endif | |
177 | !if "$(WXUNIV)" == "1" | |
178 | __WXUNIV_DEFINE_p = -D__WXUNIVERSAL__ | |
179 | !endif | |
180 | !if "$(SHARED)" == "1" | |
181 | __deprecateddll___depname = \ | |
182 | $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)250$(WXUNICODEFLAG)$(WXDEBUGFLAG)_deprecated_bcc$(VENDORTAG).dll | |
183 | !endif | |
184 | !if "$(SHARED)" == "0" | |
185 | __deprecatedlib___depname = \ | |
186 | $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_deprecated.lib | |
187 | !endif | |
188 | ||
fd9f42b6 VS |
189 | MAKEARGS = -DBUILD=$(BUILD) -DCC=$(CC) -DCFG=$(CFG) -DCFLAGS=$(CFLAGS) -DCPPFLAGS=$(CPPFLAGS) -DCXX=$(CXX) -DCXXFLAGS=$(CXXFLAGS) -DDEBUG_FLAG=$(DEBUG_FLAG) -DDEBUG_INFO=$(DEBUG_INFO) -DLDFLAGS=$(LDFLAGS) -DMONOLITHIC=$(MONOLITHIC) -DOFFICIAL_BUILD=$(OFFICIAL_BUILD) -DRUNTIME_LIBS=$(RUNTIME_LIBS) -DSHARED=$(SHARED) -DUNICODE=$(UNICODE) -DUSE_GUI=$(USE_GUI) -DVENDOR=$(VENDOR) -DWXUNIV=$(WXUNIV) |
190 | ||
15e8daec VS |
191 | |
192 | all: $(OBJS) | |
193 | $(OBJS): | |
194 | -if not exist $(OBJS) mkdir $(OBJS) | |
195 | ||
196 | ### Targets: ### | |
197 | ||
198 | all: $(__deprecateddll___depname) $(__deprecatedlib___depname) | |
199 | ||
200 | $(OBJS)\deprecateddll_dosyacc.obj: ../../src/deprecated\dosyacc.c | |
201 | $(CC) -q -c -P- -o$@ $(DEPRECATEDDLL_CFLAGS) $** | |
202 | ||
203 | $(OBJS)\deprecateddll_dummy.obj: ../../src/deprecated\..\..\..\src\msw\dummy.cpp | |
204 | $(CXX) -q -c -P -o$@ $(DEPRECATEDDLL_CXXFLAGS) -H $** | |
205 | ||
206 | $(OBJS)\deprecateddll_prop.obj: ../../src/deprecated\prop.cpp | |
207 | $(CXX) -q -c -P -o$@ $(DEPRECATEDDLL_CXXFLAGS) $** | |
208 | ||
209 | $(OBJS)\deprecateddll_propform.obj: ../../src/deprecated\propform.cpp | |
210 | $(CXX) -q -c -P -o$@ $(DEPRECATEDDLL_CXXFLAGS) $** | |
211 | ||
212 | $(OBJS)\deprecateddll_proplist.obj: ../../src/deprecated\proplist.cpp | |
213 | $(CXX) -q -c -P -o$@ $(DEPRECATEDDLL_CXXFLAGS) $** | |
214 | ||
215 | $(OBJS)\deprecateddll_resource.obj: ../../src/deprecated\resource.cpp | |
216 | $(CXX) -q -c -P -o$@ $(DEPRECATEDDLL_CXXFLAGS) $** | |
217 | ||
218 | $(OBJS)\deprecateddll_treelay.obj: ../../src/deprecated\treelay.cpp | |
219 | $(CXX) -q -c -P -o$@ $(DEPRECATEDDLL_CXXFLAGS) $** | |
220 | ||
221 | $(OBJS)\deprecateddll_wxexpr.obj: ../../src/deprecated\wxexpr.cpp | |
222 | $(CXX) -q -c -P -o$@ $(DEPRECATEDDLL_CXXFLAGS) $** | |
223 | ||
224 | $(OBJS)\deprecatedlib_dosyacc.obj: ../../src/deprecated\dosyacc.c | |
225 | $(CC) -q -c -P- -o$@ $(DEPRECATEDLIB_CFLAGS) $** | |
226 | ||
227 | $(OBJS)\deprecatedlib_dummy.obj: ../../src/deprecated\..\..\..\src\msw\dummy.cpp | |
228 | $(CXX) -q -c -P -o$@ $(DEPRECATEDLIB_CXXFLAGS) -H $** | |
229 | ||
230 | $(OBJS)\deprecatedlib_prop.obj: ../../src/deprecated\prop.cpp | |
231 | $(CXX) -q -c -P -o$@ $(DEPRECATEDLIB_CXXFLAGS) $** | |
232 | ||
233 | $(OBJS)\deprecatedlib_propform.obj: ../../src/deprecated\propform.cpp | |
234 | $(CXX) -q -c -P -o$@ $(DEPRECATEDLIB_CXXFLAGS) $** | |
235 | ||
236 | $(OBJS)\deprecatedlib_proplist.obj: ../../src/deprecated\proplist.cpp | |
237 | $(CXX) -q -c -P -o$@ $(DEPRECATEDLIB_CXXFLAGS) $** | |
238 | ||
239 | $(OBJS)\deprecatedlib_resource.obj: ../../src/deprecated\resource.cpp | |
240 | $(CXX) -q -c -P -o$@ $(DEPRECATEDLIB_CXXFLAGS) $** | |
241 | ||
242 | $(OBJS)\deprecatedlib_treelay.obj: ../../src/deprecated\treelay.cpp | |
243 | $(CXX) -q -c -P -o$@ $(DEPRECATEDLIB_CXXFLAGS) $** | |
244 | ||
245 | $(OBJS)\deprecatedlib_wxexpr.obj: ../../src/deprecated\wxexpr.cpp | |
246 | $(CXX) -q -c -P -o$@ $(DEPRECATEDLIB_CXXFLAGS) $** | |
247 | ||
248 | clean: | |
249 | -if exist $(OBJS)\*.obj del $(OBJS)\*.obj | |
250 | -if exist $(OBJS)\*.res del $(OBJS)\*.res | |
251 | -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 | |
252 | -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_deprecated.lib del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_deprecated.lib | |
253 | -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_deprecated.lib del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_deprecated.lib | |
254 | ||
255 | !if "$(SHARED)" == "1" | |
256 | $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)250$(WXUNICODEFLAG)$(WXDEBUGFLAG)_deprecated_bcc$(VENDORTAG).dll: $(DEPRECATEDDLL_OBJECTS) $(OBJS)\deprecateddll_dummy.obj | |
257 | ilink32 -Tpd -q $(LDFLAGS) $(__DEBUGINFO) -L$(LIBDIRNAME) @&&| | |
258 | 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 import32.lib ole2w32.lib $(__WXLIB_CORE_p) $(__WXLIB_BASE_p) import32.lib cw32mt$(__RUNTIME_LIBS_7).lib,, | |
259 | | | |
260 | implib -f $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_deprecated $@ | |
261 | !endif | |
262 | ||
263 | !if "$(SHARED)" == "0" | |
264 | $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_deprecated.lib: $(DEPRECATEDLIB_OBJECTS) $(OBJS)\deprecatedlib_dummy.obj | |
265 | if exist $@ del $@ | |
266 | tlib /a /p2048 $@ @&&| | |
267 | $(DEPRECATEDLIB_OBJECTS) | |
268 | | | |
269 | !endif |