forked from dylan-lang/opendylan
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile.in
435 lines (367 loc) · 16.3 KB
/
Makefile.in
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
prefix = $(DESTDIR)@prefix@
srcdir = @abs_srcdir@
abs_srcdir = @abs_srcdir@
abs_builddir = @abs_builddir@
OPEN_DYLAN_PLATFORM_NAME = @OPEN_DYLAN_PLATFORM_NAME@
RUNTIME_SOURCES = @RUNTIME_SOURCES@
FDMAKE_OPTIONS =
fdmake = @PERL@ $(srcdir)/admin/builds/fdmake.pl $(FDMAKE_OPTIONS)
DYLANCOMPILER = @DYLANCOMPILER@
.PHONY: 1-stage-bootstrap 1-stage-bootstrap-reentry \
2-stage-bootstrap 2-stage-bootstrap-reentry \
3-stage-bootstrap 3-stage-bootstrap-reentry \
bootstrap-stage-1 bootstrap-stage-2 bootstrap-stage-3 \
all install install-stage release release-stage uninstall clean check \
check-submodules
all: @bootstrap_target@
check-submodules:
@ if [ "$$SKIP_SUBMODULE_CHECK" != "1" ]; then \
for sms in `cd $(srcdir) && git submodule status | grep -v "^ " | cut -c 1`; do \
if [ "$$sms" != " " ]; then \
echo "**** ERROR ****"; \
echo "One or more submodules is not up to date."; \
echo "Please run 'git submodule update --init'."; \
echo "If you want to skip this check, pass SKIP_SUBMODULE_CHECK=1 to make."; \
exit 1; \
fi; \
done; \
fi;
###
# 3-stage bootstrap includes stages 1 and 2 and 3: it rebuilds the compiler
# and libraries, then rebuilds them again to take advantage of new
# optimizations. The 3-stage bootstrap is useful to build Open Dylan locally
# without installing it; if you want to install it, do a 3-stage bootstrap and
# run make install
3-stage-bootstrap: check-submodules
$(MAKE) 3-stage-bootstrap-reentry \
BOOTSTRAP_2_COMPILER="$(abs_builddir)/Bootstrap.1/bin/dylan-compiler -build"
3-stage-bootstrap-reentry: bootstrap-stage-1 bootstrap-stage-2 bootstrap-stage-3
###
# 2-stage bootstrap includes both stages 1 and 2: it rebuilds the compiler to
# support new primitives and rebuilds the libraries using that compiler.
2-stage-bootstrap: check-submodules
$(MAKE) 2-stage-bootstrap-reentry \
BOOTSTRAP_2_COMPILER="$(abs_builddir)/Bootstrap.1/bin/dylan-compiler -build"
2-stage-bootstrap-reentry: bootstrap-stage-1 bootstrap-stage-2
###
# 1-stage bootstrap includes only stage 2: it rebuilds compiler and libraries
# when the existing compiler and libraries will understand the primitives.
1-stage-bootstrap: check-submodules
$(MAKE) 1-stage-bootstrap-reentry \
BOOTSTRAP_2_COMPILER="$(DYLANCOMPILER)"
1-stage-bootstrap-reentry: bootstrap-stage-2
###
# Stage 1 builds a compiler that can understand new primitives used in the
# BOOTSTRAP_1_PRIMITIVE_LIBS libraries. An existing compiler won't understand
# the new stuff, so until a new compiler is built, existing libs are used
# instead. Note that the stage 1 dylan-compiler loads a mix of existing and
# stage 1 libraries.
BOOTSTRAP_1_PRIMITIVE_LIBS = \
dylan functional-extensions machine-word byte-vector \
threads transcendentals functional-dylan \
common-extensions common-dylan unix-portability \
c-ffi bit-vector bit-set collectors plists set \
table-extensions collections streams standard-io \
print format format-out io date file-system \
operating-system locators settings system \
generic-arithmetic big-integers duim-utilities \
duim-geometry duim-dcs duim-sheets duim-graphics \
duim-layouts duim-gadgets duim-frames duim-core \
duim-extended-geometry duim-gadget-panes duim \
winsock2 sockets network midi \
deuce duim-deuce com ole ole-server sql odbc-ffi \
sql-odbc corba-dylan corba-protocol dylan-orb \
iop-protocol ir-protocol ir-stubs orb-connections \
orb-core orb-iiop orb-ir orb-poa orb-streams \
orb-utilities portableserver-protocol \
naming-protocol naming-stubs naming-client
BOOTSTRAP_1_REGISTRY = $(abs_srcdir)/sources/bootstrap1-registry
BOOTSTRAP_1_ENV = \
OPEN_DYLAN_PLATFORM_NAME=$(OPEN_DYLAN_PLATFORM_NAME) \
OPEN_DYLAN_BUILD_LOGS=$(abs_builddir)/Bootstrap.1/build/logs \
OPEN_DYLAN_USER_ROOT=$(abs_builddir)/Bootstrap.1 \
OPEN_DYLAN_USER_INSTALL=$(abs_builddir)/Bootstrap.1 \
OPEN_DYLAN_USER_BUILD=$(abs_builddir)/Bootstrap.1/build \
OPEN_DYLAN_USER_REGISTRIES=$(BOOTSTRAP_1_REGISTRY) \
OPEN_DYLAN_USER_SOURCES=$(abs_srcdir)/sources
$(abs_builddir)/Bootstrap.1:
mkdir $(abs_builddir)/Bootstrap.1
mkdir $(abs_builddir)/Bootstrap.1/bin
mkdir $(abs_builddir)/Bootstrap.1/lib
mkdir $(abs_builddir)/Bootstrap.1/lib/runtime
mkdir $(abs_builddir)/Bootstrap.1/build
mkdir $(abs_builddir)/Bootstrap.1/build/logs
$(BOOTSTRAP_1_REGISTRY):
mkdir $(BOOTSTRAP_1_REGISTRY)
cp -r $(srcdir)/sources/registry/generic $(BOOTSTRAP_1_REGISTRY)
cp -r $(srcdir)/sources/registry/$(OPEN_DYLAN_PLATFORM_NAME) $(BOOTSTRAP_1_REGISTRY)
for lib in $(BOOTSTRAP_1_PRIMITIVE_LIBS); do \
rm -f $(BOOTSTRAP_1_REGISTRY)/generic/$$lib; \
rm -f $(BOOTSTRAP_1_REGISTRY)/$(OPEN_DYLAN_PLATFORM_NAME)/$$lib; \
done
$(abs_builddir)/Bootstrap.1/bin/dylan-compiler:
@echo Building Open Dylan bootstrap stage 1...
@OPEN_DYLAN_USER_INSTALL=$(abs_builddir)/Bootstrap.1 \
$(MAKE) -C sources/jamfiles install
@OPEN_DYLAN_USER_INSTALL=$(abs_builddir)/Bootstrap.1 \
$(MAKE) -C $(RUNTIME_SOURCES) install
@$(BOOTSTRAP_1_ENV) \
$(fdmake) --compiler="$(DYLANCOMPILER)" dylan-compiler
bootstrap-stage-1: \
$(abs_builddir)/Bootstrap.1 \
$(BOOTSTRAP_1_REGISTRY) \
$(abs_builddir)/Bootstrap.1/bin/dylan-compiler
###
# Stage 2 bootstrap builds altered libraries and compiler and does not link to
# any existing or stage 1 libraries.
BOOTSTRAP_2_ENV = \
OPEN_DYLAN_PLATFORM_NAME=$(OPEN_DYLAN_PLATFORM_NAME) \
OPEN_DYLAN_BUILD_LOGS=$(abs_builddir)/Bootstrap.2/build/logs \
OPEN_DYLAN_USER_ROOT=$(abs_builddir)/Bootstrap.2 \
OPEN_DYLAN_USER_INSTALL=$(abs_builddir)/Bootstrap.2 \
OPEN_DYLAN_USER_BUILD=$(abs_builddir)/Bootstrap.2/build \
OPEN_DYLAN_USER_REGISTRIES=$(abs_srcdir)/sources/registry \
OPEN_DYLAN_USER_SOURCES=$(abs_srcdir)/sources
BOOTSTRAP_2_UNSET_ENV = \
OPEN_DYLAN_RELEASE_ROOT \
OPEN_DYLAN_RELEASE_INSTALL \
OPEN_DYLAN_RELEASE_BUILD \
OPEN_DYLAN_RELEASE_REGISTRIES \
OPEN_DYLAN_RELEASE_SOURCES
$(abs_builddir)/Bootstrap.2:
mkdir $(abs_builddir)/Bootstrap.2
mkdir $(abs_builddir)/Bootstrap.2/bin
mkdir $(abs_builddir)/Bootstrap.2/lib
mkdir $(abs_builddir)/Bootstrap.2/lib/runtime
mkdir $(abs_builddir)/Bootstrap.2/build
mkdir $(abs_builddir)/Bootstrap.2/build/logs
$(abs_builddir)/Bootstrap.2/bin/dylan-compiler:
@echo Building Open Dylan bootstrap stage 2...
@OPEN_DYLAN_USER_INSTALL=$(abs_builddir)/Bootstrap.2 \
$(MAKE) -C sources/jamfiles install
@unset $(BOOTSTRAP_2_UNSET_ENV) ; \
OPEN_DYLAN_USER_INSTALL=$(abs_builddir)/Bootstrap.2 \
$(MAKE) -C $(RUNTIME_SOURCES) install
@unset $(BOOTSTRAP_2_UNSET_ENV) ; \
$(BOOTSTRAP_2_ENV) \
$(fdmake) --compiler="$(BOOTSTRAP_2_COMPILER)" dylan-compiler
bootstrap-stage-2: \
$(abs_builddir)/Bootstrap.2 \
$(abs_builddir)/Bootstrap.2/bin/dylan-compiler
###
# Stage 3 builds libraries and compiler using stage 2 products, taking
# advantage of any new optimizations etc. in this release. It basically builds
# an installation without actually installing it.
BOOTSTRAP_3_ENV = \
OPEN_DYLAN_PLATFORM_NAME=$(OPEN_DYLAN_PLATFORM_NAME) \
OPEN_DYLAN_RELEASE_ROOT=$(abs_builddir)/Bootstrap.2 \
OPEN_DYLAN_RELEASE_INSTALL=$(abs_builddir)/Bootstrap.2 \
OPEN_DYLAN_RELEASE_BUILD=$(abs_builddir)/Bootstrap.2/build \
OPEN_DYLAN_RELEASE_REGISTRIES=$(abs_srcdir)/sources/registry \
OPEN_DYLAN_RELEASE_SOURCES=$(abs_srcdir)/sources \
OPEN_DYLAN_BUILD_LOGS=$(abs_builddir)/Bootstrap.3/build/logs \
OPEN_DYLAN_USER_ROOT=$(abs_builddir)/Bootstrap.3 \
OPEN_DYLAN_USER_INSTALL=$(abs_builddir)/Bootstrap.3 \
OPEN_DYLAN_USER_BUILD=$(abs_builddir)/Bootstrap.3/build \
OPEN_DYLAN_USER_REGISTRIES=$(abs_srcdir)/sources/registry \
OPEN_DYLAN_USER_SOURCES=$(abs_srcdir)/sources
BOOTSTRAP_3_LIBRARIES = dylan-compiler parser-compiler dswank make-dylan-app
BOOTSTRAP_3_COMPILER = \
$(abs_builddir)/Bootstrap.2/bin/dylan-compiler -build
$(abs_builddir)/Bootstrap.3:
mkdir $(abs_builddir)/Bootstrap.3
mkdir $(abs_builddir)/Bootstrap.3/bin
mkdir $(abs_builddir)/Bootstrap.3/lib
mkdir $(abs_builddir)/Bootstrap.3/lib/runtime
mkdir $(abs_builddir)/Bootstrap.3/build
mkdir $(abs_builddir)/Bootstrap.3/build/logs
bootstrap-stage-3: $(abs_builddir)/Bootstrap.3
@echo Building Open Dylan bootstrap stage 3...
@OPEN_DYLAN_USER_INSTALL=$(abs_builddir)/Bootstrap.3 \
$(MAKE) -C sources/jamfiles install
@OPEN_DYLAN_USER_INSTALL=$(abs_builddir)/Bootstrap.3 \
$(MAKE) -C $(RUNTIME_SOURCES) install
@$(BOOTSTRAP_3_ENV) \
$(fdmake) --compiler="$(BOOTSTRAP_3_COMPILER)" $(BOOTSTRAP_3_LIBRARIES)
cli3:
@$(BOOTSTRAP_3_ENV) $(BOOTSTRAP_3_COMPILER)
BACKENDS = x86-win32 \
x86-darwin \
x86_64-darwin \
x86-linux \
x86_64-linux \
x86-freebsd \
x86_64-freebsd
rtg:
$(MAKE) bootstrap-stage-3 BOOTSTRAP_3_LIBRARIES=llvm-runtime-generator
for target in $(BACKENDS); do \
./Bootstrap.3/bin/llvm-runtime-generator $(abs_srcdir)/sources/dylan/dylan.lid $$target && \
llvm-dis $$target-runtime.bc && \
clang -O3 -S $$target-runtime.bc; \
done
BOOTSTRAP_4_ENV = \
OPEN_DYLAN_PLATFORM_NAME=$(OPEN_DYLAN_PLATFORM_NAME) \
OPEN_DYLAN_RELEASE_ROOT=$(abs_builddir)/Bootstrap.3 \
OPEN_DYLAN_RELEASE_INSTALL=$(abs_builddir)/Bootstrap.3 \
OPEN_DYLAN_RELEASE_BUILD=$(abs_builddir)/Bootstrap.3/build \
OPEN_DYLAN_RELEASE_REGISTRIES=$(abs_srcdir)/sources/registry:$(library_srcdir)/registry \
OPEN_DYLAN_RELEASE_SOURCES=$(abs_srcdir)/sources \
OPEN_DYLAN_BUILD_LOGS=$(abs_builddir)/Bootstrap.4.$(OPEN_DYLAN_PLATFORM_NAME)/build/logs \
OPEN_DYLAN_USER_ROOT=$(abs_builddir)/Bootstrap.4.$(OPEN_DYLAN_PLATFORM_NAME) \
OPEN_DYLAN_USER_INSTALL=$(abs_builddir)/Bootstrap.4.$(OPEN_DYLAN_PLATFORM_NAME) \
OPEN_DYLAN_USER_BUILD=$(abs_builddir)/Bootstrap.4.$(OPEN_DYLAN_PLATFORM_NAME)/build \
OPEN_DYLAN_USER_REGISTRIES=$(abs_srcdir)/sources/registry:$(library_srcdir)/registry \
OPEN_DYLAN_USER_SOURCES=$(abs_srcdir)/sources
BOOTSTRAP_4_LIBRARIES = dylan-compiler
BOOTSTRAP_4_COMPILER = \
$(abs_builddir)/Bootstrap.3/bin/dylan-compiler $(arch_flag) -build -dfm
$(abs_builddir)/Bootstrap.4.$(OPEN_DYLAN_PLATFORM_NAME):
mkdir $(abs_builddir)/Bootstrap.4.$(OPEN_DYLAN_PLATFORM_NAME)
mkdir $(abs_builddir)/Bootstrap.4.$(OPEN_DYLAN_PLATFORM_NAME)/bin
mkdir $(abs_builddir)/Bootstrap.4.$(OPEN_DYLAN_PLATFORM_NAME)/lib
mkdir $(abs_builddir)/Bootstrap.4.$(OPEN_DYLAN_PLATFORM_NAME)/lib/runtime
mkdir $(abs_builddir)/Bootstrap.4.$(OPEN_DYLAN_PLATFORM_NAME)/build
mkdir $(abs_builddir)/Bootstrap.4.$(OPEN_DYLAN_PLATFORM_NAME)/build/logs
bootstrap-stage-4: $(abs_builddir)/Bootstrap.4.$(OPEN_DYLAN_PLATFORM_NAME)
@echo Building Open Dylan bootstrap stage 4...
@OPEN_DYLAN_USER_INSTALL=$(abs_builddir)/Bootstrap.4.$(OPEN_DYLAN_PLATFORM_NAME) \
$(MAKE) -C $(rt_build) install
@$(BOOTSTRAP_4_ENV) \
$(fdmake) --compiler="$(BOOTSTRAP_4_COMPILER)" \
$(BOOTSTRAP_4_LIBRARIES)
cli4:
@$(BOOTSTRAP_4_ENV) $(BOOTSTRAP_4_COMPILER)
testc:
@$(BOOTSTRAP_4_ENV) $(BOOTSTRAP_4_COMPILER) <A
@$(BOOTSTRAP_4_ENV) $(BOOTSTRAP_4_COMPILER) <B
testl: $(abs_builddir)/Bootstrap.4.$(OPEN_DYLAN_PLATFORM_NAME)
@$(BOOTSTRAP_4_ENV) $(BOOTSTRAP_4_COMPILER) <Al
@(cd Bootstrap.4.$(OPEN_DYLAN_PLATFORM_NAME)/build/dylan; \
for i in *.bc; do \
echo $$i; \
llvm-dis $$i && clang -O3 -S $$i; \
done)
@$(BOOTSTRAP_4_ENV) $(BOOTSTRAP_4_COMPILER) <Bl
@(cd Bootstrap.4.$(OPEN_DYLAN_PLATFORM_NAME)/build/common-dylan; \
for i in *.bc; do \
echo $$i; \
llvm-dis $$i && clang -O3 -S $$i; \
done)
xtestl:
for target in $(BACKENDS); do \
$(MAKE) testl OPEN_DYLAN_PLATFORM_NAME=$$target; \
done
###
# Install stage installs stage 3 into prefix
$(prefix)/sources:
install -d $(prefix)
@echo Copying sources...
cp -R $(abs_srcdir)/sources $(prefix)
@echo Removing unnecessary directories...
find $(prefix)/sources -depth -name '.*' -exec rm -rf {} \;
-rm -r $(prefix)/sources/bootstrap1-registry
install-stage: $(prefix)/sources
install -d $(prefix)/bin $(prefix)/databases $(prefix)/lib $(prefix)/lib/runtime
@echo Installing Open Dylan...
cp -R $(abs_builddir)/Bootstrap.3/bin $(prefix)
cp -R $(abs_builddir)/Bootstrap.3/databases $(prefix)
-cp -R $(abs_builddir)/Bootstrap.3/include $(prefix)
cp -R $(abs_builddir)/Bootstrap.3/lib $(prefix)
cp $(abs_srcdir)/License.txt $(prefix)
cp $(abs_srcdir)/packages/unix/README $(prefix)
install: @bootstrap_target@ 3-stage-bootstrap install-stage
version = $(shell $(abs_builddir)/Bootstrap.3/bin/dylan-compiler -shortversion)
###
# release packs a tarball
release-stage:
-mkdir $(abs_builddir)/release
-mkdir $(abs_builddir)/release/opendylan-$(version)
-mkdir $(abs_builddir)/release/opendylan-$(version)/bin
-mkdir $(abs_builddir)/release/opendylan-$(version)/databases
-mkdir $(abs_builddir)/release/opendylan-$(version)/include
-mkdir $(abs_builddir)/release/opendylan-$(version)/lib
-mkdir $(abs_builddir)/release/opendylan-$(version)/sources
@echo Copying sources...
cp -R $(abs_srcdir)/sources $(abs_builddir)/release/opendylan-$(version)
@echo Removing unnecessary directories...
find $(abs_builddir)/release/opendylan-$(version)/sources -depth -name '.*' -exec rm -rf {} \;
-rm -r $(abs_builddir)/release/opendylan-$(version)/sources/bootstrap1-registry
cp -R $(abs_builddir)/Bootstrap.3/bin $(abs_builddir)/release/opendylan-$(version)
cp -R $(abs_builddir)/Bootstrap.3/databases $(abs_builddir)/release/opendylan-$(version)
-cp -R $(abs_builddir)/Bootstrap.3/include $(abs_builddir)/release/opendylan-$(version)
cp -R $(abs_builddir)/Bootstrap.3/lib $(abs_builddir)/release/opendylan-$(version)
cp $(abs_srcdir)/License.txt $(abs_builddir)/release/opendylan-$(version)
cp $(abs_srcdir)/packages/unix/README $(abs_builddir)/release/opendylan-$(version)
cd $(abs_builddir)/release; \
tar cjf $(abs_builddir)/opendylan-$(version)-$(OPEN_DYLAN_PLATFORM_NAME).tar.bz2 opendylan-$(version)
-mkdir $(abs_builddir)/release/opendylan-$(version)/build
cp -R $(abs_builddir)/Bootstrap.3/build $(abs_builddir)/release/opendylan-$(version)
cd $(abs_builddir)/release/; \
tar cjf $(abs_builddir)/opendylan-$(version)-$(OPEN_DYLAN_PLATFORM_NAME)-debug-info.tar.bz2 opendylan-$(version)/build
release: @bootstrap_target@ 3-stage-bootstrap release-stage
###
# Maintenance and test targets
# The only safe directory to delete is $(prefix)/sources. $(prefix)/bin and the
# others may have user content if $(prefix) is /usr or /usr/local.
uninstall:
rm -rf $(prefix)/sources
install-strip:
clean:
-rm -rf $(abs_builddir)/Bootstrap.1
-rm -rf $(abs_builddir)/Bootstrap.2
-rm -rf $(abs_builddir)/Bootstrap.3
-rm -rf $(abs_builddir)/release
-rm -rf $(abs_builddir)/opendylan-*.tar.bz2
-rm -rf $(BOOTSTRAP_1_REGISTRY)
$(MAKE) -C $(RUNTIME_SOURCES) clean
distclean: clean
-rm -f aclocal.m4
-rm -f configure
-rm -f config.log
-rm -f config.status
-rm -f config.status.lineno
-rm -f Makefile sources/lib/run-time/pentium-linux/Makefile sources/lib/run-time/pentium-freebsd/Makefile
-rm -f sources/dfmc/c-run-time/Makefile
-rm -f sources/jamfiles/Makefile sources/jamfiles/config.jam
-rm -rf build-aux
-rm -rf autom4te.cache
mostlyclean:
maintainer-clean:
TAGS:
dist:
CHECK_STAGE = 3
CHECK_COMPILER_STAGE = $(CHECK_STAGE)
CHECK_APPS = \
libraries-test-suite-app \
c-ffi-test-suite-app \
duim-test-suite-app \
deuce-test-suite-app \
jam-test-suite-app \
channels-tests \
command-line-parser-test-suite-app
CHECK_ENV = \
OPEN_DYLAN_PLATFORM_NAME=$(OPEN_DYLAN_PLATFORM_NAME) \
OPEN_DYLAN_RELEASE_ROOT=$(abs_builddir)/Bootstrap.$(CHECK_STAGE) \
OPEN_DYLAN_RELEASE_INSTALL=$(abs_builddir)/Bootstrap.$(CHECK_STAGE) \
OPEN_DYLAN_RELEASE_BUILD=$(abs_builddir)/Bootstrap.$(CHECK_STAGE)/build \
OPEN_DYLAN_RELEASE_REGISTRIES=$(abs_srcdir)/sources/registry \
OPEN_DYLAN_RELEASE_SOURCES=$(abs_srcdir)/sources \
OPEN_DYLAN_BUILD_LOGS=$(abs_builddir)/Bootstrap.$(CHECK_STAGE)/build/logs \
OPEN_DYLAN_USER_ROOT=$(abs_builddir)/Bootstrap.$(CHECK_STAGE) \
OPEN_DYLAN_USER_INSTALL=$(abs_builddir)/Bootstrap.$(CHECK_STAGE) \
OPEN_DYLAN_USER_BUILD=$(abs_builddir)/Bootstrap.$(CHECK_STAGE)/build \
OPEN_DYLAN_USER_REGISTRIES=$(abs_srcdir)/sources/registry \
OPEN_DYLAN_USER_SOURCES=$(abs_srcdir)/sources
check: bootstrap-stage-$(CHECK_COMPILER_STAGE)
@$(CHECK_ENV) \
$(fdmake) \
--compiler="$(abs_builddir)/Bootstrap.$(CHECK_COMPILER_STAGE)/bin/dylan-compiler -build -save" \
$(CHECK_APPS) && \
for app in $(CHECK_APPS); do \
$(abs_builddir)/Bootstrap.$(CHECK_STAGE)/bin/$$app; \
done
installcheck:
installdirs:
Makefile: $(srcdir)/Makefile.in config.status
CONFIG_HEADERS= CONFIG_LINKS= \
CONFIG_FILES=./$@ $(SHELL) ./config.status