NetBSD/lib/libkafs/Makefile

40 lines
752 B
Makefile

# $NetBSD: Makefile,v 1.11 2007/05/28 12:06:19 tls Exp $
USE_FORT?= yes # network protocol library
NOLINT= # defined
.include <bsd.own.mk>
DIST= ${NETBSDSRCDIR}/crypto/dist
.PATH: ${DIST}/heimdal/lib/kafs
WARNS?= 1
LIB= kafs
LIBDPLIBS+= krb5 ${.CURDIR}/../libkrb5 \
roken ${.CURDIR}/../libroken
SRCS= afssys.c afskrb.c afskrb5.c common.c
INCS= kafs.h
INCSDIR= /usr/include/krb5
MAN= kafs.3
CPPFLAGS+= -I${NETBSDSRCDIR}/crypto/dist/heimdal/lib/krb5
CPPFLAGS+= -I. \
-I${DIST}/heimdal/lib/kafs \
-I${DESTDIR}/usr/include/krb5 \
-I${NETBSDSRCDIR}/include/heimdal \
-I${NETBSDSRCDIR}/libroken \
-I${DIST}/heimdal/lib/roken \
-DHAVE_CONFIG_H
.if (${USE_INET6} != "no")
CPPFLAGS+=-DHAVE_IPV6
.endif
.include <bsd.lib.mk>