summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorjohan <johan@FreeBSD.org>2004-02-23 20:05:14 +0000
committerjohan <johan@FreeBSD.org>2004-02-23 20:05:14 +0000
commitc1045205c13a04481f1e57da82bb4abffb5e0ee5 (patch)
tree2b769364074c45eb71251f77408f68aba85d8207 /bin
parent1afae74d7be3ed889476653f22d2af75b7889e95 (diff)
downloadFreeBSD-src-c1045205c13a04481f1e57da82bb4abffb5e0ee5.zip
FreeBSD-src-c1045205c13a04481f1e57da82bb4abffb5e0ee5.tar.gz
style.Makefile:
Use WARNS?= instead of WARNS=
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 8b3c2e4..90ce918 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 ca6d51a..82b5a60 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 f721d8d..532a8d3 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 9653422..f5052a4 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 \
OpenPOWER on IntegriCloud