# BuildSystemHeader added automatically
/**/# $Header: [Imakefile,v 1.7.1.5 93/02/02 14:47:06 sencan Exp ]$

# THIS FILE IS OLD AND MERELY ILLUSTRATIVE OF WHAT INCKIT IS USED FOR
#	By adding files into this component, and installing them in INCLUDESRC,
#	the files will be found before usr/include when building.  This can
#	be useful for integrating tty driver headers, and the like which
#	are not or have not made it into the base system by the time
# 	of the build.

/**/# these are headers which are not in the current base system, but should
/**/# make their way into it eventually, then be taken out of the build

/**/# Now they'll be put into the INCLUDESRC/ so that they never become a 
/**/# part of the kit
BASE_SYS_HDRS=inputdevice.h  wsdevice.h
#MACHINE_FILES=dc7085cons.h dc7085reg.h pmevent.h pmioctl.h pmreg.h cfbreg.h
MACHINE_FILES=cpuconf.h cachectl.h pmagdv.h

INCFILES=cda_pdf.h asm.h regdef.h $(DVS_FILES)
DVS_FILES = dvr_cc_def.h dvr_cc_int.h dvr_cc_ptp.h dvr_int.h dvr_msg.h \
	cda_ityp.h cda_typ.h cda_pdf.h cda_ptp.h dvs_arr.h \
	dvs_def.h dvs_int.h dvs_ptp.h
IDL_C_FILES=pfm.h rpc.h
NETDNET_FILES=dn.h dnetdb.h
SYS_FILES=devio.h   

# define	InstallMultipleAndClean(files,where)	@@\
InstallMultiple(files,where)				@@\
							@@\
clean::							@@\
	@-(set -x; cd where; for i in files; do \	@@\
		$(RM) $$i;\				@@\
	done)
	
/*
 * MakeDirectories(install, $(INCLUDESRC)/sys)
 * InstallMultipleAndClean($(BASE_SYS_HDRS), $(INCLUDESRC)/sys)
 * 
 * MakeDirectories(install, $(INCLUDESRC)/machine)
 * InstallMultipleAndClean($(MACHINE_FILES), $(INCLUDESRC)/machine)
 */

InstallMultipleAndClean($(INCFILES), $(INCLUDESRC))

MakeDirectories(install, $(INCLUDESRC)/machine)
InstallMultipleAndClean($(MACHINE_FILES),  $(INCLUDESRC)/machine)

MakeDirectories(install, $(INCLUDESRC)/idl/c)
InstallMultipleAndClean($(IDL_C_FILES),  $(INCLUDESRC)/idl/c)

MakeDirectories(install, $(INCLUDESRC)/netdnet)
InstallMultipleAndClean($(NETDNET_FILES),  $(INCLUDESRC)/netdnet)

MakeDirectories(install, $(INCLUDESRC)/sys)
InstallMultipleAndClean($(SYS_FILES),  $(INCLUDESRC)/sys)
