#	$NetBSD: list,v 1.16.4.3 2000/11/28 22:12:09 tv Exp $

# Sparc extra's
LINK	instbin			sbin/disklabel
LINK	instbin			sbin/dmesg
LINK	instbin			sbin/sysctl
LINK	instbin			bin/rcmd

SYMLINK	../../instbin		usr/bin/basename
SYMLINK ../../instbin		usr/bin/cksum usr/bin/sum
SYMLINK ../../instbin		usr/bin/getopt
SYMLINK ../../instbin		usr/bin/netstat
SYMLINK ../../instbin		usr/bin/rsh
SYMLINK ../../instbin		usr/bin/tset usr/bin/reset
SYMLINK ../../instbin		usr/bin/vi
SYMLINK	../../instbin		usr/bin/less usr/bin/more
SYMLINK ../../instbin		usr/bin/file

# crunchgen source directory specials
CRUNCHSPECIAL	vi srcdir usr.bin/vi/build
CRUNCHSPECIAL	less srcdir usr.bin/less/less
CRUNCHSPECIAL	sysinst srcdir distrib/utils/sysinst/arch/sparc

# for /kern
SPECIAL	mkdir kern

# Minimize use of MFS
SYMLINK	/tmp	var/tmp

# copy the MAKEDEV script and make some devices
SPECIAL	cd dev; sh ${DESTDIR}/dev/MAKEDEV all

# we need the contents of /usr/mdec
COPYDIR	${DESTDIR}/usr/mdec	usr/mdec

# the zoneinfo
COPYDIR	${DESTDIR}/usr/share/zoneinfo	usr/share/zoneinfo

# and the termcap file
COPY	${CURDIR}/../../share/termcap/termcap.src usr/share/misc/termcap

# and the magic file
COPY	${DESTDIR}/usr/share/misc/magic usr/share/misc/magic

# copy the kernel
COPY	${KERNOBJDIR:-${CURDIR}/../../sys/arch/sparc/compile/GENERIC}/GENERIC/netbsd	netbsd

# various files that we need in /etc for the install
COPY	${DESTDIR}/etc/disktab		etc/disktab.shadow
COPY	${DESTDIR}/etc/spwd.db		etc/spwd.db
LINK	etc/spwd.db			etc/pwd.db
SYMLINK	/tmp/disktab.shadow		etc/disktab
SYMLINK	/tmp/fstab.shadow		etc/fstab
SYMLINK	/tmp/resolv.conf.shadow		etc/resolv.conf
SYMLINK	/tmp/hosts			etc/hosts

# generate lists of obsolete files used by sysinst
SPECIAL sh ${CURDIR}/../sets/makeobsolete -b -s ${CURDIR}/../sets -t ./dist

# and the installation tools
LINK	instbin				sysinst
COPY	${ARCHDIR}/dot.profile		.profile
COPY	${ARCHDIR}/../install.md	install.md
COPY	${DESTDIR}/usr/mdec/boot	boot
SPECIAL sync; ${DESTDIR}/usr/mdec/binstall -m${DESTDIR}/usr/mdec -v ffs ${TARGDIR}
