1*da957e11SThomas Gleixner# 2*da957e11SThomas Gleixner# Makefile for wm-FPU-emu 3*da957e11SThomas Gleixner# 4*da957e11SThomas Gleixner 5*da957e11SThomas Gleixner#DEBUG = -DDEBUGGING 6*da957e11SThomas GleixnerDEBUG = 7*da957e11SThomas GleixnerPARANOID = -DPARANOID 8*da957e11SThomas GleixnerCFLAGS := $(CFLAGS) $(PARANOID) $(DEBUG) -fno-builtin $(MATH_EMULATION) 9*da957e11SThomas Gleixner 10*da957e11SThomas GleixnerEXTRA_AFLAGS := $(PARANOID) 11*da957e11SThomas Gleixner 12*da957e11SThomas Gleixner# From 'C' language sources: 13*da957e11SThomas GleixnerC_OBJS =fpu_entry.o errors.o \ 14*da957e11SThomas Gleixner fpu_arith.o fpu_aux.o fpu_etc.o fpu_tags.o fpu_trig.o \ 15*da957e11SThomas Gleixner load_store.o get_address.o \ 16*da957e11SThomas Gleixner poly_atan.o poly_l2.o poly_2xm1.o poly_sin.o poly_tan.o \ 17*da957e11SThomas Gleixner reg_add_sub.o reg_compare.o reg_constant.o reg_convert.o \ 18*da957e11SThomas Gleixner reg_ld_str.o reg_divide.o reg_mul.o 19*da957e11SThomas Gleixner 20*da957e11SThomas Gleixner# From 80x86 assembler sources: 21*da957e11SThomas GleixnerA_OBJS =reg_u_add.o reg_u_div.o reg_u_mul.o reg_u_sub.o \ 22*da957e11SThomas Gleixner div_small.o reg_norm.o reg_round.o \ 23*da957e11SThomas Gleixner wm_shrx.o wm_sqrt.o \ 24*da957e11SThomas Gleixner div_Xsig.o polynom_Xsig.o round_Xsig.o \ 25*da957e11SThomas Gleixner shr_Xsig.o mul_Xsig.o 26*da957e11SThomas Gleixner 27*da957e11SThomas Gleixnerobj-y =$(C_OBJS) $(A_OBJS) 28*da957e11SThomas Gleixner 29*da957e11SThomas Gleixnerproto: 30*da957e11SThomas Gleixner cproto -e -DMAKING_PROTO *.c >fpu_proto.h 31