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 dd df echo expr hostname kill ln ls mkdir
17 progs mv pwd rm rmdir sleep sync test
23 progs chown clri disklabel dmesg fdisk
24 progs mknod mount newfs ping reboot restore swapon umount
26 progs mount_msdos mount_cd9660
34 progs ftp more telnet vi grep
38 # finally, we specify the libraries to link in with our binary
40 libs -lcrypt -ltelnet -lutil -ll -lm
41 libs -lcurses -ltermcap -ledit -lgnuregex -lkvm -lz