NetBSD/usr.bin/kinit/Makefile

37 lines
821 B
Makefile
Raw Normal View History

# $NetBSD: Makefile,v 1.24 2009/04/14 22:15:21 lukem Exp $
WARNS?= 2 # XXX -Wextra
NOLINT= # defined
2000-12-30 18:25:19 +03:00
.include <bsd.own.mk>
2007-05-28 16:06:17 +04:00
USE_FORT?= yes # cryptographic software
DIST= ${NETBSDSRCDIR}/crypto/dist
2000-06-17 03:47:14 +04:00
.PATH: ${DIST}/heimdal/kuser
PROG= kinit
SRCS= kinit.c
2000-06-17 03:47:14 +04:00
.if (${USE_INET6} != "no")
CPPFLAGS+=-DHAVE_IPV6
.endif
2000-06-17 03:47:14 +04:00
CPPFLAGS+= -I. \
-I${DIST}/heimdal/kuser \
-I${NETBSDSRCDIR}/include/heimdal \
2000-06-17 03:47:14 +04:00
-I${DESTDIR}/usr/include/krb5 \
-DHAVE_CONFIG_H
VERS!= cd ${NETBSDSRCDIR}/lib/libvers && ${PRINTOBJDIR}
2000-08-04 02:47:37 +04:00
LDADD+= -lkafs -lkrb5 -lhx509 -lheimntlm -ldes -lcrypto -lasn1 -lcom_err \
-L${VERS} -lvers -lroken -lcrypt -lutil
DPADD+= ${LIBKAFS} ${LIBKRB5} ${LIBHX509} ${LIBHEIMNTLM} ${LIBDES} \
${LIBCRYPTO} ${LIBASN1} ${LIBCOM_ERR} ${VERS}/libvers.a ${LIBROKEN} \
${LIBCRYPT} ${LIBUTIL}
2000-06-17 03:47:14 +04:00
.include <bsd.prog.mk>