47 lines
871 B
Makefile
47 lines
871 B
Makefile
# $NetBSD: Makefile,v 1.9 2006/03/17 21:43:16 christos Exp $
|
|
|
|
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
|
|
|
|
.if (${MKKERBEROS4} != "no")
|
|
CPPFLAGS+= -DKRB4
|
|
CPPFLAGS+= -I${DESTDIR}/usr/include/kerberosIV
|
|
.else
|
|
CPPFLAGS+= -I${NETBSDSRCDIR}/crypto/dist/heimdal/lib/krb5
|
|
.endif
|
|
|
|
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 ${MKKERBEROS4} != "no"
|
|
CPPFLAGS+=-DKRB4
|
|
.endif
|
|
|
|
.if (${USE_INET6} != "no")
|
|
CPPFLAGS+=-DHAVE_IPV6
|
|
.endif
|
|
|
|
.include <bsd.lib.mk>
|