1999-08-28 03:35:59 +02:00
|
|
|
# $FreeBSD$
|
1995-03-13 21:09:38 +01: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
|
|
|
|
srcdirs /usr/src/sbin/i386
|
|
|
|
|
|
|
|
# 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
|
|
|
|
|
1995-04-20 08:48:31 +02:00
|
|
|
progs cat chmod chroot cp date dd df echo ed expr hostname kill ln ls mkdir
|
1999-06-09 11:08:22 +02:00
|
|
|
progs mt mv pwd rm rmdir sleep stty sync test
|
1995-03-13 21:09:38 +01:00
|
|
|
|
|
|
|
ln test [
|
|
|
|
|
|
|
|
# /sbin stuff
|
|
|
|
|
1996-11-09 17:25:47 +01:00
|
|
|
progs badsect chown clri disklabel dump dmesg fdisk ft
|
1998-09-19 03:46:22 +02:00
|
|
|
progs mknod mount newfs ping reboot restore swapon umount
|
1995-04-20 08:48:31 +02:00
|
|
|
|
|
|
|
progs mount_msdos mount_cd9660 mount_nfs
|
1996-11-09 17:25:47 +01:00
|
|
|
|
1995-03-13 21:09:38 +01:00
|
|
|
ln dump rdump
|
|
|
|
ln restore rrestore
|
1995-12-07 11:34:59 +01:00
|
|
|
ln newfs mount_mfs
|
1996-07-31 07:21:20 +02:00
|
|
|
ln chown chgrp
|
1995-03-13 21:09:38 +01:00
|
|
|
|
|
|
|
# /usr/bin stuff
|
|
|
|
|
1999-06-09 11:08:22 +02:00
|
|
|
progs ftp more sed telnet vi find grep
|
1996-11-09 13:08:57 +01:00
|
|
|
ln vi view
|
|
|
|
ln vi ex
|
1995-03-13 21:09:38 +01:00
|
|
|
|
|
|
|
# finally, we specify the libraries to link in with our binary
|
|
|
|
|
1997-07-29 23:32:52 +02:00
|
|
|
libs -lcrypt -ltelnet -lutil -ll -lm
|
1998-09-19 03:46:22 +02:00
|
|
|
libs -lcurses -ltermcap -ledit -lgnuregex -lkvm -lz
|