mirror of
https://github.com/openbsd/src.git
synced 2025-01-04 15:25:38 -08:00
d4b95dc451
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@
20 lines
570 B
Makefile
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>
|