NetBSD/lib/libkafs/Makefile
itojun e63468d8cc split MKKERBEROS4 from MKKERBEROS. based on work by lha at stacken.kth.se
(build confirmed with both MKKERBEROS4=yes and MKKERBEROS4=no)
2003-07-23 08:01:24 +00:00

39 lines
739 B
Makefile

# $NetBSD: Makefile,v 1.7 2003/07/23 08:01:43 itojun Exp $
NOLINT= # defined
.include <bsd.own.mk>
DIST= ${NETBSDSRCDIR}/crypto/dist
.PATH: ${DIST}/heimdal/lib/kafs
WARNS?= 1
LIB= kafs
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
.include <bsd.lib.mk>