#
# Buildfile for V kernel
# All versions (too many)
# Tim Mann, Nov. 10, 1983
#

# Not in use:
# sun1+ec, sun1.5+ec, sun2+ec+idk, sun1+ec+idk, sun1+ex,
# sun1+en+idk, sun1+ex+idk, vax750+xe3

#include ../buildprefix

SUBDIRS=sun2+ec \
	sun50 \
	sun3+ie \
	sun2+ec+xyl \
	sun1+en \
	sun1.5+ec \
	sun1.4+ec \
	vaxu+qna

KERNELS=sun2+ec/sun2+ec \
	sun50/sun50 \
	sun3+ie/sun3+ie \
	sun2+ec+xyl/sun2+ec+xyl \
	sun1+en/sun1+en \
	sun1.5+ec/sun1.5+ec \
	sun1.4+ec/sun1.4+ec \
	vaxu+qna/vaxu+qna

SRCDIRS=mi m68k

all:
	domake "$(SUBDIRS)" "build $(MFLAGS)"

depend:
	domake "$(SUBDIRS)" "build $(MFLAGS) depend"

tags:
	domake "$(SUBDIRS)" "build $(MFLAGS) tags"

# Standard buildfile entries
clean:
	rm -f *.o *.b *.s *.ls *.BAK *.CKP .emacs* .netupd* tags
	domake "$(SUBDIRS)" "build $(MFLAGS) clean"

install:
	domake "$(SUBDIRS)" "build $(MFLAGS) install"
	$(NETINSTALL) -p "$(KERNELS)" $(VSYS)/boot/Vkernel

