62 lines
1.2 KiB
Makefile
62 lines
1.2 KiB
Makefile
# $NetBSD: Makefile,v 1.18 2008/04/10 15:42:06 tsutsui Exp $
|
|
|
|
NOLINT= # defined
|
|
|
|
.include <bsd.own.mk>
|
|
|
|
USE_FORT?= yes # network client
|
|
|
|
DIST= ${NETBSDSRCDIR}/crypto/dist
|
|
.PATH: ${DIST}/heimdal/kadmin
|
|
|
|
WARNS?= 1
|
|
|
|
PROG= kadmin
|
|
|
|
SRCS= \
|
|
ank.c \
|
|
add_enctype.c \
|
|
check.c \
|
|
cpw.c \
|
|
del.c \
|
|
del_enctype.c \
|
|
dump.c \
|
|
ext.c \
|
|
get.c \
|
|
init.c \
|
|
kadmin.c \
|
|
load.c \
|
|
mod.c \
|
|
rename.c \
|
|
stash.c \
|
|
util.c \
|
|
pw_quality.c \
|
|
random_password.c \
|
|
kadmin-commands.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
|
|
|
|
.if (${USE_INET6} != "no")
|
|
CPPFLAGS+=-DHAVE_IPV6
|
|
.endif
|
|
|
|
VERS!= cd ${NETBSDSRCDIR}/lib/libvers && ${PRINTOBJDIR}
|
|
|
|
LDADD+= -lkadm5srv -lhdb -lkrb5 -lhx509 -lcrypto \
|
|
-lasn1 -lcom_err -lsl -ledit -ltermcap \
|
|
-L${VERS} -lvers -lroken -lcrypt -lutil
|
|
DPADD+= ${LIBKADM5SRV} ${LIBHDB} ${LIBKRB5} ${LIBHX509} ${LIBCRYPTO} \
|
|
${LIBASN1} ${LIBCOM_ERR} ${LIBSL} ${LIBEDIT} ${LIBTERMCAP} \
|
|
${VERS}/libvers.a ${LIBROKEN} ${LIBCRYPT} ${LIBUTIL}
|
|
|
|
MAN= kadmin.8
|
|
|
|
.include <bsd.prog.mk>
|