2020-09-19 02:46:04 -07:00
|
|
|
# $OpenBSD: Makefile,v 1.17 2020/09/19 09:46:04 tb Exp $
|
2010-05-31 10:36:31 -07:00
|
|
|
|
|
|
|
PROG= ldapd
|
|
|
|
MAN= ldapd.8 ldapd.conf.5
|
2019-05-11 10:46:02 -07:00
|
|
|
SRCS= log.c logmsg.c control.c \
|
2010-05-31 10:36:31 -07:00
|
|
|
util.c ldapd.c ldape.c conn.c attributes.c namespace.c \
|
|
|
|
btree.c filter.c search.c parse.y \
|
2016-04-30 17:32:37 -07:00
|
|
|
auth.c modify.c index.c evbuffer_tls.c \
|
2010-11-03 07:17:01 -07:00
|
|
|
validate.c uuid.c schema.c imsgev.c syntax.c matching.c
|
2010-05-31 10:36:31 -07:00
|
|
|
|
2017-01-20 01:54:44 -08:00
|
|
|
LDADD= -levent -ltls -lssl -lcrypto -lz -lutil
|
|
|
|
DPADD= ${LIBEVENT} ${LIBTLS} ${LIBSSL} ${LIBCRYPTO} ${LIBZ} ${LIBUTIL}
|
2010-06-28 19:45:46 -07:00
|
|
|
CFLAGS+= -I${.CURDIR} -g
|
2010-05-31 10:36:31 -07:00
|
|
|
CFLAGS+= -Wall -Wstrict-prototypes -Wmissing-prototypes
|
|
|
|
CFLAGS+= -Wmissing-declarations
|
|
|
|
CFLAGS+= -Wshadow -Wpointer-arith -Wcast-qual
|
|
|
|
CFLAGS+= -Wsign-compare
|
|
|
|
CLEANFILES+= y.tab.h parse.c
|
|
|
|
|
2020-09-19 02:46:04 -07:00
|
|
|
SCHEMA_FILES= bsd.schema \
|
|
|
|
core.schema \
|
2010-06-05 10:29:14 -07:00
|
|
|
inetorgperson.schema \
|
|
|
|
nis.schema
|
|
|
|
|
|
|
|
distribution:
|
|
|
|
for i in ${SCHEMA_FILES}; do \
|
|
|
|
${INSTALL} -C -o root -g wheel -m 0644 ${.CURDIR}/schema/$$i ${DESTDIR}/etc/ldap/; \
|
|
|
|
done
|
|
|
|
|
2010-05-31 10:36:31 -07:00
|
|
|
.include <bsd.prog.mk>
|