summaryrefslogtreecommitdiffstats
path: root/arch/mips/math-emu/Makefile
blob: 456e1067d6f50484c15e6e363b06ccb560402d0b (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
#
# Makefile for the Linux/MIPS kernel FPU 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).
#

.S.o:
	$(CC) $(CFLAGS) -c $< -o $*.o

all:	fpu_emulator.o
EXTRA_ASFLAGS = -mips2 -mcpu=r4000
O_TARGET:= fpu_emulator.o

O_OBJS	:= cp1emu.o ieee754m.o ieee754d.o \
	   ieee754dp.o ieee754sp.o ieee754.o ieee754xcpt.o \
	   dp_frexp.o dp_modf.o dp_div.o dp_mul.o dp_sub.o dp_add.o dp_fsp.o \
	   dp_cmp.o dp_logb.o dp_scalb.o dp_simple.o \
	   dp_tint.o dp_fint.o dp_tlong.o dp_flong.o \
	   sp_frexp.o sp_modf.o sp_div.o sp_mul.o sp_sub.o sp_add.o sp_fdp.o \
	   sp_cmp.o sp_logb.o sp_scalb.o sp_simple.o \
	   sp_tint.o sp_fint.o sp_tlong.o sp_flong.o \
	   dp_sqrt.o sp_sqrt.o kernel_linkage.o

clean:

include $(TOPDIR)/Rules.make