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