From d8fba41ebc5e104f2d7da373b096daa4b06bcbed Mon Sep 17 00:00:00 2001 From: Chris Hanson Date: Wed, 6 Dec 2000 02:42:53 +0000 Subject: [PATCH] Move setup stuff to shell script. This must be possible to do without a Makefile. --- v7/src/Makefile | 6 ++---- v7/src/microcode/makegen/Makefile.in.in | 7 ++----- 2 files changed, 4 insertions(+), 9 deletions(-) diff --git a/v7/src/Makefile b/v7/src/Makefile index ce8f3233c..0ee89e0ad 100644 --- a/v7/src/Makefile +++ b/v7/src/Makefile @@ -1,4 +1,4 @@ -# $Id: Makefile,v 1.2 2000/12/05 22:51:14 cph Exp $ +# $Id: Makefile,v 1.3 2000/12/06 02:42:53 cph Exp $ # # Copyright (c) 2000 Massachusetts Institute of Technology # @@ -31,9 +31,7 @@ setup: || ln -s ../Makefile.std $${SUBDIR}/Makefile; \ (cd $${SUBDIR} && $(MAKE) $@) || exit 1; \ done - (cd microcode && makegen/makeinit.sh) - (cd microcode && $(MAKE) $@) - (cd microcode && $(MAKE) distclean) + (cd microcode && ./Setup.sh) tags TAGS mostlyclean clean distclean maintainer-clean: @for SUBDIR in $(SUBDIRS); do \ diff --git a/v7/src/microcode/makegen/Makefile.in.in b/v7/src/microcode/makegen/Makefile.in.in index 4c770d7eb..1b0ee2416 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.4 2000/12/05 22:31:01 cph Exp $ +# $Id: Makefile.in.in,v 1.5 2000/12/06 02:42:30 cph Exp $ # # Copyright (c) 2000 Massachusetts Institute of Technology # @@ -212,9 +212,6 @@ psbtobin: $(psbtobin_OBJECTS) $(psbtobin_DEPENDENCIES) -rm -f psbtobin $(LINK) $(psbtobin_LDFLAGS) $(psbtobin_OBJECTS) $(psbtobin_LIBS) -setup: - ( cd cmpauxmd && $(MAKE) ) - tags: TAGS TAGS: etags -r '/^DEF[A-Za-z_ \t(]+"\([^"]+\)"/' *.[ch] @@ -232,7 +229,7 @@ maintainer-clean: distclean -rm -f $(MAINTAINER_CLEAN_FILES) ( cd cmpauxmd && $(MAKE) $@ ) -.PHONY: all setup tags TAGS mostlyclean clean distclean maintainer-clean +.PHONY: all tags TAGS mostlyclean clean distclean maintainer-clean # **** File dependencies **** -- 2.25.1