From: Chris Hanson Date: Wed, 15 Aug 2001 03:34:18 +0000 (+0000) Subject: Implement completely new format for compiled package descriptions. X-Git-Tag: 20090517-FFI~2600 X-Git-Url: https://birchwood-abbey.net/git?a=commitdiff_plain;h=edd84c091baf00155872ab1e8d81d6299b31da33;p=mit-scheme.git Implement completely new format for compiled package descriptions. Old format was code to build the packages and load files into them. New format is a summary description of the packages, which is interpreted at run time to provide the same functionality. The purpose of this change is to support uninstallation and replacement of packages. The new compiled package descriptions are general enough for this purpose. --- diff --git a/v7/src/imail/Makefile.in b/v7/src/imail/Makefile.in index a1ca97707..01484532a 100644 --- a/v7/src/imail/Makefile.in +++ b/v7/src/imail/Makefile.in @@ -1,6 +1,6 @@ -# $Id: Makefile.in,v 1.1 2000/12/21 18:12:20 cph Exp $ +# $Id: Makefile.in,v 1.2 2001/08/15 03:27:11 cph Exp $ # -# Copyright (c) 2000 Massachusetts Institute of Technology +# Copyright (c) 2000, 2001 Massachusetts Institute of Technology # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by @@ -14,7 +14,8 @@ # # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software -# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. +# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA +# 02111-1307, USA. # Standard Makefile for Scheme subsystem directories. # This makefile supports some utilities for Scheme subsystems. @@ -76,8 +77,7 @@ install: $(mkinstalldirs) $(DESTDIR)$(IMAIL_DIR) $(INSTALL_DATA) *.com $(DESTDIR)$(IMAIL_DIR)/. $(INSTALL_DATA) *.bci $(DESTDIR)$(IMAIL_DIR)/. - $(INSTALL_DATA) imail.bco $(DESTDIR)$(IMAIL_DIR)/. - $(INSTALL_DATA) imail.bld $(DESTDIR)$(IMAIL_DIR)/. + $(INSTALL_DATA) imail.pkd $(DESTDIR)$(IMAIL_DIR)/. $(INSTALL_DATA) $(srcdir)/load.scm $(DESTDIR)$(IMAIL_DIR)/. .PHONY: all mostlyclean clean distclean maintainer-clean tags TAGS install diff --git a/v7/src/imail/clean.sh b/v7/src/imail/clean.sh index 7b8f7fd6b..563f41869 100755 --- a/v7/src/imail/clean.sh +++ b/v7/src/imail/clean.sh @@ -1,3 +1,3 @@ #!/bin/bash rm -f *.{bin,ext,com,bci} -rm -f imail.{bco,bld,con,crf,fre,glo,ldr} +rm -f imail.{crf,fre,glo,pkd} diff --git a/v7/src/runtime-check/Clean.sh b/v7/src/runtime-check/Clean.sh index 2495eaf96..2a09cdd43 100755 --- a/v7/src/runtime-check/Clean.sh +++ b/v7/src/runtime-check/Clean.sh @@ -1,8 +1,8 @@ #!/bin/sh # -# $Id: Clean.sh,v 1.1 2000/12/08 05:27:17 cph Exp $ +# $Id: Clean.sh,v 1.2 2001/08/15 03:34:18 cph Exp $ # -# Copyright (c) 2000 Massachusetts Institute of Technology +# Copyright (c) 2000, 2001 Massachusetts Institute of Technology # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by @@ -16,7 +16,8 @@ # # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software -# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. +# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA +# 02111-1307, USA. # Utility for cleaning up the MIT Scheme runtime-check directory. # The working directory must be the runtime-check directory. @@ -29,8 +30,8 @@ fi ../etc/Clean.sh "${1}" rm-com if [ "${1}" = "maintainer-clean" ]; then - echo "rm -f *.bin runtime.bco runtime.bld" - rm -f *.bin runtime.bco runtime.bld + echo "rm -f *.bin runtime.pkd" + rm -f *.bin runtime.pkd fi exit 0 diff --git a/v7/src/runtime-check/Setup.sh b/v7/src/runtime-check/Setup.sh index f5dd37578..446bd440d 100755 --- a/v7/src/runtime-check/Setup.sh +++ b/v7/src/runtime-check/Setup.sh @@ -1,8 +1,8 @@ #!/bin/sh # -# $Id: Setup.sh,v 1.3 2000/12/08 18:04:13 cph Exp $ +# $Id: Setup.sh,v 1.4 2001/08/15 03:30:05 cph Exp $ # -# Copyright (c) 2000 Massachusetts Institute of Technology +# Copyright (c) 2000, 2001 Massachusetts Institute of Technology # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by @@ -16,7 +16,8 @@ # # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software -# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. +# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA +# 02111-1307, USA. # Utility to set up an MIT Scheme build directory. # The working directory must be the build directory. @@ -35,8 +36,6 @@ for FNS in `cd ../runtime; ls *.scm`; do maybe_link ${FN} ../runtime/${FN} done -for FN in runtime.bco runtime.bld; do - maybe_link ${FN} ../runtime/${FN} -done +maybe_link runtime.pkd ../runtime/runtime.pkd exit 0 diff --git a/v7/src/sos/Makefile.in b/v7/src/sos/Makefile.in index 54790a2ca..5882fb2c6 100644 --- a/v7/src/sos/Makefile.in +++ b/v7/src/sos/Makefile.in @@ -1,6 +1,6 @@ -# $Id: Makefile.in,v 1.1 2000/12/21 18:12:07 cph Exp $ +# $Id: Makefile.in,v 1.2 2001/08/15 03:27:18 cph Exp $ # -# Copyright (c) 2000 Massachusetts Institute of Technology +# Copyright (c) 2000, 2001 Massachusetts Institute of Technology # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by @@ -14,7 +14,8 @@ # # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software -# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. +# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA +# 02111-1307, USA. # Standard Makefile for Scheme subsystem directories. # This makefile supports some utilities for Scheme subsystems. @@ -76,8 +77,7 @@ install: $(mkinstalldirs) $(DESTDIR)$(SOS_DIR) $(INSTALL_DATA) *.com $(DESTDIR)$(SOS_DIR)/. $(INSTALL_DATA) *.bci $(DESTDIR)$(SOS_DIR)/. - $(INSTALL_DATA) sos.bco $(DESTDIR)$(SOS_DIR)/. - $(INSTALL_DATA) sos.bld $(DESTDIR)$(SOS_DIR)/. + $(INSTALL_DATA) sos.pkd $(DESTDIR)$(SOS_DIR)/. $(INSTALL_DATA) $(srcdir)/load.scm $(DESTDIR)$(SOS_DIR)/. .PHONY: all mostlyclean clean distclean maintainer-clean tags TAGS install