#	$OpenBSD: list,v 1.37 2005/03/30 20:27:57 deraadt Exp $
#	$NetBSD: list,v 1.4.4.1 1996/06/20 20:30:26 pk Exp $

SRCDIRS distrib/special
SRCDIRS bin sbin usr.bin usr.sbin

# copy the crunched binary, link to it, and kill it
COPY	${OBJDIR}/instbin			instbin
LINK	instbin					bin/cat
LINK	instbin					bin/chmod bin/chgrp sbin/chown
LINK	instbin					bin/cp
LINK	instbin					bin/dd
LINK	instbin					bin/df
LINK	instbin					bin/ed
LINK	instbin					bin/expr
LINK	instbin					bin/hostname
LINK	instbin					bin/ksh bin/sh
ARGVLINK ksh					-sh
LINK	instbin					bin/ln
LINK	instbin					bin/ls
LINK	instbin					bin/mkdir
LINK	instbin					bin/mt
LINK	instbin					bin/mv
LINK	instbin					bin/pax bin/tar bin/cpio
LINK	instbin					bin/rm
LINK	instbin					bin/stty
LINK	instbin					bin/sync
LINK	instbin					sbin/dmesg
LINK	instbin					sbin/fsck
LINK	instbin					sbin/fsck_ffs
LINK	instbin					sbin/ifconfig
LINK	instbin					sbin/init
LINK	instbin					sbin/mknod
LINK	instbin					sbin/mount
LINK	instbin					sbin/mount_cd9660
LINK	instbin					sbin/mount_udf
LINK	instbin					sbin/mount_ffs
LINK	instbin					sbin/mount_nfs
LINK	instbin					sbin/newfs sbin/mount_mfs
LINK	instbin					sbin/ping
LINK	instbin					sbin/ping6
LINK	instbin					sbin/reboot sbin/halt
LINK	instbin					sbin/route
LINK	instbin					sbin/rtsol
LINK	instbin					sbin/umount
LINK	instbin					usr/bin/ftp
LINK	instbin					usr/bin/gzip usr/bin/gunzip usr/bin/gzcat
LINK	instbin					usr/bin/sed

# various files that we need in /etc for the install
COPY	${DESTDIR}/etc/group			etc/group
COPY	${DESTDIR}/etc/spwd.db			etc/spwd.db
COPY	${CURDIR}/../miniroot/protocols		etc/protocols
COPY	${CURDIR}/../miniroot/services		etc/services

# and the installation scripts
SCRIPT	${CURDIR}/dot.profile			.profile
SCRIPT	${CURDIR}/upgrade.sh			upgrade
SCRIPT	${CURDIR}/install.sh			install
SCRIPT	${CURDIR}/install.sub			install.sub
SPECIAL	chmod 755 install upgrade