NetBSD/usr.bin/gss/Makefile

39 lines
881 B
Makefile

# $NetBSD: Makefile,v 1.4 2010/02/03 15:34:45 roy Exp $
WARNS?= 2 # XXX -Wextra -Wcast-qual
NOLINT= # defined
NOMAN= # defined
.include <bsd.own.mk>
DIST= ${NETBSDSRCDIR}/crypto/dist
.PATH: ${DIST}/heimdal/lib/gssapi
PROG= gss
SRCS= \
gss.c \
gss-commands.c
CPPFLAGS+= -I. \
-I${DIST}/heimdal/lib/gssapi \
-I${NETBSDSRCDIR}/include/heimdal \
-I${DESTDIR}/usr/include/krb5 \
-DHAVE_CONFIG_H
.if (${USE_INET6} != "no")
CPPFLAGS+=-DHAVE_IPV6
.endif
VERS!= cd ${NETBSDSRCDIR}/lib/libvers && ${PRINTOBJDIR}
LDADD+= -lgssapi -lkrb5 -lheimntlm -lhx509 -lsl \
-lasn1 -lcrypto -lcom_err -L${VERS} -lvers \
-lroken -lcrypt -lutil -ledit -lterminfo
DPADD+= ${LIBGSSAPI} ${LIBKRB5} ${LIBHEIMNTLM} ${LIBHX509} ${LIBSL} \
${LIBASN1} ${LIBCRYPTO} ${LIBCOM_ERR} ${VERS}/libvers.a \
${LIBROKEN} ${LIBCRYPT} ${LIBUTIL} ${LIBEDIT} ${LIBTERMINFO}
.include <bsd.prog.mk>