Import 2.3.13pre1
[davej-history.git] / arch / i386 / math-emu / Makefile
blob588f7ada2759f62036c5a85212d6ed1f3252bdff
2 # Makefile for wm-FPU-emu
5 L_TARGET := math.a
7 #DEBUG = -DDEBUGGING
8 DEBUG =
9 PARANOID = -DPARANOID
10 CFLAGS := $(CFLAGS) $(PARANOID) $(DEBUG) -fno-builtin $(MATH_EMULATION)
12 .S.o:
13 $(CC) -D__ASSEMBLY__ $(PARANOID) -c $<
15 # From 'C' language sources:
16 C_OBJS =fpu_entry.o errors.o \
17 fpu_arith.o fpu_aux.o fpu_etc.o fpu_tags.o fpu_trig.o \
18 load_store.o get_address.o \
19 poly_atan.o poly_l2.o poly_2xm1.o poly_sin.o poly_tan.o \
20 reg_add_sub.o reg_compare.o reg_constant.o reg_convert.o \
21 reg_ld_str.o reg_divide.o reg_mul.o
23 # From 80x86 assembler sources:
24 A_OBJS =reg_u_add.o reg_u_div.o reg_u_mul.o reg_u_sub.o \
25 div_small.o reg_norm.o reg_round.o \
26 wm_shrx.o wm_sqrt.o \
27 div_Xsig.o polynom_Xsig.o round_Xsig.o \
28 shr_Xsig.o mul_Xsig.o
30 L_OBJS =$(C_OBJS) $(A_OBJS)
32 include $(TOPDIR)/Rules.make
34 proto:
35 cproto -e -DMAKING_PROTO *.c >fpu_proto.h