summaryrefslogtreecommitdiffstats
path: root/usr.sbin/ypldap
diff options
context:
space:
mode:
authorrodrigc <rodrigc@FreeBSD.org>2015-11-16 16:51:18 +0000
committerrodrigc <rodrigc@FreeBSD.org>2015-11-16 16:51:18 +0000
commit8fc8f40e0d49c50a9f764c472aefe5211674a28e (patch)
tree65a89de4367694c3a458d798b293a178d547a262 /usr.sbin/ypldap
parentd2078e379a508e6ee362fc30ecc041c9b5161d62 (diff)
downloadFreeBSD-src-8fc8f40e0d49c50a9f764c472aefe5211674a28e.zip
FreeBSD-src-8fc8f40e0d49c50a9f764c472aefe5211674a28e.tar.gz
Convert Makefile to FreeBSD style.
Add libopenbsd to link line for imsg.
Diffstat (limited to 'usr.sbin/ypldap')
-rw-r--r--usr.sbin/ypldap/Makefile15
1 files changed, 7 insertions, 8 deletions
diff --git a/usr.sbin/ypldap/Makefile b/usr.sbin/ypldap/Makefile
index f89277a..1d3cabc 100644
--- a/usr.sbin/ypldap/Makefile
+++ b/usr.sbin/ypldap/Makefile
@@ -9,13 +9,12 @@ SRCS= parse.y ypldap.c log.c \
MAN= ypldap.8 ypldap.conf.5
-DPADD= ${LIBEVENT} ${LIBUTIL} ${LIBRPCSVC}
-LDADD= -levent -lutil -lrpcsvc
-CFLAGS+= -I${.CURDIR}
-CFLAGS+= -Wall
-CFLAGS+= -Wstrict-prototypes -Wmissing-prototypes
-CFLAGS+= -Wmissing-declarations
-CFLAGS+= -Wshadow -Wpointer-arith -Wcast-qual
-CFLAGS+= -Wsign-compare
+LIBADD= openbsd event util rpcsvc
+
+CFLAGS+=-I${.CURDIR}
+CFLAGS+=-I${.CURDIR}/../../contrib/pf/libevent
+CFLAGS+=-I${.CURDIR}/../../lib/libopenbsd
+
+WARNS= 2
.include <bsd.prog.mk>
OpenPOWER on IntegriCloud