summaryrefslogtreecommitdiffstats
path: root/lib/libgssapi
diff options
context:
space:
mode:
authormho <mho@openbsd.org>2003-05-17 05:20:18 +0000
committermho <mho@openbsd.org>2003-05-17 05:20:18 +0000
commit05819f11db24951331a291c19edf4d413537bde0 (patch)
treeedad9a3f46a5efe5f2d152f900e7177f5eba359b /lib/libgssapi
parentup MAXSUNLAYOUT... miod, you owe me a beer (diff)
downloadwireguard-openbsd-05819f11db24951331a291c19edf4d413537bde0.tar.xz
wireguard-openbsd-05819f11db24951331a291c19edf4d413537bde0.zip
Support for 'make includes'; ok hin@, millert@
Diffstat (limited to 'lib/libgssapi')
-rw-r--r--lib/libgssapi/Makefile15
1 files changed, 13 insertions, 2 deletions
diff --git a/lib/libgssapi/Makefile b/lib/libgssapi/Makefile
index 793cb3e029e..dd0d27818ef 100644
--- a/lib/libgssapi/Makefile
+++ b/lib/libgssapi/Makefile
@@ -1,11 +1,22 @@
-# $OpenBSD: Makefile,v 1.2 2003/05/16 19:01:19 hin Exp $
+# $OpenBSD: Makefile,v 1.3 2003/05/17 05:20:18 mho Exp $
KRB5DIR = ${.CURDIR}/../../kerberosV
.include <${.CURDIR}/../libkrb5/Makefile.common.inc>
LIB= gssapi
-INCLUDE_FILES= ${KRB5SRC}/lib/gssapi/gssapi.h
+DIR_GSSAPI= ${KRB5SRC}/lib/gssapi
+HDR_GSSAPI= gssapi.h
+
+includes:
+ @echo -n ${DIR_GSSAPI}:; \
+ cd ${DIR_GSSAPI}; for i in ${HDR_GSSAPI}; do \
+ echo -n " $$i"; \
+ cmp -s $$i ${DESTDIR}/usr/include/kerberosV/$$i || \
+ ${INSTALL} ${INSTALL_COPY} -m 444 \
+ -o ${BINOWN} -g $(BINGRP) $$i \
+ ${DESTDIR}/usr/include/kerberosV; done; \
+ echo
SRCS= 8003.c \
accept_sec_context.c \