From: Stephen Adams Date: Sat, 29 Jul 1995 14:45:30 +0000 (+0000) Subject: Initial revision X-Git-Tag: 20090517-FFI~6095 X-Git-Url: https://birchwood-abbey.net/git?a=commitdiff_plain;h=400967b326566b6c3743c00390f5811b1a237f10;p=mit-scheme.git Initial revision --- diff --git a/v8/src/compiler/Makefile b/v8/src/compiler/Makefile new file mode 100644 index 000000000..8d8b2e199 --- /dev/null +++ b/v8/src/compiler/Makefile @@ -0,0 +1,127 @@ +# +# $Id: Makefile,v 1.1 1995/07/29 14:45:30 adams Exp $ +# +# Makefile for Scheme compiler +# This makefile supports some utilities for the compiler. +# The compiler provides its own tools for rebuilding itself, +# written in Scheme. +# + +SOURCES = back/foo base/foo fggen/foo fgopt/foo\ + machine/foo rtlbase/foo rtlgen/foo rtlopt/foo +SUBDIRS = $(SOURCES:foo=) + +SHELL = /bin/sh + +all: + echo "No ALL action" + +tags: + etags back/*.scm base/*.scm fggen/*.scm fgopt/*.scm \ + machines/*/*.scm rtlbase/*.scm rtlgen/*.scm rtlopt/*.scm + +index: + rm -f INDEX + /zu/cph/bin/schndx $(SOURCES:foo=*.scm) > INDEX + +listing: + prlist comp.pkg $(SOURCES:foo=*.scm) + +locked: + for subdir in . back base fggen fgopt rtlbase rtlgen rtlopt machines/*; \ + do \ + rlog -L -R $${subdir}/RCS/*,v ; \ + done + +stage1: + for subdir in $(SUBDIRS); \ + do \ + ( cd $$subdir ; echo "making $$subdir" ; \ + mkdir STAGE1 ; mv *.com *.bci STAGE1/. ) \ + done + +unstage1: + for subdir in $(SUBDIRS); \ + do \ + ( cd $$subdir ; echo "making $$subdir" ; \ + mv STAGE1/* . ; rmdir STAGE1 ) \ + done + +rmstage1: + rm -rf $(SOURCES:foo=STAGE1) + +cpstage1: + for subdir in $(SUBDIRS); \ + do \ + ( cd $$subdir ; echo "making $$subdir" ; \ + cpx STAGE1/* . ) \ + done + +lnstage1: + for subdir in $(SUBDIRS); \ + do \ + ( cd $$subdir ; echo "making $$subdir" ; \ + ln STAGE1/* . ) \ + done + +stage2: + for subdir in $(SUBDIRS); \ + do \ + ( cd $$subdir ; echo "making $$subdir" ; \ + mkdir STAGE2 ; mv *.com *.bci STAGE2/. ) \ + done + +unstage2: + for subdir in $(SUBDIRS); \ + do \ + ( cd $$subdir ; echo "making $$subdir" ; \ + mv STAGE2/* . ; rmdir STAGE2 ) \ + done + +rmstage2: + rm -rf $(SOURCES:foo=STAGE2) + +cpstage2: + for subdir in $(SUBDIRS); \ + do \ + ( cd $$subdir ; echo "making $$subdir" ; \ + cpx STAGE2/* . ) \ + done + +lnstage2: + for subdir in $(SUBDIRS); \ + do \ + ( cd $$subdir ; echo "making $$subdir" ; \ + ln STAGE2/* . ) \ + done + +stage3: + for subdir in $(SUBDIRS); \ + do \ + ( cd $$subdir ; echo "making $$subdir" ; \ + mkdir STAGE3 ; mv *.com *.bci STAGE3/. ) \ + done + +unstage3: + for subdir in $(SUBDIRS); \ + do \ + ( cd $$subdir ; echo "making $$subdir" ; \ + mv STAGE3/* . ; rmdir STAGE3 ) \ + done + +rmstage3: + rm -rf $(SOURCES:foo=STAGE3) + +cpstage3: + for subdir in $(SUBDIRS); \ + do \ + ( cd $$subdir ; echo "making $$subdir" ; \ + cpx STAGE3/* . ) \ + done + +lnstage3: + for subdir in $(SUBDIRS); \ + do \ + ( cd $$subdir ; echo "making $$subdir" ; \ + ln STAGE3/* . ) \ + done