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