From fdda055e004374dd1e05e940799016013c301b6c Mon Sep 17 00:00:00 2001 From: dd Date: Sat, 30 Jun 2001 05:39:36 +0000 Subject: Set WARNS=2 on programs that compile cleanly with it; add $FreeBSD$ where necessary. Submitted by: Mike Barcroft --- usr.bin/basename/Makefile | 5 +++-- usr.bin/biff/Makefile | 5 +++-- usr.bin/cap_mkdb/Makefile | 5 +++-- usr.bin/colrm/Makefile | 5 +++-- usr.bin/dirname/Makefile | 5 +++-- usr.bin/env/Makefile | 5 +++-- usr.bin/file2c/Makefile | 1 + usr.bin/fold/Makefile | 4 +++- usr.bin/from/Makefile | 4 +++- usr.bin/fsync/Makefile | 1 + usr.bin/gencat/Makefile | 1 + usr.bin/leave/Makefile | 2 +- usr.bin/mesg/Makefile | 4 +++- usr.bin/mkfifo/Makefile | 4 +++- usr.bin/truncate/Makefile | 1 + usr.bin/unexpand/Makefile | 4 +++- usr.bin/what/Makefile | 4 +++- 17 files changed, 41 insertions(+), 19 deletions(-) (limited to 'usr.bin') diff --git a/usr.bin/basename/Makefile b/usr.bin/basename/Makefile index d74d670..cebc652 100644 --- a/usr.bin/basename/Makefile +++ b/usr.bin/basename/Makefile @@ -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 diff --git a/usr.bin/biff/Makefile b/usr.bin/biff/Makefile index db26fc4..2a8f08b 100644 --- a/usr.bin/biff/Makefile +++ b/usr.bin/biff/Makefile @@ -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 diff --git a/usr.bin/cap_mkdb/Makefile b/usr.bin/cap_mkdb/Makefile index 88a34d7..1ad2eef 100644 --- a/usr.bin/cap_mkdb/Makefile +++ b/usr.bin/cap_mkdb/Makefile @@ -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 diff --git a/usr.bin/colrm/Makefile b/usr.bin/colrm/Makefile index 7413d42..bcc6edc 100644 --- a/usr.bin/colrm/Makefile +++ b/usr.bin/colrm/Makefile @@ -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 diff --git a/usr.bin/dirname/Makefile b/usr.bin/dirname/Makefile index 0350db6..0c6b6b5 100644 --- a/usr.bin/dirname/Makefile +++ b/usr.bin/dirname/Makefile @@ -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 diff --git a/usr.bin/env/Makefile b/usr.bin/env/Makefile index fadfd08..dc55bc1 100644 --- a/usr.bin/env/Makefile +++ b/usr.bin/env/Makefile @@ -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 diff --git a/usr.bin/file2c/Makefile b/usr.bin/file2c/Makefile index e88a3bc..342443a 100644 --- a/usr.bin/file2c/Makefile +++ b/usr.bin/file2c/Makefile @@ -1,5 +1,6 @@ # $FreeBSD$ PROG= file2c +WARNS?= 2 .include diff --git a/usr.bin/fold/Makefile b/usr.bin/fold/Makefile index 4d80007..2032de4 100644 --- a/usr.bin/fold/Makefile +++ b/usr.bin/fold/Makefile @@ -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 diff --git a/usr.bin/from/Makefile b/usr.bin/from/Makefile index a802dc6..4a96f79 100644 --- a/usr.bin/from/Makefile +++ b/usr.bin/from/Makefile @@ -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 diff --git a/usr.bin/fsync/Makefile b/usr.bin/fsync/Makefile index c9bc524..10e5e7a 100644 --- a/usr.bin/fsync/Makefile +++ b/usr.bin/fsync/Makefile @@ -1,5 +1,6 @@ # $FreeBSD$ PROG= fsync +WARNS?= 2 .include diff --git a/usr.bin/gencat/Makefile b/usr.bin/gencat/Makefile index 45af07a..7a383d8 100644 --- a/usr.bin/gencat/Makefile +++ b/usr.bin/gencat/Makefile @@ -2,6 +2,7 @@ PROG= gencat SRCS= gencat.c genlib.c +WARNS?= 2 CFLAGS+= -I${.CURDIR}/../../lib/libc/nls diff --git a/usr.bin/leave/Makefile b/usr.bin/leave/Makefile index eacf6f1..63ecd75 100644 --- a/usr.bin/leave/Makefile +++ b/usr.bin/leave/Makefile @@ -2,6 +2,6 @@ # $FreeBSD$ PROG= leave -CFLAGS+=-Wall +WARNS?= 2 .include diff --git a/usr.bin/mesg/Makefile b/usr.bin/mesg/Makefile index 8c54356..fc664f8 100644 --- a/usr.bin/mesg/Makefile +++ b/usr.bin/mesg/Makefile @@ -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 diff --git a/usr.bin/mkfifo/Makefile b/usr.bin/mkfifo/Makefile index fff2939..719c520 100644 --- a/usr.bin/mkfifo/Makefile +++ b/usr.bin/mkfifo/Makefile @@ -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 diff --git a/usr.bin/truncate/Makefile b/usr.bin/truncate/Makefile index 4752c5c..f182f1f 100644 --- a/usr.bin/truncate/Makefile +++ b/usr.bin/truncate/Makefile @@ -1,5 +1,6 @@ # $FreeBSD$ PROG= truncate +WARNS?= 2 .include diff --git a/usr.bin/unexpand/Makefile b/usr.bin/unexpand/Makefile index d634f96..dc127db 100644 --- a/usr.bin/unexpand/Makefile +++ b/usr.bin/unexpand/Makefile @@ -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 diff --git a/usr.bin/what/Makefile b/usr.bin/what/Makefile index 41a3f42..73f2537 100644 --- a/usr.bin/what/Makefile +++ b/usr.bin/what/Makefile @@ -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 -- cgit v1.1