# 
# Makefile
#
# x-kernel v3.1	12/10/90
#
# Copyright (C) 1990  Larry L. Peterson and Norman C. Hutchinson
#

all:	makelib makeutil
	-if ./bin/sun; then cd sun3_ie; $(MAKE) dotodirs all; fi
	-if ./bin/sun; then cd sun3_le; $(MAKE) dotodirs all; fi
	-if ./bin/sun; then cd simul_sun; $(MAKE) dotodirs all; fi
	-if ./bin/sun; then cd simul_sun_unix; $(MAKE) dotodirs all; fi
	-if ./bin/vax; then cd simul_vax; $(MAKE) dotodirs all; fi
	-if ./bin/vax; then cd simul_vax_unix; $(MAKE) dotodirs all; fi

makelib:
	cd ./lib; $(MAKE) libs

makeutil:
	cd ./util; $(MAKE) clean; $(MAKE) install

tar xkernel.tar:
	./TAR
