NetBSD/usr.sbin/ktutil/Makefile

49 lines
1.0 KiB
Makefile
Raw Normal View History

# $NetBSD: Makefile,v 1.20 2009/04/22 15:23:05 lukem Exp $
WARNS?= 2 # XXX -Wextra -Wsign-compare
NOLINT= # defined
2001-01-11 16:15:06 +03:00
.include <bsd.own.mk>
2007-05-28 16:06:17 +04:00
USE_FORT?= yes # network client
2002-09-18 07:54:26 +04:00
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 \
2008-03-22 11:36:48 +03:00
rename.c \
ktutil-commands.c
CPPFLAGS+= -I. \
-I${DIST}/heimdal/admin \
2002-09-18 07:54:26 +04:00
-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
2002-09-18 07:54:26 +04:00
VERS!= cd ${NETBSDSRCDIR}/lib/libvers && ${PRINTOBJDIR}
2000-08-04 02:47:37 +04:00
LDADD+= -lkadm5clnt -lkrb5 -lhx509 -lcrypto -lasn1 \
-lcom_err -lsl -ledit -ltermcap \
-L${VERS} -lvers -lroken -lcrypt -lutil
DPADD+= ${LIBKADM5CLNT} ${LIBKRB5} ${LIBHX509} ${LIBCRYPTO} ${LIBASN1} \
${LIBCOM_ERR} ${LIBSL} ${LIBEDIT} ${LIBTERMCAP} \
${VERS}/libvers.a ${LIBROKEN} ${LIBCRYPT} ${LIBUTIL}
MAN = ktutil.8
.include <bsd.prog.mk>