From 94ea1ee12ca8108ef63a22eca7ac1df646a17a71 Mon Sep 17 00:00:00 2001 From: Chris Hanson Date: Wed, 9 May 2007 20:01:37 +0000 Subject: [PATCH] Generate most of the Makefile.in files from fragments and boilerplate. Replace "top_builddir = ." with "top_builddir = @top_builddir@" in all configured makefiles, since autoconf now provides a reasonable default for these. --- v7/src/Makefile.in | 4 +- v7/src/Setup.sh | 8 +- v7/src/cref/Makefile-fragment | 7 ++ v7/src/cref/Makefile.in | 79 -------------- v7/src/edwin/Makefile-fragment | 22 ++++ v7/src/edwin/Makefile.in | 103 ------------------ v7/src/etc/Clean.sh | 5 +- .../Makefile.in => etc/std-makefile-prefix} | 34 +++--- v7/src/etc/std-makefile-suffix | 3 + v7/src/imail/Makefile-fragment | 8 ++ v7/src/imail/Makefile.in | 92 ---------------- v7/src/microcode/makegen/Makefile.in.in | 6 +- v7/src/runtime/Makefile-fragment | 19 ++++ v7/src/runtime/Makefile.in | 100 ----------------- v7/src/sos/Makefile-fragment | 8 ++ v7/src/ssp/Makefile-fragment | 8 ++ v7/src/ssp/Makefile.in | 80 -------------- v7/src/star-parser/Makefile-fragment | 8 ++ v7/src/star-parser/Makefile.in | 92 ---------------- v7/src/xdoc/Makefile-fragment | 8 ++ v7/src/xdoc/Makefile.in | 80 -------------- v7/src/xml/Makefile-fragment | 8 ++ v7/src/xml/Makefile.in | 92 ---------------- 23 files changed, 135 insertions(+), 739 deletions(-) create mode 100644 v7/src/cref/Makefile-fragment delete mode 100644 v7/src/cref/Makefile.in create mode 100644 v7/src/edwin/Makefile-fragment delete mode 100644 v7/src/edwin/Makefile.in rename v7/src/{sos/Makefile.in => etc/std-makefile-prefix} (79%) create mode 100644 v7/src/etc/std-makefile-suffix create mode 100644 v7/src/imail/Makefile-fragment delete mode 100644 v7/src/imail/Makefile.in create mode 100644 v7/src/runtime/Makefile-fragment delete mode 100644 v7/src/runtime/Makefile.in create mode 100644 v7/src/sos/Makefile-fragment create mode 100644 v7/src/ssp/Makefile-fragment delete mode 100644 v7/src/ssp/Makefile.in create mode 100644 v7/src/star-parser/Makefile-fragment delete mode 100644 v7/src/star-parser/Makefile.in create mode 100644 v7/src/xdoc/Makefile-fragment delete mode 100644 v7/src/xdoc/Makefile.in create mode 100644 v7/src/xml/Makefile-fragment delete mode 100644 v7/src/xml/Makefile.in diff --git a/v7/src/Makefile.in b/v7/src/Makefile.in index 98fb94b36..345a3d8ac 100644 --- a/v7/src/Makefile.in +++ b/v7/src/Makefile.in @@ -1,4 +1,4 @@ -# $Id: Makefile.in,v 1.36 2007/05/08 12:54:52 cph Exp $ +# $Id: Makefile.in,v 1.37 2007/05/09 20:01:36 cph Exp $ # # Copyright (C) 1986, 1987, 1988, 1989, 1990, 1991, 1992, 1993, 1994, # 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, @@ -48,7 +48,7 @@ includedir = @includedir@ oldincludedir = /usr/include DESTDIR = -top_builddir = . +top_builddir = @top_builddir@ INSTALL = @INSTALL@ INSTALL_PROGRAM = @INSTALL_PROGRAM@ diff --git a/v7/src/Setup.sh b/v7/src/Setup.sh index 60d6d01bb..8ed68f6d7 100755 --- a/v7/src/Setup.sh +++ b/v7/src/Setup.sh @@ -1,6 +1,6 @@ #!/bin/sh # -# $Id: Setup.sh,v 1.23 2007/05/09 02:05:38 cph Exp $ +# $Id: Setup.sh,v 1.24 2007/05/09 20:01:36 cph Exp $ # # Copyright (C) 1986, 1987, 1988, 1989, 1990, 1991, 1992, 1993, 1994, # 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, @@ -55,6 +55,12 @@ maybe_link lib/edwin/autoload ../../edwin for SUBDIR in 6001 compiler cref edwin imail rcs runtime \ sf sos ssp star-parser win32 xdoc xml microcode; do echo "setting up ${SUBDIR}" + if [ -f ${SUBDIR}/Makefile-fragment ]; then + rm -f ${SUBDIR}/Makefile.in + cat etc/std-makefile-prefix \ + ${SUBDIR}/Makefile-fragment \ + etc/std-makefile-suffix > ${SUBDIR}/Makefile.in + fi maybe_link ${SUBDIR}/Setup.sh ../etc/Setup.sh ( cd ${SUBDIR} && ./Setup.sh "$@" ) done diff --git a/v7/src/cref/Makefile-fragment b/v7/src/cref/Makefile-fragment new file mode 100644 index 000000000..2e3a3e850 --- /dev/null +++ b/v7/src/cref/Makefile-fragment @@ -0,0 +1,7 @@ +TARGET_DIR = $(AUXDIR)/cref + +install: + $(mkinstalldirs) $(DESTDIR)$(TARGET_DIR) + $(INSTALL_COM) *.com $(DESTDIR)$(TARGET_DIR)/. + $(INSTALL_DATA) *.bci $(DESTDIR)$(TARGET_DIR)/. + $(INSTALL_DATA) cref-unx.pkd $(DESTDIR)$(TARGET_DIR)/. diff --git a/v7/src/cref/Makefile.in b/v7/src/cref/Makefile.in deleted file mode 100644 index 763cec443..000000000 --- a/v7/src/cref/Makefile.in +++ /dev/null @@ -1,79 +0,0 @@ -# $Id: Makefile.in,v 1.9 2007/04/04 05:08:18 riastradh Exp $ -# -# Copyright (C) 1986, 1987, 1988, 1989, 1990, 1991, 1992, 1993, 1994, -# 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, -# 2005, 2006, 2007 Massachusetts Institute of Technology -# -# This file is part of MIT/GNU Scheme. -# -# MIT/GNU Scheme is free software; you can redistribute it and/or -# modify it under the terms of the GNU General Public License as -# published by the Free Software Foundation; either version 2 of the -# License, or (at your option) any later version. -# -# MIT/GNU Scheme is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -# General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with MIT/GNU Scheme; if not, write to the Free Software -# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA -# 02110-1301, USA. - -# **** BEGIN BOILERPLATE **** - -SHELL = @SHELL@ - -@SET_MAKE@ - -srcdir = @srcdir@ -top_srcdir = @top_srcdir@ -VPATH = @srcdir@ -prefix = @prefix@ -exec_prefix = @exec_prefix@ - -bindir = @bindir@ -sbindir = @sbindir@ -libexecdir = @libexecdir@ -datarootdir = @datarootdir@ -datadir = @datadir@ -sysconfdir = @sysconfdir@ -sharedstatedir = @sharedstatedir@ -localstatedir = @localstatedir@ -libdir = @libdir@ -infodir = @infodir@ -mandir = @mandir@ -includedir = @includedir@ -oldincludedir = /usr/include - -DESTDIR = -top_builddir = . - -INSTALL = @INSTALL@ -INSTALL_PROGRAM = @INSTALL_PROGRAM@ -INSTALL_DATA = @INSTALL_DATA@ -INSTALL_SCRIPT = @INSTALL_SCRIPT@ -INSTALL_COM = @INSTALL_COM@ - -LN_S = @LN_S@ -ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 -mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs - -# **** END BOILERPLATE **** - -AUXDIR = @AUXDIR@ -CREF_DIR = $(AUXDIR)/cref - -include ../Makefile.std - -install: - $(mkinstalldirs) $(DESTDIR)$(CREF_DIR) - @for F in *.com; do \ - echo "$(INSTALL_COM) $${F} $(DESTDIR)$(CREF_DIR)/.";\ - $(INSTALL_COM) $${F} $(DESTDIR)$(CREF_DIR)/.;\ - done - $(INSTALL_DATA) *.bci $(DESTDIR)$(CREF_DIR)/. - $(INSTALL_DATA) cref-unx.pkd $(DESTDIR)$(CREF_DIR)/. - -.PHONY: install diff --git a/v7/src/edwin/Makefile-fragment b/v7/src/edwin/Makefile-fragment new file mode 100644 index 000000000..6d52c009e --- /dev/null +++ b/v7/src/edwin/Makefile-fragment @@ -0,0 +1,22 @@ +EDDIR = $(AUXDIR)/edwin +EODIR = $(EDDIR)/autoload +EDOPTS = debian-changelog eystep lisppaste manual midas nntp paredit pasmod \ + print pwedit pwparse snr sort techinfo telnet tximod verilog vhdl \ + webster + +install: + $(mkinstalldirs) $(DESTDIR)$(AUXDIR)/SRC/edwin + $(mkinstalldirs) $(DESTDIR)$(EDDIR) + $(INSTALL_DATA) *.bci $(DESTDIR)$(AUXDIR)/SRC/edwin/. + + rm -rf $(DESTDIR)$(EODIR) + $(mkinstalldirs) $(DESTDIR)$(EODIR) + @for F in $(EDOPTS); do \ + echo "$(INSTALL_COM) $${F}.com $(DESTDIR)$(EODIR)/.";\ + $(INSTALL_COM) $${F}.com $(DESTDIR)$(EODIR)/.;\ + done + @for F in $(EDOPTS); do \ + REL="../../SRC/edwin/$${F}.bci";\ + echo "( cd $(DESTDIR)$(EODIR); $(LN_S) $${REL} . )";\ + ( cd $(DESTDIR)$(EODIR); $(LN_S) $${REL} . );\ + done diff --git a/v7/src/edwin/Makefile.in b/v7/src/edwin/Makefile.in deleted file mode 100644 index 7bfd4b5ab..000000000 --- a/v7/src/edwin/Makefile.in +++ /dev/null @@ -1,103 +0,0 @@ -# $Id: Makefile.in,v 1.13 2007/04/04 05:08:19 riastradh Exp $ -# -# Copyright (C) 1986, 1987, 1988, 1989, 1990, 1991, 1992, 1993, 1994, -# 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, -# 2005, 2006, 2007 Massachusetts Institute of Technology -# -# This file is part of MIT/GNU Scheme. -# -# MIT/GNU Scheme is free software; you can redistribute it and/or -# modify it under the terms of the GNU General Public License as -# published by the Free Software Foundation; either version 2 of the -# License, or (at your option) any later version. -# -# MIT/GNU Scheme is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -# General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with MIT/GNU Scheme; if not, write to the Free Software -# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA -# 02110-1301, USA. - -# Standard Makefile for Scheme subsystem directories. -# This makefile supports some utilities for Scheme subsystems. -# Tools to rebuild these subsystems are written in Scheme and do not -# use `make'. - -# **** BEGIN BOILERPLATE **** - -SHELL = @SHELL@ - -@SET_MAKE@ - -srcdir = @srcdir@ -top_srcdir = @top_srcdir@ -VPATH = @srcdir@ -prefix = @prefix@ -exec_prefix = @exec_prefix@ - -bindir = @bindir@ -sbindir = @sbindir@ -libexecdir = @libexecdir@ -datarootdir = @datarootdir@ -datadir = @datadir@ -sysconfdir = @sysconfdir@ -sharedstatedir = @sharedstatedir@ -localstatedir = @localstatedir@ -libdir = @libdir@ -infodir = @infodir@ -mandir = @mandir@ -includedir = @includedir@ -oldincludedir = /usr/include - -DESTDIR = -top_builddir = . - -INSTALL = @INSTALL@ -INSTALL_PROGRAM = @INSTALL_PROGRAM@ -INSTALL_DATA = @INSTALL_DATA@ -INSTALL_SCRIPT = @INSTALL_SCRIPT@ -INSTALL_COM = @INSTALL_COM@ - -LN_S = @LN_S@ -ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 -mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs - -# **** END BOILERPLATE **** - -AUXDIR = @AUXDIR@ -EDDIR = $(AUXDIR)/edwin -EODIR = $(EDDIR)/autoload -EDOPTS = debian-changelog eystep lisppaste manual midas nntp paredit pasmod \ - print pwedit pwparse snr sort techinfo telnet tximod verilog vhdl \ - webster - -all: - echo "No ALL action" - -mostlyclean clean distclean maintainer-clean: - ./Clean.sh $@ - -tags TAGS: - ./Tags.sh - -install: - $(mkinstalldirs) $(DESTDIR)$(AUXDIR)/SRC/edwin - $(mkinstalldirs) $(DESTDIR)$(EDDIR) - $(INSTALL_DATA) *.bci $(DESTDIR)$(AUXDIR)/SRC/edwin/. - - -rm -rf $(DESTDIR)$(EODIR) - $(mkinstalldirs) $(DESTDIR)$(EODIR) - @for F in $(EDOPTS); do \ - echo "$(INSTALL_COM) $${F}.com $(DESTDIR)$(EODIR)/.";\ - $(INSTALL_COM) $${F}.com $(DESTDIR)$(EODIR)/.;\ - done - @for F in $(EDOPTS); do \ - REL="../../SRC/edwin/$${F}.bci";\ - echo "( cd $(DESTDIR)$(EODIR); $(LN_S) $${REL} . )";\ - ( cd $(DESTDIR)$(EODIR); $(LN_S) $${REL} . );\ - done - -.PHONY: all mostlyclean clean distclean maintainer-clean tags TAGS install diff --git a/v7/src/etc/Clean.sh b/v7/src/etc/Clean.sh index 00ffa680d..61e13be6e 100755 --- a/v7/src/etc/Clean.sh +++ b/v7/src/etc/Clean.sh @@ -1,6 +1,6 @@ #!/bin/sh # -# $Id: Clean.sh,v 1.20 2007/05/03 03:40:22 cph Exp $ +# $Id: Clean.sh,v 1.21 2007/05/09 20:01:37 cph Exp $ # # Copyright (C) 1986, 1987, 1988, 1989, 1990, 1991, 1992, 1993, 1994, # 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, @@ -70,6 +70,9 @@ if [ ${DIST} = yes ]; then if [ -f Makefile.in ]; then maybe_rm Makefile fi + if [ -f Makefile-fragment ]; then + maybe_rm Makefile.in + fi fi if [ ${MAINTAINER} = yes ]; then diff --git a/v7/src/sos/Makefile.in b/v7/src/etc/std-makefile-prefix similarity index 79% rename from v7/src/sos/Makefile.in rename to v7/src/etc/std-makefile-prefix index 4320be1ae..e3c596b48 100644 --- a/v7/src/sos/Makefile.in +++ b/v7/src/etc/std-makefile-prefix @@ -1,4 +1,4 @@ -# $Id: Makefile.in,v 1.9 2007/04/04 05:08:19 riastradh Exp $ +# $Id: std-makefile-prefix,v 1.1 2007/05/09 20:01:37 cph Exp $ # # Copyright (C) 1986, 1987, 1988, 1989, 1990, 1991, 1992, 1993, 1994, # 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, @@ -53,7 +53,7 @@ includedir = @includedir@ oldincludedir = /usr/include DESTDIR = -top_builddir = . +top_builddir = @top_builddir@ INSTALL = @INSTALL@ INSTALL_PROGRAM = @INSTALL_PROGRAM@ @@ -68,7 +68,6 @@ mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs # **** END BOILERPLATE **** AUXDIR = @AUXDIR@ -SOS_DIR = $(AUXDIR)/sos all: echo "No ALL action" @@ -79,14 +78,21 @@ mostlyclean clean distclean maintainer-clean: tags TAGS: ./Tags.sh -install: - $(mkinstalldirs) $(DESTDIR)$(SOS_DIR) - @for F in *.com; do \ - echo "$(INSTALL_COM) $${F} $(DESTDIR)$(SOS_DIR)/.";\ - $(INSTALL_COM) $${F} $(DESTDIR)$(SOS_DIR)/.;\ - done - $(INSTALL_DATA) *.bci $(DESTDIR)$(SOS_DIR)/. - $(INSTALL_DATA) sos-unx.pkd $(DESTDIR)$(SOS_DIR)/. - $(INSTALL_DATA) $(srcdir)/load.scm $(DESTDIR)$(SOS_DIR)/. - -.PHONY: all mostlyclean clean distclean maintainer-clean tags TAGS install +stage1: + ./Stage.sh make 1 + +unstage1: + ./Stage.sh unmake 1 + +stage2: + ./Stage.sh make 2 + +unstage2: + ./Stage.sh unmake 2 + +stage3: + ./Stage.sh make 3 + +unstage3: + ./Stage.sh unmake 3 + diff --git a/v7/src/etc/std-makefile-suffix b/v7/src/etc/std-makefile-suffix new file mode 100644 index 000000000..4ad790bcf --- /dev/null +++ b/v7/src/etc/std-makefile-suffix @@ -0,0 +1,3 @@ + +.PHONY: all mostlyclean clean distclean maintainer-clean tags TAGS install +.PHONY: stage1 unstage1 stage2 unstage2 stage3 unstage3 diff --git a/v7/src/imail/Makefile-fragment b/v7/src/imail/Makefile-fragment new file mode 100644 index 000000000..e282d65a9 --- /dev/null +++ b/v7/src/imail/Makefile-fragment @@ -0,0 +1,8 @@ +IMAIL_DIR = $(AUXDIR)/imail + +install: + $(mkinstalldirs) $(DESTDIR)$(IMAIL_DIR) + $(INSTALL_COM) *.com $(DESTDIR)$(IMAIL_DIR)/. + $(INSTALL_DATA) *.bci $(DESTDIR)$(IMAIL_DIR)/. + $(INSTALL_DATA) imail-unx.pkd $(DESTDIR)$(IMAIL_DIR)/. + $(INSTALL_DATA) $(srcdir)/load.scm $(DESTDIR)$(IMAIL_DIR)/. diff --git a/v7/src/imail/Makefile.in b/v7/src/imail/Makefile.in deleted file mode 100644 index 99ec668e4..000000000 --- a/v7/src/imail/Makefile.in +++ /dev/null @@ -1,92 +0,0 @@ -# $Id: Makefile.in,v 1.9 2007/04/04 05:08:19 riastradh Exp $ -# -# Copyright (C) 1986, 1987, 1988, 1989, 1990, 1991, 1992, 1993, 1994, -# 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, -# 2005, 2006, 2007 Massachusetts Institute of Technology -# -# This file is part of MIT/GNU Scheme. -# -# MIT/GNU Scheme is free software; you can redistribute it and/or -# modify it under the terms of the GNU General Public License as -# published by the Free Software Foundation; either version 2 of the -# License, or (at your option) any later version. -# -# MIT/GNU Scheme is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -# General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with MIT/GNU Scheme; if not, write to the Free Software -# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA -# 02110-1301, USA. - -# Standard Makefile for Scheme subsystem directories. -# This makefile supports some utilities for Scheme subsystems. -# Tools to rebuild these subsystems are written in Scheme and do not -# use `make'. - -# **** BEGIN BOILERPLATE **** - -SHELL = @SHELL@ - -@SET_MAKE@ - -srcdir = @srcdir@ -top_srcdir = @top_srcdir@ -VPATH = @srcdir@ -prefix = @prefix@ -exec_prefix = @exec_prefix@ - -bindir = @bindir@ -sbindir = @sbindir@ -libexecdir = @libexecdir@ -datarootdir = @datarootdir@ -datadir = @datadir@ -sysconfdir = @sysconfdir@ -sharedstatedir = @sharedstatedir@ -localstatedir = @localstatedir@ -libdir = @libdir@ -infodir = @infodir@ -mandir = @mandir@ -includedir = @includedir@ -oldincludedir = /usr/include - -DESTDIR = -top_builddir = . - -INSTALL = @INSTALL@ -INSTALL_PROGRAM = @INSTALL_PROGRAM@ -INSTALL_DATA = @INSTALL_DATA@ -INSTALL_SCRIPT = @INSTALL_SCRIPT@ -INSTALL_COM = @INSTALL_COM@ - -LN_S = @LN_S@ -ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 -mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs - -# **** END BOILERPLATE **** - -AUXDIR = @AUXDIR@ -IMAIL_DIR = $(AUXDIR)/imail - -all: - echo "No ALL action" - -mostlyclean clean distclean maintainer-clean: - ./Clean.sh $@ - -tags TAGS: - ./Tags.sh - -install: - $(mkinstalldirs) $(DESTDIR)$(IMAIL_DIR) - @for F in *.com; do \ - echo "$(INSTALL_COM) $${F} $(DESTDIR)$(IMAIL_DIR)/.";\ - $(INSTALL_COM) $${F} $(DESTDIR)$(IMAIL_DIR)/.;\ - done - $(INSTALL_DATA) *.bci $(DESTDIR)$(IMAIL_DIR)/. - $(INSTALL_DATA) imail-unx.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/microcode/makegen/Makefile.in.in b/v7/src/microcode/makegen/Makefile.in.in index c624e5677..0188d9220 100644 --- a/v7/src/microcode/makegen/Makefile.in.in +++ b/v7/src/microcode/makegen/Makefile.in.in @@ -1,6 +1,6 @@ # -*- Makefile -*- # -# $Id: Makefile.in.in,v 1.54 2007/05/09 02:06:22 cph Exp $ +# $Id: Makefile.in.in,v 1.55 2007/05/09 20:01:37 cph Exp $ # # Copyright (C) 1986, 1987, 1988, 1989, 1990, 1991, 1992, 1993, 1994, # 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, @@ -50,7 +50,7 @@ includedir = @includedir@ oldincludedir = /usr/include DESTDIR = -top_builddir = . +top_builddir = @top_builddir@ INSTALL = @INSTALL@ INSTALL_PROGRAM = @INSTALL_PROGRAM@ @@ -145,7 +145,7 @@ CLEAN_FILES = $(ALL_PROGRAMS) $(ALL_LIBS) $(ALL_DATA) $(EXTRA_PROGRAMS) DISTCLEAN_FILES = Makefile config.h config.cache config.log config.status \ cmpauxmd.m4 cmpauxmd.c cmpintmd.h makegen-cc \ - cmpintmd-config.h cmpintmd.c + cmpintmd-config.h cmpintmd.c liarc-cc liarc-ld MAINTAINER_CLEAN_FILES = Makefile.in Makefile.deps liarc-vars liarc-rules \ config.h.in configure TAGS diff --git a/v7/src/runtime/Makefile-fragment b/v7/src/runtime/Makefile-fragment new file mode 100644 index 000000000..1541cb135 --- /dev/null +++ b/v7/src/runtime/Makefile-fragment @@ -0,0 +1,19 @@ +RODIR = $(AUXDIR)/options +RUNOPTS = chrsyn cpress format gdbm hashtb krypt mime-codec numint optiondb \ + ordvec pgsql process rbtree regexp rexp rgxcmp syncproc wttree ystep + +install: + $(mkinstalldirs) $(DESTDIR)$(AUXDIR)/SRC/runtime + $(INSTALL_DATA) *.bci $(DESTDIR)$(AUXDIR)/SRC/runtime/. + + rm -rf $(DESTDIR)$(RODIR) + $(mkinstalldirs) $(DESTDIR)$(RODIR) + @for F in $(RUNOPTS); do \ + echo "$(INSTALL_COM) $${F}.com $(DESTDIR)$(RODIR)/.";\ + $(INSTALL_COM) $${F}.com $(DESTDIR)$(RODIR)/.;\ + done + @for F in $(RUNOPTS); do \ + REL="../SRC/runtime/$${F}.bci";\ + echo "( cd $(DESTDIR)$(RODIR); $(LN_S) $${REL} . )";\ + ( cd $(DESTDIR)$(RODIR); $(LN_S) $${REL} . );\ + done diff --git a/v7/src/runtime/Makefile.in b/v7/src/runtime/Makefile.in deleted file mode 100644 index b29a9a177..000000000 --- a/v7/src/runtime/Makefile.in +++ /dev/null @@ -1,100 +0,0 @@ -# $Id: Makefile.in,v 1.13 2007/04/04 05:08:19 riastradh Exp $ -# -# Copyright (C) 1986, 1987, 1988, 1989, 1990, 1991, 1992, 1993, 1994, -# 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, -# 2005, 2006, 2007 Massachusetts Institute of Technology -# -# This file is part of MIT/GNU Scheme. -# -# MIT/GNU Scheme is free software; you can redistribute it and/or -# modify it under the terms of the GNU General Public License as -# published by the Free Software Foundation; either version 2 of the -# License, or (at your option) any later version. -# -# MIT/GNU Scheme is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -# General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with MIT/GNU Scheme; if not, write to the Free Software -# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA -# 02110-1301, USA. - -# Standard Makefile for Scheme subsystem directories. -# This makefile supports some utilities for Scheme subsystems. -# Tools to rebuild these subsystems are written in Scheme and do not -# use `make'. - -# **** BEGIN BOILERPLATE **** - -SHELL = @SHELL@ - -@SET_MAKE@ - -srcdir = @srcdir@ -top_srcdir = @top_srcdir@ -VPATH = @srcdir@ -prefix = @prefix@ -exec_prefix = @exec_prefix@ - -bindir = @bindir@ -sbindir = @sbindir@ -libexecdir = @libexecdir@ -datarootdir = @datarootdir@ -datadir = @datadir@ -sysconfdir = @sysconfdir@ -sharedstatedir = @sharedstatedir@ -localstatedir = @localstatedir@ -libdir = @libdir@ -infodir = @infodir@ -mandir = @mandir@ -includedir = @includedir@ -oldincludedir = /usr/include - -DESTDIR = -top_builddir = . - -INSTALL = @INSTALL@ -INSTALL_PROGRAM = @INSTALL_PROGRAM@ -INSTALL_DATA = @INSTALL_DATA@ -INSTALL_SCRIPT = @INSTALL_SCRIPT@ -INSTALL_COM = @INSTALL_COM@ - -LN_S = @LN_S@ -ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 -mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs - -# **** END BOILERPLATE **** - -AUXDIR = @AUXDIR@ -RODIR = $(AUXDIR)/options -RUNOPTS = chrsyn cpress format gdbm hashtb krypt mime-codec numint optiondb \ - ordvec pgsql process rbtree regexp rexp rgxcmp syncproc wttree ystep - -all: - echo "No ALL action" - -mostlyclean clean distclean maintainer-clean: - ./Clean.sh $@ - -tags TAGS: - ./Tags.sh - -install: - $(mkinstalldirs) $(DESTDIR)$(AUXDIR)/SRC/runtime - $(INSTALL_DATA) *.bci $(DESTDIR)$(AUXDIR)/SRC/runtime/. - - -rm -rf $(DESTDIR)$(RODIR) - $(mkinstalldirs) $(DESTDIR)$(RODIR) - @for F in $(RUNOPTS); do \ - echo "$(INSTALL_COM) $${F}.com $(DESTDIR)$(RODIR)/.";\ - $(INSTALL_COM) $${F}.com $(DESTDIR)$(RODIR)/.;\ - done - @for F in $(RUNOPTS); do \ - REL="../SRC/runtime/$${F}.bci";\ - echo "( cd $(DESTDIR)$(RODIR); $(LN_S) $${REL} . )";\ - ( cd $(DESTDIR)$(RODIR); $(LN_S) $${REL} . );\ - done - -.PHONY: all mostlyclean clean distclean maintainer-clean tags TAGS install diff --git a/v7/src/sos/Makefile-fragment b/v7/src/sos/Makefile-fragment new file mode 100644 index 000000000..2dff51f62 --- /dev/null +++ b/v7/src/sos/Makefile-fragment @@ -0,0 +1,8 @@ +TARGET_DIR = $(AUXDIR)/sos + +install: + $(mkinstalldirs) $(DESTDIR)$(TARGET_DIR) + $(INSTALL_COM) *.com $(DESTDIR)$(TARGET_DIR)/. + $(INSTALL_DATA) *.bci $(DESTDIR)$(TARGET_DIR)/. + $(INSTALL_DATA) sos-unx.pkd $(DESTDIR)$(TARGET_DIR)/. + $(INSTALL_DATA) $(srcdir)/load.scm $(DESTDIR)$(TARGET_DIR)/. diff --git a/v7/src/ssp/Makefile-fragment b/v7/src/ssp/Makefile-fragment new file mode 100644 index 000000000..98f7ca805 --- /dev/null +++ b/v7/src/ssp/Makefile-fragment @@ -0,0 +1,8 @@ +SSP_DIR = $(AUXDIR)/ssp + +install: + $(mkinstalldirs) $(DESTDIR)$(SSP_DIR) + $(INSTALL_COM) *.com $(DESTDIR)$(SSP_DIR)/. + $(INSTALL_DATA) *.bci $(DESTDIR)$(SSP_DIR)/. + $(INSTALL_DATA) ssp-unx.pkd $(DESTDIR)$(SSP_DIR)/. + $(INSTALL_DATA) $(srcdir)/load.scm $(DESTDIR)$(SSP_DIR)/. diff --git a/v7/src/ssp/Makefile.in b/v7/src/ssp/Makefile.in deleted file mode 100644 index 91e99f23d..000000000 --- a/v7/src/ssp/Makefile.in +++ /dev/null @@ -1,80 +0,0 @@ -# $Id: Makefile.in,v 1.6 2007/04/04 05:08:19 riastradh Exp $ -# -# Copyright (C) 1986, 1987, 1988, 1989, 1990, 1991, 1992, 1993, 1994, -# 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, -# 2005, 2006, 2007 Massachusetts Institute of Technology -# -# This file is part of MIT/GNU Scheme. -# -# MIT/GNU Scheme is free software; you can redistribute it and/or -# modify it under the terms of the GNU General Public License as -# published by the Free Software Foundation; either version 2 of the -# License, or (at your option) any later version. -# -# MIT/GNU Scheme is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -# General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with MIT/GNU Scheme; if not, write to the Free Software -# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA -# 02110-1301, USA. - -# **** BEGIN BOILERPLATE **** - -SHELL = @SHELL@ - -@SET_MAKE@ - -srcdir = @srcdir@ -top_srcdir = @top_srcdir@ -VPATH = @srcdir@ -prefix = @prefix@ -exec_prefix = @exec_prefix@ - -bindir = @bindir@ -sbindir = @sbindir@ -libexecdir = @libexecdir@ -datarootdir = @datarootdir@ -datadir = @datadir@ -sysconfdir = @sysconfdir@ -sharedstatedir = @sharedstatedir@ -localstatedir = @localstatedir@ -libdir = @libdir@ -infodir = @infodir@ -mandir = @mandir@ -includedir = @includedir@ -oldincludedir = /usr/include - -DESTDIR = -top_builddir = . - -INSTALL = @INSTALL@ -INSTALL_PROGRAM = @INSTALL_PROGRAM@ -INSTALL_DATA = @INSTALL_DATA@ -INSTALL_SCRIPT = @INSTALL_SCRIPT@ -INSTALL_COM = @INSTALL_COM@ - -LN_S = @LN_S@ -ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 -mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs - -# **** END BOILERPLATE **** - -AUXDIR = @AUXDIR@ -SSP_DIR = $(AUXDIR)/ssp - -include ../Makefile.std - -install: - $(mkinstalldirs) $(DESTDIR)$(SSP_DIR) - @for F in *.com; do \ - echo "$(INSTALL_COM) $${F} $(DESTDIR)$(SSP_DIR)/.";\ - $(INSTALL_COM) $${F} $(DESTDIR)$(SSP_DIR)/.;\ - done - $(INSTALL_DATA) *.bci $(DESTDIR)$(SSP_DIR)/. - $(INSTALL_DATA) ssp-unx.pkd $(DESTDIR)$(SSP_DIR)/. - $(INSTALL_DATA) $(srcdir)/load.scm $(DESTDIR)$(SSP_DIR)/. - -.PHONY: install diff --git a/v7/src/star-parser/Makefile-fragment b/v7/src/star-parser/Makefile-fragment new file mode 100644 index 000000000..782b6c58f --- /dev/null +++ b/v7/src/star-parser/Makefile-fragment @@ -0,0 +1,8 @@ +PARSER_DIR = $(AUXDIR)/star-parser + +install: + $(mkinstalldirs) $(DESTDIR)$(PARSER_DIR) + $(INSTALL_COM) *.com $(DESTDIR)$(PARSER_DIR)/. + $(INSTALL_DATA) *.bci $(DESTDIR)$(PARSER_DIR)/. + $(INSTALL_DATA) parser-unx.pkd $(DESTDIR)$(PARSER_DIR)/. + $(INSTALL_DATA) $(srcdir)/load.scm $(DESTDIR)$(PARSER_DIR)/. diff --git a/v7/src/star-parser/Makefile.in b/v7/src/star-parser/Makefile.in deleted file mode 100644 index 15ae2df4c..000000000 --- a/v7/src/star-parser/Makefile.in +++ /dev/null @@ -1,92 +0,0 @@ -# $Id: Makefile.in,v 1.8 2007/04/04 05:08:19 riastradh Exp $ -# -# Copyright (C) 1986, 1987, 1988, 1989, 1990, 1991, 1992, 1993, 1994, -# 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, -# 2005, 2006, 2007 Massachusetts Institute of Technology -# -# This file is part of MIT/GNU Scheme. -# -# MIT/GNU Scheme is free software; you can redistribute it and/or -# modify it under the terms of the GNU General Public License as -# published by the Free Software Foundation; either version 2 of the -# License, or (at your option) any later version. -# -# MIT/GNU Scheme is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -# General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with MIT/GNU Scheme; if not, write to the Free Software -# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA -# 02110-1301, USA. - -# Standard Makefile for Scheme subsystem directories. -# This makefile supports some utilities for Scheme subsystems. -# Tools to rebuild these subsystems are written in Scheme and do not -# use `make'. - -# **** BEGIN BOILERPLATE **** - -SHELL = @SHELL@ - -@SET_MAKE@ - -srcdir = @srcdir@ -top_srcdir = @top_srcdir@ -VPATH = @srcdir@ -prefix = @prefix@ -exec_prefix = @exec_prefix@ - -bindir = @bindir@ -sbindir = @sbindir@ -libexecdir = @libexecdir@ -datarootdir = @datarootdir@ -datadir = @datadir@ -sysconfdir = @sysconfdir@ -sharedstatedir = @sharedstatedir@ -localstatedir = @localstatedir@ -libdir = @libdir@ -infodir = @infodir@ -mandir = @mandir@ -includedir = @includedir@ -oldincludedir = /usr/include - -DESTDIR = -top_builddir = . - -INSTALL = @INSTALL@ -INSTALL_PROGRAM = @INSTALL_PROGRAM@ -INSTALL_DATA = @INSTALL_DATA@ -INSTALL_SCRIPT = @INSTALL_SCRIPT@ -INSTALL_COM = @INSTALL_COM@ - -LN_S = @LN_S@ -ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 -mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs - -# **** END BOILERPLATE **** - -AUXDIR = @AUXDIR@ -PARSER_DIR = $(AUXDIR)/star-parser - -all: - echo "No ALL action" - -mostlyclean clean distclean maintainer-clean: - ./Clean.sh $@ - -tags TAGS: - ./Tags.sh - -install: - $(mkinstalldirs) $(DESTDIR)$(PARSER_DIR) - @for F in *.com; do \ - echo "$(INSTALL_COM) $${F} $(DESTDIR)$(PARSER_DIR)/.";\ - $(INSTALL_COM) $${F} $(DESTDIR)$(PARSER_DIR)/.;\ - done - $(INSTALL_DATA) *.bci $(DESTDIR)$(PARSER_DIR)/. - $(INSTALL_DATA) parser-unx.pkd $(DESTDIR)$(PARSER_DIR)/. - $(INSTALL_DATA) $(srcdir)/load.scm $(DESTDIR)$(PARSER_DIR)/. - -.PHONY: all mostlyclean clean distclean maintainer-clean tags TAGS install diff --git a/v7/src/xdoc/Makefile-fragment b/v7/src/xdoc/Makefile-fragment new file mode 100644 index 000000000..daaca5e8c --- /dev/null +++ b/v7/src/xdoc/Makefile-fragment @@ -0,0 +1,8 @@ +XDOC_DIR = $(AUXDIR)/xdoc + +install: + $(mkinstalldirs) $(DESTDIR)$(XDOC_DIR) + $(INSTALL_COM) *.com $(DESTDIR)$(XDOC_DIR)/. + $(INSTALL_DATA) *.bci $(DESTDIR)$(XDOC_DIR)/. + $(INSTALL_DATA) xdoc-unx.pkd $(DESTDIR)$(XDOC_DIR)/. + $(INSTALL_DATA) $(srcdir)/load.scm $(DESTDIR)$(XDOC_DIR)/. diff --git a/v7/src/xdoc/Makefile.in b/v7/src/xdoc/Makefile.in deleted file mode 100644 index 39991431d..000000000 --- a/v7/src/xdoc/Makefile.in +++ /dev/null @@ -1,80 +0,0 @@ -# $Id: Makefile.in,v 1.5 2007/04/04 05:08:19 riastradh Exp $ -# -# Copyright (C) 1986, 1987, 1988, 1989, 1990, 1991, 1992, 1993, 1994, -# 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, -# 2005, 2006, 2007 Massachusetts Institute of Technology -# -# This file is part of MIT/GNU Scheme. -# -# MIT/GNU Scheme is free software; you can redistribute it and/or -# modify it under the terms of the GNU General Public License as -# published by the Free Software Foundation; either version 2 of the -# License, or (at your option) any later version. -# -# MIT/GNU Scheme is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -# General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with MIT/GNU Scheme; if not, write to the Free Software -# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA -# 02110-1301, USA. - -# **** BEGIN BOILERPLATE **** - -SHELL = @SHELL@ - -@SET_MAKE@ - -srcdir = @srcdir@ -top_srcdir = @top_srcdir@ -VPATH = @srcdir@ -prefix = @prefix@ -exec_prefix = @exec_prefix@ - -bindir = @bindir@ -sbindir = @sbindir@ -libexecdir = @libexecdir@ -datarootdir = @datarootdir@ -datadir = @datadir@ -sysconfdir = @sysconfdir@ -sharedstatedir = @sharedstatedir@ -localstatedir = @localstatedir@ -libdir = @libdir@ -infodir = @infodir@ -mandir = @mandir@ -includedir = @includedir@ -oldincludedir = /usr/include - -DESTDIR = -top_builddir = . - -INSTALL = @INSTALL@ -INSTALL_PROGRAM = @INSTALL_PROGRAM@ -INSTALL_DATA = @INSTALL_DATA@ -INSTALL_SCRIPT = @INSTALL_SCRIPT@ -INSTALL_COM = @INSTALL_COM@ - -LN_S = @LN_S@ -ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 -mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs - -# **** END BOILERPLATE **** - -AUXDIR = @AUXDIR@ -XDOC_DIR = $(AUXDIR)/xdoc - -include ../Makefile.std - -install: - $(mkinstalldirs) $(DESTDIR)$(XDOC_DIR) - @for F in *.com; do \ - echo "$(INSTALL_COM) $${F} $(DESTDIR)$(XDOC_DIR)/.";\ - $(INSTALL_COM) $${F} $(DESTDIR)$(XDOC_DIR)/.;\ - done - $(INSTALL_DATA) *.bci $(DESTDIR)$(XDOC_DIR)/. - $(INSTALL_DATA) xdoc-unx.pkd $(DESTDIR)$(XDOC_DIR)/. - $(INSTALL_DATA) $(srcdir)/load.scm $(DESTDIR)$(XDOC_DIR)/. - -.PHONY: install diff --git a/v7/src/xml/Makefile-fragment b/v7/src/xml/Makefile-fragment new file mode 100644 index 000000000..80978589a --- /dev/null +++ b/v7/src/xml/Makefile-fragment @@ -0,0 +1,8 @@ +TARGET_DIR = $(AUXDIR)/xml + +install: + $(mkinstalldirs) $(DESTDIR)$(TARGET_DIR) + $(INSTALL_COM) *.com $(DESTDIR)$(TARGET_DIR)/. + $(INSTALL_DATA) *.bci $(DESTDIR)$(TARGET_DIR)/. + $(INSTALL_DATA) xml-unx.pkd $(DESTDIR)$(TARGET_DIR)/. + $(INSTALL_DATA) $(srcdir)/load.scm $(DESTDIR)$(TARGET_DIR)/. diff --git a/v7/src/xml/Makefile.in b/v7/src/xml/Makefile.in deleted file mode 100644 index 6f21ce6a2..000000000 --- a/v7/src/xml/Makefile.in +++ /dev/null @@ -1,92 +0,0 @@ -# $Id: Makefile.in,v 1.9 2007/04/04 05:08:19 riastradh Exp $ -# -# Copyright (C) 1986, 1987, 1988, 1989, 1990, 1991, 1992, 1993, 1994, -# 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, -# 2005, 2006, 2007 Massachusetts Institute of Technology -# -# This file is part of MIT/GNU Scheme. -# -# MIT/GNU Scheme is free software; you can redistribute it and/or -# modify it under the terms of the GNU General Public License as -# published by the Free Software Foundation; either version 2 of the -# License, or (at your option) any later version. -# -# MIT/GNU Scheme is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -# General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with MIT/GNU Scheme; if not, write to the Free Software -# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA -# 02110-1301, USA. - -# Standard Makefile for Scheme subsystem directories. -# This makefile supports some utilities for Scheme subsystems. -# Tools to rebuild these subsystems are written in Scheme and do not -# use `make'. - -# **** BEGIN BOILERPLATE **** - -SHELL = @SHELL@ - -@SET_MAKE@ - -srcdir = @srcdir@ -top_srcdir = @top_srcdir@ -VPATH = @srcdir@ -prefix = @prefix@ -exec_prefix = @exec_prefix@ - -bindir = @bindir@ -sbindir = @sbindir@ -libexecdir = @libexecdir@ -datarootdir = @datarootdir@ -datadir = @datadir@ -sysconfdir = @sysconfdir@ -sharedstatedir = @sharedstatedir@ -localstatedir = @localstatedir@ -libdir = @libdir@ -infodir = @infodir@ -mandir = @mandir@ -includedir = @includedir@ -oldincludedir = /usr/include - -DESTDIR = -top_builddir = . - -INSTALL = @INSTALL@ -INSTALL_PROGRAM = @INSTALL_PROGRAM@ -INSTALL_DATA = @INSTALL_DATA@ -INSTALL_SCRIPT = @INSTALL_SCRIPT@ -INSTALL_COM = @INSTALL_COM@ - -LN_S = @LN_S@ -ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 -mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs - -# **** END BOILERPLATE **** - -AUXDIR = @AUXDIR@ -XML_DIR = $(AUXDIR)/xml - -all: - echo "No ALL action" - -mostlyclean clean distclean maintainer-clean: - ./Clean.sh $@ - -tags TAGS: - ./Tags.sh - -install: - $(mkinstalldirs) $(DESTDIR)$(XML_DIR) - @for F in *.com; do \ - echo "$(INSTALL_COM) $${F} $(DESTDIR)$(XML_DIR)/.";\ - $(INSTALL_COM) $${F} $(DESTDIR)$(XML_DIR)/.;\ - done - $(INSTALL_DATA) *.bci $(DESTDIR)$(XML_DIR)/. - $(INSTALL_DATA) xml-unx.pkd $(DESTDIR)$(XML_DIR)/. - $(INSTALL_DATA) $(srcdir)/load.scm $(DESTDIR)$(XML_DIR)/. - -.PHONY: all mostlyclean clean distclean maintainer-clean tags TAGS install -- 2.25.1