summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>1998-06-07 23:28:08 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>1998-06-07 23:28:08 +0000
commita350459a002b2af0a122634752511bb5d3d3509b (patch)
tree0243e94aa4766b98f6e1c6f9cf489ff7cdaf7c8b
parentb486dd4c8c5efd52fab38dcfc35fcc2e1e882957 (diff)
make includes support
-rw-r--r--gnu/lib/libgmp/Makefile.bsd-wrapper7
1 files changed, 6 insertions, 1 deletions
diff --git a/gnu/lib/libgmp/Makefile.bsd-wrapper b/gnu/lib/libgmp/Makefile.bsd-wrapper
index 6b21d7aa04d..c7b87cd04bc 100644
--- a/gnu/lib/libgmp/Makefile.bsd-wrapper
+++ b/gnu/lib/libgmp/Makefile.bsd-wrapper
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile.bsd-wrapper,v 1.5 1997/11/04 13:15:28 kstailey Exp $
+# $OpenBSD: Makefile.bsd-wrapper,v 1.6 1998/06/07 23:28:07 millert Exp $
SUBDIR+= mpn mpz mpf mpq
@@ -51,6 +51,11 @@ clean cleandir:
depend:
# Nothing here so far...
+includes:
+ @if ! cmp -s ${.CURDIR}/gmp.h ${DESTDIR}/usr/include/gmp.h; then \
+ c="${INSTALL} ${INSTALL_COPY} -o ${BINOWN} -g ${BINGRP} -m 444 \
+ ${.CURDIR}/gmp.h ${DESTDIR}/usr/include"; echo $$c; eval $$c; fi
+
.include <bsd.obj.mk>
.include <bsd.subdir.mk>
.include <bsd.man.mk>