##########################################################################
#
# $Id: Makefile,v 37.1 91/01/22 14:00:01 mks Exp $
#
# $Locker:  $
#
# $Log:	Makefile,v $
# Revision 37.1  91/01/22  14:00:01  mks
# Updated for V37
# 
# Revision 1.2  90/05/09  11:56:07  dale
# making rcs stuff on initial checkin work. cleanup.
#
# Revision 1.1  90/05/09  11:28:03  dale
# Initial revision
#
#
##########################################################################


#
# Amiga Fast Floating Point Math Library
#

V=	V$(VERSION)

MAKEFILE=    Makefile
SRCDIR=		 mathtrans
SUBSYSNAME=  mathtrans
SUBSYSGROUP= libraries
DISKPATH=cli/libs/mathtrans.library
SRCDIRPATH=	workbench/libs

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

LFLAGS= map=$*.lmap xref=$*.xref

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

FIRSTRAM=	residenttag.obj

RAMLIB=	library.obj aint.obj ffpatan.obj ffpsin.obj \
	ffpsinh.obj ffpexp.obj	ffplog.obj	ffppwr.obj \
	ffpsqrt.obj ffptieee.obj ffptnorm.obj	ffptheta.obj \
	ffphthet.obj	ffpasin.obj     ffpcpyrtb.obj \
	endmodule.obj

ALLFILES=	$(FIRSTRAM) $(RAMLIB)

#
# 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 aint.asm ffpatan.asm \
 	ffpsin.asm ffpsinh.asm ffpexp.asm ffplog.asm \
 	ffppwr.asm ffpsqrt.asm ffptieee.asm	ffptnorm.asm \
 	ffptheta.asm	ffphthet.asm	ffpcpyrtb.asm	ffpasin.asm \
 	endmodule.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= library.i macros.i mathtrans_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=

#
# 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

#
# Include the system makefile
#
.INCLUDE=/usr/commodore/amiga/$(V)/tools/makemeta
