1999-08-28 01:35:59 +00:00
|
|
|
# $FreeBSD$
|
1995-03-13 20:09:38 +00:00
|
|
|
|
|
|
|
# first, we list the source dirs that our programs reside in. These are
|
|
|
|
# searched in order listed to find the dir containing each program.
|
|
|
|
|
|
|
|
srcdirs /usr/src/bin /usr/src/sbin /usr/src/usr.bin /usr/src/usr.sbin
|
|
|
|
srcdirs /usr/src/gnu/usr.bin /usr/src/usr.bin/vi
|
2000-06-05 13:17:23 +00:00
|
|
|
srcdirs /usr/src/sbin/MACHINE
|
1995-03-13 20:09:38 +00:00
|
|
|
|
|
|
|
# second, we list all the programs we want to include in our crunched binary.
|
|
|
|
# The order doesn't matter. Any program that needs hard links to it gets an
|
|
|
|
# `ln' directive.
|
|
|
|
|
|
|
|
# /bin stuff
|
|
|
|
|
1999-12-14 22:41:09 +00:00
|
|
|
progs cat chmod chroot cp dd df echo expr kill ln ls mkdir
|
|
|
|
progs mv rm rmdir sleep sync
|
1995-03-13 20:09:38 +00:00
|
|
|
|
|
|
|
# /sbin stuff
|
|
|
|
|
1999-09-14 04:24:29 +00:00
|
|
|
progs chown clri disklabel dmesg fdisk
|
2000-01-07 08:03:25 +00:00
|
|
|
progs mknod mount reboot restore swapon umount
|
1995-04-20 06:48:31 +00:00
|
|
|
|
1999-09-09 21:20:55 +00:00
|
|
|
progs mount_msdos mount_cd9660
|
1996-11-09 16:25:47 +00:00
|
|
|
|
1995-03-13 20:09:38 +00:00
|
|
|
ln restore rrestore
|
1996-07-31 05:21:20 +00:00
|
|
|
ln chown chgrp
|
1995-03-13 20:09:38 +00:00
|
|
|
|
|
|
|
# /usr/bin stuff
|
|
|
|
|
2000-06-01 23:35:15 +00:00
|
|
|
progs ftp telnet vi grep
|
1996-11-09 12:08:57 +00:00
|
|
|
ln vi view
|
|
|
|
ln vi ex
|
1995-03-13 20:09:38 +00:00
|
|
|
|
|
|
|
# finally, we specify the libraries to link in with our binary
|
|
|
|
|
1997-07-29 21:32:52 +00:00
|
|
|
libs -lcrypt -ltelnet -lutil -ll -lm
|
1998-09-19 01:46:22 +00:00
|
|
|
libs -lcurses -ltermcap -ledit -lgnuregex -lkvm -lz
|