summaryrefslogtreecommitdiff
path: root/usr.sbin/afs/Makefile.inc
diff options
context:
space:
mode:
authorHans Insulander <hin@cvs.openbsd.org>2002-06-07 05:03:00 +0000
committerHans Insulander <hin@cvs.openbsd.org>2002-06-07 05:03:00 +0000
commit897452938eeb640001f2551c37d01ca3036867db (patch)
treeaa1acfcd1450dbaba23bfa2cd37a58c514e2d300 /usr.sbin/afs/Makefile.inc
parent266e5cbd0681a43061c848b6685a54472b02e153 (diff)
Buildsystem for arla-0.35.7
Diffstat (limited to 'usr.sbin/afs/Makefile.inc')
-rw-r--r--usr.sbin/afs/Makefile.inc21
1 files changed, 21 insertions, 0 deletions
diff --git a/usr.sbin/afs/Makefile.inc b/usr.sbin/afs/Makefile.inc
index d334b01b273..80696fd9437 100644
--- a/usr.sbin/afs/Makefile.inc
+++ b/usr.sbin/afs/Makefile.inc
@@ -1,9 +1,30 @@
+
+AFSSRC = ${.CURDIR}/${AFSTOPDIR}/src
+
+YDR = ${AFSTOPDIR}/usr.sbin/ydr/ydr
+
OS_VER != uname -r
BINDIR ?=/usr/sbin
+
+ROKENDIR = ${AFSTOPDIR}/../../kerberosV/lib/roken
+LIBROKEN = ${ROKENDIR}/libroken.a
+
+LIBARLA = ${AFSTOPDIR}/lib/libarla/libarla.a
+
CFLAGS += -DHAVE_CONFIG_H -DSYSCONFDIR=\"/etc/afs\" \
-DARLACACHEDIR=\"/var/spool/afs\"\
-DARLACONFFILE=\"/etc/afs/afsd.conf\" -DKERBEROS \
-DARLAVENDOR=\"unknown\" -DARLACPU=\"${MACHINE_ARCH}\" \
-DARLAOS=\"openbsd${OS_VER}\" \
+CFLAGS += -I${.CURDIR}/${AFSTOPDIR}/include -I${AFSSRC}/include \
+ -I${.CURDIR}/${AFSTOPDIR}/../../kerberosV/include \
+ -I${.CURDIR}/${AFSTOPDIR}/../../kerberosV/src/lib/roken \
+ -I${AFSTOPDIR}/lib/libarla -I${AFSSRC}/lwp \
+ -I${AFSSRC}/rxkad -I${AFSSRC}/lib/bufdir -I${AFSSRC}/lib/ko \
+ -I${AFSSRC} -I${DESTDIR}/usr/include/kerberosIV \
+ -I${AFSSRC}/util -I${AFSSRC}/arlad \
+ -I${AFSSRC}/lib/sl
+
+#CFLAGS+=-g -Wall -Werror -Wno-uninitialized