diff options
Diffstat (limited to 'lib/libm/Makefile')
-rw-r--r-- | lib/libm/Makefile | 17 |
1 files changed, 15 insertions, 2 deletions
diff --git a/lib/libm/Makefile b/lib/libm/Makefile index e7ca1bafdff..a0f5d31f04e 100644 --- a/lib/libm/Makefile +++ b/lib/libm/Makefile @@ -1,5 +1,5 @@ # $NetBSD: Makefile,v 1.28 1995/11/20 22:06:19 jtc Exp $ -# $OpenBSD: Makefile,v 1.17 1999/03/08 19:14:28 millert Exp $ +# $OpenBSD: Makefile,v 1.18 1999/05/26 13:52:05 espie Exp $ # # @(#)Makefile 5.1beta 93/09/24 # @@ -13,7 +13,6 @@ # ==================================================== # # - # # There are two options in making libm at fdlibm compile time: # _IEEE_LIBM --- IEEE libm; smaller, and somewhat faster @@ -169,4 +168,18 @@ LINKS+= ${LIBDIR}/libm_pic.a ${LIBDIR}/libm_i387_pic.a .endif .endif +.if (${MACHINE_ARCH} == "m68k") +.for _I in e_lgamma_r e_lgammaf_r k_tan k_tanf s_atanf +${_I}.so: ${_I}.c + @echo "${COMPILE.c} ${PICFLAGS} -O1 -DPIC ${.IMPSRC} -o ${.TARGET}" + @${COMPILE.c} ${PICFLAGS} -O1 -DPIC ${.IMPSRC} -o ${.TARGET}.o + @${LD} -x -r ${.TARGET}.o -o ${.TARGET} + @rm -f ${.TARGET}.o +.endfor +.endif +#e_acos.o: +# cpp -D__LIBM_PRIVATE -D_USE_WRITE -D_MULTI_LIBM -D_POSIX_MODE \ +# /usr/src/lib/libm/arch/mc68881/e_acos.S | as -o e_acos.o + + .include <bsd.lib.mk> |