#
# @(#)GNUmakefile	1.5 98/06/19
#
# Makefile for native threads HPI.
#

BUILDDIR     = ../..
LIBRARY      = fdlibm
PRODUCT      = java
LIB_LOCATION = .
include $(BUILDDIR)/Platform.gmk
include $(BUILDDIR)/makefiles/Defs.gmk

#
# Where is fdlibm in the source tree?
#
FDLIBM_SRC = $(SHARE_SRC)/native/java/lang/fdlibm

#
# Include path.
#
OTHER_INCLUDES = -I$(FDLIBM_SRC)/include

#
# Things that must be linked in.
#
OTHER_LDLIBS =

#
# Create the thread specific libdir.
#
INIT = $(LIBDIR)/$(ARCH)

#
# Files to compile.
#
include $(MINCLUDES)/fdlibm.cmk

#
# Rules for the .a file.
#
include $(BUILDDIR)/makefiles/Library.gmk

#
# Set architecture specific endian flag
#
ifeq ($(ARCH),i386)
OTHER_CFLAGS += -D__LITTLE_ENDIAN
endif

#
# Find fdlibm source files.
#
vpath %.c
vpath %.c $(FDLIBM_SRC)/src
