annotate make/lib/Lib-java.smartcardio.gmk @ 49578:7c82bb507446

8190333: sun/security/ssl/X509KeyManager/PreferredKey.java failed with "Failed to get the preferable key aliases" Reviewed-by: mullan
author amjiang
date Tue, 10 Apr 2018 18:16:12 -0700
parents 995a5556edfa
children f0aeede1b855
rev   line source
chegar@25859 1 #
ihse@49071 2 # Copyright (c) 2011, 2018, Oracle and/or its affiliates. All rights reserved.
chegar@25859 3 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
chegar@25859 4 #
chegar@25859 5 # This code is free software; you can redistribute it and/or modify it
chegar@25859 6 # under the terms of the GNU General Public License version 2 only, as
chegar@25859 7 # published by the Free Software Foundation. Oracle designates this
chegar@25859 8 # particular file as subject to the "Classpath" exception as provided
chegar@25859 9 # by Oracle in the LICENSE file that accompanied this code.
chegar@25859 10 #
chegar@25859 11 # This code is distributed in the hope that it will be useful, but WITHOUT
chegar@25859 12 # ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
chegar@25859 13 # FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
chegar@25859 14 # version 2 for more details (a copy is included in the LICENSE file that
chegar@25859 15 # accompanied this code).
chegar@25859 16 #
chegar@25859 17 # You should have received a copy of the GNU General Public License version
chegar@25859 18 # 2 along with this work; if not, write to the Free Software Foundation,
chegar@25859 19 # Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
chegar@25859 20 #
chegar@25859 21 # Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
chegar@25859 22 # or visit www.oracle.com if you need additional information or have any
chegar@25859 23 # questions.
chegar@25859 24 #
chegar@25859 25
chegar@25859 26 include LibCommon.gmk
chegar@25859 27
chegar@25859 28 ################################################################################
chegar@25859 29
erikj@47217 30 LIBJ2PCSC_SRC := $(TOPDIR)/src/java.smartcardio/share/native/libj2pcsc \
erikj@47217 31 $(TOPDIR)/src/java.smartcardio/$(OPENJDK_TARGET_OS_TYPE)/native/libj2pcsc
chegar@25859 32 LIBJ2PCSC_CPPFLAGS := $(addprefix -I,$(LIBJ2PCSC_SRC)) \
erikj@47217 33 -I$(TOPDIR)/src/java.smartcardio/$(OPENJDK_TARGET_OS_TYPE)/native/libj2pcsc/MUSCLE \
chegar@27565 34 -I$(SUPPORT_OUTPUTDIR)/headers/java.smartcardio
chegar@25859 35
ihse@49245 36 $(eval $(call SetupJdkLibrary, BUILD_LIBJ2PCSC, \
ihse@49071 37 NAME := j2pcsc, \
chegar@25859 38 SRC := $(LIBJ2PCSC_SRC), \
ihse@27736 39 CFLAGS_unix := -D__sun_jdk, \
chegar@25859 40 OPTIMIZATION := LOW, \
chegar@25859 41 CFLAGS := $(CFLAGS_JDKLIB) $(LIBJ2PCSC_CPPFLAGS), \
chegar@25859 42 LDFLAGS := $(LDFLAGS_JDKLIB) \
chegar@25859 43 $(call SET_SHARED_LIBRARY_ORIGIN), \
ihse@33406 44 LIBS_unix := $(LIBDL), \
ihse@33406 45 LIBS_windows := winscard.lib, \
ihse@35276 46 ))
chegar@25859 47
chegar@27565 48 TARGETS += $(BUILD_LIBJ2PCSC)
chegar@25859 49
chegar@25859 50 ################################################################################