# **** END BOILERPLATE ****
-MIT_SCHEME_NATIVE = @MIT_SCHEME_NATIVE@
-MIT_SCHEME_C = mit-scheme-c
-
LIARC_BOOT_BUNDLES = compiler cref sf star-parser
LIARC_BUNDLES = $(LIARC_BOOT_BUNDLES) edwin imail sos ssp xml
SUBDIRS = $(INSTALLED_SUBDIRS) 6001 compiler rcs win32 xdoc
INSTALLED_SUBDIRS = microcode runtime $(LIARC_BUNDLES)
+MIT_SCHEME_EXE = @MIT_SCHEME_EXE@
AUXDIR_NAME = @AUXDIR_NAME@
AUXDIR = @AUXDIR@
EDDIR = $(AUXDIR)/edwin
all: @ALL_TARGET@
all-native: compile-microcode
- @$(top_srcdir)/etc/compile.sh $(MIT_SCHEME_NATIVE) --compiler
+ @$(top_srcdir)/etc/compile.sh $(MIT_SCHEME_EXE) --compiler
$(MAKE) build-bands
all-liarc:
- @$(top_srcdir)/etc/c-compile.sh $(MIT_SCHEME_C) --compiler
+ @$(top_srcdir)/etc/c-compile.sh $(MIT_SCHEME_EXE) --compiler
$(MAKE) compile-liarc-bundles build-bands
compile-microcode:
# **** Make liarc distribution from native ****
liarc-dist:
- @$(top_srcdir)/etc/compile-boot-compiler.sh $(MIT_SCHEME_NATIVE)
- @$(top_srcdir)/etc/c-prepare.sh $(MIT_SCHEME_NATIVE)
+ @$(top_srcdir)/etc/compile-boot-compiler.sh $(MIT_SCHEME_EXE)
+ @$(top_srcdir)/etc/c-prepare.sh $(MIT_SCHEME_EXE)
$(MAKE) distclean
# **** Build liarc from distribution ****
echo "done" > $@
stamp_native-compile-scheme: compile-microcode
- @$(top_srcdir)/etc/compile.sh boot-root/bin/$(MIT_SCHEME_NATIVE) \
+ @$(top_srcdir)/etc/compile.sh boot-root/bin/$(MIT_SCHEME_EXE) \
--library boot-root/lib/$(AUXDIR_NAME) --band boot-compiler.com
echo "done" > $@
ALL_TARGET=all-liarc
INSTALL_COM=:
INSTALL_LIARC_BUNDLES=install-liarc-bundles
- MIT_SCHEME_NATIVE=mit-scheme-native
;;
*)
ALL_TARGET=all-native
INSTALL_COM='$(INSTALL_DATA)'
INSTALL_LIARC_BUNDLES=
- MIT_SCHEME_NATIVE=mit-scheme-${SCM_ARCH}
;;
esac
AUXDIR_NAME=mit-scheme-${SCM_ARCH}
AUXDIR='$(libdir)'/${AUXDIR_NAME}
-: ${MIT_SCHEME_EXE:=${MIT_SCHEME_NATIVE}}
-
+: ${MIT_SCHEME_EXE:=mit-scheme-${SCM_ARCH}}
if test x"${enable_host_scheme_test}" = xyes; then
AC_MSG_CHECKING([for an existing MIT/GNU Scheme installation])
if "${MIT_SCHEME_EXE}" --batch-mode --eval '(%exit)' >/dev/null 2>&1; then
:
- elif mit-scheme --batch-mode --eval '(%exit)' >/dev/null 2>&1; then
+ elif mit-scheme-native --batch-mode --eval '(%exit)' >/dev/null 2>&1; then
MIT_SCHEME_EXE=mit-scheme
else
AC_MSG_ERROR([
AC_SUBST([ALL_TARGET])
AC_SUBST([INSTALL_COM])
AC_SUBST([INSTALL_LIARC_BUNDLES])
-AC_SUBST([MIT_SCHEME_NATIVE])
+AC_SUBST([MIT_SCHEME_EXE])
AC_SUBST([AUXDIR_NAME])
AC_SUBST([AUXDIR])