##########################################################################
#
# $Id: Makefile,v 37.1 91/01/21 12:14:01 mks Exp $
#
# $Locker:  $
#
# $Log:	Makefile,v $
# Revision 37.1  91/01/21  12:14:01  mks
# V37 cleanup
# 
# Revision 1.6  90/04/11  19:15:14  dale
# cleanup
#
# Revision 1.5  90/04/08  16:43:20  dale
# filename changes
#
# Revision 1.4  90/04/08  16:22:03  dale
# *** empty log message ***
#
# Revision 1.3  89/12/06  23:28:20  dale
# adding math.h to HFILE list
#
# Revision 1.2  89/09/08  19:48:35  dale
# tidy up
#
# Revision 1.1  89/09/08  19:01:34  dale
# Initial revision
#
#
##########################################################################


#
# Amiga IEEE Floating Point Math Library
#

V=		V$(VERSION)

MAKEFILE=    Makefile
SRCDIR=		 mathieeedoubtrans
SUBSYSNAME=  mathieeedoubtrans
SUBSYSGROUP= libraries
SRCDIRPATH=	workbench/libs

LIBDIR=	/usr/commodore/amiga/$(V)/internal/lib

#
# the following have defaults in the system makefile
# use these lines to add user options
#

CFLAGS = -X22 -X107 -Dmc68000 -Dieee_float
LFLAGS=	map=$*.lmap xref=$*.xref ROM

# X107  is donot use a6

FIRSTRAM=	residenttag.obj

RAMLIB=	library.obj vec_table.obj softieee.obj midb.obj\
	acos.obj asin.obj spatan.obj cos.obj cosh.obj exp.obj\
	log.obj sin.obj sinh.obj spsqrt.obj tan.obj\
	tanh.obj ldexp.obj sincos.obj hardpow.obj\
	ieee68881.obj iovec_table.obj convert.obj endmodule.obj pow.obj\
	halve.obj ieeedoubbasint.obj

ALLFILES=	$(FIRSTRAM) $(RAMLIB)

CFILES= acos.c asin.c cos.c cosh.c exp.c\
	log.c sin.c sinh.c tan.c\
	tanh.c ldexp.c sincos.c hardpow.c\
	pow.c halve.c

#
#RAMLIB=	softieee.obj
#acos.obj asin.obj cos.obj cosh.obj exp.obj\
#	log.obj sin.obj sinh.obj spsqrt.obj tan.obj\
#tanh.obj ldexp.obj sincos.obj hardpow.obj\
#pow.obj\
#halve.obj
# make depend and make print uses the next lines.
# They are maintained by hand.
#
#   AFILES are all the assembler source files
#
AFILES=	residenttag.asm	library.asm vec_table.asm midb.asm\
	convert.asm spatan.asm ieeedoubbasint.asm\
	spsqrt.asm softieee.asm\
	ieee68881.asm endmodule.asm iovec_table.asm

#
#   EXTERNIFILES are all the assembler include files released to others in
#   ${VERDIR}/include/${SUBSYSGROUP}/
#
EXTERNIFILES=
#
#   IFILES are all the assembler include files used by this code, except
#   any _rev.i files
#
IFILES= macros.i mathieeedoubtrans_lib.i

#
#   EXTERNHFILES are all the C include files released to others in
#   ${VERDIR}/include/${SUBSYSGROUP}/
#
EXTERNHFILES=
#
#   HFILES are all the C include files used by this code, except any
#   _rev.h files
#
HFILES= math.h

#
# OFILES are all the object files that make either the library or the
# rom code generated by this makefile.  FIRSTO is the first to appear
# in the result, but the last dependency to be resolved
#
FIRSTO= $(FIRSTRAM)
OFILES= $(RAMLIB)

#
# The main dependency line for a vanilla make
#
all:	${SUBSYSNAME}.ld ${SUBSYSNAME}.doc

install:
	stripa mathieeedoubtrans.ld to /usr2/a2001/libs/mathieeedoubtrans.library

#
# Include the system makefile
#
.INCLUDE=/usr/commodore/amiga/$(V)/tools/makemeta
#.INCLUDE=makemeta
#MYLIBS= ${LIBDIR}/debug.lib

APP=spp
CAPP=./cppapp
#LINK=blink
