.include <bsd.own.mk>
.if (${KERBEROS} == "yes")
-CFLAGS+= -DKRB4 -I/usr/include/kerberosIV
+CFLAGS+= -DKRB4 -I${DESTDIR}/usr/include/kerberosIV
.if (${AFS} == "yes")
CFLAGS+= -DAFS
SRCS+= radix.c
.include <bsd.own.mk> # for AFS
.if (${KERBEROS} == "yes")
-CFLAGS+= -DKRB4 -I/usr/include/kerberosIV
+CFLAGS+= -DKRB4 -I${DESTDIR}/usr/include/kerberosIV
LDADD+= -lkrb
DPADD+= ${LIBKRB}
.if (${AFS} == "yes")
LDADD+= -lkafs
DPADD+= ${LIBKRBAFS}
.endif # AFS
-CFLAGS+= -DKRB4 -I/usr/include/kerberosIV
+CFLAGS+= -DKRB4 -I${DESTDIR}/usr/include/kerberosIV
SRCS+= auth-krb4.c
LDADD+= -lkrb
DPADD+= ${LIBKRB}
-I${.CURDIR}/../src/rxdef -I${.CURDIR}/../src/lwp -I../libarla \
-I${.CURDIR}/../src/arlad -I${.CURDIR}/../src \
-I${.CURDIR}/../src/lib/ko -I${.CURDIR}/../src/rxkad \
- -I${.CURDIR}/../src/lib/sl -I/usr/include/kerberosIV
+ -I${.CURDIR}/../src/lib/sl -I${DESTDIR}/usr/include/kerberosIV
SRCS += rxk_locl.c rxk_clnt.c rxk_serv.c rxk_crpt.c rxk_info.c \
osi_alloc.c compat.c
-CFLAGS += -I${.CURDIR}/../src/rxkad -I/usr/include/kerberosIV
+CFLAGS += -I${.CURDIR}/../src/rxkad -I${DESTDIR}/usr/include/kerberosIV
.PATH: ${.CURDIR}/../src/rxkad