annotate make/lib/Lib-jdk.crypto.pkcs11.gmk @ 13506:b6bd1a9bf016

8145596: Enable debug symbols for all libraries Reviewed-by: erikj
author ihse
date Wed, 20 Jan 2016 09:54:13 +0100
parents a0eb148fa9d5
children 489654d17d7a
rev   line source
chegar@10444 1 #
ihse@11578 2 # Copyright (c) 2011, 2015, Oracle and/or its affiliates. All rights reserved.
chegar@10444 3 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
chegar@10444 4 #
chegar@10444 5 # This code is free software; you can redistribute it and/or modify it
chegar@10444 6 # under the terms of the GNU General Public License version 2 only, as
chegar@10444 7 # published by the Free Software Foundation. Oracle designates this
chegar@10444 8 # particular file as subject to the "Classpath" exception as provided
chegar@10444 9 # by Oracle in the LICENSE file that accompanied this code.
chegar@10444 10 #
chegar@10444 11 # This code is distributed in the hope that it will be useful, but WITHOUT
chegar@10444 12 # ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
chegar@10444 13 # FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
chegar@10444 14 # version 2 for more details (a copy is included in the LICENSE file that
chegar@10444 15 # accompanied this code).
chegar@10444 16 #
chegar@10444 17 # You should have received a copy of the GNU General Public License version
chegar@10444 18 # 2 along with this work; if not, write to the Free Software Foundation,
chegar@10444 19 # Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
chegar@10444 20 #
chegar@10444 21 # Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
chegar@10444 22 # or visit www.oracle.com if you need additional information or have any
chegar@10444 23 # questions.
chegar@10444 24 #
chegar@10444 25
chegar@10444 26 include LibCommon.gmk
chegar@10444 27
chegar@10444 28 ################################################################################
chegar@10444 29
chegar@10444 30 LIBJ2PKCS11_SRC := $(JDK_TOPDIR)/src/jdk.crypto.pkcs11/share/native/libj2pkcs11 \
ihse@10990 31 $(JDK_TOPDIR)/src/jdk.crypto.pkcs11/$(OPENJDK_TARGET_OS_TYPE)/native/libj2pkcs11
chegar@10444 32
chegar@10444 33 $(eval $(call SetupNativeCompilation,BUILD_LIBJ2PKCS11, \
chegar@10444 34 LIBRARY := j2pkcs11, \
chegar@10444 35 OUTPUT_DIR := $(INSTALL_LIBRARIES_HERE), \
chegar@10444 36 SRC := $(LIBJ2PKCS11_SRC), \
chegar@10444 37 OPTIMIZATION := LOW, \
chegar@10444 38 CFLAGS := $(CFLAGS_JDKLIB) $(addprefix -I, $(LIBJ2PKCS11_SRC)) \
chegar@10444 39 $(LIBJAVA_HEADER_FLAGS) \
chegar@10967 40 -I$(SUPPORT_OUTPUTDIR)/headers/jdk.crypto.pkcs11, \
ihse@11578 41 DISABLED_WARNINGS_solstudio := E_DECLARATION_IN_CODE, \
ihse@11578 42 DISABLED_WARNINGS_microsoft := 4013 4267, \
chegar@10444 43 MAPFILE := $(JDK_TOPDIR)/make/mapfiles/libj2pkcs11/mapfile-vers, \
chegar@10444 44 LDFLAGS := $(LDFLAGS_JDKLIB) \
chegar@10444 45 $(call SET_SHARED_LIBRARY_ORIGIN), \
ihse@12977 46 LIBS_unix := $(LIBDL), \
ihse@12977 47 LIBS_solaris := -lc, \
chegar@10444 48 VERSIONINFO_RESOURCE := $(GLOBAL_VERSION_INFO_RESOURCE), \
chegar@10444 49 RC_FLAGS := $(RC_FLAGS) \
chegar@10444 50 -D "JDK_FNAME=j2pkcs11.dll" \
chegar@10444 51 -D "JDK_INTERNAL_NAME=j2pkcs11" \
chegar@10444 52 -D "JDK_FTYPE=0x2L", \
chegar@10967 53 OBJECT_DIR := $(SUPPORT_OUTPUTDIR)/native/$(MODULE)/libj2pkcs11, \
ihse@13506 54 ))
chegar@10444 55
chegar@10967 56 TARGETS += $(BUILD_LIBJ2PKCS11)
chegar@10444 57
chegar@10444 58 ################################################################################