NetBSD/usr.bin/kinit/Makefile

34 lines
698 B
Makefile

# $NetBSD: Makefile,v 1.20 2006/03/23 21:48:18 wiz Exp $
NOLINT= # defined
.include <bsd.own.mk>
DIST= ${NETBSDSRCDIR}/crypto/dist
.PATH: ${DIST}/heimdal/kuser
WARNS?= 1
PROG= kinit
SRCS= kinit.c
.if (${USE_INET6} != "no")
CPPFLAGS+=-DHAVE_IPV6
.endif
CPPFLAGS+= -I. \
-I${DIST}/heimdal/kuser \
-I${NETBSDSRCDIR}/include/heimdal \
-I${DESTDIR}/usr/include/krb5 \
-DHAVE_CONFIG_H
VERS!= cd ${NETBSDSRCDIR}/lib/libvers && ${PRINTOBJDIR}
LDADD+= -lkafs -lkrb5 -ldes -lcrypto -lasn1 -lcom_err \
-L${VERS} -lvers -lroken -lcrypt
DPADD+= ${LIBKAFS} ${LIBKRB5} ${LIBDES} ${LIBCRYPTO} ${LIBASN1} ${LIBCOM_ERR} \
${VERS}/libvers.a ${LIBROKEN} ${LIBCRYPT}
.include <bsd.prog.mk>