mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2024-12-18 22:15:46 +01:00
Default to WARNS=2.
Binary builds that cannot handle this must explicitly set WARNS=0. Reviewed by: mike
This commit is contained in:
parent
a748290789
commit
2d68bf45bf
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=87325
@ -3,3 +3,4 @@
|
||||
|
||||
BINDIR?= /sbin
|
||||
NOSHARED?= YES
|
||||
WARNS?= 2
|
||||
|
@ -1,7 +1,6 @@
|
||||
# $FreeBSD$
|
||||
|
||||
PROG= adjkerntz
|
||||
WARNS?= 2
|
||||
MAN= adjkerntz.8
|
||||
|
||||
.include <bsd.prog.mk>
|
||||
|
@ -1,5 +1,7 @@
|
||||
#$FreeBSD$
|
||||
|
||||
PROG= atacontrol
|
||||
WARNS= 0
|
||||
MAN= atacontrol.8
|
||||
|
||||
.include <bsd.prog.mk>
|
||||
|
@ -33,6 +33,7 @@ SRCS= atm.c atm_fore200.c atm_eni.c atm_inet.c atm_print.c \
|
||||
MAN= atm.8
|
||||
|
||||
CFLAGS+= -I${.CURDIR}/../../../sys
|
||||
WARNS= 0
|
||||
LDADD+= -latm
|
||||
DPADD+= ${LIBATM}
|
||||
|
||||
|
@ -32,6 +32,7 @@ MAN= fore_dnld.8
|
||||
SRCS= fore_dnld.c pca200e.c
|
||||
|
||||
CFLAGS+= -I${.CURDIR}/../../../sys
|
||||
WARNS= 0
|
||||
LDADD+= -latm
|
||||
DPADD+= ${LIBATM}
|
||||
|
||||
|
@ -31,6 +31,7 @@ PROG= ilmid
|
||||
MAN= ilmid.8
|
||||
|
||||
CFLAGS+= -I${.CURDIR}/../../../sys
|
||||
WARNS= 0
|
||||
LDADD+= -latm
|
||||
DPADD+= ${LIBATM}
|
||||
|
||||
|
@ -2,6 +2,7 @@
|
||||
# $FreeBSD$
|
||||
|
||||
PROG= badsect
|
||||
WARNS= 0
|
||||
MAN= badsect.8
|
||||
|
||||
.include <bsd.prog.mk>
|
||||
|
@ -8,5 +8,6 @@ MAN= disklabel.5 disklabel.8
|
||||
.if ${MACHINE} == "pc98"
|
||||
CFLAGS+= -DPC98
|
||||
.endif
|
||||
WARNS= 0
|
||||
|
||||
.include <bsd.prog.mk>
|
||||
|
@ -7,6 +7,7 @@ MAN= camcontrol.8
|
||||
SDIR= ${.CURDIR}/../../sys
|
||||
|
||||
CFLAGS+= -I${SDIR}
|
||||
WARNS= 0
|
||||
DPADD= ${LIBCAM} ${LIBSBUF}
|
||||
LDADD+= -lcam -lsbuf
|
||||
|
||||
|
@ -1,6 +1,7 @@
|
||||
# $FreeBSD$
|
||||
|
||||
PROG= ccdconfig
|
||||
WARNS= 0
|
||||
MAN= ccdconfig.8
|
||||
|
||||
.include <bsd.prog.mk>
|
||||
|
@ -2,7 +2,6 @@
|
||||
# $FreeBSD$
|
||||
|
||||
PROG= clri
|
||||
WARNS?= 2
|
||||
MAN= clri.8
|
||||
|
||||
.include <bsd.prog.mk>
|
||||
|
@ -2,6 +2,7 @@
|
||||
# $FreeBSD$
|
||||
|
||||
PROG= comcontrol
|
||||
WARNS= 0
|
||||
MAN= comcontrol.8
|
||||
|
||||
.include <bsd.prog.mk>
|
||||
|
@ -1,7 +1,6 @@
|
||||
# $FreeBSD$
|
||||
|
||||
PROG= conscontrol
|
||||
WARNS?= 2
|
||||
MAN= conscontrol.8
|
||||
|
||||
.include <bsd.prog.mk>
|
||||
|
@ -1,7 +1,6 @@
|
||||
# $FreeBSD$
|
||||
|
||||
PROG= cxconfig
|
||||
WARNS?= 2
|
||||
MAN= cxconfig.8
|
||||
|
||||
.include <bsd.prog.mk>
|
||||
|
@ -12,6 +12,7 @@ SRCS+= alloc.c bpf.c conflex.c convert.c dispatch.c errwarn.c ethernet.c \
|
||||
|
||||
CFLAGS+= -I${DIST_DIR}/includes -I${DIST_DIR}
|
||||
CFLAGS+= -DCLIENT_PATH='"PATH=/sbin:/bin:/usr/sbin:/usr/bin"' -Dwarn=dhcp_warn
|
||||
WARNS= 0
|
||||
|
||||
SCRIPTS= scripts/freebsd
|
||||
SCRIPTSNAME= dhclient-script
|
||||
|
@ -8,5 +8,6 @@ MAN= disklabel.5 disklabel.8
|
||||
.if ${MACHINE} == "pc98"
|
||||
CFLAGS+= -DPC98
|
||||
.endif
|
||||
WARNS= 0
|
||||
|
||||
.include <bsd.prog.mk>
|
||||
|
@ -2,6 +2,7 @@
|
||||
# $FreeBSD$
|
||||
|
||||
PROG= dmesg
|
||||
WARNS= 0
|
||||
MAN= dmesg.8
|
||||
LDADD= -lkvm
|
||||
DPADD= ${LIBKVM}
|
||||
|
@ -17,6 +17,7 @@ PROG= dump
|
||||
LINKS= ${BINDIR}/dump ${BINDIR}/rdump
|
||||
CFLAGS+=-DRDUMP
|
||||
CFLAGS+=-I${.CURDIR}/../../libexec/rlogind
|
||||
WARNS= 0
|
||||
SRCS= itime.c main.c optr.c dumprmt.c tape.c traverse.c unctime.c
|
||||
MAN= dump.8
|
||||
MLINKS+=dump.8 rdump.8
|
||||
|
@ -2,6 +2,7 @@
|
||||
# $FreeBSD$
|
||||
|
||||
PROG= dumpfs
|
||||
WARNS= 0
|
||||
MAN= dumpfs.8
|
||||
|
||||
.include <bsd.prog.mk>
|
||||
|
@ -1,6 +1,7 @@
|
||||
# $FreeBSD$
|
||||
|
||||
PROG= dumpon
|
||||
WARNS= 0
|
||||
MAN= dumpon.8
|
||||
|
||||
.include <bsd.prog.mk>
|
||||
|
@ -1,6 +1,7 @@
|
||||
# $FreeBSD$
|
||||
|
||||
PROG= fdisk
|
||||
WARNS= 0
|
||||
MAN= fdisk.8
|
||||
|
||||
.include <bsd.prog.mk>
|
||||
|
@ -4,5 +4,6 @@ PROG= fdisk
|
||||
MAN= fdisk.8
|
||||
|
||||
CFLAGS += -DPC98
|
||||
WARNS= 0
|
||||
|
||||
.include <bsd.prog.mk>
|
||||
|
@ -14,6 +14,8 @@ MAN= ffsinfo.8
|
||||
|
||||
GROWFS= ${.CURDIR}/../growfs
|
||||
CFLAGS+=-DFS_DEBUG -I${GROWFS}
|
||||
WARNS= 0
|
||||
|
||||
.PATH: ${GROWFS}
|
||||
|
||||
.include <bsd.prog.mk>
|
||||
|
@ -3,6 +3,7 @@
|
||||
|
||||
PROG= fsck
|
||||
SRCS= fsck.c fsutil.c preen.c
|
||||
WARNS= 0
|
||||
MAN= fsck.8
|
||||
|
||||
.include <bsd.prog.mk>
|
||||
|
@ -7,7 +7,8 @@ LINKS+= ${BINDIR}/fsck_ffs ${BINDIR}/fsck_4.2bsd
|
||||
MAN= fsck_ffs.8
|
||||
SRCS= dir.c fsutil.c inode.c main.c pass1.c pass1b.c pass2.c pass3.c pass4.c \
|
||||
pass5.c setup.c utilities.c ffs_subr.c ffs_tables.c
|
||||
CFLAGS+=-W
|
||||
WARNS= 0
|
||||
|
||||
.PATH: ${.CURDIR}/../../sys/ufs/ffs
|
||||
|
||||
.include <bsd.prog.mk>
|
||||
|
@ -296,6 +296,10 @@ If the
|
||||
.Pa lost+found
|
||||
directory does not exist, it is created.
|
||||
If there is insufficient space its size is increased.
|
||||
.Sh RETURN VALUES
|
||||
.Nm
|
||||
returns the value 0 if successful;
|
||||
otherwise the following values are returned to indicate the error.
|
||||
.Sh FILES
|
||||
.Bl -tag -width /etc/fstab -compact
|
||||
.It Pa /etc/fstab
|
||||
|
@ -5,7 +5,8 @@ PROG= fsck_ifs
|
||||
NOMAN= true
|
||||
SRCS= dir.c fsutil.c inode.c main.c pass1.c pass1b.c pass2.c pass3.c pass4.c \
|
||||
pass5.c setup.c utilities.c ffs_subr.c ffs_tables.c
|
||||
CFLAGS+=-W
|
||||
WARNS= 0
|
||||
|
||||
.PATH: ${.CURDIR}/../../sys/ufs/ffs
|
||||
|
||||
.include <bsd.prog.mk>
|
||||
|
@ -9,5 +9,6 @@ MAN= fsck_msdosfs.8
|
||||
SRCS= main.c check.c boot.c fat.c dir.c fsutil.c
|
||||
|
||||
CFLAGS+= -I${FSCK}
|
||||
WARNS= 0
|
||||
|
||||
.include <bsd.prog.mk>
|
||||
|
@ -8,6 +8,7 @@ SRCS= fsdb.c fsdbutil.c \
|
||||
dir.c fsutil.c inode.c pass1.c pass1b.c pass2.c pass3.c pass4.c \
|
||||
pass5.c preen.c setup.c utilities.c ffs_subr.c ffs_tables.c
|
||||
CFLAGS+= -I${.CURDIR}/../fsck_ffs
|
||||
WARNS= 0
|
||||
LDADD+= -ledit -ltermcap
|
||||
DPADD+= ${LIBEDIT} ${LIBTERMCAP}
|
||||
.PATH: ${.CURDIR}/../fsck_ffs ${.CURDIR}/../../sys/ufs/ffs
|
||||
|
@ -2,6 +2,7 @@
|
||||
# $FreeBSD$
|
||||
|
||||
PROG= fsirand
|
||||
WARNS= 0
|
||||
MAN= fsirand.8
|
||||
DPADD= ${LIBUTIL}
|
||||
LDADD= -lutil
|
||||
|
@ -17,5 +17,6 @@ MAN= growfs.8
|
||||
SRCS+= debug.c
|
||||
CFLAGS+=-DFS_DEBUG
|
||||
.endif
|
||||
WARNS= 0
|
||||
|
||||
.include <bsd.prog.mk>
|
||||
|
@ -9,6 +9,7 @@ SRCS+= ifmedia.c
|
||||
CFLAGS+=-DUSE_IF_MEDIA
|
||||
.if !defined(RELEASE_CRUNCH)
|
||||
CFLAGS+=-DINET6
|
||||
WARNS= 0
|
||||
|
||||
#comment out to exclude SIOC[GS]ETVLAN support
|
||||
SRCS+= ifvlan.c
|
||||
|
@ -7,6 +7,7 @@ MLINKS= init.8 securelevel.8
|
||||
BINMODE=500
|
||||
INSTALLFLAGS=-fschg -b -B.bak
|
||||
CFLAGS+=-DDEBUGSHELL -DSECURE -DLOGIN_CAP -DCOMPAT_SYSV_INIT
|
||||
WARNS= 0
|
||||
DPADD= ${LIBUTIL} ${LIBCRYPT}
|
||||
LDADD= -lutil -lcrypt
|
||||
|
||||
|
@ -1,6 +1,7 @@
|
||||
# $FreeBSD$
|
||||
|
||||
PROG= ip6fw
|
||||
WARNS= 0
|
||||
MAN= ip6fw.8
|
||||
|
||||
.include <bsd.prog.mk>
|
||||
|
@ -8,6 +8,7 @@ SRCS= ipf.c parse.c opt.c facpri.c common.c
|
||||
CFLAGS+=-DUSE_INET6 -DIPL_NAME=\"/dev/ipl\"
|
||||
CFLAGS+=-I${.CURDIR}/../../sys/contrib/ipfilter/netinet
|
||||
CFLAGS+=-I${.CURDIR}/../../contrib/ipfilter
|
||||
WARNS= 0
|
||||
|
||||
MAINTAINER= guido@freebsd.org
|
||||
|
||||
|
@ -8,6 +8,7 @@ SRCS= ipfs.c
|
||||
CFLAGS+=-DUSE_INET6 -DIPL_NAME=\"/dev/ipl\"
|
||||
CFLAGS+=-I${.CURDIR}/../../sys/contrib/ipfilter/netinet
|
||||
CFLAGS+=-I${.CURDIR}/../../contrib/ipfilter
|
||||
WARNS= 0
|
||||
|
||||
MAINTAINER= darrenr@freebsd.org
|
||||
|
||||
|
@ -9,6 +9,7 @@ CFLAGS+=-DUSE_INET6 -DIPL_NAME=\"/dev/ipl\" -DSTATETOP
|
||||
CFLAGS+=-I${.CURDIR}/../../sys/contrib/ipfilter/netinet
|
||||
CFLAGS+=-I${.CURDIR}/../../sys/contrib/ipfilter
|
||||
CFLAGS+=-I${.CURDIR}/../../contrib/ipfilter
|
||||
WARNS= 0
|
||||
|
||||
DPADD= ${LIBNCURSES}
|
||||
LDADD= -lncurses
|
||||
|
@ -1,7 +1,7 @@
|
||||
# $FreeBSD$
|
||||
|
||||
PROG= ipfw
|
||||
WARNS= 0
|
||||
MAN= ipfw.8
|
||||
CFLAGS+=-Wall
|
||||
|
||||
.include <bsd.prog.mk>
|
||||
|
@ -7,6 +7,7 @@ MAN= ipl.4 ipmon.8
|
||||
SRCS= ipmon.c
|
||||
|
||||
CFLAGS+=-DUSE_INET6 -DIPL_NAME=\"/dev/ipl\" -I${.CURDIR}/../../contrib/ipfilter
|
||||
WARNS= 0
|
||||
|
||||
MAINTAINER= guido@freebsd.org
|
||||
|
||||
|
@ -9,6 +9,7 @@ SRCS= ipnat.c kmem.c natparse.c common.c
|
||||
CFLAGS+=-DUSE_INET6 -DIPL_NAME=\"/dev/ipl\"
|
||||
CFLAGS+=-I${.CURDIR}/../../sys/contrib/ipfilter/netinet
|
||||
CFLAGS+=-I${.CURDIR}/../../contrib/ipfilter
|
||||
WARNS= 0
|
||||
|
||||
MAINTAINER= guido@freebsd.org
|
||||
|
||||
|
@ -1,6 +1,7 @@
|
||||
# $FreeBSD$
|
||||
#
|
||||
PROG= kget
|
||||
WARNS= 0
|
||||
MAN= kget.8
|
||||
|
||||
.include <bsd.prog.mk>
|
||||
|
@ -29,6 +29,4 @@
|
||||
PROG= kldconfig
|
||||
MAN= kldconfig.8
|
||||
|
||||
WARNS?= 2
|
||||
|
||||
.include <bsd.prog.mk>
|
||||
|
@ -27,7 +27,6 @@
|
||||
#
|
||||
|
||||
PROG= kldload
|
||||
WARNS?= 2
|
||||
MAN= kldload.8
|
||||
|
||||
.include <bsd.prog.mk>
|
||||
|
@ -27,6 +27,7 @@
|
||||
#
|
||||
|
||||
PROG= kldstat
|
||||
WARNS= 0
|
||||
MAN= kldstat.8
|
||||
|
||||
.include <bsd.prog.mk>
|
||||
|
@ -27,6 +27,7 @@
|
||||
#
|
||||
|
||||
PROG= kldunload
|
||||
WARNS= 0
|
||||
MAN= kldunload.8
|
||||
|
||||
.include <bsd.prog.mk>
|
||||
|
@ -4,6 +4,7 @@ PROG= ldconfig
|
||||
SRCS= elfhints.c ldconfig.c shlib.c support.c
|
||||
LDDIR?= ${.CURDIR}/../../libexec/rtld-aout
|
||||
CFLAGS+=-I${LDDIR} -DFREEBSD_AOUT
|
||||
WARNS= 0
|
||||
MAN= ldconfig.8
|
||||
|
||||
.PATH: ${LDDIR}
|
||||
|
@ -6,6 +6,4 @@ PROG= md5
|
||||
LDADD+= -lmd
|
||||
DPADD+= ${LIBMD}
|
||||
|
||||
WARNS?= 2
|
||||
|
||||
.include <bsd.prog.mk>
|
||||
|
@ -1,7 +1,6 @@
|
||||
# $FreeBSD$
|
||||
|
||||
PROG= mdconfig
|
||||
WARNS?= 2
|
||||
MAN= mdconfig.8
|
||||
MLINKS= mdconfig.8 vnconfig.8
|
||||
|
||||
|
@ -2,6 +2,5 @@
|
||||
|
||||
PROG= mdmfs
|
||||
MAN= mdmfs.8
|
||||
WARNS?= 2
|
||||
|
||||
.include <bsd.prog.mk>
|
||||
|
@ -2,6 +2,7 @@
|
||||
# $FreeBSD$
|
||||
|
||||
PROG= mknod
|
||||
WARNS= 0
|
||||
MAN= mknod.8
|
||||
|
||||
.include <bsd.prog.mk>
|
||||
|
@ -3,6 +3,7 @@
|
||||
|
||||
PROG= mount
|
||||
SRCS= mount.c mount_ufs.c getmntopts.c vfslist.c
|
||||
WARNS= 0
|
||||
MAN= mount.8
|
||||
# We do NOT install the getmntopts.3 man page.
|
||||
|
||||
|
@ -7,6 +7,8 @@ MAN= mount_cd9660.8
|
||||
|
||||
MOUNT= ${.CURDIR}/../mount
|
||||
CFLAGS+= -I${MOUNT}
|
||||
WARNS= 0
|
||||
|
||||
.PATH: ${MOUNT}
|
||||
|
||||
.include <bsd.prog.mk>
|
||||
|
@ -7,6 +7,8 @@ MAN= mount_ext2fs.8
|
||||
|
||||
MOUNT= ${.CURDIR}/../mount
|
||||
CFLAGS+= -I${MOUNT}
|
||||
WARNS= 0
|
||||
|
||||
.PATH: ${MOUNT}
|
||||
|
||||
.include <bsd.prog.mk>
|
||||
|
@ -8,6 +8,8 @@ MAN= mount_hpfs.8
|
||||
|
||||
MOUNT= ${.CURDIR}/../mount
|
||||
CFLAGS+=-I${MOUNT} -DHPFS
|
||||
WARNS= 0
|
||||
|
||||
.PATH: ${MOUNT}
|
||||
|
||||
.include <bsd.prog.mk>
|
||||
|
@ -7,6 +7,8 @@ NOMAN= noman
|
||||
|
||||
MOUNT= ${.CURDIR}/../mount
|
||||
CFLAGS+= -I${MOUNT}
|
||||
WARNS= 0
|
||||
|
||||
.PATH: ${MOUNT}
|
||||
|
||||
.include <bsd.prog.mk>
|
||||
|
@ -10,6 +10,8 @@ LDADD= -lutil
|
||||
|
||||
MOUNT= ${.CURDIR}/../mount
|
||||
CFLAGS+= -I${MOUNT}
|
||||
WARNS= 0
|
||||
|
||||
.PATH: ${MOUNT}
|
||||
|
||||
TABDIR= ${DESTDIR}${LIBDATADIR}/msdosfs
|
||||
|
@ -9,6 +9,8 @@ MAN= mount_nfs.8
|
||||
MOUNT= ${.CURDIR}/../mount
|
||||
UMNTALL= ${.CURDIR}/../../usr.sbin/rpc.umntall
|
||||
CFLAGS+= -DNFS -I${MOUNT} -I${UMNTALL}
|
||||
WARNS= 0
|
||||
|
||||
.PATH: ${MOUNT} ${UMNTALL}
|
||||
|
||||
.include <bsd.prog.mk>
|
||||
|
@ -10,6 +10,8 @@ LDADD= -lutil
|
||||
|
||||
MOUNT= ${.CURDIR}/../mount
|
||||
CFLAGS+=-I${MOUNT}
|
||||
WARNS= 0
|
||||
|
||||
.PATH: ${MOUNT}
|
||||
|
||||
.include <bsd.prog.mk>
|
||||
|
@ -7,6 +7,8 @@ MAN= mount_nullfs.8
|
||||
|
||||
MOUNT= ${.CURDIR}/../mount
|
||||
CFLAGS+=-I${MOUNT}
|
||||
WARNS= 0
|
||||
|
||||
.PATH: ${MOUNT}
|
||||
|
||||
.include <bsd.prog.mk>
|
||||
|
@ -6,6 +6,8 @@ MAN= mount_nwfs.8
|
||||
|
||||
MOUNT= ${.CURDIR}/../mount
|
||||
CFLAGS+= -DNWFS -I${MOUNT}
|
||||
WARNS= 0
|
||||
|
||||
.PATH: ${MOUNT}
|
||||
|
||||
DPADD= ${LIBNCP} ${LIBIPX}
|
||||
|
@ -8,6 +8,8 @@ MAN= mount_portalfs.8
|
||||
|
||||
MOUNT= ${.CURDIR}/../mount
|
||||
CFLAGS+=-I${MOUNT}
|
||||
WARNS= 0
|
||||
|
||||
.PATH: ${MOUNT}
|
||||
|
||||
.include <bsd.prog.mk>
|
||||
|
@ -11,6 +11,8 @@ MLINKS= mount_std.8 mount_devfs.8 \
|
||||
|
||||
MOUNT= ${.CURDIR}/../mount
|
||||
CFLAGS+= -I${MOUNT}
|
||||
WARNS= 0
|
||||
|
||||
.PATH: ${MOUNT}
|
||||
|
||||
LINKS= ${BINDIR}/mount_std ${BINDIR}/mount_devfs \
|
||||
|
@ -7,6 +7,8 @@ MAN= mount_umapfs.8
|
||||
|
||||
MOUNT= ${.CURDIR}/../mount
|
||||
CFLAGS+=-I${MOUNT}
|
||||
WARNS= 0
|
||||
|
||||
.PATH: ${MOUNT}
|
||||
|
||||
.include <bsd.prog.mk>
|
||||
|
@ -7,6 +7,8 @@ MAN= mount_unionfs.8
|
||||
|
||||
MOUNT= ${.CURDIR}/../mount
|
||||
CFLAGS+=-I${MOUNT}
|
||||
WARNS= 0
|
||||
|
||||
.PATH: ${MOUNT}
|
||||
|
||||
.include <bsd.prog.mk>
|
||||
|
@ -2,6 +2,7 @@
|
||||
# $FreeBSD$
|
||||
|
||||
PROG= mountd
|
||||
WARNS= 0
|
||||
MAN= exports.5 netgroup.5 mountd.8
|
||||
|
||||
.include <bsd.prog.mk>
|
||||
|
@ -4,7 +4,7 @@ MAINTAINER = ru@FreeBSD.org
|
||||
MAINTAINER += ari@suutari.iki.fi
|
||||
PROG = natd
|
||||
SRCS = natd.c icmp.c
|
||||
CFLAGS += -Wall
|
||||
WARNS= 0
|
||||
LDADD = -lalias
|
||||
DPADD = ${LIBALIAS}
|
||||
MAN = natd.8
|
||||
|
@ -7,6 +7,8 @@ MAN= newfs.8
|
||||
|
||||
MOUNT= ${.CURDIR}/../mount
|
||||
CFLAGS+=-DFSIRAND -I${MOUNT}
|
||||
WARNS= 0
|
||||
|
||||
.PATH: ${MOUNT}
|
||||
|
||||
.include <bsd.prog.mk>
|
||||
|
@ -6,5 +6,6 @@ MAN= newfs_msdos.8
|
||||
.if ${MACHINE} == "pc98"
|
||||
CFLAGS+= -DPC98
|
||||
.endif
|
||||
WARNS= 0
|
||||
|
||||
.include <bsd.prog.mk>
|
||||
|
@ -2,6 +2,7 @@
|
||||
# $FreeBSD$
|
||||
|
||||
PROG= nextboot
|
||||
WARNS= 0
|
||||
MAN= nextboot.8
|
||||
|
||||
.include <bsd.prog.mk>
|
||||
|
@ -2,6 +2,7 @@
|
||||
# $FreeBSD$
|
||||
|
||||
PROG= nfsd
|
||||
WARNS= 0
|
||||
MAN= nfsd.8
|
||||
|
||||
.include <bsd.prog.mk>
|
||||
|
@ -4,5 +4,6 @@
|
||||
PROG= nfsiod
|
||||
MAN= nfsiod.8
|
||||
CFLAGS+=-DNFS
|
||||
WARNS= 0
|
||||
|
||||
.include <bsd.prog.mk>
|
||||
|
@ -1,6 +1,7 @@
|
||||
# $FreeBSD$
|
||||
|
||||
PROG= nos-tun
|
||||
WARNS= 0
|
||||
MAN= nos-tun.8
|
||||
|
||||
.include <bsd.prog.mk>
|
||||
|
@ -5,10 +5,10 @@ PROG= ping
|
||||
MAN= ping.8
|
||||
BINOWN= root
|
||||
BINMODE=4555
|
||||
CFLAGS+=-Wall -Wmissing-prototypes
|
||||
.if ${MACHINE_ARCH} == "alpha"
|
||||
CFLAGS+=-fno-builtin # GCC's builtin memcpy doesn't do unaligned copies
|
||||
.endif
|
||||
WARNS= 0
|
||||
DPADD= ${LIBM}
|
||||
LDADD= -lm
|
||||
|
||||
|
@ -4,6 +4,7 @@ PROG= ping6
|
||||
MAN= ping6.8
|
||||
|
||||
CFLAGS+=-DINET6 -DIPSEC
|
||||
WARNS= 0
|
||||
|
||||
BINOWN= root
|
||||
BINMODE=4555
|
||||
|
@ -3,7 +3,9 @@
|
||||
|
||||
PROG= quotacheck
|
||||
SRCS= quotacheck.c preen.c utilities.c
|
||||
WARNS= 0
|
||||
MAN= quotacheck.8
|
||||
|
||||
.PATH: ${.CURDIR}/../fsck_ffs
|
||||
|
||||
.include <bsd.prog.mk>
|
||||
|
@ -2,7 +2,6 @@
|
||||
# $FreeBSD$
|
||||
|
||||
PROG= reboot
|
||||
WARNS?= 2
|
||||
DPADD= ${LIBUTIL}
|
||||
LDADD= -lutil
|
||||
MAN= reboot.8 boot_i386.8
|
||||
|
@ -5,6 +5,7 @@ PROG= restore
|
||||
LINKS= ${BINDIR}/restore ${BINDIR}/rrestore
|
||||
CFLAGS+=-DRRESTORE
|
||||
CFLAGS+=-I${.CURDIR}/../../libexec/rlogind
|
||||
WARNS= 0
|
||||
SRCS= main.c interactive.c restore.c dirs.c symtab.c tape.c utilities.c \
|
||||
dumprmt.c
|
||||
MAN= restore.8
|
||||
|
@ -6,6 +6,7 @@ MAN= route.8
|
||||
SRCS= route.c keywords.h
|
||||
CFLAGS+=-I. -Wall -DNS
|
||||
CFLAGS+=-DINET6
|
||||
WARNS= 0
|
||||
CLEANFILES+=keywords.h
|
||||
|
||||
keywords.h: keywords
|
||||
|
@ -9,5 +9,6 @@ SUBDIR= rtquery
|
||||
LDADD+= -lmd
|
||||
DPADD+= ${LIBMD}
|
||||
#COPTS= -g -DDEBUG -W -Wall -Wcast-align -Wcast-qual -Winline -Wpointer-arith -Wnested-externs -Wwrite-strings -Wunused
|
||||
WARNS= 0
|
||||
|
||||
.include <bsd.prog.mk>
|
||||
|
@ -7,5 +7,6 @@ MAN= rtquery.8
|
||||
LDADD+= -lmd
|
||||
DPADD+= ${LIBMD}
|
||||
#COPTS= -g -DDEBUG -W -Wall -Wcast-align -Wcast-qual -Winline -Wpointer-arith -Wnested-externs -Wwrite-strings -Wunused
|
||||
WARNS= 0
|
||||
|
||||
.include <bsd.prog.mk>
|
||||
|
@ -19,6 +19,7 @@ PROG= rtsol
|
||||
SRCS= rtsold.c rtsol.c if.c probe.c dump.c rtsock.c
|
||||
|
||||
CFLAGS+=-DINET6 -DHAVE_GETIFADDRS
|
||||
WARNS= 0
|
||||
|
||||
NOMAN= yes
|
||||
|
||||
|
@ -3,6 +3,7 @@
|
||||
|
||||
PROG= savecore
|
||||
SRCS= savecore.c
|
||||
WARNS= 0
|
||||
MAN= savecore.8
|
||||
|
||||
DPADD+= ${LIBZ}
|
||||
|
@ -2,7 +2,6 @@
|
||||
# $FreeBSD$
|
||||
|
||||
PROG= shutdown
|
||||
WARNS?= 2
|
||||
MAN= shutdown.8
|
||||
BINOWN= root
|
||||
BINGRP= operator
|
||||
|
@ -3,6 +3,7 @@
|
||||
# $FreeBSD$
|
||||
|
||||
PROG= slattach
|
||||
WARNS= 0
|
||||
MAN= slattach.8
|
||||
MLINKS= slattach.8 slip.8
|
||||
LDADD= -lutil
|
||||
|
@ -1,7 +1,6 @@
|
||||
# $FreeBSD$
|
||||
|
||||
PROG= spppcontrol
|
||||
WARNS?= 2
|
||||
MAN= spppcontrol.8
|
||||
|
||||
.include <bsd.prog.mk>
|
||||
|
@ -2,6 +2,7 @@
|
||||
# $FreeBSD$
|
||||
|
||||
PROG= startslip
|
||||
WARNS= 0
|
||||
DPADD= ${LIBUTIL}
|
||||
LDADD= -lutil
|
||||
|
||||
|
@ -2,7 +2,6 @@
|
||||
# $FreeBSD$
|
||||
|
||||
PROG= swapon
|
||||
WARNS?= 2
|
||||
MAN= swapon.8
|
||||
|
||||
.include <bsd.prog.mk>
|
||||
|
@ -2,6 +2,7 @@
|
||||
# $FreeBSD$
|
||||
|
||||
PROG= sysctl
|
||||
WARNS= 0
|
||||
MAN= sysctl.8
|
||||
|
||||
.include <bsd.prog.mk>
|
||||
|
@ -2,7 +2,6 @@
|
||||
# $FreeBSD$
|
||||
|
||||
PROG= tunefs
|
||||
WARNS?= 2
|
||||
MAN= tunefs.8
|
||||
|
||||
.include <bsd.prog.mk>
|
||||
|
@ -4,11 +4,14 @@
|
||||
|
||||
PROG= umount
|
||||
SRCS= umount.c vfslist.c mounttab.c
|
||||
WARNS= 0
|
||||
MAN= umount.8
|
||||
|
||||
MOUNT= ${.CURDIR}/../mount
|
||||
UMNTALL= ${.CURDIR}/../../usr.sbin/rpc.umntall
|
||||
CFLAGS+= -I${MOUNT} -I${UMNTALL}
|
||||
WARNS= 0
|
||||
|
||||
.PATH: ${MOUNT} ${UMNTALL}
|
||||
|
||||
.include <bsd.prog.mk>
|
||||
|
@ -4,7 +4,8 @@ PROG= vinum
|
||||
SRCS= v.c list.c vinumparser.c vinumutil.c vext.h commands.c
|
||||
MAN= vinum.8
|
||||
|
||||
CFLAGS+= -I${.CURDIR}/../../sys -Wall -DVINUMDEBUG
|
||||
CFLAGS+= -I${.CURDIR}/../../sys -DVINUMDEBUG
|
||||
WARNS= 0
|
||||
|
||||
DPADD= ${LIBREADLINE} ${LIBTERMCAP} ${LIBDEVSTAT} ${LIBKVM}
|
||||
LDADD= -lreadline -ltermcap -ldevstat -lkvm
|
||||
|
@ -6,6 +6,8 @@ MAN= mount_nwfs.8
|
||||
|
||||
MOUNT= ${.CURDIR}/../mount
|
||||
CFLAGS+= -DNWFS -I${MOUNT}
|
||||
WARNS= 0
|
||||
|
||||
.PATH: ${MOUNT}
|
||||
|
||||
DPADD= ${LIBNCP} ${LIBIPX}
|
||||
|
@ -8,6 +8,8 @@ MAN= mount_portalfs.8
|
||||
|
||||
MOUNT= ${.CURDIR}/../mount
|
||||
CFLAGS+=-I${MOUNT}
|
||||
WARNS= 0
|
||||
|
||||
.PATH: ${MOUNT}
|
||||
|
||||
.include <bsd.prog.mk>
|
||||
|
@ -2,6 +2,7 @@
|
||||
# $FreeBSD$
|
||||
|
||||
PROG= mountd
|
||||
WARNS= 0
|
||||
MAN= exports.5 netgroup.5 mountd.8
|
||||
|
||||
.include <bsd.prog.mk>
|
||||
|
@ -2,6 +2,7 @@
|
||||
# $FreeBSD$
|
||||
|
||||
PROG= nfsd
|
||||
WARNS= 0
|
||||
MAN= nfsd.8
|
||||
|
||||
.include <bsd.prog.mk>
|
||||
|
Loading…
Reference in New Issue
Block a user