1
0
mirror of https://github.com/openbsd/src.git synced 2025-01-04 15:25:38 -08:00
openbsd-src/usr.sbin/ldapctl/Makefile
rob d4b95dc451 The BER API is currently used by ldap, ldapd, ldapctl, ypldap, snmpd, and
snmpctl. Separate copies of ber.[ch] have existed and been maintained in sync
in ldap, ldapd, ypldap and snmpd.

This commit moves the BER API into /usr/lib/libutil. All current consumers
already link libutil. ldapd and snmpd regress passes, and release builds.

With help from tb@ and guenther@.

ok deraadt@, tb@
2019-05-11 17:46:02 +00:00

20 lines
570 B
Makefile

# $OpenBSD: Makefile,v 1.10 2019/05/11 17:46:02 rob Exp $
.PATH: ${.CURDIR}/../ldapd
PROG= ldapctl
MAN= ldapctl.8
SRCS= ldapctl.c parse.y btree.c log.c logmsg.c util.c \
index.c attributes.c schema.c syntax.c matching.c
LDADD= -levent -ltls -lssl -lcrypto -lz -lutil
DPADD= ${LIBEVENT} ${LIBTLS} ${LIBSSL} ${LIBCRYPTO} ${LIBZ} ${LIBUTIL}
CFLAGS+= -I${.CURDIR}/../ldapd
CFLAGS+= -Wall -Wstrict-prototypes -Wmissing-prototypes
CFLAGS+= -Wmissing-declarations
CFLAGS+= -Wshadow -Wpointer-arith -Wcast-qual
CFLAGS+= -Wsign-compare
YFLAGS=
.include <bsd.prog.mk>