-# $Id: Makefile.in,v 1.38 2007/05/14 16:50:33 cph Exp $
+# $Id: Makefile.in,v 1.39 2007/05/15 05:02:08 cph Exp $
#
# Copyright (C) 1986, 1987, 1988, 1989, 1990, 1991, 1992, 1993, 1994,
# 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
echo "done" > liarc.stamp
-all-c: liarc-compile-scheme
+all-liarc: liarc-compile-scheme
$(MAKE) compile-microcode
$(MAKE) compile-liarc-bundles
rm -rf boot-lib
compile-liarc-boot-bundles:
@for BN in $(LIARC_BOOT_BUNDLES); do \
- CMD="(cd $${BN} && $(MAKE) liarc-bundle)";\
+ CMD="(cd $${BN} && $(MAKE) compile-liarc-bundle)";\
echo "$${CMD}"; eval "$${CMD}";\
done
compile-liarc-bundles:
@for BN in $(LIARC_BUNDLES); do \
- CMD="(cd $${BN} && $(MAKE) liarc-bundle)";\
+ CMD="(cd $${BN} && $(MAKE) compile-liarc-bundle)";\
+ echo "$${CMD}"; eval "$${CMD}";\
+ done
+
+install-liarc-bundles:
+ @for BN in $(LIARC_BUNDLES); do \
+ CMD="(cd $${BN} && $(MAKE) install-liarc-bundle)";\
echo "$${CMD}"; eval "$${CMD}";\
done
tags TAGS:
$(top_srcdir)/Tags.sh $(SUBDIRS)
-install:
+install: install-standard @INSTALL_LIARC_BUNDLES@
+
+install-standard:
@for SUBDIR in $(INSTALLED_SUBDIRS); do \
echo "Making $@ in $${SUBDIR}";\
- ( cd $${SUBDIR}; $(MAKE) $@ ) || exit 1;\
+ (cd $${SUBDIR}; $(MAKE) install) || exit 1;\
done
$(mkinstalldirs) $(DESTDIR)$(AUXDIR)
.PHONY: liarc-dist all-c liarc-compile-scheme compile-liarc-boot-bundles
.PHONY: compile-liarc-bundles native
.PHONY: mostlyclean clean distclean maintainer-clean c-clean
-.PHONY: tags TAGS install
+.PHONY: tags TAGS install install-standard
dnl Process this file with autoconf to produce a configure script.
AC_INIT([MIT/GNU Scheme], [7.7.91], [bug-mit-scheme@gnu.org], [mit-scheme])
-AC_REVISION([$Id: configure.ac,v 1.13 2007/05/14 16:50:32 cph Exp $])
+AC_REVISION([$Id: configure.ac,v 1.14 2007/05/15 05:02:02 cph Exp $])
AC_CONFIG_SRCDIR([microcode/boot.c])
AC_PROG_MAKE_SET
case ${enable_native_code} in
c)
- ALL_TARGET=all-c
+ ALL_TARGET=all-liarc
INSTALL_COM=:
+ INSTALL_LIARC_BUNDLES=install-liarc-bundles
SYSTEM_BASE_NAME=mit-scheme-c
;;
*)
ALL_TARGET=all-native
INSTALL_COM='$(INSTALL_DATA)'
+ INSTALL_LIARC_BUNDLES=
SYSTEM_BASE_NAME=mit-scheme
;;
esac
AC_SUBST([ALL_TARGET])
AC_SUBST([INSTALL_COM])
+AC_SUBST([INSTALL_LIARC_BUNDLES])
AC_SUBST([AUXDIR])
AC_PROG_INSTALL
#| -*-Scheme-*-
-$Id: utilities.scm,v 1.1 2007/05/14 16:50:50 cph Exp $
+$Id: utilities.scm,v 1.2 2007/05/15 05:02:14 cph Exp $
Copyright (C) 1986, 1987, 1988, 1989, 1990, 1991, 1992, 1993, 1994,
1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005,
(write-string "Generating bundle rule for " port)
(write-string bundle port))
(lambda ()
- (let ((names (bundle-files bundle)))
+ (let ((names (bundle-files bundle))
+ (so-file (string-append bundle ".so")))
(call-with-output-file (string-append bundle "/Makefile-bundle")
(lambda (port)
(newline port)
(let ((init-root (string-append bundle "-init")))
- (write-rule port "liarc-bundle" (string-append bundle ".so"))
- (newline port)
- (write-rule port ".PHONY" "liarc-bundle")
+ (write-rule port "compile-liarc-bundle" so-file)
(newline port)
(write-rule port
(string-append bundle ".so")
"library"
init-root
"$^")
+ (newline port)
+ (write-rule port "install-liarc-bundle" so-file)
+ (write-command port
+ "$(INSTALL_DATA)"
+ "$^"
+ "$(DESTDIR)$(AUXDIR)/lib/.")
+ (newline port)
+ (write-rule port
+ ".PHONY"
+ "compile-liarc-bundle"
+ "install-liarc-bundle")
)))))))
(map write-to-string bundles)))