summaryrefslogtreecommitdiffstats
path: root/lib/msun
diff options
context:
space:
mode:
authorbde <bde@FreeBSD.org>1994-09-08 10:40:23 +0000
committerbde <bde@FreeBSD.org>1994-09-08 10:40:23 +0000
commitc817f8d6caa41600279b619ceec5ce9badaaccc2 (patch)
tree053a3fb777823f493b66a804b581492f3b940361 /lib/msun
parent0372ed61cb1a3ea3e3ec112ecf181eabe69cd538 (diff)
downloadFreeBSD-src-c817f8d6caa41600279b619ceec5ce9badaaccc2.zip
FreeBSD-src-c817f8d6caa41600279b619ceec5ce9badaaccc2.tar.gz
Install math.h.
Diffstat (limited to 'lib/msun')
-rw-r--r--lib/msun/Makefile9
1 files changed, 8 insertions, 1 deletions
diff --git a/lib/msun/Makefile b/lib/msun/Makefile
index df1dcb2..2f6219c 100644
--- a/lib/msun/Makefile
+++ b/lib/msun/Makefile
@@ -1,5 +1,5 @@
# @(#)Makefile 5.1beta 93/09/24
-# $Id: Makefile,v 1.1.1.1 1994/08/19 09:39:41 jkh Exp $
+# $Id: Makefile,v 1.2 1994/08/19 11:15:40 jkh Exp $
#
# ====================================================
# Copyright (C) 1993 by Sun Microsystems, Inc. All rights reserved.
@@ -109,4 +109,11 @@ MLINKS+=j0.3 j1.3 j0.3 jn.3 j0.3 y0.3 j0.3 y1.3 j0.3 yn.3
MLINKS+=lgamma.3 gamma.3
MLINKS+=sqrt.3 cbrt.3
+# XXX we should have only one math.h, and a rule for installing .h's...
+beforeinstall:
+ @${ECHO} Installing new math.h
+ @(cd ${.CURDIR}/src; cmp -s math.h ${DESTDIR}/usr/include/math.h || \
+ install -c -o ${BINOWN} -g ${BINGRP} -m 444 math.h \
+ ${DESTDIR}/usr/include/math.h;)
+
.include <bsd.lib.mk>
OpenPOWER on IntegriCloud