#buildfile for /xV/libc/*/m68k
#
# Written by James WIlson
# February 25, 1985
#

DIRLISTS = header.list
OBJECTS =
SOURCES =

# This defines the HEADERS macro
#include header.list

#include ../../m68k/buildtemplate
#include dependencies

all:

.PRECIOUS: install

# Only install the files which have changed since the last "make install"
install: $(HEADERS)
	$(NETINSTALL) "$?" $(VSYS)/include/$(MACHINE)
	touch install

#Install everything
install-all:
	rm -f install
	build install

# Create a list of header file names
header.list: . $(MI)
	echo "HEADERS = \\" > header.list
	ls *.h > tmp
	ls $(MI)/*.h >> tmp
	<tmp awk -f ../../unique.awk | sed -e '$$!s@h$$@h\\@' >> header.list
	rm tmp
