1# @(#)Makefile 5.1beta 93/09/24 |
2# $Id: Makefile,v 1.6 1995/10/02 20:02:05 wollman Exp $ |
3# 4# ==================================================== 5# Copyright (C) 1993 by Sun Microsystems, Inc. All rights reserved. 6# 7# Developed at SunPro, a Sun Microsystems, Inc. business. 8# Permission to use, copy, modify, and distribute this 9# software is freely granted, provided that this notice 10# is preserved. --- 79 unchanged lines hidden (view full) --- 90 91SRCS=${COMMON_SRCS} 92 93# Substitute common sources with any arch specific sources 94.for i in ${ARCH_SRCS} 95 SRCS:=${SRCS:S/${i:S/.S/.c/}/$i/} 96.endfor 97 |
98MANSRC= ${.CURDIR}/man |
99 |
100MAN3+= acos.3 acosh.3 asin.3 asinh.3 atan.3 atan2.3 atanh.3 ceil.3 \ 101 cos.3 cosh.3 erf.3 exp.3 fabs.3 floor.3 fmod.3 hypot.3 ieee.3 \ 102 ieee_test.3 j0.3 lgamma.3 math.3 rint.3 sin.3 sinh.3 sqrt.3 \ 103 tan.3 tanh.3 104 |
105MLINKS+=erf.3 erfc.3 106MLINKS+=exp.3 expm1.3 exp.3 log.3 exp.3 log10.3 exp.3 log1p.3 exp.3 pow.3 107MLINKS+=hypot.3 cabs.3 108MLINKS+=ieee.3 copysign.3 ieee.3 finite.3 ieee.3 ilogb.3 \ 109 ieee.3 nextafter.3 ieee.3 remainder.3 ieee.3 scalbn.3 110MLINKS+=ieee_test.3 logb.3 111MLINKS+=ieee_test.3 scalb.3 112MLINKS+=ieee_test.3 significand.3 113MLINKS+=j0.3 j1.3 j0.3 jn.3 j0.3 y0.3 j0.3 y1.3 j0.3 yn.3 114MLINKS+=lgamma.3 gamma.3 115MLINKS+=sqrt.3 cbrt.3 116 117# XXX we should have only one math.h, and a rule for installing .h's... 118beforeinstall: 119 @${ECHO} Installing new math.h 120 @(cd ${.CURDIR}/src; cmp -s math.h ${DESTDIR}/usr/include/math.h || \ |
121 ${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 444 math.h \ |
122 ${DESTDIR}/usr/include/math.h;) 123 124.include <bsd.lib.mk> |