support DESTDIR include fetching; dm
authorderaadt <deraadt@openbsd.org>
Tue, 14 Mar 2000 20:13:28 +0000 (20:13 +0000)
committerderaadt <deraadt@openbsd.org>
Tue, 14 Mar 2000 20:13:28 +0000 (20:13 +0000)
usr.bin/ssh/lib/Makefile
usr.bin/ssh/ssh/Makefile
usr.bin/ssh/sshd/Makefile
usr.sbin/afs/Applflags.inc
usr.sbin/afs/libarla/Makefile.rxkad.inc

index 8f7e4f7..51aedd4 100644 (file)
@@ -15,7 +15,7 @@ install:
 .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
index 61a38ad..b214455 100644 (file)
@@ -20,7 +20,7 @@ SRCS= ssh.c sshconnect.c log-client.c readconf.c clientloop.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")
index c0ca674..3815b5a 100644 (file)
@@ -17,7 +17,7 @@ CFLAGS+= -DAFS
 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}
index 96a20c3..1222c11 100644 (file)
@@ -5,5 +5,5 @@ CFLAGS  += -I${.CURDIR}/../src/util -I${.CURDIR}/../src/lib/roken \
           -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
           
index 6cf8eab..d39a79c 100644 (file)
@@ -2,6 +2,6 @@
 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