Expand PMF_FN_* macros.
[netbsd-mini2440.git] / sys / arch / hppa / spmath / Makefile
blob1a1c79fcf3439c7635df7a883a0406ac95dba2a1
1 # $NetBSD: Makefile,v 1.1.10.3 2004/09/21 13:16:34 skrll Exp $
3 # $OpenBSD: Makefile,v 1.4 2000/01/11 21:32:57 mickey Exp $
5 LIB= spmath
6 NOPIC=
8 SRCS= dfadd.c dfcmp.c dfdiv.c dfmpy.c dfrem.c dfsqrt.c dfsub.c divsfm.c \
9 divsfr.c divsim.c divsir.c divu.S divufr.c divuir.c fcnvff.c fcnvfx.c \
10 fcnvfxt.c fcnvxf.c frnd.c impys.S impyu.S mpyaccs.c mpyaccu.c mpys.c \
11 mpyscv.c mpyu.c mpyucv.c setovfl.c sfadd.c sfcmp.c sfdiv.c sfmpy.c \
12 sfrem.c sfsqrt.c sfsub.c fpudispatch.c
14 CPPFLAGS+= ${SPMATHCPPFLAGS}
16 MACHINE= ${XMACHINE}
17 MACHINE_ARCH= ${XMACHINE_ARCH}
19 # Files to clean up
20 CLEANFILES+= ${LIB}.o ${LIB}.po
22 install:
24 .include <bsd.lib.mk>
26 ${LIB}.o:: ${OBJS}
27 @echo building standard ${LIB} library
28 @rm -f ${LIB}.o
29 @${LD} -r -o ${LIB}.o `${LORDER} ${OBJS} | tsort`
31 ${LIB}.po:: ${POBJS}
32 @echo building profiled ${LIB} library
33 @rm -f ${LIB}.po
34 @${LD} -r -o ${LIB}.po `${LORDER} ${POBJS} | tsort`