make/lib/Lib-jdk.crypto.ec.gmk
branchihse-nativecompilation-branch
changeset 56197 8fcca3163b7f
parent 48766 2c4d1993b5f9
child 49241 de4b3a04feae
child 56287 593a452fcbeb
equal deleted inserted replaced
56196:a96f5d80fa35 56197:8fcca3163b7f
     1 #
     1 #
     2 # Copyright (c) 2011, 2015, Oracle and/or its affiliates. All rights reserved.
     2 # Copyright (c) 2011, 2018, Oracle and/or its affiliates. All rights reserved.
     3 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     3 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     4 #
     4 #
     5 # This code is free software; you can redistribute it and/or modify it
     5 # This code is free software; you can redistribute it and/or modify it
     6 # under the terms of the GNU General Public License version 2 only, as
     6 # under the terms of the GNU General Public License version 2 only, as
     7 # published by the Free Software Foundation.  Oracle designates this
     7 # published by the Free Software Foundation.  Oracle designates this
    41   ECC_JNI_SOLSPARC_FILTER :=
    41   ECC_JNI_SOLSPARC_FILTER :=
    42   ifeq ($(OPENJDK_TARGET_CPU_ARCH), sparc)
    42   ifeq ($(OPENJDK_TARGET_CPU_ARCH), sparc)
    43     ECC_JNI_SOLSPARC_FILTER := -xregs=no%appl
    43     ECC_JNI_SOLSPARC_FILTER := -xregs=no%appl
    44   endif
    44   endif
    45 
    45 
    46   $(eval $(call SetupNativeCompilation,BUILD_LIBSUNEC, \
    46   $(eval $(call SetupNativeCompilation, BUILD_LIBSUNEC, \
    47       LIBRARY := sunec, \
    47       NAME := sunec, \
    48       OUTPUT_DIR := $(INSTALL_LIBRARIES_HERE), \
    48       OUTPUT_DIR := $(INSTALL_LIBRARIES_HERE), \
    49       SRC := $(LIBSUNEC_SRC), \
    49       SRC := $(LIBSUNEC_SRC), \
    50       TOOLCHAIN := TOOLCHAIN_LINK_CXX, \
    50       TOOLCHAIN := TOOLCHAIN_LINK_CXX, \
    51       OPTIMIZATION := LOW, \
    51       OPTIMIZATION := LOW, \
    52       CFLAGS := $(filter-out $(ECC_JNI_SOLSPARC_FILTER), $(CFLAGS_JDKLIB)) \
    52       CFLAGS := $(filter-out $(ECC_JNI_SOLSPARC_FILTER), $(CFLAGS_JDKLIB)) \