aboutsummaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorJohan Karlsson <johan@FreeBSD.org>2004-02-23 20:05:14 +0000
committerJohan Karlsson <johan@FreeBSD.org>2004-02-23 20:05:14 +0000
commitc8edef9f4815bf8e0e3c1f214ecfeb1f1deac9d9 (patch)
tree2b769364074c45eb71251f77408f68aba85d8207 /bin
parentf5ebf83f3f386dbd67c5fbb0c2a26510bdd25c8e (diff)
downloadsrc-c8edef9f4815bf8e0e3c1f214ecfeb1f1deac9d9.tar.gz
src-c8edef9f4815bf8e0e3c1f214ecfeb1f1deac9d9.zip
style.Makefile:
Use WARNS?= instead of WARNS=
Notes
Notes: svn path=/head/; revision=126173
Diffstat (limited to 'bin')
-rw-r--r--bin/csh/Makefile2
-rw-r--r--bin/ps/Makefile2
-rw-r--r--bin/rmail/Makefile2
-rw-r--r--bin/sh/Makefile2
4 files changed, 4 insertions, 4 deletions
diff --git a/bin/csh/Makefile b/bin/csh/Makefile
index 8b3c2e4b7a8e..90ce918ae76a 100644
--- a/bin/csh/Makefile
+++ b/bin/csh/Makefile
@@ -16,7 +16,7 @@ DFLAGS= -D_PATH_TCSHELL='"/rescue/${PROG}"'
DFLAGS= -D_PATH_TCSHELL='"/bin/${PROG}"'
.endif
CFLAGS+= -I. -I${.CURDIR} -I${TCSHDIR} ${DFLAGS}
-WARNS= 0
+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/ps/Makefile b/bin/ps/Makefile
index ca6d51af2581..82b5a60e27c5 100644
--- a/bin/ps/Makefile
+++ b/bin/ps/Makefile
@@ -3,7 +3,7 @@
PROG= ps
SRCS= fmt.c keyword.c nlist.c print.c ps.c
-WARNS= 5
+WARNS?= 5
#
# To support "lazy" ps for non root/wheel users
# add -DLAZY_PS to the cflags. This helps
diff --git a/bin/rmail/Makefile b/bin/rmail/Makefile
index f721d8dd7d60..532a8d312352 100644
--- a/bin/rmail/Makefile
+++ b/bin/rmail/Makefile
@@ -8,7 +8,7 @@ PROG= rmail
SRCS= rmail.c
MAN= rmail.8
CFLAGS+=-I${SENDMAIL_DIR}/include -I.
-WARNS= 0
+WARNS?= 0
WFORMAT=0
.if exists(${.OBJDIR}/../../lib/libsm)
diff --git a/bin/sh/Makefile b/bin/sh/Makefile
index 9653422943d2..f5052a4ecdf8 100644
--- a/bin/sh/Makefile
+++ b/bin/sh/Makefile
@@ -21,7 +21,7 @@ LFLAGS= -8 # 8-bit lex scanner for arithmetic
CFLAGS+=-DSHELL -I. -I${.CURDIR}
# for debug:
# CFLAGS+= -g -DDEBUG=2
-WARNS= 0
+WARNS?= 0
WFORMAT=0
.PATH: ${.CURDIR}/bltin \