summaryrefslogtreecommitdiffstats
path: root/arch/sparc/math-emu/Makefile
blob: d7642b2e9841a1393eb6e1b61aa12d1ef8a06970 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
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)