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