# Makefile for lib/ack/mach/generic/libfp.

# Do not optimize these functions.

CC	= false
ARCH	= eniac
CFLAGS	= -I../../$(ARCH)/libem
CC1	= $(CC) -m$(ARCH) $(CFLAGS) -c

LIBRARY	= /usr/lib/$(CC)/$(ARCH)/libc.a

OBJECTS	= \
	$(LIBRARY)(add_ext.o) \
	$(LIBRARY)(adder.o) \
	$(LIBRARY)(soft_adf4.o) \
	$(LIBRARY)(soft_adf8.o) \
	$(LIBRARY)(soft_cff4.o) \
	$(LIBRARY)(soft_cff8.o) \
	$(LIBRARY)(soft_cfi.o) \
	$(LIBRARY)(soft_cfu.o) \
	$(LIBRARY)(soft_cif4.o) \
	$(LIBRARY)(soft_cif8.o) \
	$(LIBRARY)(soft_cmf4.o) \
	$(LIBRARY)(soft_cmf8.o) \
	$(LIBRARY)(compact.o) \
	$(LIBRARY)(soft_cuf4.o) \
	$(LIBRARY)(soft_cuf8.o) \
	$(LIBRARY)(div_ext.o) \
	$(LIBRARY)(soft_dvf4.o) \
	$(LIBRARY)(soft_dvf8.o) \
	$(LIBRARY)(extend.o) \
	$(LIBRARY)(soft_fef4.o) \
	$(LIBRARY)(soft_fef8.o) \
	$(LIBRARY)(soft_fif4.o) \
	$(LIBRARY)(soft_fif8.o) \
	$(LIBRARY)(fptrp.o) \
	$(LIBRARY)(soft_mlf4.o) \
	$(LIBRARY)(soft_mlf8.o) \
	$(LIBRARY)(mul_ext.o) \
	$(LIBRARY)(soft_ngf4.o) \
	$(LIBRARY)(soft_ngf8.o) \
	$(LIBRARY)(nrm_ext.o) \
	$(LIBRARY)(soft_sbf4.o) \
	$(LIBRARY)(soft_sbf8.o) \
	$(LIBRARY)(sft_ext.o) \
	$(LIBRARY)(shifter.o) \
	$(LIBRARY)(sub_ext.o) \
	$(LIBRARY)(soft_zrf4.o) \
	$(LIBRARY)(soft_zrf8.o) \
	$(LIBRARY)(zrf_ext.o) \

$(LIBRARY):	$(OBJECTS)
	$(CC) -c.a -o $@ *.o
	rm *.o

$(LIBRARY)(add_ext.o):	add_ext.c
	$(CC1) add_ext.c

$(LIBRARY)(adder.o):	adder.c
	$(CC1) adder.c

$(LIBRARY)(soft_adf4.o):	soft_adf4.c
	$(CC1) soft_adf4.c

$(LIBRARY)(soft_adf8.o):	soft_adf8.c
	$(CC1) soft_adf8.c

$(LIBRARY)(soft_cff4.o):	soft_cff4.c
	$(CC1) soft_cff4.c

$(LIBRARY)(soft_cff8.o):	soft_cff8.c
	$(CC1) soft_cff8.c

$(LIBRARY)(soft_cfi.o):	soft_cfi.c
	$(CC1) soft_cfi.c

$(LIBRARY)(soft_cfu.o):	soft_cfu.c
	$(CC1) soft_cfu.c

$(LIBRARY)(soft_cif4.o):	soft_cif4.c
	$(CC1) soft_cif4.c

$(LIBRARY)(soft_cif8.o):	soft_cif8.c
	$(CC1) soft_cif8.c

$(LIBRARY)(soft_cmf4.o):	soft_cmf4.c
	$(CC1) soft_cmf4.c

$(LIBRARY)(soft_cmf8.o):	soft_cmf8.c
	$(CC1) soft_cmf8.c

$(LIBRARY)(compact.o):	compact.c
	$(CC1) compact.c

$(LIBRARY)(soft_cuf4.o):	soft_cuf4.c
	$(CC1) soft_cuf4.c

$(LIBRARY)(soft_cuf8.o):	soft_cuf8.c
	$(CC1) soft_cuf8.c

$(LIBRARY)(div_ext.o):	div_ext.c
	$(CC1) div_ext.c

$(LIBRARY)(soft_dvf4.o):	soft_dvf4.c
	$(CC1) soft_dvf4.c

$(LIBRARY)(soft_dvf8.o):	soft_dvf8.c
	$(CC1) soft_dvf8.c

$(LIBRARY)(extend.o):	extend.c
	$(CC1) extend.c

$(LIBRARY)(soft_fef4.o):	soft_fef4.c
	$(CC1) soft_fef4.c

$(LIBRARY)(soft_fef8.o):	soft_fef8.c
	$(CC1) soft_fef8.c

$(LIBRARY)(soft_fif4.o):	soft_fif4.c
	$(CC1) soft_fif4.c

$(LIBRARY)(soft_fif8.o):	soft_fif8.c
	$(CC1) soft_fif8.c

$(LIBRARY)(fptrp.o):	fptrp.e
	$(CC1) fptrp.e

$(LIBRARY)(soft_mlf4.o):	soft_mlf4.c
	$(CC1) soft_mlf4.c

$(LIBRARY)(soft_mlf8.o):	soft_mlf8.c
	$(CC1) soft_mlf8.c

$(LIBRARY)(mul_ext.o):	mul_ext.c
	$(CC1) mul_ext.c

$(LIBRARY)(soft_ngf4.o):	soft_ngf4.c
	$(CC1) soft_ngf4.c

$(LIBRARY)(soft_ngf8.o):	soft_ngf8.c
	$(CC1) soft_ngf8.c

$(LIBRARY)(nrm_ext.o):	nrm_ext.c
	$(CC1) nrm_ext.c

$(LIBRARY)(soft_sbf4.o):	soft_sbf4.c
	$(CC1) soft_sbf4.c

$(LIBRARY)(soft_sbf8.o):	soft_sbf8.c
	$(CC1) soft_sbf8.c

$(LIBRARY)(sft_ext.o):	sft_ext.c
	$(CC1) sft_ext.c

$(LIBRARY)(shifter.o):	shifter.c
	$(CC1) shifter.c

$(LIBRARY)(sub_ext.o):	sub_ext.c
	$(CC1) sub_ext.c

$(LIBRARY)(soft_zrf4.o):	soft_zrf4.c
	$(CC1) soft_zrf4.c

$(LIBRARY)(soft_zrf8.o):	soft_zrf8.c
	$(CC1) soft_zrf8.c

$(LIBRARY)(zrf_ext.o):	zrf_ext.c
	$(CC1) zrf_ext.c
