From 4f36141373c640c18bffb4c94293a00eb8e9952e Mon Sep 17 00:00:00 2001 From: gad Date: Sun, 23 Jun 2002 20:57:18 +0000 Subject: Stop adding ${CWARNFLAGS} to CFLAGS. The standard makefile processing will add them automatically, and there is no point in adding them twice. MFC after: 5 days --- usr.sbin/lpr/chkprintcap/Makefile | 2 +- usr.sbin/lpr/common_source/Makefile | 2 -- usr.sbin/lpr/lpc/Makefile | 2 +- usr.sbin/lpr/lpd/Makefile | 2 +- usr.sbin/lpr/lpq/Makefile | 2 +- usr.sbin/lpr/lpr/Makefile | 2 +- usr.sbin/lpr/lprm/Makefile | 2 +- usr.sbin/lpr/pac/Makefile | 2 +- 8 files changed, 7 insertions(+), 9 deletions(-) (limited to 'usr.sbin') diff --git a/usr.sbin/lpr/chkprintcap/Makefile b/usr.sbin/lpr/chkprintcap/Makefile index cb8ce8d..ffffffb 100644 --- a/usr.sbin/lpr/chkprintcap/Makefile +++ b/usr.sbin/lpr/chkprintcap/Makefile @@ -6,7 +6,7 @@ PROG= chkprintcap MAN= chkprintcap.8 SRCS= chkprintcap.c skimprintcap.c -CFLAGS+= -I${.CURDIR}/../common_source ${CWARNFLAGS} +CFLAGS+= -I${.CURDIR}/../common_source DPADD= ${LIBLPR} LDADD= ${LIBLPR} diff --git a/usr.sbin/lpr/common_source/Makefile b/usr.sbin/lpr/common_source/Makefile index f563917..0f03941 100644 --- a/usr.sbin/lpr/common_source/Makefile +++ b/usr.sbin/lpr/common_source/Makefile @@ -10,6 +10,4 @@ INTERNALLIB= YES SRCS= common.c ctlinfo.c displayq.c net.c printcap.c request.c \ rmjob.c startdaemon.c -CFLAGS+= ${CWARNFLAGS} - .include diff --git a/usr.sbin/lpr/lpc/Makefile b/usr.sbin/lpr/lpc/Makefile index 51ab44d..7ce0f4c 100644 --- a/usr.sbin/lpr/lpc/Makefile +++ b/usr.sbin/lpr/lpc/Makefile @@ -9,7 +9,7 @@ SRCS= lpc.c cmds.c cmdtab.c BINGRP= daemon BINMODE= 2555 -CFLAGS+= -I${.CURDIR}/../common_source ${CWARNFLAGS} +CFLAGS+= -I${.CURDIR}/../common_source DPADD= ${LIBLPR} ${LIBEDIT} ${LIBTERMCAP} LDADD= ${LIBLPR} -ledit -ltermcap diff --git a/usr.sbin/lpr/lpd/Makefile b/usr.sbin/lpr/lpd/Makefile index 6250e16..9af3655 100644 --- a/usr.sbin/lpr/lpd/Makefile +++ b/usr.sbin/lpr/lpd/Makefile @@ -5,7 +5,7 @@ PROG= lpd MAN= lpd.8 SRCS= lpd.c printjob.c recvjob.c lpdchar.c modes.c -CFLAGS+= -I${.CURDIR}/../common_source ${CWARNFLAGS} +CFLAGS+= -I${.CURDIR}/../common_source DPADD= ${LIBLPR} LDADD= ${LIBLPR} diff --git a/usr.sbin/lpr/lpq/Makefile b/usr.sbin/lpr/lpq/Makefile index e4a5eff..4df437e 100644 --- a/usr.sbin/lpr/lpq/Makefile +++ b/usr.sbin/lpr/lpq/Makefile @@ -8,7 +8,7 @@ BINOWN= root BINGRP= daemon BINMODE= 6555 -CFLAGS+= -I${.CURDIR}/../common_source ${CWARNFLAGS} +CFLAGS+= -I${.CURDIR}/../common_source DPADD= ${LIBLPR} LDADD= ${LIBLPR} diff --git a/usr.sbin/lpr/lpr/Makefile b/usr.sbin/lpr/lpr/Makefile index 0e11b49..1ff376d 100644 --- a/usr.sbin/lpr/lpr/Makefile +++ b/usr.sbin/lpr/lpr/Makefile @@ -11,7 +11,7 @@ BINOWN= root BINGRP= daemon BINMODE= 6555 -CFLAGS+= -I${.CURDIR}/../common_source ${CWARNFLAGS} +CFLAGS+= -I${.CURDIR}/../common_source DPADD= ${LIBLPR} LDADD= ${LIBLPR} diff --git a/usr.sbin/lpr/lprm/Makefile b/usr.sbin/lpr/lprm/Makefile index df7241f..44bc93a 100644 --- a/usr.sbin/lpr/lprm/Makefile +++ b/usr.sbin/lpr/lprm/Makefile @@ -10,7 +10,7 @@ BINOWN= root BINGRP= daemon BINMODE= 6555 -CFLAGS+= -I${.CURDIR}/../common_source ${CWARNFLAGS} +CFLAGS+= -I${.CURDIR}/../common_source DPADD= ${LIBLPR} LDADD= ${LIBLPR} diff --git a/usr.sbin/lpr/pac/Makefile b/usr.sbin/lpr/pac/Makefile index 19ecdc9..bd895a7 100644 --- a/usr.sbin/lpr/pac/Makefile +++ b/usr.sbin/lpr/pac/Makefile @@ -6,7 +6,7 @@ PROG= pac MAN= pac.8 -CFLAGS+= -I${.CURDIR}/../common_source ${CWARNFLAGS} +CFLAGS+= -I${.CURDIR}/../common_source DPADD= ${LIBLPR} LDADD= ${LIBLPR} -- cgit v1.1