2005-01-10 06:11:17 +03:00
|
|
|
# $NetBSD: Makefile,v 1.8 2005/01/10 03:11:17 lukem Exp $
|
2000-06-17 02:50:34 +04:00
|
|
|
|
2002-08-19 13:41:27 +04:00
|
|
|
NOLINT= # defined
|
|
|
|
|
|
|
|
.include <bsd.own.mk>
|
|
|
|
|
|
|
|
DIST= ${NETBSDSRCDIR}/crypto/dist
|
2001-12-12 03:51:00 +03:00
|
|
|
.PATH: ${DIST}/heimdal/lib/kafs
|
2000-06-17 02:50:34 +04:00
|
|
|
|
2001-12-12 03:51:00 +03:00
|
|
|
WARNS?= 1
|
2000-06-17 02:50:34 +04:00
|
|
|
|
2001-12-12 03:51:00 +03:00
|
|
|
LIB= kafs
|
2000-06-17 02:50:34 +04:00
|
|
|
|
2001-12-12 03:51:00 +03:00
|
|
|
SRCS= afssys.c afskrb.c afskrb5.c common.c
|
2000-06-17 02:50:34 +04:00
|
|
|
|
2001-12-12 03:51:00 +03:00
|
|
|
INCS= kafs.h
|
2003-07-23 12:01:24 +04:00
|
|
|
INCSDIR= /usr/include/krb5
|
2001-12-12 03:51:00 +03:00
|
|
|
MAN= kafs.3
|
2001-11-05 18:05:55 +03:00
|
|
|
|
2003-07-23 12:01:24 +04:00
|
|
|
.if (${MKKERBEROS4} != "no")
|
|
|
|
CPPFLAGS+= -DKRB4
|
|
|
|
CPPFLAGS+= -I${DESTDIR}/usr/include/kerberosIV
|
|
|
|
.else
|
|
|
|
CPPFLAGS+= -I${NETBSDSRCDIR}/crypto/dist/heimdal/lib/krb5
|
|
|
|
.endif
|
|
|
|
|
2000-06-17 02:50:34 +04:00
|
|
|
CPPFLAGS+= -I. \
|
|
|
|
-I${DIST}/heimdal/lib/kafs \
|
|
|
|
-I${DESTDIR}/usr/include/krb5 \
|
2002-08-19 13:41:27 +04:00
|
|
|
-I${NETBSDSRCDIR}/include/heimdal \
|
|
|
|
-I${NETBSDSRCDIR}/libroken \
|
2000-06-17 02:50:34 +04:00
|
|
|
-I${DIST}/heimdal/lib/roken \
|
|
|
|
-DHAVE_CONFIG_H
|
2005-01-10 06:11:17 +03:00
|
|
|
|
2003-07-23 12:01:24 +04:00
|
|
|
.if ${MKKERBEROS4} != "no"
|
|
|
|
CPPFLAGS+=-DKRB4
|
|
|
|
.endif
|
2000-06-17 02:50:34 +04:00
|
|
|
|
2005-01-10 06:11:17 +03:00
|
|
|
.if (${USE_INET6} != "no")
|
|
|
|
CPPFLAGS+=-DHAVE_IPV6
|
|
|
|
.endif
|
|
|
|
|
2000-06-17 02:50:34 +04:00
|
|
|
.include <bsd.lib.mk>
|