summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorderaadt <deraadt@openbsd.org>2020-10-26 15:56:02 +0000
committerderaadt <deraadt@openbsd.org>2020-10-26 15:56:02 +0000
commitd8a1ebc417eeda3d832ed01dc79f03365e4b915f (patch)
treef34b81e27976137c4273dbb3ce4de0362e76db46
parentHook up agentx.h. (diff)
downloadwireguard-openbsd-d8a1ebc417eeda3d832ed01dc79f03365e4b915f.tar.xz
wireguard-openbsd-d8a1ebc417eeda3d832ed01dc79f03365e4b915f.zip
make includes should be more verbose
ok martijn
-rw-r--r--lib/libagentx/Makefile13
1 files changed, 8 insertions, 5 deletions
diff --git a/lib/libagentx/Makefile b/lib/libagentx/Makefile
index cf4fb7f0767..7808d002b2e 100644
--- a/lib/libagentx/Makefile
+++ b/lib/libagentx/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.2 2020/10/26 15:45:56 martijn Exp $
+# $OpenBSD: Makefile,v 1.3 2020/10/26 15:56:02 deraadt Exp $
LIB= agentx
@@ -18,10 +18,13 @@ VERSION_SCRIPT= Symbols.map
SYMBOL_LIST= ${.CURDIR}/Symbols.list
includes:
- @cd ${.CURDIR}; for i in ${HDRS}; do \
- cmp -s $$i ${DESTDIR}/usr/include/$$i || \
- ${INSTALL} ${INSTALL_COPY} -m 444 -o $(BINOWN) -g $(BINGRP) $$i \
- ${DESTDIR}/usr/include; done
+ @cd ${.CURDIR}; for i in $(HDRS); do \
+ j="cmp -s $$i ${DESTDIR}/usr/include/$$i || \
+ ${INSTALL} ${INSTALL_COPY} -o ${BINOWN} -g ${BINGRP} \
+ -m 444 $$i ${DESTDIR}/usr/include"; \
+ echo $$j; \
+ eval "$$j"; \
+ done
${VERSION_SCRIPT}: ${SYMBOL_LIST}
{ printf '{\n\tglobal:\n'; \