aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/libcalendar/Makefile3
-rw-r--r--lib/libnetgraph/Makefile3
2 files changed, 2 insertions, 4 deletions
diff --git a/lib/libcalendar/Makefile b/lib/libcalendar/Makefile
index 601b77cbe5ca..8bba20b726ba 100644
--- a/lib/libcalendar/Makefile
+++ b/lib/libcalendar/Makefile
@@ -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>
diff --git a/lib/libnetgraph/Makefile b/lib/libnetgraph/Makefile
index 43417769125c..bad5679976f3 100644
--- a/lib/libnetgraph/Makefile
+++ b/lib/libnetgraph/Makefile
@@ -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