patch-2.1.79 linux/arch/sparc64/math-emu/Makefile

Next file: linux/arch/sparc64/math-emu/double.h
Previous file: linux/arch/sparc64/lib/strncpy_from_user.S
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.78/linux/arch/sparc64/math-emu/Makefile linux/arch/sparc64/math-emu/Makefile
@@ -0,0 +1,33 @@
+#
+# Makefile for the FPU Quad (long double) 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 fabsq.o faddq.o fdivq.o fdmulq.o fitoq.o 		\
+		fmovq.o fmulq.o fnegq.o fqtoi.o fqtox.o fsubq.o		\
+		fxtoq.o fdtoq.o fstoq.o fqtos.o fqtod.o fsqrtq.o	\
+		fcmpq.o fcmpeq.o udivmodti4.o				\
+		fsqrts.o fsqrtd.o fadds.o faddd.o fsubs.o fsubd.o	\
+		fmuls.o fmuld.o fdivs.o fdivd.o fsmuld.o		\
+		fstoi.o fdtoi.o fstox.o fdtox.o fstod.o fdtos.o
+
+ifeq ($(CONFIG_MATHEMU),m)
+M_OBJS   := $(O_TARGET)
+endif
+
+.S.s:
+	$(CPP) -D__ASSEMBLY__ -ansi $< -o $*.s
+
+.S.o:
+	$(CC) -D__ASSEMBLY__ -ansi -c $< -o $*.o
+
+ifneq ($(CONFIG_MATHEMU),y)
+do_it_all:
+endif
+
+include $(TOPDIR)/Rules.make

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov