diff options
author | Michael Shalayeff <mickey@cvs.openbsd.org> | 1998-06-23 20:34:04 +0000 |
---|---|---|
committer | Michael Shalayeff <mickey@cvs.openbsd.org> | 1998-06-23 20:34:04 +0000 |
commit | d0a642bbf4864074783d2527cd579160ed0fd941 (patch) | |
tree | f2f2667e799e0b032798a34b49eb228fbf26218b /sys/arch/hppa/spmath/Makefile | |
parent | 8c6ef82db6e7bdbab41abdfc581800943c7ae103 (diff) |
initial import of osf-hacked HP one
Diffstat (limited to 'sys/arch/hppa/spmath/Makefile')
-rw-r--r-- | sys/arch/hppa/spmath/Makefile | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/sys/arch/hppa/spmath/Makefile b/sys/arch/hppa/spmath/Makefile new file mode 100644 index 00000000000..a274875c102 --- /dev/null +++ b/sys/arch/hppa/spmath/Makefile @@ -0,0 +1,32 @@ +# $OpenBSD: Makefile,v 1.1 1998/06/23 20:33:49 mickey Exp $ + +LIB= spmath +NOPIC= + +MACHINE= ${XMACHINE} +MACHINE_ARCH= ${XMACHINE_ARCH} + +M= ${.CURDIR}/arch/${MACHINE_ARCH} + +CPPFLAGS= -I$M ${KERNCPPFLAGS} + +SRCS+= divu.S impys.S impyu.S dfadd.c dfcmp.c dfdiv.c dfmpy.c dfrem.c \ + dfsqrt.c dfsub.c divsfm.c divsfr.c divsim.c divsir.c divufr.c \ + divuir.c fcnvff.c fcnvfx.c fcnvfxt.c fcnvxf.c frnd.c mdrr.c \ + mpyaccs.c mpyaccu.c mpys.c mpyscv.c mpyu.c mpyucv.c setovfl.c \ + sfadd.c sfcmp.c sfdiv.c sfmpy.c sfrem.c sfsqrt.c sfsub.c + +install: + +.include <bsd.lib.mk> + +lib${LIB}.o:: ${OBJS} + @echo building standard ${LIB} library + @rm -f lib${LIB}.o + @${LD} -r -o lib${LIB}.o `${LORDER} ${OBJS} | tsort` + +POBJS+= ${OBJS:.o=.po} +lib${LIB}.po:: ${POBJS} + @echo building profiled ${LIB} library + @rm -f lib${LIB}.po + @${LD} -r -o lib${LIB}.po `${LORDER} ${POBJS} | tsort` |