Remove redundant WARNS?=6 overrides and inherit the WARNS setting from

the toplevel directory.

This does not change any WARNS level and survives a make universe.

Approved by:        ed (co-mentor)
This commit is contained in:
uqs 2010-03-02 18:44:08 +00:00
parent 309aced7db
commit 4a10ff6f04
9 changed files with 7 additions and 7 deletions

View File

@ -0,0 +1,3 @@
# $FreeBSD$
.include "../Makefile.inc"

View File

@ -8,7 +8,6 @@ SHLIB_MAJOR= 7
MAN= libalias.3
SRCS= alias.c alias_db.c alias_proxy.c alias_util.c alias_mod.c
INCS= alias.h
WARNS?= 6
NO_WERROR=
.include <bsd.lib.mk>

View File

@ -137,7 +137,6 @@ CFLAGS+= -I${LA_SRCDIR} -I.
# Uncomment to link against dmalloc
#LDADD+= -L/usr/local/lib -ldmalloc
#CFLAGS+= -I/usr/local/include -DUSE_DMALLOC
#WARNS=6
# Build libarchive_test and run it.
check test: libarchive_test

View File

@ -30,3 +30,5 @@ DEBUG_FLAGS+= -DDEBUG
SHLIB_MAJOR= 5
PAM_MOD_DIR= ${LIBDIR}
.include "../Makefile.inc"

View File

@ -6,7 +6,6 @@ NO_INSTALLLIB=
NO_PROFILE=
CFLAGS+= -I${PAMDIR}/include -I${.CURDIR}/../../libpam
WARNS?= 6
# This is nasty.
# For the static case, libpam.a depends on the modules.

View File

@ -15,7 +15,6 @@ SRCS+= proto.c proto_common.c proto_tcp4.c proto_uds.c
SRCS+= token.l
SRCS+= subr.c
SRCS+= y.tab.h
WARNS?= 6
MAN= hastctl.8
CFLAGS+=-I${.CURDIR}/../hastd

View File

@ -16,7 +16,6 @@ SRCS+= rangelock.c
SRCS+= subr.c
SRCS+= token.l
SRCS+= y.tab.h
WARNS?= 6
MAN= hastd.8 hast.conf.5
CFLAGS+=-I${.CURDIR}

View File

@ -8,7 +8,6 @@ SRCS= bthidd.c client.c hid.c kbd.c lexer.l parser.y server.c \
session.c
CFLAGS+= -I${.CURDIR}
WARNS?= 6
DEBUG_FLAGS= -g
DPADD= ${LIBBLUETOOTH} ${LIBUSBHID}

View File

@ -1,8 +1,9 @@
# $FreeBSD$
SHLIB_MAJOR= 6
WARNS?= 6
MANFILTER= sed -e 's%@MODPATH@%${LIBDIR}/%g' \
-e 's%@DEFPATH@%${DEFSDIR}/%g' \
-e 's%@MIBSPATH@%${BMIBSDIR}/%g'
.include "../Makefile.inc"