#; ACL2 Version 3.1 -- A Computational Logic for Applicative Common Lisp #; Copyright (C) 2006 University of Texas at Austin #; This version of ACL2 is a descendent of ACL2 Version 1.9, Copyright #; (C) 1997 Computational Logic, Inc. See the documentation topic NOTES-2-0. #; 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. #; Written by: Matt Kaufmann and J Strother Moore #; email: Kaufmann@cs.utexas.edu and Moore@cs.utexas.edu #; Department of Computer Sciences #; University of Texas at Austin #; Austin, TX 78712-1188 U.S.A. # This file is to be included in other Makefiles. The include should be # preceded by a definition of DIRS, the list of subdirectories. all: @my_status=0 @for dir in $(DIRS) ; \ do \ if [ -f $$dir/Makefile ]; then \ (cd $$dir ; $(MAKE)) ; \ my_status=$$? ; \ if [ $$my_status -ne 0 ] ; then exit 1 ; fi ; \ fi \ done @exit $$my_status fasl: @for dir in $(DIRS) ; \ do \ if [ -f $$dir/Makefile ]; then \ (cd $$dir ; \ $(MAKE) fasl ; \ cd ..) ; \ fi \ done fas: @for dir in $(DIRS) ; \ do \ if [ -f $$dir/Makefile ]; then \ (cd $$dir ; \ $(MAKE) fas ; \ cd ..) ; \ fi \ done o: @for dir in $(DIRS) ; \ do \ if [ -f $$dir/Makefile ]; then \ (cd $$dir ; \ $(MAKE) o ; \ cd ..) ; \ fi \ done sparcf: @for dir in $(DIRS) ; \ do \ if [ -f $$dir/Makefile ]; then \ (cd $$dir ; \ $(MAKE) sparcf ; \ cd ..) ; \ fi \ done ufsl: @for dir in $(DIRS) ; \ do \ if [ -f $$dir/Makefile ]; then \ (cd $$dir ; \ $(MAKE) ufsl ; \ cd ..) ; \ fi \ done x86f: @for dir in $(DIRS) ; \ do \ if [ -f $$dir/Makefile ]; then \ (cd $$dir ; \ $(MAKE) x86f ; \ cd ..) ; \ fi \ done dfsl: @for dir in $(DIRS) ; \ do \ if [ -f $$dir/Makefile ]; then \ (cd $$dir ; \ $(MAKE) dfsl ; \ cd ..) ; \ fi \ done d64fsl: @for dir in $(DIRS) ; \ do \ if [ -f $$dir/Makefile ]; then \ (cd $$dir ; \ $(MAKE) d64fsl ; \ cd ..) ; \ fi \ done clean: @for dir in $(DIRS) ; \ do \ if [ -f $$dir/Makefile ]; then \ (cd $$dir ; \ $(MAKE) clean ; \ cd ..) ; \ fi \ done