Makefile revision 2362
1923N/A#
1923N/A# Copyright (c) 1998, 2008, Oracle and/or its affiliates. All rights reserved.
1923N/A# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
1923N/A#
1923N/A# This code is free software; you can redistribute it and/or modify it
1923N/A# under the terms of the GNU General Public License version 2 only, as
1923N/A# published by the Free Software Foundation. Oracle designates this
1923N/A# particular file as subject to the "Classpath" exception as provided
1923N/A# by Oracle in the LICENSE file that accompanied this code.
1923N/A#
1923N/A# This code is distributed in the hope that it will be useful, but WITHOUT
1923N/A# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
1923N/A# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
1923N/A# version 2 for more details (a copy is included in the LICENSE file that
1923N/A# accompanied this code).
1923N/A#
1923N/A# You should have received a copy of the GNU General Public License version
1923N/A# 2 along with this work; if not, write to the Free Software Foundation,
1923N/A# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
1923N/A#
1923N/A# Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
1923N/A# or visit www.oracle.com if you need additional information or have any
1923N/A# questions.
1923N/A#
1923N/A
1923N/A#
1923N/A# Makefile for native threads HPI.
1923N/A#
1923N/A# Note:
1923N/A# The fdlibm libraries are built using special rules in Library.gmk.
1923N/A#
1923N/A
1923N/ABUILDDIR = ../..
1923N/AMODULE = base
1923N/ALIBRARY = fdlibm
1923N/APRODUCT = java
1923N/A
1923N/Ainclude $(BUILDDIR)/common/Defs.gmk
1923N/A
1923N/A#
1923N/A# Where is fdlibm in the source tree?
1923N/A#
1923N/AFDLIBM_SRC = $(SHARE_SRC)/native/java/lang/fdlibm
1923N/A
1923N/A# Windows: compiler flags
1923N/Aifeq ($(PLATFORM),windows)
1923N/A # Turn all optimizations off
1923N/A OPTIMIZATION_LEVEL = NONE
1923N/A FASTDEBUG_OPTIMIZATION_LEVEL = NONE
1923N/A OTHER_CFLAGS =
1923N/A CPPFLAGS_DBG += -DLOGGING
1923N/Aendif
1923N/A
1923N/A#
1923N/A# Linux: Disable optimization to get correctly reproducible
1923N/A# floating-point results.
1923N/A#
1923N/Aifeq ($(PLATFORM),linux)
1923N/A # Turn all optimizations off
1923N/A OPTIMIZATION_LEVEL = NONE
1923N/A FASTDEBUG_OPTIMIZATION_LEVEL = NONE
1923N/Aendif
1923N/A
1923N/A#
1923N/A# Include path.
1923N/A#
1923N/AOTHER_INCLUDES = -I$(FDLIBM_SRC)/include
1923N/A
1923N/A#
1923N/A# Things that must be linked in.
1923N/A#
1923N/AOTHER_LDLIBS =
1923N/A
1923N/A#
1923N/A# Files to compile.
1923N/A#
1923N/Ainclude FILES_c.gmk
1923N/A
1923N/A#
1923N/A# Rules for the .a file.
1923N/A#
1923N/Ainclude $(BUILDDIR)/common/Library.gmk
1923N/A
1923N/A#
1923N/A# Find fdlibm source files.
1923N/A#
1923N/Avpath %.c
1923N/Avpath %.c $(FDLIBM_SRC)/src
1923N/A