38 lines
789 B
Makefile
38 lines
789 B
Makefile
# $NetBSD: Makefile,v 1.14 2005/01/10 03:11:18 lukem Exp $
|
|
|
|
NOLINT= # defined
|
|
|
|
.include <bsd.own.mk>
|
|
|
|
DIST= ${NETBSDSRCDIR}/crypto/dist
|
|
.PATH: ${DIST}/heimdal/kdc
|
|
|
|
WARNS?= 1
|
|
|
|
PROG= string2key
|
|
MAN= string2key.8
|
|
|
|
SRCS= string2key.c
|
|
|
|
CPPFLAGS+= -I. \
|
|
-I${DIST}/heimdal/kdc \
|
|
-I${NETBSDSRCDIR}/include/heimdal \
|
|
-I${DIST}/heimdal/lib/asn1 \
|
|
-I${DIST}/heimdal/lib/krb5 \
|
|
-I${DESTDIR}/usr/include/kerberosIV \
|
|
-I${DESTDIR}/usr/include/krb5 \
|
|
-DHAVE_CONFIG_H
|
|
|
|
.if (${USE_INET6} != "no")
|
|
CPPFLAGS+=-DHAVE_IPV6
|
|
.endif
|
|
|
|
VERS!= cd ${NETBSDSRCDIR}/lib/libvers && ${PRINTOBJDIR}
|
|
|
|
LDADD+= -lkrb5 -lcrypto -lasn1 -lcom_err -L${VERS} -lvers \
|
|
-lroken -lcrypt
|
|
DPADD+= ${LIBKRB5} ${LIBCRYPTO} ${LIBASN1} ${LIBCOM_ERR} ${VERS}/libvers.a \
|
|
${LIBROKEN} ${LIBCRYPT}
|
|
|
|
.include <bsd.prog.mk>
|