summaryrefslogtreecommitdiff
path: root/usr.sbin
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2008-06-26 15:30:38 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2008-06-26 15:30:38 +0000
commitecb21207bf90ef23b4209694ea5603fc817541fb (patch)
treea0c15b5a99a34d2a46ab4b559eadc39fa45400ca /usr.sbin
parentcd66408755876755ba688bd29eb83267241b9520 (diff)
seperate out the openldap stuff that will be replaced
Diffstat (limited to 'usr.sbin')
-rw-r--r--usr.sbin/ypldap/Makefile21
1 files changed, 12 insertions, 9 deletions
diff --git a/usr.sbin/ypldap/Makefile b/usr.sbin/ypldap/Makefile
index 95eab41687f..8e0f9fb5d19 100644
--- a/usr.sbin/ypldap/Makefile
+++ b/usr.sbin/ypldap/Makefile
@@ -1,18 +1,21 @@
-# $OpenBSD: Makefile,v 1.2 2008/06/26 15:18:53 deraadt Exp $
+# $OpenBSD: Makefile,v 1.3 2008/06/26 15:30:37 deraadt Exp $
PROG= ypldap
SRCS= parse.y ypldap.c imsg.c buffer.c log.c \
ldapclient.c entries.c yp.c
MAN= ypldap.8 ypldap.conf.5
+DPADD= ${LIBEVENT}
+LDADD= -levent
+CFLAGS+= -I${.CURDIR}
+CFLAGS+= -Wall
+CFLAGS+= -Wstrict-prototypes -Wmissing-prototypes
+CFLAGS+= -Wmissing-declarations
+CFLAGS+= -Wshadow -Wpointer-arith -Wcast-qual
+CFLAGS+= -Wsign-compare -Wbounded
+
LDFLAGS= -L/usr/local/lib
-LDADD= -levent -lldap
-DPADD= ${LIBEVENT}
-CFLAGS+= -Wall
-CFLAGS+= -Wstrict-prototypes -Wmissing-prototypes
-CFLAGS+= -Wmissing-declarations
-CFLAGS+= -Wshadow -Wpointer-arith -Wcast-qual
-CFLAGS+= -Wsign-compare -Wbounded
-CFLAGS+= -I${.CURDIR} -I/usr/local/include
+LDADD+= -lldap
+CFLAGS+= -I/usr/local/include
.include <bsd.prog.mk>