Set WARNS=2 on libraries that compile cleanly with it.

Submitted by:	Mike Barcroft <mike@q9media.com>
This commit is contained in:
Dima Dorfman 2001-07-15 06:46:02 +00:00
parent 74a5ebbd66
commit fe70891a02
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=79752
2 changed files with 2 additions and 4 deletions

View File

@ -1,6 +1,7 @@
# $FreeBSD$
LIB= calendar
WARNS?= 2
SRCS= calendar.c easter.c
INCS= calendar.h
@ -12,6 +13,4 @@ MLINKS= calendar.3 easterg.3 calendar.3 easterog.3 calendar.3 easteroj.3 \
calendar.3 ndaysg.3 calendar.3 ndaysj.3 \
calendar.3 week.3 calendar.3 weekday.3
CFLAGS+=-I. -I${.CURDIR} -Wall
.include <bsd.lib.mk>

View File

@ -2,6 +2,7 @@
# $Whistle: Makefile,v 1.4 1999/01/17 03:41:02 julian Exp $
LIB= netgraph
WARNS?= 2
MAN= netgraph.3
SHLIB_MAJOR= 1
@ -10,8 +11,6 @@ SHLIB_MAJOR= 1
SRCS= sock.c msg.c debug.c
INCS= netgraph.h
CFLAGS+= -Wall
MLINKS+= netgraph.3 NgMkSockNode.3
MLINKS+= netgraph.3 NgNameNode.3
MLINKS+= netgraph.3 NgSendMsg.3