summaryrefslogtreecommitdiff
path: root/kerberosIV/lib/kafs
diff options
context:
space:
mode:
authorHans Insulander <hin@cvs.openbsd.org>2001-06-22 16:05:28 +0000
committerHans Insulander <hin@cvs.openbsd.org>2001-06-22 16:05:28 +0000
commit6f3b1a51427de6a7039d2f88ec6328ac284b8bfd (patch)
treee08e248a31198dcaeef65b16efd023be5022212a /kerberosIV/lib/kafs
parenta1e5ff9e04a722419639dcbaf9b5c735f9a268c7 (diff)
Build with krb5 support, if KERBEROS5 is defined.
Diffstat (limited to 'kerberosIV/lib/kafs')
-rw-r--r--kerberosIV/lib/kafs/Makefile10
1 files changed, 8 insertions, 2 deletions
diff --git a/kerberosIV/lib/kafs/Makefile b/kerberosIV/lib/kafs/Makefile
index 8ccff0b07d3..4d1e7a01f7b 100644
--- a/kerberosIV/lib/kafs/Makefile
+++ b/kerberosIV/lib/kafs/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.8 2001/06/05 10:24:15 hin Exp $
+# $OpenBSD: Makefile,v 1.9 2001/06/22 16:05:27 hin Exp $
LIB = kafs
@@ -13,11 +13,17 @@ CFLAGS += -I${KRBSRC}/lib/kafs
SRCS= afssys_openbsd.c \
afskrb.c \
- $(afskrb5_c) \
common.c \
kafs_locl.h \
afssysdefs.h
+.include <bsd.own.mk> # for KERBEROS5
+
+.if (${KERBEROS5:L} == "yes")
+SRCS+= afskrb5.c
+CFLAGS+=-DKRB5 -I${DESTDIR}/usr/include/kerberosV
+.endif
+
MAN= kafs.3
MLINKS= kafs.3 k_hasafs.3 \
kafs.3 k_pioctl.3 \