@@ -190,6 +190,8 @@ BOOTSTRAP_3_ROOT = $(abs_builddir)/Bootstrap.3
190
190
191
191
BOOTSTRAP_3_LIBRARIES = \
192
192
dylan-compiler dylan-environment parser-compiler dswank make-dylan-app
193
+ BOOTSTRAP_3_STATICS = \
194
+ dylan-tool
193
195
194
196
BOOTSTRAP_3_COMPILER = \
195
197
$(BOOTSTRAP_2_ROOT ) /bin/dylan-compiler \
@@ -204,6 +206,7 @@ BOOTSTRAP_3_ENV = \
204
206
205
207
bootstrap-stage-3 : bootstrap-stage-3-dirs \
206
208
bootstrap-stage-3-libraries \
209
+ bootstrap-stage-3-statics \
207
210
bootstrap-stage-3-runtime \
208
211
bootstrap-stage-3-jamfiles
209
212
@@ -215,6 +218,11 @@ bootstrap-stage-3-libraries:
215
218
@$(BOOTSTRAP_3_ENV ) $(FDMAKE ) --compiler " $( BOOTSTRAP_3_COMPILER) " \
216
219
$(BOOTSTRAP_3_LIBRARIES)
217
220
221
+ bootstrap-stage-3-statics :
222
+ @echo Building Open Dylan unified executables...
223
+ @$(BOOTSTRAP_3_ENV ) $(FDMAKE ) --compiler " $( BOOTSTRAP_3_COMPILER) " \
224
+ --unify $(BOOTSTRAP_3_STATICS)
225
+
218
226
BOOTSTRAP_3_LLVM_RTGVARSyes = \
219
227
OPEN_DYLAN_LLVM_RUNTIME_GENERATOR=$(BOOTSTRAP_3_ROOT ) /bin/$(RTG )
220
228
BOOTSTRAP_3_RTGVARS = $(BOOTSTRAP_3_LLVM_RTGVARS@SUPPORT_LLVM@ )
@@ -328,10 +336,6 @@ version = @VERSION@
328
336
329
337
dist : 3-stage-bootstrap
330
338
mkdir -p release/opendylan-$(version ) /bin
331
-
332
- DYLAN=$$(realpath release/opendylan-$(version)) \
333
- make -C sources/app/dylan-tool test && \
334
- make -C sources/app/dylan-tool install
335
339
mkdir -p release/opendylan-$(version ) /databases
336
340
mkdir -p release/opendylan-$(version ) /include/opendylan
337
341
mkdir -p release/opendylan-$(version ) /lib
@@ -343,6 +347,8 @@ dist: 3-stage-bootstrap
343
347
find release/opendylan-$(version ) /sources -depth -name ' .*' -exec rm -rf {} \;
344
348
rm -rf release/opendylan-$(version ) /sources/bootstrap1-registry
345
349
cp -R Bootstrap.3/bin release/opendylan-$(version ) /
350
+ cp -R Bootstrap.3/sbin/* release/opendylan-$(version ) /bin
351
+ ln -s dylan-tool release/opendylan-$(version ) /bin/dylan
346
352
cp -R Bootstrap.3/databases release/opendylan-$(version ) /
347
353
-cp -R Bootstrap.3/include/opendylan release/opendylan-$(version ) /include
348
354
cp -R Bootstrap.3/lib release/opendylan-$(version ) /
0 commit comments