summaryrefslogtreecommitdiff
path: root/kerberosIV
diff options
context:
space:
mode:
authorArtur Grabowski <art@cvs.openbsd.org>1998-03-12 17:46:27 +0000
committerArtur Grabowski <art@cvs.openbsd.org>1998-03-12 17:46:27 +0000
commit97243150e0d140b70a19e6fa03598dce587dce0e (patch)
tree507f9419de56d2fbc47a2fe47e79f575e5207142 /kerberosIV
parent80fef7aaf92b4b0b4a55c8f915d422670f89af55 (diff)
build with -DNO_AFS when AFS from bsd.own.mk != yes.
People that run AFS will now have some nice features.
Diffstat (limited to 'kerberosIV')
-rw-r--r--kerberosIV/kafs/Makefile10
1 files changed, 8 insertions, 2 deletions
diff --git a/kerberosIV/kafs/Makefile b/kerberosIV/kafs/Makefile
index 10122fcfe1c..7a87b57e248 100644
--- a/kerberosIV/kafs/Makefile
+++ b/kerberosIV/kafs/Makefile
@@ -1,7 +1,13 @@
-# $Id: Makefile,v 1.2 1997/11/28 12:48:42 art Exp $
+# $Id: Makefile,v 1.3 1998/03/12 17:46:26 art Exp $
LIB= kafs
-CFLAGS+=-I${.CURDIR} -DNO_AFS
+CFLAGS+=-I${.CURDIR}
SRCS= afskrb.c afssys.c common.c
+.include <bsd.own.mk> # for AFS
+
+.if (${AFS} != "yes")
+CFLAGS+=-DNO_AFS
+.endif
+
.include <bsd.lib.mk>