Deleted Added
full compact
Makefile (11136) Makefile (11682)
1# @(#)Makefile 5.1beta 93/09/24
1# @(#)Makefile 5.1beta 93/09/24
2# $Id: Makefile,v 1.5 1995/05/30 05:47:47 rgrimes Exp $
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
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
98MAN3+= man/acos.3 man/acosh.3 man/asin.3 man/asinh.3 man/atan.3 man/atan2.3 \
99 man/atanh.3 man/ceil.3 man/cos.3 man/cosh.3 man/erf.3 man/exp.3 \
100 man/fabs.3 man/floor.3 man/fmod.3 man/hypot.3 man/ieee.3 \
101 man/ieee_test.3 man/j0.3 man/lgamma.3 man/math.3 man/rint.3 man/sin.3 \
102 man/sinh.3 man/sqrt.3 man/tan.3 man/tanh.3
98MANSRC= ${.CURDIR}/man
103
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
104MLINKS+=erf.3 erfc.3
105MLINKS+=exp.3 expm1.3 exp.3 log.3 exp.3 log10.3 exp.3 log1p.3 exp.3 pow.3
106MLINKS+=hypot.3 cabs.3
107MLINKS+=ieee.3 copysign.3 ieee.3 finite.3 ieee.3 ilogb.3 \
108 ieee.3 nextafter.3 ieee.3 remainder.3 ieee.3 scalbn.3
109MLINKS+=ieee_test.3 logb.3
110MLINKS+=ieee_test.3 scalb.3
111MLINKS+=ieee_test.3 significand.3
112MLINKS+=j0.3 j1.3 j0.3 jn.3 j0.3 y0.3 j0.3 y1.3 j0.3 yn.3
113MLINKS+=lgamma.3 gamma.3
114MLINKS+=sqrt.3 cbrt.3
115
116# XXX we should have only one math.h, and a rule for installing .h's...
117beforeinstall:
118 @${ECHO} Installing new math.h
119 @(cd ${.CURDIR}/src; cmp -s math.h ${DESTDIR}/usr/include/math.h || \
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 || \
120 install -c -o ${BINOWN} -g ${BINGRP} -m 444 math.h \
121 ${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 444 math.h \
121 ${DESTDIR}/usr/include/math.h;)
122
123.include <bsd.lib.mk>
122 ${DESTDIR}/usr/include/math.h;)
123
124.include <bsd.lib.mk>