#sccs	"@(#)libmath:Makefile	1.4"
include $(MAKEINC)/Makepre.h

OBJ = abs.o add.o ceilf.o convert.o cmp.o dadd.o dcmp.o div.o dmul.o dvmd.o d_pack.o fpk.o frt.o ipk.o mod.o mul.o

# CAUTION: Use of dpk.o in the above list causes multiply defined symbols

all: libmath.a

libmath.a: $(OBJ)
	ar rvu libmath.a $?

install: 
	chmod 644 libmath.a
	chgrp bin libmath.a
	chown bin libmath.a
	$(INSTALL) -i$(EXITFLAG) libmath.a $(INSDIR) $(PROTOFILE)
	ls libmath.a | cpio -pumv /usr/lib

populate:
	getunit

clean:
	rm -f *.o

clobber: clean
	rm -f libmath.a

includes:

include $(MAKEINC)/Makepost.h
