NetBSD/usr.bin/klist/Makefile

38 lines
828 B
Makefile

# $NetBSD: Makefile,v 1.13 2003/07/23 08:01:34 itojun Exp $
NOLINT= # defined
.include <bsd.own.mk>
DIST= ${NETBSDSRCDIR}/crypto/dist
.PATH: ${DIST}/heimdal/kuser
WARNS?= 1
PROG= klist
SRCS= klist.c
.if ${MKKERBEROS4} != "no"
CPPFLAGS+= -DKRB4
CPPFLAGS+= -I${DESTDIR}/usr/include/kerberosIV
KRB4LDADD= -lkrb
KRB4DPADD= ${LIBKRB}
.endif
CPPFLAGS+= -I. \
-I${DIST}/heimdal/kuser \
-I${NETBSDSRCDIR}/include/heimdal \
-I${DESTDIR}/usr/include/kerberosIV \
-I${DESTDIR}/usr/include/krb5 \
-DHAVE_CONFIG_H
VERS!= cd ${NETBSDSRCDIR}/lib/libvers && ${PRINTOBJDIR}
LDADD+= -lkafs -lkrb5 ${KRB4LDADD} -lcrypto -lasn1 -lcom_err \
-L${VERS} -lvers -lroken -lcrypt
DPADD+= ${LIBKAFS} ${LIBKRB5} ${KRB4DPADD} ${LIBCRYPTO} ${LIBASN1} ${LIBCOM_ERR} \
${VERS}/libvers.a ${LIBROKEN} ${LIBCRYPT}
.include <bsd.prog.mk>