summaryrefslogtreecommitdiff
path: root/usr.sbin/afs/Makefile.inc
blob: 1a8ba7746730a2aa3e408907372e51f96e2ad461 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30

AFSSRC	= ${.CURDIR}/${AFSTOPDIR}/src

YDR	= ${AFSTOPDIR}/usr.sbin/ydr/ydr

OS_VER	!= uname -r
BINDIR	?=/usr/sbin

ROKENSRC=$(.CURDIR)/$(AFSTOPDIR)/../../kerberosV/src/lib/roken

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/kerberosV \
	   -I${AFSSRC}/util -I${AFSSRC}/arlad \
	   -I${AFSSRC}/lib/sl -I${AFSSRC}/lib/vers \
	   -I${AFSSRC}/nnpfs/include -I${AFSSRC}/nnpfs/bsd

#CFLAGS+=-g -Wall -Werror -Wno-uninitialized