NetBSD/usr.sbin/ktutil/Makefile

49 lines
1.0 KiB
Makefile

# $NetBSD: Makefile,v 1.21 2010/02/03 15:34:47 roy Exp $
WARNS?= 2 # XXX -Wextra -Wsign-compare
NOLINT= # defined
.include <bsd.own.mk>
USE_FORT?= yes # network client
DIST= ${NETBSDSRCDIR}/crypto/dist
.PATH: ${DIST}/heimdal/admin
PROG= ktutil
SRCS= add.c \
change.c \
copy.c \
get.c \
ktutil.c \
list.c \
purge.c \
remove.c \
rename.c \
ktutil-commands.c
CPPFLAGS+= -I. \
-I${DIST}/heimdal/admin \
-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+= -lkadm5clnt -lkrb5 -lhx509 -lcrypto -lasn1 \
-lcom_err -lsl -ledit -lterminfo \
-L${VERS} -lvers -lroken -lcrypt -lutil
DPADD+= ${LIBKADM5CLNT} ${LIBKRB5} ${LIBHX509} ${LIBCRYPTO} ${LIBASN1} \
${LIBCOM_ERR} ${LIBSL} ${LIBEDIT} ${LIBTERMINFO} \
${VERS}/libvers.a ${LIBROKEN} ${LIBCRYPT} ${LIBUTIL}
MAN = ktutil.8
.include <bsd.prog.mk>