Sync usage with man page.
[netbsd-mini2440.git] / usr.bin / gss / Makefile
blob211f8641086071e4cbe1945086d3564b3cae882e
1 # $NetBSD: Makefile,v 1.2 2008/04/10 15:05:23 tsutsui Exp $
3 WARNS?= 2 # XXX -Wextra -Wcast-qual
5 NOLINT= # defined
6 NOMAN= # defined
8 .include <bsd.own.mk>
10 DIST= ${NETBSDSRCDIR}/crypto/dist
11 .PATH: ${DIST}/heimdal/lib/gssapi
13 PROG= gss
15 SRCS= \
16 gss.c \
17 gss-commands.c
19 CPPFLAGS+= -I. \
20 -I${DIST}/heimdal/lib/gssapi \
21 -I${NETBSDSRCDIR}/include/heimdal \
22 -I${DESTDIR}/usr/include/krb5 \
23 -DHAVE_CONFIG_H
25 .if (${USE_INET6} != "no")
26 CPPFLAGS+=-DHAVE_IPV6
27 .endif
29 VERS!= cd ${NETBSDSRCDIR}/lib/libvers && ${PRINTOBJDIR}
31 LDADD+= -lgssapi -lkrb5 -lheimntlm -lhx509 -lsl \
32 -lasn1 -lcrypto -lcom_err -L${VERS} -lvers \
33 -lroken -lcrypt -lutil -ledit -ltermcap
34 DPADD+= ${LIBGSSAPI} ${LIBKRB5} ${LIBHEIMNTLM} ${LIBHX509} ${LIBSL} \
35 ${LIBASN1} ${LIBCRYPTO} ${LIBCOM_ERR} ${VERS}/libvers.a \
36 ${LIBROKEN} ${LIBCRYPT} ${LIBUTIL} ${LIBEDIT} ${LIBTERMCAP}
38 .include <bsd.prog.mk>