Set WARNS=2 on programs that compile cleanly with it; add $FreeBSD$

where necessary.

Submitted by:	Mike Barcroft <mike@q9media.com>
This commit is contained in:
Dima Dorfman 2001-06-30 05:39:36 +00:00
parent 653636c21d
commit f6751868e4
24 changed files with 48 additions and 20 deletions

View File

@ -1,7 +1,8 @@
# @(#)Makefile 8.1 (Berkeley) 6/6/93
# From: @(#)Makefile 8.1 (Berkeley) 6/6/93
# $FreeBSD$
PROG= basename
CFLAGS+=-Wall
WARNS?= 2
MLINKS= basename.1 dirname.1
.include <bsd.prog.mk>

View File

@ -1,6 +1,7 @@
# @(#)Makefile 8.1 (Berkeley) 6/6/93
# From: @(#)Makefile 8.1 (Berkeley) 6/6/93
# $FreeBSD$
PROG= biff
CFLAGS+=-Wall
WARNS?= 2
.include <bsd.prog.mk>

View File

@ -1,6 +1,7 @@
# @(#)Makefile 8.1 (Berkeley) 6/6/93
# From: @(#)Makefile 8.1 (Berkeley) 6/6/93
# $FreeBSD$
PROG= cap_mkdb
CFLAGS+=-Wall
WARNS?= 2
.include <bsd.prog.mk>

View File

@ -1,6 +1,7 @@
# @(#)Makefile 8.1 (Berkeley) 6/6/93
# From: @(#)Makefile 8.1 (Berkeley) 6/6/93
# $FreeBSD$
PROG= colrm
CFLAGS+=-Wall
WARNS?= 2
.include <bsd.prog.mk>

View File

@ -1,7 +1,8 @@
# @(#)Makefile 8.1 (Berkeley) 6/6/93
# From: @(#)Makefile 8.1 (Berkeley) 6/6/93
# $FreeBSD$
PROG= dirname
CFLAGS+=-Wall
WARNS?= 2
NOMAN= noman
.include <bsd.prog.mk>

View File

@ -1,7 +1,8 @@
# @(#)Makefile 8.1 (Berkeley) 6/6/93
# From: @(#)Makefile 8.1 (Berkeley) 6/6/93
# $FreeBSD$
PROG= env
CFLAGS+=-Wall
WARNS?= 2
NOMAN= noman
.include <bsd.prog.mk>

View File

@ -1,5 +1,6 @@
# $FreeBSD$
PROG= file2c
WARNS?= 2
.include <bsd.prog.mk>

View File

@ -1,5 +1,7 @@
# @(#)Makefile 8.1 (Berkeley) 6/6/93
# From: @(#)Makefile 8.1 (Berkeley) 6/6/93
# $FreeBSD$
PROG= fold
WARNS?= 2
.include <bsd.prog.mk>

View File

@ -1,5 +1,7 @@
# @(#)Makefile 8.1 (Berkeley) 6/6/93
# From: @(#)Makefile 8.1 (Berkeley) 6/6/93
# $FreeBSD$
PROG= from
WARNS?= 2
.include <bsd.prog.mk>

View File

@ -1,5 +1,6 @@
# $FreeBSD$
PROG= fsync
WARNS?= 2
.include <bsd.prog.mk>

View File

@ -2,6 +2,7 @@
PROG= gencat
SRCS= gencat.c genlib.c
WARNS?= 2
CFLAGS+= -I${.CURDIR}/../../lib/libc/nls

View File

@ -2,6 +2,6 @@
# $FreeBSD$
PROG= leave
CFLAGS+=-Wall
WARNS?= 2
.include <bsd.prog.mk>

View File

@ -1,5 +1,7 @@
# @(#)Makefile 8.1 (Berkeley) 6/6/93
# From: @(#)Makefile 8.1 (Berkeley) 6/6/93
# $FreeBSD$
PROG= mesg
WARNS?= 2
.include <bsd.prog.mk>

View File

@ -1,5 +1,7 @@
# @(#)Makefile 8.1 (Berkeley) 6/6/93
# From: @(#)Makefile 8.1 (Berkeley) 6/6/93
# $FreeBSD$
PROG= mkfifo
WARNS?= 2
.include <bsd.prog.mk>

View File

@ -1,5 +1,6 @@
# $FreeBSD$
PROG= truncate
WARNS?= 2
.include <bsd.prog.mk>

View File

@ -1,6 +1,8 @@
# @(#)Makefile 8.1 (Berkeley) 6/6/93
# From: @(#)Makefile 8.1 (Berkeley) 6/6/93
# $FreeBSD$
PROG= unexpand
WARNS?= 2
NOMAN= noman
.include <bsd.prog.mk>

View File

@ -1,5 +1,7 @@
# @(#)Makefile 8.1 (Berkeley) 6/6/93
# From: @(#)Makefile 8.1 (Berkeley) 6/6/93
# $FreeBSD$
PROG= what
WARNS?= 2
.include <bsd.prog.mk>

View File

@ -2,6 +2,7 @@
# $FreeBSD$
PROG= accton
WARNS?= 2
MAN= accton.8
.include <bsd.prog.mk>

View File

@ -2,6 +2,7 @@
# $FreeBSD$
PROG= dev_mkdb
WARNS?= 2
MAN= dev_mkdb.8
.include <bsd.prog.mk>

View File

@ -1,6 +1,7 @@
# $FreeBSD$
PROG= jail
WARNS?= 2
MAN= jail.8
.include <bsd.prog.mk>

View File

@ -1,7 +1,7 @@
# $FreeBSD$
PROG= lastlogin
WARNS?= 2
MAN= lastlogin.8
CFLAGS+=-Wall
.include <bsd.prog.mk>

View File

@ -1,6 +1,7 @@
# $FreeBSD$
PROG= procctl
WARNS?= 2
MAN= procctl.8
.include <bsd.prog.mk>

View File

@ -3,6 +3,7 @@
# $FreeBSD$
PROG= rip6query
WARNS?= 2
MAN= rip6query.8
CFLAGS+=-DINET6 -I${.CURDIR}/../route6d

View File

@ -2,6 +2,7 @@
# FreeBSD $FreeBSD$
PROG= usbdevs
WARNS?= 2
MAN= usbdevs.8
.include <bsd.prog.mk>