mirror of
https://github.com/freebsd/freebsd-src
synced 2024-09-06 17:18:32 +00:00
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:
parent
653636c21d
commit
f6751868e4
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=79011
|
@ -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>
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -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>
|
||||
|
|
5
usr.bin/env/Makefile
vendored
5
usr.bin/env/Makefile
vendored
|
@ -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>
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
# $FreeBSD$
|
||||
|
||||
PROG= file2c
|
||||
WARNS?= 2
|
||||
|
||||
.include <bsd.prog.mk>
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
# $FreeBSD$
|
||||
|
||||
PROG= fsync
|
||||
WARNS?= 2
|
||||
|
||||
.include <bsd.prog.mk>
|
||||
|
|
|
@ -2,6 +2,7 @@
|
|||
|
||||
PROG= gencat
|
||||
SRCS= gencat.c genlib.c
|
||||
WARNS?= 2
|
||||
|
||||
CFLAGS+= -I${.CURDIR}/../../lib/libc/nls
|
||||
|
||||
|
|
|
@ -2,6 +2,6 @@
|
|||
# $FreeBSD$
|
||||
|
||||
PROG= leave
|
||||
CFLAGS+=-Wall
|
||||
WARNS?= 2
|
||||
|
||||
.include <bsd.prog.mk>
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
# $FreeBSD$
|
||||
|
||||
PROG= truncate
|
||||
WARNS?= 2
|
||||
|
||||
.include <bsd.prog.mk>
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -2,6 +2,7 @@
|
|||
# $FreeBSD$
|
||||
|
||||
PROG= accton
|
||||
WARNS?= 2
|
||||
MAN= accton.8
|
||||
|
||||
.include <bsd.prog.mk>
|
||||
|
|
|
@ -2,6 +2,7 @@
|
|||
# $FreeBSD$
|
||||
|
||||
PROG= dev_mkdb
|
||||
WARNS?= 2
|
||||
MAN= dev_mkdb.8
|
||||
|
||||
.include <bsd.prog.mk>
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
# $FreeBSD$
|
||||
|
||||
PROG= jail
|
||||
WARNS?= 2
|
||||
MAN= jail.8
|
||||
|
||||
.include <bsd.prog.mk>
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
# $FreeBSD$
|
||||
|
||||
PROG= lastlogin
|
||||
WARNS?= 2
|
||||
MAN= lastlogin.8
|
||||
CFLAGS+=-Wall
|
||||
|
||||
.include <bsd.prog.mk>
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
# $FreeBSD$
|
||||
|
||||
PROG= procctl
|
||||
WARNS?= 2
|
||||
MAN= procctl.8
|
||||
|
||||
.include <bsd.prog.mk>
|
||||
|
|
|
@ -3,6 +3,7 @@
|
|||
# $FreeBSD$
|
||||
|
||||
PROG= rip6query
|
||||
WARNS?= 2
|
||||
MAN= rip6query.8
|
||||
|
||||
CFLAGS+=-DINET6 -I${.CURDIR}/../route6d
|
||||
|
|
|
@ -2,6 +2,7 @@
|
|||
# FreeBSD $FreeBSD$
|
||||
|
||||
PROG= usbdevs
|
||||
WARNS?= 2
|
||||
MAN= usbdevs.8
|
||||
|
||||
.include <bsd.prog.mk>
|
||||
|
|
Loading…
Reference in a new issue