summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>2003-09-02 06:43:58 +0000
committerphk <phk@FreeBSD.org>2003-09-02 06:43:58 +0000
commitaa66e2a22f2062dc9cc1869d28f4c5c564991173 (patch)
tree5bd88f1d734a92983991527a5d873005cc8347e0
parentb472eed434cfe64cbfd13c7ba58a1ac92674de6d (diff)
downloadFreeBSD-src-aa66e2a22f2062dc9cc1869d28f4c5c564991173.zip
FreeBSD-src-aa66e2a22f2062dc9cc1869d28f4c5c564991173.tar.gz
Teach rescue about NOATM, NO_VINUM and NOINET6
-rw-r--r--rescue/rescue/Makefile23
1 files changed, 18 insertions, 5 deletions
diff --git a/rescue/rescue/Makefile b/rescue/rescue/Makefile
index a0a640c..c8dd2e4 100644
--- a/rescue/rescue/Makefile
+++ b/rescue/rescue/Makefile
@@ -102,17 +102,30 @@ CRUNCH_SUPPRESS_LINK_-tcsh= 1
# headers in addition to the standard 'paths.h' header.
#
CRUNCH_SRCDIRS+= sbin
-CRUNCH_PROGS_sbin= atm atmconfig atacontrol badsect bsdlabel \
+CRUNCH_PROGS_sbin= atacontrol badsect bsdlabel \
camcontrol ccdconfig clri devfs dmesg dump \
dumpfs dumpon fore_dnld fsck fsck_ffs fsck_msdosfs fsdb \
- fsirand gbde ifconfig ilmid init \
+ fsirand gbde ifconfig init \
kldconfig kldload kldstat kldunload ldconfig \
md5 mdconfig mdmfs mknod mount mount_cd9660 mount_ext2fs \
mount_msdosfs mount_nfs mount_ntfs mount_nullfs \
mount_std mount_udf mount_umapfs mount_unionfs newfs \
- newfs_msdos nos-tun ping ping6 raidctl reboot \
+ newfs_msdos nos-tun ping raidctl reboot \
restore rcorder route routed rtquery rtsol savecore \
- slattach spppcontrol startslip swapon sysctl tunefs umount vinum
+ slattach spppcontrol startslip swapon sysctl tunefs umount
+
+.if !defined(NOATM)
+CRUNCH_PROGS_sbin+= atm atmconfig ilmid
+CRUNCH_LIBS+= -latm
+.endif
+
+.if !defined(NOINET6)
+CRUNCH_PROGS_sbin+= ping6
+.endif
+
+.if !defined(NO_VINUM)
+CRUNCH_PROGS_sbin+= vinum
+.endif
.if !defined(NO_IPFILTER)
CRUNCH_PROGS_sbin+= ipf ipfs ipfstat ipmon ipnat
@@ -121,7 +134,7 @@ CRUNCH_PROGS_sbin+= ipf ipfs ipfstat ipmon ipnat
# crunchgen does not like C++ programs; this should be fixed someday
# CRUNCH_PROGS+= devd
-CRUNCH_LIBS+= -lalias -latm -lbsdxml -lcam -lcurses -ldevstat -lipsec -lipx \
+CRUNCH_LIBS+= -lalias -lbsdxml -lcam -lcurses -ldevstat -lipsec -lipx \
-lgeom -lmd -lreadline -lsbuf -lufs -lz
.if ${MACHINE_ARCH} == "i386"
OpenPOWER on IntegriCloud