annotate make/java/fdlibm/Makefile @ 3261:a06412e13bf7

6962318: Update copyright year Reviewed-by: xdono
author ohair
date Tue, 28 Dec 2010 15:53:50 -0800
parents 00cd9dc3c2b5
children 5124c2a50539
rev   line source
duke@0 1 #
ohair@3261 2 # Copyright (c) 1998, 2010, Oracle and/or its affiliates. All rights reserved.
duke@0 3 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
duke@0 4 #
duke@0 5 # This code is free software; you can redistribute it and/or modify it
duke@0 6 # under the terms of the GNU General Public License version 2 only, as
ohair@2362 7 # published by the Free Software Foundation. Oracle designates this
duke@0 8 # particular file as subject to the "Classpath" exception as provided
ohair@2362 9 # by Oracle in the LICENSE file that accompanied this code.
duke@0 10 #
duke@0 11 # This code is distributed in the hope that it will be useful, but WITHOUT
duke@0 12 # ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
duke@0 13 # FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
duke@0 14 # version 2 for more details (a copy is included in the LICENSE file that
duke@0 15 # accompanied this code).
duke@0 16 #
duke@0 17 # You should have received a copy of the GNU General Public License version
duke@0 18 # 2 along with this work; if not, write to the Free Software Foundation,
duke@0 19 # Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
duke@0 20 #
ohair@2362 21 # Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
ohair@2362 22 # or visit www.oracle.com if you need additional information or have any
ohair@2362 23 # questions.
duke@0 24 #
duke@0 25
duke@0 26 #
duke@0 27 # Makefile for native threads HPI.
duke@0 28 #
duke@0 29 # Note:
duke@0 30 # The fdlibm libraries are built using special rules in Library.gmk.
duke@0 31 #
duke@0 32
duke@0 33 BUILDDIR = ../..
mchung@2080 34 MODULE = base
duke@0 35 LIBRARY = fdlibm
duke@0 36 PRODUCT = java
ohair@460 37
duke@0 38 include $(BUILDDIR)/common/Defs.gmk
duke@0 39
duke@0 40 #
duke@0 41 # Where is fdlibm in the source tree?
duke@0 42 #
duke@0 43 FDLIBM_SRC = $(SHARE_SRC)/native/java/lang/fdlibm
duke@0 44
ohair@460 45 # Windows: compiler flags
duke@0 46 ifeq ($(PLATFORM),windows)
duke@0 47 # Turn all optimizations off
ohair@460 48 OPTIMIZATION_LEVEL = NONE
ohair@1006 49 FASTDEBUG_OPTIMIZATION_LEVEL = NONE
duke@0 50 OTHER_CFLAGS =
duke@0 51 CPPFLAGS_DBG += -DLOGGING
duke@0 52 endif
duke@0 53
duke@0 54 #
ohair@460 55 # Linux: Disable optimization to get correctly reproducible
ohair@460 56 # floating-point results.
ohair@460 57 #
ohair@460 58 ifeq ($(PLATFORM),linux)
ohair@460 59 # Turn all optimizations off
ohair@460 60 OPTIMIZATION_LEVEL = NONE
ohair@1006 61 FASTDEBUG_OPTIMIZATION_LEVEL = NONE
ohair@460 62 endif
ohair@460 63
ohair@460 64 #
duke@0 65 # Include path.
duke@0 66 #
duke@0 67 OTHER_INCLUDES = -I$(FDLIBM_SRC)/include
duke@0 68
duke@0 69 #
duke@0 70 # Things that must be linked in.
duke@0 71 #
duke@0 72 OTHER_LDLIBS =
duke@0 73
duke@0 74 #
duke@0 75 # Files to compile.
duke@0 76 #
duke@0 77 include FILES_c.gmk
duke@0 78
duke@0 79 #
duke@0 80 # Rules for the .a file.
duke@0 81 #
duke@0 82 include $(BUILDDIR)/common/Library.gmk
duke@0 83
duke@0 84 #
duke@0 85 # Find fdlibm source files.
duke@0 86 #
duke@0 87 vpath %.c
duke@0 88 vpath %.c $(FDLIBM_SRC)/src