From c8edef9f4815bf8e0e3c1f214ecfeb1f1deac9d9 Mon Sep 17 00:00:00 2001 From: Johan Karlsson Date: Mon, 23 Feb 2004 20:05:14 +0000 Subject: [PATCH] style.Makefile: Use WARNS?= instead of WARNS= --- bin/csh/Makefile | 2 +- bin/ps/Makefile | 2 +- bin/rmail/Makefile | 2 +- bin/sh/Makefile | 2 +- 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 \