Set WARNS=2 on libraries that compile cleanly with it.
Submitted by: Mike Barcroft <mike@q9media.com>
This commit is contained in:
parent
74a5ebbd66
commit
fe70891a02
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=79752
@ -1,6 +1,7 @@
|
|||||||
# $FreeBSD$
|
# $FreeBSD$
|
||||||
|
|
||||||
LIB= calendar
|
LIB= calendar
|
||||||
|
WARNS?= 2
|
||||||
|
|
||||||
SRCS= calendar.c easter.c
|
SRCS= calendar.c easter.c
|
||||||
INCS= calendar.h
|
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 ndaysg.3 calendar.3 ndaysj.3 \
|
||||||
calendar.3 week.3 calendar.3 weekday.3
|
calendar.3 week.3 calendar.3 weekday.3
|
||||||
|
|
||||||
CFLAGS+=-I. -I${.CURDIR} -Wall
|
|
||||||
|
|
||||||
.include <bsd.lib.mk>
|
.include <bsd.lib.mk>
|
||||||
|
@ -2,6 +2,7 @@
|
|||||||
# $Whistle: Makefile,v 1.4 1999/01/17 03:41:02 julian Exp $
|
# $Whistle: Makefile,v 1.4 1999/01/17 03:41:02 julian Exp $
|
||||||
|
|
||||||
LIB= netgraph
|
LIB= netgraph
|
||||||
|
WARNS?= 2
|
||||||
MAN= netgraph.3
|
MAN= netgraph.3
|
||||||
|
|
||||||
SHLIB_MAJOR= 1
|
SHLIB_MAJOR= 1
|
||||||
@ -10,8 +11,6 @@ SHLIB_MAJOR= 1
|
|||||||
SRCS= sock.c msg.c debug.c
|
SRCS= sock.c msg.c debug.c
|
||||||
INCS= netgraph.h
|
INCS= netgraph.h
|
||||||
|
|
||||||
CFLAGS+= -Wall
|
|
||||||
|
|
||||||
MLINKS+= netgraph.3 NgMkSockNode.3
|
MLINKS+= netgraph.3 NgMkSockNode.3
|
||||||
MLINKS+= netgraph.3 NgNameNode.3
|
MLINKS+= netgraph.3 NgNameNode.3
|
||||||
MLINKS+= netgraph.3 NgSendMsg.3
|
MLINKS+= netgraph.3 NgSendMsg.3
|
||||||
|
Loading…
Reference in New Issue
Block a user