summaryrefslogtreecommitdiffstats
path: root/arch/sparc/math-emu/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'arch/sparc/math-emu/Makefile')
-rw-r--r--arch/sparc/math-emu/Makefile22
1 files changed, 3 insertions, 19 deletions
diff --git a/arch/sparc/math-emu/Makefile b/arch/sparc/math-emu/Makefile
index b85e48924..6e4862a83 100644
--- a/arch/sparc/math-emu/Makefile
+++ b/arch/sparc/math-emu/Makefile
@@ -8,19 +8,7 @@
# 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
-
-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-8.h \
- op-common.h quad.h single.h soft-fp.h
+O_OBJS := math.o ashldi3.o
.S.s:
$(CPP) -D__ASSEMBLY__ -ansi $< -o $*.s
@@ -28,10 +16,6 @@ LINKS := double.h faddd.c faddq.c fadds.c fdivd.c fdivq.c fdivs.c \
.S.o:
$(CC) -D__ASSEMBLY__ -ansi -c $< -o $*.o
-include $(TOPDIR)/Rules.make
-
-symlinks:
- ln -sf $(patsubst %,../../sparc64/math-emu/%,$(LINKS)) .
+CFLAGS += -I. -I$(TOPDIR)/include/math-emu -w
-cleansymlinks:
- rm -f $(LINKS)
+include $(TOPDIR)/Rules.make