diff options
author | David E. O'Brien <obrien@FreeBSD.org> | 2001-12-04 01:57:47 +0000 |
---|---|---|
committer | David E. O'Brien <obrien@FreeBSD.org> | 2001-12-04 01:57:47 +0000 |
commit | a748290789444352877e207721a7db215206cc9a (patch) | |
tree | 46fa80addd858339c663ba48aaca464400ef1d99 | |
parent | 4d2647f96a5405550a2836bd18e6860514cf0cf0 (diff) | |
download | src-test2-a748290789444352877e207721a7db215206cc9a.tar.gz src-test2-a748290789444352877e207721a7db215206cc9a.zip |
Notes
-rw-r--r-- | bin/Makefile.inc | 1 | ||||
-rw-r--r-- | bin/cat/Makefile | 1 | ||||
-rw-r--r-- | bin/chio/Makefile | 1 | ||||
-rw-r--r-- | bin/chmod/Makefile | 2 | ||||
-rw-r--r-- | bin/cp/Makefile | 3 | ||||
-rw-r--r-- | bin/csh/Makefile | 1 | ||||
-rw-r--r-- | bin/date/Makefile | 1 | ||||
-rw-r--r-- | bin/dd/Makefile | 1 | ||||
-rw-r--r-- | bin/df/Makefile | 2 | ||||
-rw-r--r-- | bin/domainname/Makefile | 2 | ||||
-rw-r--r-- | bin/echo/Makefile | 2 | ||||
-rw-r--r-- | bin/ed/Makefile | 1 | ||||
-rw-r--r-- | bin/expr/Makefile | 1 | ||||
-rw-r--r-- | bin/getfacl/Makefile | 1 | ||||
-rw-r--r-- | bin/hostname/Makefile | 2 | ||||
-rw-r--r-- | bin/kill/Makefile | 2 | ||||
-rw-r--r-- | bin/ln/Makefile | 2 | ||||
-rw-r--r-- | bin/ls/Makefile | 1 | ||||
-rw-r--r-- | bin/mkdir/Makefile | 1 | ||||
-rw-r--r-- | bin/mv/Makefile | 1 | ||||
-rw-r--r-- | bin/pax/Makefile | 1 | ||||
-rw-r--r-- | bin/ps/Makefile | 1 | ||||
-rw-r--r-- | bin/pwd/Makefile | 2 | ||||
-rw-r--r-- | bin/rcp/Makefile | 1 | ||||
-rw-r--r-- | bin/rm/Makefile | 1 | ||||
-rw-r--r-- | bin/rmail/Makefile | 1 | ||||
-rw-r--r-- | bin/rmdir/Makefile | 2 | ||||
-rw-r--r-- | bin/setfacl/Makefile | 2 | ||||
-rw-r--r-- | bin/sh/Makefile | 1 | ||||
-rw-r--r-- | bin/sleep/Makefile | 2 | ||||
-rw-r--r-- | bin/stty/Makefile | 2 | ||||
-rw-r--r-- | bin/sync/Makefile | 2 | ||||
-rw-r--r-- | bin/test/Makefile | 2 |
33 files changed, 12 insertions, 37 deletions
diff --git a/bin/Makefile.inc b/bin/Makefile.inc index d29f43ab50c7..29cd22b54e8a 100644 --- a/bin/Makefile.inc +++ b/bin/Makefile.inc @@ -4,6 +4,7 @@ BINDIR?= /bin CFLAGS+= -Wall -Wformat NOSHARED?= YES +WARNS?= 2 .if exists (${.CURDIR}/../../secure) diff --git a/bin/cat/Makefile b/bin/cat/Makefile index 5e2c746d7c27..672a4eeeeff5 100644 --- a/bin/cat/Makefile +++ b/bin/cat/Makefile @@ -2,6 +2,5 @@ # $FreeBSD$ PROG= cat -WARNS?= 2 .include <bsd.prog.mk> diff --git a/bin/chio/Makefile b/bin/chio/Makefile index 33bde4bac4dd..172032832c7a 100644 --- a/bin/chio/Makefile +++ b/bin/chio/Makefile @@ -2,7 +2,6 @@ # @(#)Makefile 8.1 (Berkeley) 6/6/93 PROG= chio -WARNS?= 2 SRCS= chio.c .include <bsd.prog.mk> diff --git a/bin/chmod/Makefile b/bin/chmod/Makefile index 9661513d74bb..71006d00a523 100644 --- a/bin/chmod/Makefile +++ b/bin/chmod/Makefile @@ -3,6 +3,4 @@ PROG= chmod -WARNS?= 2 - .include <bsd.prog.mk> diff --git a/bin/cp/Makefile b/bin/cp/Makefile index 1b0037f35f2f..7108f71660d3 100644 --- a/bin/cp/Makefile +++ b/bin/cp/Makefile @@ -3,6 +3,7 @@ PROG= cp SRCS= cp.c utils.c -CFLAGS+= -W -DVM_AND_BUFFER_CACHE_SYNCHRONIZED +CFLAGS+= -DVM_AND_BUFFER_CACHE_SYNCHRONIZED +WARNS= 0 .include <bsd.prog.mk> diff --git a/bin/csh/Makefile b/bin/csh/Makefile index bb6c56ba0fd1..555cf580d41f 100644 --- a/bin/csh/Makefile +++ b/bin/csh/Makefile @@ -13,6 +13,7 @@ PROG= csh SUBDIR= nls DFLAGS= -D_PATH_TCSHELL='"/bin/${PROG}"' CFLAGS+= -I. -I${.CURDIR} -I${TCSHDIR} ${DFLAGS} +WARNS= 0 SRCS= sh.c sh.dir.c sh.dol.c sh.err.c sh.exec.c sh.char.c \ sh.exp.c sh.file.c sh.func.c sh.glob.c sh.hist.c sh.init.c \ sh.lex.c sh.misc.c sh.parse.c sh.print.c sh.proc.c sh.sem.c \ diff --git a/bin/date/Makefile b/bin/date/Makefile index 8a1dc8579330..0a57e97a028c 100644 --- a/bin/date/Makefile +++ b/bin/date/Makefile @@ -3,6 +3,7 @@ PROG= date SRCS= date.c netdate.c vary.c +WARNS= 0 DPADD= ${LIBUTIL} LDADD= -lutil diff --git a/bin/dd/Makefile b/bin/dd/Makefile index 0cbd23895879..165362a7ad88 100644 --- a/bin/dd/Makefile +++ b/bin/dd/Makefile @@ -3,6 +3,7 @@ PROG= dd SRCS= args.c conv.c conv_tab.c dd.c misc.c position.c +WARNS= 0 MAINTAINER= green@FreeBSD.org diff --git a/bin/df/Makefile b/bin/df/Makefile index 264d99f2cb13..77a05e847960 100644 --- a/bin/df/Makefile +++ b/bin/df/Makefile @@ -11,6 +11,4 @@ CFLAGS+= -I${MOUNT} DPADD= ${LIBM} LDADD= -lm -WARNS?= 2 - .include <bsd.prog.mk> diff --git a/bin/domainname/Makefile b/bin/domainname/Makefile index 958c490f1597..724bd06f6a39 100644 --- a/bin/domainname/Makefile +++ b/bin/domainname/Makefile @@ -2,6 +2,4 @@ PROG= domainname -WARNS?= 2 - .include <bsd.prog.mk> diff --git a/bin/echo/Makefile b/bin/echo/Makefile index 236a937ea799..d00d4679d7ac 100644 --- a/bin/echo/Makefile +++ b/bin/echo/Makefile @@ -3,6 +3,4 @@ PROG= echo -WARNS?= 2 - .include <bsd.prog.mk> diff --git a/bin/ed/Makefile b/bin/ed/Makefile index 93d5ee03b035..95901a69bd0e 100644 --- a/bin/ed/Makefile +++ b/bin/ed/Makefile @@ -2,7 +2,6 @@ PROG= ed SRCS= buf.c cbc.c glbl.c io.c main.c re.c sub.c undo.c -WARNS?= 2 LINKS= ${BINDIR}/ed ${BINDIR}/red MLINKS= ed.1 red.1 diff --git a/bin/expr/Makefile b/bin/expr/Makefile index 4857ca6d44c0..544853e10a25 100644 --- a/bin/expr/Makefile +++ b/bin/expr/Makefile @@ -3,6 +3,5 @@ PROG= expr SRCS= expr.y YFLAGS= -WARNS?= 2 .include <bsd.prog.mk> diff --git a/bin/getfacl/Makefile b/bin/getfacl/Makefile index f47f65851235..b7b5e983a530 100644 --- a/bin/getfacl/Makefile +++ b/bin/getfacl/Makefile @@ -1,6 +1,5 @@ # $FreeBSD$ PROG= getfacl -WARNS?= 2 .include <bsd.prog.mk> diff --git a/bin/hostname/Makefile b/bin/hostname/Makefile index 3053b90408b3..3c7997f862fc 100644 --- a/bin/hostname/Makefile +++ b/bin/hostname/Makefile @@ -3,6 +3,4 @@ PROG= hostname -WARNS?= 2 - .include <bsd.prog.mk> diff --git a/bin/kill/Makefile b/bin/kill/Makefile index 033fdaa66162..55ef16dfce2c 100644 --- a/bin/kill/Makefile +++ b/bin/kill/Makefile @@ -3,6 +3,4 @@ PROG= kill -WARNS?= 2 - .include <bsd.prog.mk> diff --git a/bin/ln/Makefile b/bin/ln/Makefile index 90a37d3057f4..b541f8bd3be0 100644 --- a/bin/ln/Makefile +++ b/bin/ln/Makefile @@ -7,6 +7,4 @@ MAN= ln.1 symlink.7 LINKS= ${BINDIR}/ln ${BINDIR}/link MLINKS= ln.1 link.1 -WARNS?= 2 - .include <bsd.prog.mk> diff --git a/bin/ls/Makefile b/bin/ls/Makefile index a4345ff0b22e..65286efb2d91 100644 --- a/bin/ls/Makefile +++ b/bin/ls/Makefile @@ -4,6 +4,7 @@ PROG= ls SRCS= cmp.c ls.c print.c util.c lomac.c +WARNS= 0 .if !defined(RELEASE_CRUNCH) CFLAGS+= -DCOLORLS diff --git a/bin/mkdir/Makefile b/bin/mkdir/Makefile index 57bea68519c9..fadc6b294ef7 100644 --- a/bin/mkdir/Makefile +++ b/bin/mkdir/Makefile @@ -2,6 +2,5 @@ # $FreeBSD$ PROG= mkdir -WARNS?= 2 .include <bsd.prog.mk> diff --git a/bin/mv/Makefile b/bin/mv/Makefile index ce2a5e8d9fbb..840578276d5a 100644 --- a/bin/mv/Makefile +++ b/bin/mv/Makefile @@ -2,6 +2,5 @@ # $FreeBSD$ PROG= mv -WARNS?= 2 .include <bsd.prog.mk> diff --git a/bin/pax/Makefile b/bin/pax/Makefile index f142bfcc05a2..02673fd605af 100644 --- a/bin/pax/Makefile +++ b/bin/pax/Makefile @@ -29,6 +29,7 @@ PROG= pax SRCS= ar_io.c ar_subs.c buf_subs.c cache.c cpio.c file_subs.c ftree.c \ gen_subs.c getoldopt.c options.c pat_rep.c pax.c sel_subs.c \ tables.c tar.c tty_subs.c +WARNS= 0 #XXX NOTYET #MAN= pax.1 tar.1 cpio.1 #LINKS= ${BINDIR}/pax ${BINDIR}/tar ${BINDIR}/pax ${BINDIR}/cpio diff --git a/bin/ps/Makefile b/bin/ps/Makefile index 1381ee9ea824..180ee78eb8c6 100644 --- a/bin/ps/Makefile +++ b/bin/ps/Makefile @@ -10,6 +10,7 @@ SRCS= fmt.c keyword.c nlist.c print.c ps.c lomac.c # on large systems. # CFLAGS+=-DLAZY_PS +WARNS= 0 DPADD= ${LIBM} ${LIBKVM} LDADD= -lm -lkvm #BINGRP= kmem diff --git a/bin/pwd/Makefile b/bin/pwd/Makefile index 718cd4620f81..129ed63cbdbe 100644 --- a/bin/pwd/Makefile +++ b/bin/pwd/Makefile @@ -5,6 +5,4 @@ PROG= pwd LINKS= ${BINDIR}/pwd ${BINDIR}/realpath MAN= pwd.1 realpath.1 -WARNS?= 2 - .include <bsd.prog.mk> diff --git a/bin/rcp/Makefile b/bin/rcp/Makefile index c3d24835eb16..b266813203c0 100644 --- a/bin/rcp/Makefile +++ b/bin/rcp/Makefile @@ -4,6 +4,7 @@ PROG= rcp SRCS= rcp.c util.c CFLAGS+=-DBINDIR=${BINDIR} +WARNS= 0 .if exists(${DESTDIR}${LIBDIR}/libkrb.a) && defined(MAKE_KERBEROS4) SRCS+= krcmd.c kcmd.c rcmd_util.c diff --git a/bin/rm/Makefile b/bin/rm/Makefile index 2544a15ead00..7b85cdf90fc0 100644 --- a/bin/rm/Makefile +++ b/bin/rm/Makefile @@ -2,7 +2,6 @@ # $FreeBSD$ PROG= rm -WARNS?= 2 SRCS= rm.c LINKS= ${BINDIR}/rm ${BINDIR}/unlink diff --git a/bin/rmail/Makefile b/bin/rmail/Makefile index 87cd9cccc3a6..9de213c607cd 100644 --- a/bin/rmail/Makefile +++ b/bin/rmail/Makefile @@ -10,6 +10,7 @@ PROG= rmail SRCS= rmail.c MAN= rmail.8 CFLAGS+=-I${SENDMAIL_DIR}/include +WARNS= 0 .if exists(${.OBJDIR}/../../lib/libsmutil) LIBSMUTILDIR:= ${.OBJDIR}/../../lib/libsmutil diff --git a/bin/rmdir/Makefile b/bin/rmdir/Makefile index 23df216e380e..c2c7f301ce49 100644 --- a/bin/rmdir/Makefile +++ b/bin/rmdir/Makefile @@ -3,6 +3,4 @@ PROG= rmdir -WARNS?= 2 - .include <bsd.prog.mk> diff --git a/bin/setfacl/Makefile b/bin/setfacl/Makefile index 9823b55dccb2..ff67650ef8fa 100644 --- a/bin/setfacl/Makefile +++ b/bin/setfacl/Makefile @@ -3,6 +3,4 @@ PROG= setfacl SRCS= file.c mask.c merge.c remove.c setfacl.c util.c -WARNS?= 2 - .include <bsd.prog.mk> diff --git a/bin/sh/Makefile b/bin/sh/Makefile index 64eb0f022a04..33ca205f97ab 100644 --- a/bin/sh/Makefile +++ b/bin/sh/Makefile @@ -21,6 +21,7 @@ LFLAGS= -8 # 8-bit lex scanner for arithmetic CFLAGS+=-DSHELL -I. -I${.CURDIR} # for debug: # CFLAGS+= -g -DDEBUG=2 +WARNS= 0 .PATH: ${.CURDIR}/bltin \ ${.CURDIR}/../../bin/test diff --git a/bin/sleep/Makefile b/bin/sleep/Makefile index 2b092c36d12d..4ff73308c45b 100644 --- a/bin/sleep/Makefile +++ b/bin/sleep/Makefile @@ -3,6 +3,4 @@ PROG= sleep -WARNS?= 2 - .include <bsd.prog.mk> diff --git a/bin/stty/Makefile b/bin/stty/Makefile index 349dd81536ab..82b15eb7fcae 100644 --- a/bin/stty/Makefile +++ b/bin/stty/Makefile @@ -4,6 +4,4 @@ PROG= stty SRCS= cchar.c gfmt.c key.c modes.c print.c stty.c util.c -WARNS?= 2 - .include <bsd.prog.mk> diff --git a/bin/sync/Makefile b/bin/sync/Makefile index ac74c735ea22..72c664f4afdd 100644 --- a/bin/sync/Makefile +++ b/bin/sync/Makefile @@ -4,6 +4,4 @@ PROG= sync MAN= sync.8 -WARNS?= 2 - .include <bsd.prog.mk> diff --git a/bin/test/Makefile b/bin/test/Makefile index 2a9c4d776ab6..c1bc62c5fc6e 100644 --- a/bin/test/Makefile +++ b/bin/test/Makefile @@ -5,6 +5,4 @@ PROG= test LINKS= ${BINDIR}/test ${BINDIR}/[ MLINKS= test.1 '[.1' -WARNS?= 2 - .include <bsd.prog.mk> |