NetBSD/usr.bin/gss/Makefile
lukem c1ceae17f0 Enable WARNS=4 by default for usr.bin, except for:
awk  bdes  checknr  compile_et  error  gss  hxtool  kgetcred  kinit
	klist  ldd  less  lex  locale  login  m4  man  menuc  mk_cmds
	mklocale  msgc  openssl  rpcgen  rpcinfo  sdiff  spell  ssh
	string2key  telnet  tn3270  verify_krb5_conf  xlint
2009-04-14 22:15:16 +00:00

39 lines
881 B
Makefile

# $NetBSD: Makefile,v 1.3 2009/04/14 22:15:20 lukem 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 -ltermcap
DPADD+= ${LIBGSSAPI} ${LIBKRB5} ${LIBHEIMNTLM} ${LIBHX509} ${LIBSL} \
${LIBASN1} ${LIBCRYPTO} ${LIBCOM_ERR} ${VERS}/libvers.a \
${LIBROKEN} ${LIBCRYPT} ${LIBUTIL} ${LIBEDIT} ${LIBTERMCAP}
.include <bsd.prog.mk>