#sccs	"@(#)libc/mc68k/crt:Makefile	1.9"
# MC68881 Support received from AT&TIS, W. King on 3/86 sCcSid: 1.14

include $(MAKEINC)/Makepre.h

#CPP=$(S4TOOLS)/lib/mcpp
#CPPFLAGS=-Dmc68k -Dm68k -Dm68 $(LCFLAGS) -I$(I)


OBJECTS=\
aldiv.o		  aulrem.o	    flmul.o	      mcount.o 	\
almul.o		  fladd.o	    ldiv.o	      uldiv.o 	\
alrem.o		  flcvt.o	    lmul.o	      ulmul.o	\
auldiv.o	  fldvmd.o	    lrem.o	      ulrem.o	\
aulmul.o	  fltst.o	    fpa_decs.o        fpachk.o

all:	$(OBJECTS)

prof:	$(OBJECTS)

includes:

install:

clobber clean:
	-rm -f *.o

fldvmd.o flmul.o: xxx.s
	cat xxx.s $*.s >tmp.s
	as tmp.s -o $*.o
	rm tmp.s 
xxx.s:	../../../libm/fpa.h
	awk '/#def/ { printf "\tset\t%s, %s\n", $$2, $$3; }' >xxx.s ../../../libm/fpa.h

populate:
	getunit

include $(MAKEINC)/Makepost.h
