]>
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 \ | |
75a0a7b7 | 26 | -I$(SETUPHDIR) -I..\..\src\deprecated\..\..\include -DWXUSINGDLL \ |
187cf772 | 27 | -DWXMAKINGDLL_DEPRECATED -I..\..\src\deprecated $(CFLAGS) |
15e8daec VS |
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 \ | |
75a0a7b7 | 31 | -I$(SETUPHDIR) -I..\..\src\deprecated\..\..\include -DWXUSINGDLL \ |
187cf772 | 32 | -DWXMAKINGDLL_DEPRECATED -I..\..\src\deprecated $(CXXFLAGS) -Hu \ |
75a0a7b7 | 33 | -H=$(OBJS)\wxprec_deprecateddll.csm |
15e8daec VS |
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 \ | |
8a82c9ec | 40 | $(OBJS)\deprecateddll_tbarsmpl.obj \ |
15e8daec VS |
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 \ | |
187cf772 VS |
47 | -I$(SETUPHDIR) -I..\..\src\deprecated\..\..\include -I..\..\src\deprecated \ |
48 | $(CFLAGS) | |
15e8daec VS |
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 \ | |
187cf772 VS |
52 | -I$(SETUPHDIR) -I..\..\src\deprecated\..\..\include -I..\..\src\deprecated \ |
53 | $(CXXFLAGS) -Hu -H=$(OBJS)\wxprec_deprecatedlib.csm | |
15e8daec VS |
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 \ | |
8a82c9ec | 60 | $(OBJS)\deprecatedlib_tbarsmpl.obj \ |
15e8daec VS |
61 | $(OBJS)\deprecatedlib_treelay.obj \ |
62 | $(OBJS)\deprecatedlib_wxexpr.obj \ | |
63 | $(OBJS)\deprecatedlib_dosyacc.obj | |
15e8daec VS |
64 | OBJS = \ |
65 | bcc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG) | |
75a0a7b7 VS |
66 | SETUPHDIR = \ |
67 | $(LIBDIRNAME)\$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG) | |
15e8daec VS |
68 | |
69 | ### Conditionally set variables: ### | |
70 | ||
75a0a7b7 VS |
71 | !if "$(SHARED)" == "0" |
72 | LIBDIRNAME = ..\..\src\deprecated\..\..\..\lib\bcc_lib$(CFG) | |
73 | !endif | |
74 | !if "$(SHARED)" == "1" | |
75 | LIBDIRNAME = ..\..\src\deprecated\..\..\..\lib\bcc_dll$(CFG) | |
76 | !endif | |
15e8daec VS |
77 | !if "$(USE_GUI)" == "0" |
78 | PORTNAME = base | |
79 | !endif | |
80 | !if "$(USE_GUI)" == "1" | |
81 | PORTNAME = msw | |
82 | !endif | |
83 | !if "$(OFFICIAL_BUILD)" == "0" | |
84 | VENDORTAG = _$(VENDOR) | |
85 | !endif | |
86 | !if "$(OFFICIAL_BUILD)" == "1" | |
87 | VENDORTAG = | |
88 | !endif | |
89 | !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default" | |
90 | WXDEBUGFLAG = d | |
91 | !endif | |
92 | !if "$(DEBUG_FLAG)" == "1" | |
93 | WXDEBUGFLAG = d | |
94 | !endif | |
95 | !if "$(SHARED)" == "1" | |
96 | WXDLLFLAG = dll | |
97 | !endif | |
98 | !if "$(UNICODE)" == "1" | |
99 | WXUNICODEFLAG = u | |
100 | !endif | |
101 | !if "$(WXUNIV)" == "1" | |
102 | WXUNIVNAME = univ | |
103 | !endif | |
104 | !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default" | |
105 | __DEBUGINFO = -v | |
106 | !endif | |
107 | !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default" | |
108 | __DEBUGINFO = -v- | |
109 | !endif | |
110 | !if "$(DEBUG_INFO)" == "0" | |
111 | __DEBUGINFO = -v- | |
112 | !endif | |
113 | !if "$(DEBUG_INFO)" == "1" | |
114 | __DEBUGINFO = -v | |
115 | !endif | |
116 | !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default" | |
117 | __DEBUG_DEFINE_p = -D__WXDEBUG__ | |
118 | !endif | |
119 | !if "$(DEBUG_FLAG)" == "1" | |
120 | __DEBUG_DEFINE_p = -D__WXDEBUG__ | |
121 | !endif | |
122 | !if "$(USE_GUI)" == "1" | |
123 | __LIB_JPEG_p = wxjpeg$(WXDEBUGFLAG).lib | |
124 | !endif | |
125 | !if "$(USE_GUI)" == "1" | |
126 | __LIB_PNG_p = wxpng$(WXDEBUGFLAG).lib | |
127 | !endif | |
128 | !if "$(USE_GUI)" == "1" | |
129 | __LIB_TIFF_p = wxtiff$(WXDEBUGFLAG).lib | |
130 | !endif | |
131 | !if "$(BUILD)" == "debug" | |
132 | __OPTIMIZEFLAG = -Od | |
133 | !endif | |
134 | !if "$(BUILD)" == "release" | |
135 | __OPTIMIZEFLAG = -O2 | |
136 | !endif | |
137 | !if "$(RUNTIME_LIBS)" == "dynamic" | |
138 | __RUNTIME_LIBS = -tWR | |
139 | !endif | |
140 | !if "$(RUNTIME_LIBS)" == "static" | |
141 | __RUNTIME_LIBS = | |
142 | !endif | |
143 | !if "$(RUNTIME_LIBS)" == "dynamic" | |
144 | __RUNTIME_LIBS_7 = i | |
145 | !endif | |
146 | !if "$(RUNTIME_LIBS)" == "static" | |
147 | __RUNTIME_LIBS_7 = | |
148 | !endif | |
149 | !if "$(UNICODE)" == "1" | |
150 | __UNICODE_DEFINE_p = -DwxUSE_UNICODE=1 | |
151 | !endif | |
2265a2d5 VS |
152 | !if "$(MSLU)" == "1" |
153 | __UNICOWS_LIB_p = unicows.lib | |
154 | !endif | |
15e8daec VS |
155 | !if "$(MONOLITHIC)" == "0" |
156 | __WXLIB_BASE_p = wxbase25$(WXUNICODEFLAG)$(WXDEBUGFLAG).lib | |
157 | !endif | |
158 | !if "$(MONOLITHIC)" == "0" | |
159 | __WXLIB_CORE_p = \ | |
160 | wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_core.lib | |
161 | !endif | |
162 | !if "$(MONOLITHIC)" == "1" | |
163 | __WXLIB_MONO_p = \ | |
164 | wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG).lib | |
165 | !endif | |
166 | !if "$(WXUNIV)" == "1" | |
167 | __WXUNIV_DEFINE_p = -D__WXUNIVERSAL__ | |
168 | !endif | |
169 | !if "$(SHARED)" == "1" | |
170 | __deprecateddll___depname = \ | |
171 | $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)250$(WXUNICODEFLAG)$(WXDEBUGFLAG)_deprecated_bcc$(VENDORTAG).dll | |
172 | !endif | |
173 | !if "$(SHARED)" == "0" | |
174 | __deprecatedlib___depname = \ | |
175 | $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_deprecated.lib | |
176 | !endif | |
177 | ||
178 | ||
179 | all: $(OBJS) | |
180 | $(OBJS): | |
181 | -if not exist $(OBJS) mkdir $(OBJS) | |
182 | ||
183 | ### Targets: ### | |
184 | ||
185 | all: $(__deprecateddll___depname) $(__deprecatedlib___depname) | |
186 | ||
187 | $(OBJS)\deprecateddll_dosyacc.obj: ../../src/deprecated\dosyacc.c | |
188 | $(CC) -q -c -P- -o$@ $(DEPRECATEDDLL_CFLAGS) $** | |
189 | ||
190 | $(OBJS)\deprecateddll_dummy.obj: ../../src/deprecated\..\..\..\src\msw\dummy.cpp | |
191 | $(CXX) -q -c -P -o$@ $(DEPRECATEDDLL_CXXFLAGS) -H $** | |
192 | ||
193 | $(OBJS)\deprecateddll_prop.obj: ../../src/deprecated\prop.cpp | |
194 | $(CXX) -q -c -P -o$@ $(DEPRECATEDDLL_CXXFLAGS) $** | |
195 | ||
196 | $(OBJS)\deprecateddll_propform.obj: ../../src/deprecated\propform.cpp | |
197 | $(CXX) -q -c -P -o$@ $(DEPRECATEDDLL_CXXFLAGS) $** | |
198 | ||
199 | $(OBJS)\deprecateddll_proplist.obj: ../../src/deprecated\proplist.cpp | |
200 | $(CXX) -q -c -P -o$@ $(DEPRECATEDDLL_CXXFLAGS) $** | |
201 | ||
202 | $(OBJS)\deprecateddll_resource.obj: ../../src/deprecated\resource.cpp | |
203 | $(CXX) -q -c -P -o$@ $(DEPRECATEDDLL_CXXFLAGS) $** | |
204 | ||
8a82c9ec JS |
205 | $(OBJS)\deprecateddll_tbarsmpl.obj: ../../src/deprecated\tbarsmpl.cpp |
206 | $(CXX) -q -c -P -o$@ $(DEPRECATEDDLL_CXXFLAGS) $** | |
207 | ||
15e8daec VS |
208 | $(OBJS)\deprecateddll_treelay.obj: ../../src/deprecated\treelay.cpp |
209 | $(CXX) -q -c -P -o$@ $(DEPRECATEDDLL_CXXFLAGS) $** | |
210 | ||
211 | $(OBJS)\deprecateddll_wxexpr.obj: ../../src/deprecated\wxexpr.cpp | |
212 | $(CXX) -q -c -P -o$@ $(DEPRECATEDDLL_CXXFLAGS) $** | |
213 | ||
214 | $(OBJS)\deprecatedlib_dosyacc.obj: ../../src/deprecated\dosyacc.c | |
215 | $(CC) -q -c -P- -o$@ $(DEPRECATEDLIB_CFLAGS) $** | |
216 | ||
217 | $(OBJS)\deprecatedlib_dummy.obj: ../../src/deprecated\..\..\..\src\msw\dummy.cpp | |
218 | $(CXX) -q -c -P -o$@ $(DEPRECATEDLIB_CXXFLAGS) -H $** | |
219 | ||
220 | $(OBJS)\deprecatedlib_prop.obj: ../../src/deprecated\prop.cpp | |
221 | $(CXX) -q -c -P -o$@ $(DEPRECATEDLIB_CXXFLAGS) $** | |
222 | ||
223 | $(OBJS)\deprecatedlib_propform.obj: ../../src/deprecated\propform.cpp | |
224 | $(CXX) -q -c -P -o$@ $(DEPRECATEDLIB_CXXFLAGS) $** | |
225 | ||
226 | $(OBJS)\deprecatedlib_proplist.obj: ../../src/deprecated\proplist.cpp | |
227 | $(CXX) -q -c -P -o$@ $(DEPRECATEDLIB_CXXFLAGS) $** | |
228 | ||
229 | $(OBJS)\deprecatedlib_resource.obj: ../../src/deprecated\resource.cpp | |
230 | $(CXX) -q -c -P -o$@ $(DEPRECATEDLIB_CXXFLAGS) $** | |
231 | ||
8a82c9ec JS |
232 | $(OBJS)\deprecatedlib_tbarsmpl.obj: ../../src/deprecated\tbarsmpl.cpp |
233 | $(CXX) -q -c -P -o$@ $(DEPRECATEDLIB_CXXFLAGS) $** | |
234 | ||
15e8daec VS |
235 | $(OBJS)\deprecatedlib_treelay.obj: ../../src/deprecated\treelay.cpp |
236 | $(CXX) -q -c -P -o$@ $(DEPRECATEDLIB_CXXFLAGS) $** | |
237 | ||
238 | $(OBJS)\deprecatedlib_wxexpr.obj: ../../src/deprecated\wxexpr.cpp | |
239 | $(CXX) -q -c -P -o$@ $(DEPRECATEDLIB_CXXFLAGS) $** | |
240 | ||
241 | clean: | |
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 | |
247 | ||
248 | !if "$(SHARED)" == "1" | |
75a0a7b7 | 249 | $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)250$(WXUNICODEFLAG)$(WXDEBUGFLAG)_deprecated_bcc$(VENDORTAG).dll: $(OBJS)\deprecateddll_dummy.obj $(DEPRECATEDDLL_OBJECTS) |
15e8daec | 250 | ilink32 -Tpd -q $(LDFLAGS) $(__DEBUGINFO) -L$(LIBDIRNAME) @&&| |
2265a2d5 | 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,, |
15e8daec VS |
252 | | |
253 | implib -f $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_deprecated $@ | |
254 | !endif | |
255 | ||
256 | !if "$(SHARED)" == "0" | |
75a0a7b7 | 257 | $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_deprecated.lib: $(OBJS)\deprecatedlib_dummy.obj $(DEPRECATEDLIB_OBJECTS) |
15e8daec VS |
258 | if exist $@ del $@ |
259 | tlib /a /p2048 $@ @&&| | |
260 | $(DEPRECATEDLIB_OBJECTS) | |
261 | | | |
262 | !endif |