1# @(#)Makefile 5.1beta 93/09/24
2# $FreeBSD: head/lib/msun/Makefile 179882 2008-06-19 22:39:53Z das $
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.
--- 4 unchanged lines hidden (view full) ---
15.if ${MACHINE_ARCH} == "i386"
16ARCH_SUBDIR= i387
17.else
18ARCH_SUBDIR= ${MACHINE_ARCH}
19.endif
20
21.include "${ARCH_SUBDIR}/Makefile.inc"
22
23.PATH: ${.CURDIR}/bsdsrc
24.PATH: ${.CURDIR}/man
25.PATH: ${.CURDIR}/src
26
27# long double format
28.if ${LDBL_PREC} == 64
29.PATH: ${.CURDIR}/ld80
30.elif ${LDBL_PREC} == 113
31.PATH: ${.CURDIR}/ld128
32.endif
33
34LIB= m
35SHLIBDIR?= /lib
36SHLIB_MAJOR= 5
37COMMON_SRCS= b_exp.c b_log.c b_tgamma.c \
38 e_acos.c e_acosf.c e_acosh.c e_acoshf.c e_asin.c e_asinf.c \
39 e_atan2.c e_atan2f.c e_atanh.c e_atanhf.c e_cosh.c e_coshf.c e_exp.c \
40 e_expf.c e_fmod.c e_fmodf.c e_gamma.c e_gamma_r.c e_gammaf.c \
41 e_gammaf_r.c e_hypot.c e_hypotf.c e_j0.c e_j0f.c e_j1.c e_j1f.c \
--- 48 unchanged lines hidden (view full) ---
90# C99 complex functions
91COMMON_SRCS+= s_cimag.c s_cimagf.c s_cimagl.c s_conj.c s_conjf.c s_conjl.c \
92 s_creal.c s_crealf.c s_creall.c
93
94# FreeBSD's C library supplies these functions:
95#COMMON_SRCS+= s_fabs.c s_frexp.c s_isnan.c s_ldexp.c s_modf.c
96
97# Exclude the generic versions of what we provide in the MD area.
98.PATH: ${.CURDIR}/${ARCH_SUBDIR}
99.if defined(ARCH_SRCS)
100.for i in ${ARCH_SRCS}
101COMMON_SRCS:= ${COMMON_SRCS:N${i:R}.c}
102.endfor
103.endif
104
105SRCS= ${COMMON_SRCS} ${ARCH_SRCS}
106
--- 76 unchanged lines hidden ---
2# $FreeBSD: head/lib/msun/Makefile 179882 2008-06-19 22:39:53Z das $
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.
--- 4 unchanged lines hidden (view full) ---
15.if ${MACHINE_ARCH} == "i386"
16ARCH_SUBDIR= i387
17.else
18ARCH_SUBDIR= ${MACHINE_ARCH}
19.endif
20
21.include "${ARCH_SUBDIR}/Makefile.inc"
22
23.PATH: ${.CURDIR}/bsdsrc
24.PATH: ${.CURDIR}/man
25.PATH: ${.CURDIR}/src
26
27# long double format
28.if ${LDBL_PREC} == 64
29.PATH: ${.CURDIR}/ld80
30.elif ${LDBL_PREC} == 113
31.PATH: ${.CURDIR}/ld128
32.endif
33
34LIB= m
35SHLIBDIR?= /lib
36SHLIB_MAJOR= 5
37COMMON_SRCS= b_exp.c b_log.c b_tgamma.c \
38 e_acos.c e_acosf.c e_acosh.c e_acoshf.c e_asin.c e_asinf.c \
39 e_atan2.c e_atan2f.c e_atanh.c e_atanhf.c e_cosh.c e_coshf.c e_exp.c \
40 e_expf.c e_fmod.c e_fmodf.c e_gamma.c e_gamma_r.c e_gammaf.c \
41 e_gammaf_r.c e_hypot.c e_hypotf.c e_j0.c e_j0f.c e_j1.c e_j1f.c \
--- 48 unchanged lines hidden (view full) ---
90# C99 complex functions
91COMMON_SRCS+= s_cimag.c s_cimagf.c s_cimagl.c s_conj.c s_conjf.c s_conjl.c \
92 s_creal.c s_crealf.c s_creall.c
93
94# FreeBSD's C library supplies these functions:
95#COMMON_SRCS+= s_fabs.c s_frexp.c s_isnan.c s_ldexp.c s_modf.c
96
97# Exclude the generic versions of what we provide in the MD area.
98.PATH: ${.CURDIR}/${ARCH_SUBDIR}
99.if defined(ARCH_SRCS)
100.for i in ${ARCH_SRCS}
101COMMON_SRCS:= ${COMMON_SRCS:N${i:R}.c}
102.endfor
103.endif
104
105SRCS= ${COMMON_SRCS} ${ARCH_SRCS}
106
--- 76 unchanged lines hidden ---