#       $NetBSD: list,v 1.13 2020/10/04 09:45:44 rin Exp $

SRCDIRS external/bsd/less/bin
SRCDIRS bin sbin usr.bin usr.sbin

PROG    bin/cat
PROG    bin/chmod
PROG    bin/cp
PROG    bin/dd
PROG    bin/df
PROG    bin/ed
PROG    bin/ln
PROG    bin/ls
PROG    bin/mkdir
PROG    bin/mt
PROG    bin/mv
PROG    bin/pax         usr/bin/tar
PROG    bin/pwd
PROG    bin/rcmd
PROG    bin/rcp
PROG    bin/rm
PROG    bin/sh
PROG    bin/stty
PROG    bin/sync

PROG    sbin/chown      bin/chgrp
PROG    sbin/disklabel
PROG    sbin/dmesg
PROG    sbin/fdisk
PROG    sbin/fsck
PROG    sbin/fsck_ffs
PROG    sbin/fsck_ext2fs
PROG    sbin/ifconfig
PROG    sbin/init
PROG    sbin/mbrlabel
PROG    sbin/mknod
PROG    sbin/mount
PROG    sbin/mount_cd9660
PROG    sbin/mount_ext2fs
PROG    sbin/mount_ffs
PROG    sbin/mount_msdos
PROG    sbin/mount_nfs
PROG    sbin/newfs      sbin/mount_mfs
PROG    sbin/newfs_ext2fs
PROG    sbin/ping
PROG    sbin/reboot     sbin/halt
PROG    sbin/restore    sbin/rrestore
PROG    sbin/route
PROG    sbin/shutdown
PROG    sbin/slattach
PROG    sbin/swapctl    sbin/swapon
PROG    sbin/umount

PROG    usr/bin/ftp
PROG    usr/bin/gzip    usr/bin/gzcat   usr/bin/gunzip
PROG    usr/bin/more    usr/bin/less
PROG    usr/bin/sed
PROG    usr/bin/tset

PROG    usr/sbin/chroot

# init invokes the shell as -sh
ARGVLN  sh      -sh

SPECIAL disklabel       srcdir  distrib/utils/x_disklabel
SPECIAL ed              srcdir  distrib/utils/x_ed
SPECIAL fsck_ffs        srcdir  distrib/utils/x_fsck_ffs
SPECIAL gzip            srcdir  distrib/utils/x_gzip
SPECIAL ifconfig        srcdir  distrib/utils/x_ifconfig
SPECIAL newfs           srcdir  distrib/utils/x_newfs
SPECIAL ping            srcdir  distrib/utils/x_ping
SPECIAL route           srcdir  distrib/utils/x_route
SPECIAL umount          srcdir  distrib/utils/x_umount

SPECIAL more            srcdir  distrib/utils/more

LIBS    libhack.o -ledit -lutil -lcurses -lterminfo -lrmt -ll -lm -lz -lprop

COPY    ${DESTDIR}/usr/mdec/boot        usr/mdec/boot

# various files that we need in /etc for the install
COPY    ${NETBSDSRCDIR}/etc/group               etc/group
COPY    ${NETBSDSRCDIR}/etc/master.passwd       etc/master.passwd
COPY    ${NETBSDSRCDIR}/etc/netconfig           etc/netconfig
COPY    ${DISTRIBDIR}/common/protocols          etc/protocols
COPY    ${DISTRIBDIR}/common/services           etc/services

# and the boot script
COPY    ${CURDIR}/dot.profile           .profile