style.Makefile(5):
Use WARNS?= instead of WARNS=.
This commit is contained in:
parent
cee1270c1a
commit
604d24db95
@ -8,7 +8,7 @@
|
||||
PROG= atmconfig
|
||||
SRCS= main.c diag.c natm.c
|
||||
MAN= atmconfig.8
|
||||
WARNS= 9
|
||||
WARNS?= 9
|
||||
|
||||
FILES= atmconfig.help
|
||||
FILESDIR= /usr/share/doc/atm
|
||||
|
@ -2,7 +2,7 @@
|
||||
|
||||
MAINTAINER= mbr
|
||||
|
||||
WARNS= 0
|
||||
WARNS?= 0
|
||||
CFLAGS+= -I${DIST_DIR}/includes -DENABLE_POLLING_MODE -DNOMINUM
|
||||
|
||||
CLIENTBINDIR= /sbin
|
||||
|
@ -1,7 +1,7 @@
|
||||
# $FreeBSD$
|
||||
|
||||
PROG= dumpon
|
||||
WARNS= 4
|
||||
WARNS?= 4
|
||||
MAN= dumpon.8
|
||||
|
||||
.include <bsd.prog.mk>
|
||||
|
@ -2,7 +2,7 @@
|
||||
|
||||
PROG= fdisk
|
||||
SRCS= fdisk.c geom_mbr_enc.c
|
||||
WARNS= 4
|
||||
WARNS?= 4
|
||||
MAN= fdisk.8
|
||||
|
||||
.PATH: ${.CURDIR}/../../sys/geom
|
||||
|
@ -2,7 +2,7 @@
|
||||
|
||||
PROG= fdisk
|
||||
SRCS= fdisk.c geom_pc98_enc.c
|
||||
WARNS= 0
|
||||
WARNS?= 0
|
||||
MAN= fdisk.8
|
||||
|
||||
CFLAGS += -DPC98
|
||||
|
@ -8,7 +8,7 @@ MAN= fsck_ffs.8
|
||||
MLINKS= fsck_ffs.8 fsck_ufs.8 fsck_ffs.8 fsck_4.2bsd.8
|
||||
SRCS= dir.c ea.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
|
||||
WARNS= 2
|
||||
WARNS?= 2
|
||||
CFLAGS+= -I${.CURDIR}
|
||||
|
||||
.PATH: ${.CURDIR}/../../sys/ufs/ffs
|
||||
|
@ -9,6 +9,6 @@ MAN= fsck_msdosfs.8
|
||||
SRCS= main.c check.c boot.c fat.c dir.c fsutil.c
|
||||
|
||||
CFLAGS+= -I${FSCK}
|
||||
WARNS= 0
|
||||
WARNS?= 0
|
||||
|
||||
.include <bsd.prog.mk>
|
||||
|
@ -2,7 +2,7 @@
|
||||
# $FreeBSD$
|
||||
|
||||
PROG= fsirand
|
||||
WARNS= 0
|
||||
WARNS?= 0
|
||||
MAN= fsirand.8
|
||||
DPADD= ${LIBUTIL}
|
||||
LDADD= -lutil
|
||||
|
@ -2,7 +2,7 @@
|
||||
|
||||
PROG= gpt
|
||||
SRCS= add.c create.c destroy.c gpt.c map.c migrate.c recover.c show.c
|
||||
WARNS= 4
|
||||
WARNS?= 4
|
||||
MAN= gpt.8
|
||||
|
||||
.include <bsd.prog.mk>
|
||||
|
@ -7,7 +7,7 @@ SRCS= idmapd.c
|
||||
MAN= idmapd.8
|
||||
|
||||
CFLAGS+= -DNFS -I/usr/src/sys
|
||||
WARNS= 2
|
||||
WARNS?= 2
|
||||
|
||||
.PATH:
|
||||
|
||||
|
@ -32,6 +32,6 @@ LDADD= -lipx
|
||||
|
||||
CFLAGS+=-DNS -Wall -Wmissing-prototypes -Wcast-qual -Wwrite-strings \
|
||||
-Wnested-externs -I..
|
||||
WARNS= 0
|
||||
WARNS?= 0
|
||||
|
||||
.include <bsd.prog.mk>
|
||||
|
@ -7,7 +7,7 @@ MLINKS= init.8 securelevel.8
|
||||
BINMODE=500
|
||||
INSTALLFLAGS=-fschg -b -B.bak
|
||||
CFLAGS+=-DDEBUGSHELL -DSECURE -DLOGIN_CAP -DCOMPAT_SYSV_INIT
|
||||
WARNS= 0
|
||||
WARNS?= 0
|
||||
DPADD= ${LIBUTIL} ${LIBCRYPT}
|
||||
LDADD= -lutil -lcrypt
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
# $FreeBSD$
|
||||
|
||||
PROG= ip6fw
|
||||
WARNS= 0
|
||||
WARNS?= 0
|
||||
MAN= ip6fw.8
|
||||
|
||||
.include <bsd.prog.mk>
|
||||
|
@ -9,7 +9,7 @@ CFLAGS+=-DUSE_INET6 -DIPL_NAME=\"/dev/ipl\"
|
||||
CFLAGS+=-I${.CURDIR}/../../sys/contrib/ipfilter/netinet
|
||||
CFLAGS+=-I${.CURDIR}/../../sys/contrib/ipfilter
|
||||
CFLAGS+=-I${.CURDIR}/../../contrib/ipfilter
|
||||
WARNS= 0
|
||||
WARNS?= 0
|
||||
|
||||
MAINTAINER= darrenr@freebsd.org
|
||||
|
||||
|
@ -9,7 +9,7 @@ CFLAGS+=-DUSE_INET6 -DIPL_NAME=\"/dev/ipl\"
|
||||
CFLAGS+=-I${.CURDIR}/../../sys/contrib/ipfilter/netinet
|
||||
CFLAGS+=-I${.CURDIR}/../../sys/contrib/ipfilter
|
||||
CFLAGS+=-I${.CURDIR}/../../contrib/ipfilter
|
||||
WARNS= 0
|
||||
WARNS?= 0
|
||||
|
||||
MAINTAINER= darrenr@freebsd.org
|
||||
|
||||
|
@ -9,7 +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
|
||||
WARNS?= 0
|
||||
|
||||
DPADD= ${LIBNCURSES} ${LIBKVM}
|
||||
LDADD= -lncurses -lkvm
|
||||
|
@ -9,7 +9,7 @@ SRCS= ipmon.c
|
||||
CFLAGS+=-DUSE_INET6 -DIPL_NAME=\"/dev/ipl\" -DLOGFAC=LOG_SECURITY
|
||||
CFLAGS+=-I${.CURDIR}/../../sys/contrib/ipfilter
|
||||
CFLAGS+=-I${.CURDIR}/../../contrib/ipfilter
|
||||
WARNS= 0
|
||||
WARNS?= 0
|
||||
|
||||
MAINTAINER= darrenr@freebsd.org
|
||||
|
||||
|
@ -10,7 +10,7 @@ CFLAGS+=-DUSE_INET6 -DIPL_NAME=\"/dev/ipl\"
|
||||
CFLAGS+=-I${.CURDIR}/../../sys/contrib/ipfilter/netinet
|
||||
CFLAGS+=-I${.CURDIR}/../../sys/contrib/ipfilter
|
||||
CFLAGS+=-I${.CURDIR}/../../contrib/ipfilter
|
||||
WARNS= 0
|
||||
WARNS?= 0
|
||||
|
||||
DPADD= ${LIBKVM}
|
||||
LDADD= -lkvm
|
||||
|
@ -4,7 +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
|
||||
WARNS?= 0
|
||||
MAN= ldconfig.8
|
||||
|
||||
.PATH: ${LDDIR}
|
||||
|
@ -1,6 +1,6 @@
|
||||
# $FreeBSD$
|
||||
PROG= mca
|
||||
WARNS= 4
|
||||
WARNS?= 4
|
||||
NOMAN= yes
|
||||
|
||||
.include <bsd.prog.mk>
|
||||
|
@ -2,7 +2,7 @@
|
||||
# $FreeBSD$
|
||||
|
||||
PROG= mknod
|
||||
WARNS= 0
|
||||
WARNS?= 0
|
||||
MAN= mknod.8
|
||||
|
||||
.include <bsd.prog.mk>
|
||||
|
@ -9,7 +9,7 @@ LDADD= -lkiconv
|
||||
|
||||
MOUNT= ${.CURDIR}/../mount
|
||||
CFLAGS+= -I${MOUNT}
|
||||
WARNS= 0
|
||||
WARNS?= 0
|
||||
|
||||
# Needs to be dynamically linked for optional dlopen() access to
|
||||
# userland libiconv
|
||||
|
@ -8,7 +8,7 @@ MAN= mount_hpfs.8
|
||||
|
||||
MOUNT= ${.CURDIR}/../mount
|
||||
CFLAGS+=-I${MOUNT} -DHPFS
|
||||
WARNS= 0
|
||||
WARNS?= 0
|
||||
|
||||
.PATH: ${MOUNT}
|
||||
|
||||
|
@ -9,7 +9,7 @@ MAN= mount_nfs.8
|
||||
MOUNT= ${.CURDIR}/../mount
|
||||
UMNTALL= ${.CURDIR}/../../usr.sbin/rpc.umntall
|
||||
CFLAGS+= -DNFS -I${MOUNT} -I${UMNTALL}
|
||||
WARNS= 2
|
||||
WARNS?= 2
|
||||
|
||||
.PATH: ${MOUNT} ${UMNTALL}
|
||||
|
||||
|
@ -9,7 +9,7 @@ MAN= mount_nfs4.8
|
||||
MOUNT= ${.CURDIR}/../mount
|
||||
UMNTALL= ${.CURDIR}/../../usr.sbin/rpc.umntall
|
||||
CFLAGS+= -DNFS -I${MOUNT} -I${UMNTALL}
|
||||
WARNS= 2
|
||||
WARNS?= 2
|
||||
|
||||
.PATH: ${MOUNT} ${UMNTALL}
|
||||
|
||||
|
@ -10,7 +10,7 @@ LDADD= -lkiconv
|
||||
|
||||
MOUNT= ${.CURDIR}/../mount
|
||||
CFLAGS+=-I${MOUNT}
|
||||
WARNS= 0
|
||||
WARNS?= 0
|
||||
|
||||
# Needs to be dynamically linked for optional dlopen() access to
|
||||
# userland libiconv
|
||||
|
@ -7,7 +7,7 @@ MAN= mount_nullfs.8
|
||||
|
||||
MOUNT= ${.CURDIR}/../mount
|
||||
CFLAGS+=-I${MOUNT}
|
||||
WARNS= 0
|
||||
WARNS?= 0
|
||||
|
||||
.PATH: ${MOUNT}
|
||||
|
||||
|
@ -11,7 +11,7 @@ MLINKS= mount_std.8 mount_devfs.8 \
|
||||
|
||||
MOUNT= ${.CURDIR}/../mount
|
||||
CFLAGS+= -I${MOUNT}
|
||||
WARNS= 0
|
||||
WARNS?= 0
|
||||
|
||||
.PATH: ${MOUNT}
|
||||
|
||||
|
@ -9,7 +9,7 @@ LDADD= -lkiconv
|
||||
MOUNT= ${.CURDIR}/../mount
|
||||
CFLAGS+= -I${MOUNT} -I${.CURDIR}/../../sys -Wall
|
||||
.PATH: ${MOUNT}
|
||||
WARNS= 1
|
||||
WARNS?= 1
|
||||
|
||||
# Needs to be dynamically linked for optional dlopen() access to
|
||||
# userland libiconv
|
||||
|
@ -7,7 +7,7 @@ MAN= mount_umapfs.8
|
||||
|
||||
MOUNT= ${.CURDIR}/../mount
|
||||
CFLAGS+=-I${MOUNT}
|
||||
WARNS= 0
|
||||
WARNS?= 0
|
||||
|
||||
.PATH: ${MOUNT}
|
||||
|
||||
|
@ -7,7 +7,7 @@ MAN= mount_unionfs.8
|
||||
|
||||
MOUNT= ${.CURDIR}/../mount
|
||||
CFLAGS+=-I${MOUNT}
|
||||
WARNS= 0
|
||||
WARNS?= 0
|
||||
|
||||
.PATH: ${MOUNT}
|
||||
|
||||
|
@ -2,7 +2,7 @@
|
||||
|
||||
PROG = natd
|
||||
SRCS = natd.c icmp.c
|
||||
WARNS= 0
|
||||
WARNS?= 0
|
||||
LDADD = -lalias
|
||||
DPADD = ${LIBALIAS}
|
||||
MAN = natd.8
|
||||
|
@ -3,6 +3,6 @@
|
||||
PROG= newfs_msdos
|
||||
MAN= newfs_msdos.8
|
||||
|
||||
WARNS= 0
|
||||
WARNS?= 0
|
||||
|
||||
.include <bsd.prog.mk>
|
||||
|
@ -1,7 +1,7 @@
|
||||
# $FreeBSD$
|
||||
|
||||
PROG= nos-tun
|
||||
WARNS= 0
|
||||
WARNS?= 0
|
||||
MAN= nos-tun.8
|
||||
|
||||
.include <bsd.prog.mk>
|
||||
|
@ -8,7 +8,7 @@ BINMODE=4555
|
||||
.if ${MACHINE_ARCH} == "alpha"
|
||||
CFLAGS+=-fno-builtin # GCC's builtin memcpy doesn't do unaligned copies
|
||||
.endif
|
||||
WARNS= 2
|
||||
WARNS?= 2
|
||||
DPADD= ${LIBM}
|
||||
LDADD= -lm
|
||||
|
||||
|
@ -5,7 +5,7 @@ MAN= ping6.8
|
||||
|
||||
CFLAGS+=-DINET6 -DIPSEC -DKAME_SCOPEID -DUSE_RFC2292BIS \
|
||||
-DHAVE_POLL_H -DHAVE_ARC4RANDOM
|
||||
WARNS= 0
|
||||
WARNS?= 0
|
||||
|
||||
BINOWN= root
|
||||
BINMODE=4555
|
||||
|
@ -3,7 +3,7 @@
|
||||
|
||||
PROG= quotacheck
|
||||
SRCS= quotacheck.c preen.c utilities.c
|
||||
WARNS= 2
|
||||
WARNS?= 2
|
||||
MAN= quotacheck.8
|
||||
|
||||
.PATH: ${.CURDIR}/../fsck_ffs
|
||||
|
@ -8,7 +8,7 @@ MAN= rcorder.8
|
||||
LDADD= -lutil
|
||||
DPADD= ${LIBUTIL}
|
||||
|
||||
WARNS= 0
|
||||
WARNS?= 0
|
||||
# XXX hack for make's hash.[ch]
|
||||
CFLAGS+= -DORDER -I.
|
||||
|
||||
|
@ -6,7 +6,7 @@
|
||||
PROG= restore
|
||||
LINKS= ${BINDIR}/restore ${BINDIR}/rrestore
|
||||
CFLAGS+=-DRRESTORE
|
||||
WARNS= 0
|
||||
WARNS?= 0
|
||||
SRCS= main.c interactive.c restore.c dirs.c symtab.c tape.c utilities.c \
|
||||
dumprmt.c
|
||||
MAN= restore.8
|
||||
|
@ -6,7 +6,7 @@ MAN= route.8
|
||||
SRCS= route.c keywords.h
|
||||
CFLAGS+=-I. -Wall -DNS
|
||||
CFLAGS+=-DINET6
|
||||
WARNS= 0
|
||||
WARNS?= 0
|
||||
CLEANFILES+=keywords.h _keywords.tmp
|
||||
|
||||
keywords.h: keywords
|
||||
|
@ -8,6 +8,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
|
||||
WARNS?= 0
|
||||
|
||||
.include <bsd.prog.mk>
|
||||
|
@ -7,6 +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
|
||||
WARNS?= 0
|
||||
|
||||
.include <bsd.prog.mk>
|
||||
|
@ -19,7 +19,7 @@ PROG= rtsol
|
||||
SRCS= rtsold.c rtsol.c if.c probe.c rtsock.c
|
||||
|
||||
CFLAGS+=-DINET6 -DHAVE_ARC4RANDOM -DHAVE_POLL_H -DSMALL
|
||||
WARNS= 0
|
||||
WARNS?= 0
|
||||
|
||||
NOMAN= yes
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
# $FreeBSD$
|
||||
|
||||
PROG= savecore
|
||||
WARNS= 4
|
||||
WARNS?= 4
|
||||
DPADD= ${LIBZ}
|
||||
LDADD= -lz
|
||||
MAN= savecore.8
|
||||
|
@ -3,7 +3,7 @@
|
||||
# $FreeBSD$
|
||||
|
||||
PROG= slattach
|
||||
WARNS= 0
|
||||
WARNS?= 0
|
||||
MAN= slattach.8
|
||||
MLINKS= slattach.8 slip.8
|
||||
LDADD= -lutil
|
||||
|
@ -2,7 +2,7 @@
|
||||
# $FreeBSD$
|
||||
|
||||
PROG= startslip
|
||||
WARNS= 0
|
||||
WARNS?= 0
|
||||
DPADD= ${LIBUTIL}
|
||||
LDADD= -lutil
|
||||
|
||||
|
@ -2,7 +2,7 @@
|
||||
# $FreeBSD$
|
||||
|
||||
PROG= sysctl
|
||||
WARNS= 0
|
||||
WARNS?= 0
|
||||
MAN= sysctl.8
|
||||
|
||||
.include <bsd.prog.mk>
|
||||
|
@ -4,7 +4,7 @@
|
||||
|
||||
PROG= umount
|
||||
SRCS= umount.c vfslist.c mounttab.c
|
||||
WARNS= 0
|
||||
WARNS?= 0
|
||||
MAN= umount.8
|
||||
|
||||
MOUNT= ${.CURDIR}/../mount
|
||||
|
@ -5,7 +5,7 @@ SRCS= v.c list.c vinumparser.c vinumutil.c vext.h commands.c
|
||||
MAN= vinum.8
|
||||
|
||||
CFLAGS+= -I${.CURDIR}/../../sys
|
||||
WARNS= 0
|
||||
WARNS?= 0
|
||||
|
||||
DPADD= ${LIBREADLINE} ${LIBTERMCAP} ${LIBDEVSTAT} ${LIBKVM}
|
||||
LDADD= -lreadline -ltermcap -ldevstat -lkvm
|
||||
|
@ -3,7 +3,7 @@
|
||||
|
||||
PROG= bdes
|
||||
|
||||
WARNS= 2
|
||||
WARNS?= 2
|
||||
|
||||
DPADD= ${LIBCRYPTO}
|
||||
LDADD= -lcrypto
|
||||
|
@ -1,7 +1,7 @@
|
||||
# $NetBSD: Makefile.inc,v 1.8 2002/02/04 00:18:32 thorpej Exp $
|
||||
# $FreeBSD$
|
||||
|
||||
WARNS= 0
|
||||
WARNS?= 0
|
||||
|
||||
.PATH: ${.CURDIR}/../common
|
||||
|
||||
|
@ -6,7 +6,7 @@ MAN= mount_nwfs.8
|
||||
|
||||
MOUNT= ${.CURDIR}/../../sbin/mount
|
||||
CFLAGS+= -DNWFS -I${MOUNT}
|
||||
WARNS= 0
|
||||
WARNS?= 0
|
||||
|
||||
.PATH: ${MOUNT}
|
||||
|
||||
|
@ -8,7 +8,7 @@ MAN= mount_portalfs.8
|
||||
|
||||
MOUNT= ${.CURDIR}/../../sbin/mount
|
||||
CFLAGS+=-I${MOUNT}
|
||||
WARNS= 0
|
||||
WARNS?= 0
|
||||
|
||||
.PATH: ${MOUNT}
|
||||
|
||||
|
@ -9,7 +9,7 @@ SRCS+= inf.c inf-token.l inf-parse.y y.tab.h
|
||||
|
||||
MAN8= ndiscvt.8
|
||||
|
||||
WARNS= 4
|
||||
WARNS?= 4
|
||||
|
||||
DPADD= ${LIBL}
|
||||
LDADD= -ll
|
||||
|
@ -4,7 +4,7 @@
|
||||
PROG= nghook
|
||||
MAN= nghook.8
|
||||
SRCS= main.c
|
||||
WARNS= 6
|
||||
WARNS?= 6
|
||||
|
||||
DPADD= ${LIBNETGRAPH}
|
||||
LDADD= -lnetgraph
|
||||
|
@ -2,6 +2,6 @@
|
||||
|
||||
PROG= watchdogd
|
||||
MAN= watchdogd.8
|
||||
WARNS= 6
|
||||
WARNS?= 6
|
||||
|
||||
.include <bsd.prog.mk>
|
||||
|
Loading…
x
Reference in New Issue
Block a user