3 # first, we list the source dirs that our programs reside in. These are
4 # searched in order listed to find the dir containing each program.
6 srcdirs /usr/src/bin /usr/src/sbin /usr/src/usr.bin /usr/src/usr.sbin
7 srcdirs /usr/src/gnu/usr.bin /usr/src/usr.bin/vi
8 srcdirs /usr/src/sbin/i386
10 # second, we list all the programs we want to include in our crunched binary.
11 # The order doesn't matter. Any program that needs hard links to it gets an
16 progs cat chmod chroot cp date dd df echo ed expr hostname kill ln ls mkdir
17 progs mt mv pwd rm rmdir sleep stty sync test
23 progs badsect chown clri disklabel dump dmesg fdisk ft
24 progs mknod mount newfs ping reboot restore swapon umount
26 progs mount_msdos mount_cd9660 mount_nfs
35 progs ftp more sed telnet vi find grep
39 # finally, we specify the libraries to link in with our binary
41 libs -lcrypt -ltelnet -lutil -ll -lm
42 libs -lcurses -ltermcap -ledit -lgnuregex -lkvm -lz