summaryrefslogtreecommitdiffstats
path: root/arch/sparc/math-emu/Makefile
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>1998-05-07 02:55:41 +0000
committerRalf Baechle <ralf@linux-mips.org>1998-05-07 02:55:41 +0000
commitdcec8a13bf565e47942a1751a9cec21bec5648fe (patch)
tree548b69625b18cc2e88c3e68d0923be546c9ebb03 /arch/sparc/math-emu/Makefile
parent2e0f55e79c49509b7ff70ff1a10e1e9e90a3dfd4 (diff)
o Merge with Linux 2.1.99.
o Fix ancient bug in the ELF loader making ldd crash. o Fix ancient bug in the keyboard code for SGI, SNI and Jazz.
Diffstat (limited to 'arch/sparc/math-emu/Makefile')
-rw-r--r--arch/sparc/math-emu/Makefile37
1 files changed, 37 insertions, 0 deletions
diff --git a/arch/sparc/math-emu/Makefile b/arch/sparc/math-emu/Makefile
new file mode 100644
index 000000000..d7642b2e9
--- /dev/null
+++ b/arch/sparc/math-emu/Makefile
@@ -0,0 +1,37 @@
+#
+# Makefile for the FPU instruction emulation.
+#
+# Note! Dependencies are done automagically by 'make dep', which also
+# removes any old dependencies. DON'T put your own dependencies here
+# unless it's something special (ie not a .c file).
+#
+# Note 2! The CFLAGS definition is now in the main makefile...
+
+O_TARGET := math-emu.o
+O_OBJS := math.o ashldi3.o fabss.o faddd.o faddq.o fadds.o \
+ fcmpd.o fcmped.o fcmpeq.o fcmpes.o fcmpq.o fcmps.o \
+ fdivd.o fdivq.o fdivs.o fdmulq.o fdtoi.o fdtoq.o \
+ fdtos.o fitoq.o fmovs.o fmuld.o fmulq.o fmuls.o \
+ fnegs.o fqtod.o fqtoi.o fqtos.o fsmuld.o fsqrtd.o \
+ fsqrtq.o fsqrts.o fstod.o fstoi.o fstoq.o fsubd.o \
+ fsubq.o fsubs.o udivmodti4.o
+
+LINKS := double.h faddd.c faddq.c fadds.c fdivd.c fdivq.c fdivs.c \
+ fdtoi.c fitoq.c fmuld.c fmulq.c fmuls.c fqtoi.c \
+ fsqrtd.c fsqrtq.c fsqrts.c fstoi.c fsubd.c \
+ fsubq.c fsubs.c op-1.h op-2.h op-4.h op-common.h quad.h \
+ single.h soft-fp.h udivmodti4.c
+
+.S.s:
+ $(CPP) -D__ASSEMBLY__ -ansi $< -o $*.s
+
+.S.o:
+ $(CC) -D__ASSEMBLY__ -ansi -c $< -o $*.o
+
+include $(TOPDIR)/Rules.make
+
+symlinks:
+ ln -sf $(patsubst %,../../sparc64/math-emu/%,$(LINKS)) .
+
+cleansymlinks:
+ rm -f $(LINKS)