From: Chris Hanson Date: Tue, 5 Dec 2000 22:33:33 +0000 (+0000) Subject: Add "setup" rule. X-Git-Tag: 20090517-FFI~3158 X-Git-Url: https://birchwood-abbey.net/git?a=commitdiff_plain;h=5e14b8138e0be57ed9bc5e29559487a2ec3f7d9f;p=mit-scheme.git Add "setup" rule. --- diff --git a/v7/src/Makefile.std b/v7/src/Makefile.std index f5193a67c..12624ca8a 100644 --- a/v7/src/Makefile.std +++ b/v7/src/Makefile.std @@ -1,29 +1,38 @@ +# $Id: Makefile.std,v 1.3 2000/12/05 22:33:33 cph Exp $ # -# $Id: Makefile.std,v 1.2 2000/03/21 04:19:41 cph Exp $ +# Copyright (c) 2000 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 +# the Free Software Foundation; either version 2 of the License, or (at +# your option) any later version. +# +# This program 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 this program; if not, write to the Free Software +# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, 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'. -# SHELL = /bin/sh all: echo "No ALL action" -TAGS: - etags *.scm +setup: + test -f ed-ffi.scm \ + && test ! -f .edwin-ffi \ + && ln -s ed-ffi.scm .edwin-ffi -index: - rm -f INDEX - /zu/cph/bin/schndx *.scm > INDEX - -listing: - prlist runtim.pkg *.scm - -locked: - rlog -L -R RCS/*,v +tags TAGS: + etags *.scm stage1: mkdir STAGE1 @@ -75,3 +84,8 @@ cpstage3: lnstage3: ln STAGE3/* . + +.PHONY: all setup tags TAGS +.PHONY: stage1 unstage1 rmstage1 cpstage1 lnstage1 +.PHONY: stage2 unstage2 rmstage2 cpstage2 lnstage2 +.PHONY: stage3 unstage3 rmstage3 cpstage3 lnstage3 diff --git a/v7/src/microcode/makegen/Makefile.in.in b/v7/src/microcode/makegen/Makefile.in.in index bd4b69732..4c770d7eb 100644 --- a/v7/src/microcode/makegen/Makefile.in.in +++ b/v7/src/microcode/makegen/Makefile.in.in @@ -1,4 +1,4 @@ -# $Id: Makefile.in.in,v 1.3 2000/12/05 22:29:53 cph Exp $ +# $Id: Makefile.in.in,v 1.4 2000/12/05 22:31:01 cph Exp $ # # Copyright (c) 2000 Massachusetts Institute of Technology # @@ -162,8 +162,6 @@ DISTCLEAN_FILES = Makefile config.h config.cache config.log config.status \ MAINTAINER_CLEAN_FILES = Makefile.in makegen/Makefile.deps \ config.h.in configure -SUBDIRS = cmpauxmd - # **** Implicit rules **** .SUFFIXES: @@ -181,10 +179,6 @@ SUBDIRS = cmpauxmd # **** Main rules **** all: $(ALL_PROGRAMS) - @for subdir in $(SUBDIRS); do \ - echo "making $@ in $$subdir"; \ - ( cd $$subdir && $(MAKE) $@ ) || exit 1; \ - done scheme: $(scheme_OBJECTS) $(scheme_DEPENDENCIES) -rm -f scheme @@ -236,10 +230,7 @@ distclean: clean maintainer-clean: distclean -rm -f $(MAINTAINER_CLEAN_FILES) - @for subdir in $(SUBDIRS); do \ - echo "making $@ in $$subdir"; \ - ( cd $$subdir && $(MAKE) $@ ) || exit 1; \ - done + ( cd cmpauxmd && $(MAKE) $@ ) .PHONY: all setup tags TAGS mostlyclean clean distclean maintainer-clean