patch-2.2.14 linux/arch/alpha/math-emu/Makefile

Next file: linux/arch/alpha/math-emu/fp-emul.c
Previous file: linux/arch/alpha/kernel/traps.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.2.13/linux/arch/alpha/math-emu/Makefile linux/arch/alpha/math-emu/Makefile
@@ -1,21 +1,18 @@
 #
-# Makefile for math-emulator files...
+# 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   :=	fp-emul.o udivmodti4.o
-
-LINKS	:=	double.h op-common.h op-1.h op-2.h op-4.h single.h \
-		soft-fp.h udivmodti4.c
+O_TARGET := math-emu.o
+O_OBJS   := math.o
+CFLAGS += -I. -I$(TOPDIR)/include/math-emu -w
 
 ifeq ($(CONFIG_MATHEMU),m)
 M_OBJS   := $(O_TARGET)
 endif
 
 include $(TOPDIR)/Rules.make
-
-symlinks:
-	ln -sf $(patsubst %,../../sparc64/math-emu/%,$(LINKS)) .
-
-cleansymlinks:
-	rm -f $(LINKS)

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)