NetBSD/libexec/kadmind/Makefile

47 lines
1.0 KiB
Makefile

# $NetBSD: Makefile,v 1.15 2003/08/23 23:03:42 lha Exp $
NOLINT= # defined
.include <bsd.own.mk>
DIST= ${NETBSDSRCDIR}/crypto/dist
.PATH: ${DIST}/heimdal/kadmin
WARNS?= 1
PROG= kadmind
MAN= kadmind.8
.if ${MKKERBEROS4} != "no"
CPPFLAGS+= -DKRB4
CPPFLAGS+= -I${DESTDIR}/usr/include/kerberosIV
SRCS+= version4.c
KRB4LDADD= -lkadm -lkrb -ldes
KRB4DPADD= ${LIBKADM} ${LIBKRB} ${LIBDES}
.endif
SRCS+= kadmind.c \
server.c \
kadm_conn.c
CPPFLAGS+= -I. \
-I${DIST}/heimdal/kadmin \
-I${DIST}/heimdal/lib/krb5 \
-I${DIST}/heimdal/lib/asn1 \
-I${NETBSDSRCDIR}/include/heimdal \
-I${DESTDIR}/usr/include/kadm5 \
-I${DESTDIR}/usr/include/krb5 \
-DHAVE_CONFIG_H
VERS!= cd ${NETBSDSRCDIR}/lib/libvers && ${PRINTOBJDIR}
LDADD+= -lkadm5srv -lhdb -lkrb5 ${KRB4LDADD} \
-lcrypto -lasn1 -lcom_err -L${VERS} -lvers \
-lroken -lcrypt -lutil
DPADD+= ${LIBKADM5SRV} ${LIBHDB} ${LIBKRB5} ${KRB4DPADD} \
${LIBCRYPTO} ${LIBASN1} ${LIBCOM_ERR} ${VERS}/libvers.a \
${LIBROKEN} ${LIBCRYPT} ${LIBUTIL}
.include <bsd.prog.mk>