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

Next file: linux/arch/sparc/math-emu/fabss.c
Previous file: linux/arch/sparc/lib/ashrdi3.S
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.2.13/linux/arch/sparc/math-emu/Makefile linux/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 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
+O_OBJS   := math.o ashldi3.o
 
 .S.s:
 	$(CPP) -D__ASSEMBLY__ -ansi $< -o $*.s
@@ -28,10 +16,6 @@
 .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

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