diff options
author | rwatson <rwatson@FreeBSD.org> | 2002-12-01 23:10:28 +0000 |
---|---|---|
committer | rwatson <rwatson@FreeBSD.org> | 2002-12-01 23:10:28 +0000 |
commit | 4cdc7b3d85f340e3e01e0a10dbf40669bb8974cc (patch) | |
tree | bc77da09b04b22c206a0b13b7799289781458df6 /usr.sbin | |
parent | fd64c667053d30c37409805102f3e1ab46a18cf9 (diff) | |
download | FreeBSD-src-4cdc7b3d85f340e3e01e0a10dbf40669bb8974cc.zip FreeBSD-src-4cdc7b3d85f340e3e01e0a10dbf40669bb8974cc.tar.gz |
In general, prefer WARNS to CFLAGS+=-Wall. Tend towards a more
BSD-esque Makefile style.
Submitted by: obrien
Approved by: re
Diffstat (limited to 'usr.sbin')
-rw-r--r-- | usr.sbin/getfmac/Makefile | 6 | ||||
-rw-r--r-- | usr.sbin/getpmac/Makefile | 6 | ||||
-rw-r--r-- | usr.sbin/setfmac/Makefile | 6 | ||||
-rw-r--r-- | usr.sbin/setpmac/Makefile | 6 |
4 files changed, 16 insertions, 8 deletions
diff --git a/usr.sbin/getfmac/Makefile b/usr.sbin/getfmac/Makefile index eeb67ca..4e532e6 100644 --- a/usr.sbin/getfmac/Makefile +++ b/usr.sbin/getfmac/Makefile @@ -1,7 +1,9 @@ # $FreeBSD$ PROG= getfmac -SRCS= getfmac.c MAN= getfmac.8 -CFLAGS+=-Wall +SRCS= getfmac.c + +WARNS?= 2 + .include <bsd.prog.mk> diff --git a/usr.sbin/getpmac/Makefile b/usr.sbin/getpmac/Makefile index 40f4f78..e84c1ec 100644 --- a/usr.sbin/getpmac/Makefile +++ b/usr.sbin/getpmac/Makefile @@ -1,7 +1,9 @@ # $FreeBSD$ PROG= getpmac +NOMAN= #true SRCS= getpmac.c -CFLAGS+=-Wall -NOMAN=yes + +WARNS?= 2 + .include <bsd.prog.mk> diff --git a/usr.sbin/setfmac/Makefile b/usr.sbin/setfmac/Makefile index 6e7a0a1..d991e98 100644 --- a/usr.sbin/setfmac/Makefile +++ b/usr.sbin/setfmac/Makefile @@ -1,7 +1,9 @@ # $FreeBSD$ PROG= setfmac -SRCS= setfmac.c MAN= setfmac.8 -CFLAGS+=-Wall +SRCS= setfmac.c + +WARNS?= 2 + .include <bsd.prog.mk> diff --git a/usr.sbin/setpmac/Makefile b/usr.sbin/setpmac/Makefile index a4ede9f..84ec8b7 100644 --- a/usr.sbin/setpmac/Makefile +++ b/usr.sbin/setpmac/Makefile @@ -1,7 +1,9 @@ # $FreeBSD$ PROG= setpmac +NOMAN= #true SRCS= setpmac.c -CFLAGS+=-Wall -NOMAN=yes + +WARNS?= 2 + .include <bsd.prog.mk> |