summaryrefslogtreecommitdiff
path: root/usr.sbin/ldapd/Makefile
diff options
context:
space:
mode:
authorMartin Hedenfal <martinh@cvs.openbsd.org>2010-05-31 17:36:32 +0000
committerMartin Hedenfal <martinh@cvs.openbsd.org>2010-05-31 17:36:32 +0000
commit28c2c79b07ed71b5906389cdda8588b4b5ddb055 (patch)
tree8eb48a984a6919ca495b6f04acc0ff17b126923f /usr.sbin/ldapd/Makefile
parent4351d86e27905803bc2e0db9b38ad6075b8ceee1 (diff)
Initial import of ldapd, a small LDAP daemon. Work in progress.
ok deraadt@ jacekm@ gilles@ back@ henning@ blambert@
Diffstat (limited to 'usr.sbin/ldapd/Makefile')
-rw-r--r--usr.sbin/ldapd/Makefile20
1 files changed, 20 insertions, 0 deletions
diff --git a/usr.sbin/ldapd/Makefile b/usr.sbin/ldapd/Makefile
new file mode 100644
index 00000000000..3c056b44ad1
--- /dev/null
+++ b/usr.sbin/ldapd/Makefile
@@ -0,0 +1,20 @@
+# $OpenBSD: Makefile,v 1.1 2010/05/31 17:36:31 martinh Exp $
+
+PROG= ldapd
+MAN= ldapd.8 ldapd.conf.5
+SRCS= ber.c log.c control.c \
+ util.c ldapd.c ldape.c conn.c attributes.c namespace.c \
+ btree.c filter.c search.c parse.y \
+ auth.c modify.c index.c ssl.c ssl_privsep.c compact.c \
+ validate.c uuid.c
+
+LDADD= -levent -lcrypto -lssl -lz -lutil
+DPADD= ${LIBEVENT} ${LIBCRYPTO} ${LIBSSL} ${LIBZ} ${LIBUTIL}
+CFLAGS+= -Wall -Wstrict-prototypes -Wmissing-prototypes
+CFLAGS+= -Wmissing-declarations
+CFLAGS+= -Wshadow -Wpointer-arith -Wcast-qual
+CFLAGS+= -Wsign-compare
+CLEANFILES+= y.tab.h parse.c
+
+.include <bsd.prog.mk>
+