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