make/lib/Lib-jdk.crypto.cryptoki.gmk
branchihse-remove-mapfiles-branch
changeset 56721 01b558efd286
parent 56107 706dba352bda
parent 50471 f0aeede1b855
equal deleted inserted replaced
56118:edf8a95b46e5 56721:01b558efd286
    25 
    25 
    26 include LibCommon.gmk
    26 include LibCommon.gmk
    27 
    27 
    28 ################################################################################
    28 ################################################################################
    29 
    29 
    30 LIBJ2PKCS11_SRC := $(TOPDIR)/src/jdk.crypto.cryptoki/share/native/libj2pkcs11 \
    30 $(eval $(call SetupJdkLibrary, BUILD_LIBJ2PKCS11, \
    31     $(TOPDIR)/src/jdk.crypto.cryptoki/$(OPENJDK_TARGET_OS_TYPE)/native/libj2pkcs11
    31     NAME := j2pkcs11, \
    32 
       
    33 $(eval $(call SetupNativeCompilation,BUILD_LIBJ2PKCS11, \
       
    34     LIBRARY := j2pkcs11, \
       
    35     OUTPUT_DIR := $(INSTALL_LIBRARIES_HERE), \
       
    36     SRC := $(LIBJ2PKCS11_SRC), \
       
    37     OPTIMIZATION := LOW, \
    32     OPTIMIZATION := LOW, \
    38     CFLAGS := $(CFLAGS_JDKLIB) $(addprefix -I, $(LIBJ2PKCS11_SRC)) \
    33     CFLAGS := $(CFLAGS_JDKLIB), \
    39         $(LIBJAVA_HEADER_FLAGS) \
       
    40         -I$(SUPPORT_OUTPUTDIR)/headers/jdk.crypto.cryptoki, \
       
    41     LDFLAGS := $(LDFLAGS_JDKLIB) \
    34     LDFLAGS := $(LDFLAGS_JDKLIB) \
    42         $(call SET_SHARED_LIBRARY_ORIGIN), \
    35         $(call SET_SHARED_LIBRARY_ORIGIN), \
    43     LIBS_unix := $(LIBDL), \
    36     LIBS_unix := $(LIBDL), \
    44     LIBS_solaris := -lc, \
       
    45     VERSIONINFO_RESOURCE := $(GLOBAL_VERSION_INFO_RESOURCE), \
       
    46     RC_FLAGS := $(RC_FLAGS) \
       
    47         -D "JDK_FNAME=j2pkcs11.dll" \
       
    48         -D "JDK_INTERNAL_NAME=j2pkcs11" \
       
    49         -D "JDK_FTYPE=0x2L", \
       
    50     OBJECT_DIR := $(SUPPORT_OUTPUTDIR)/native/$(MODULE)/libj2pkcs11, \
       
    51 ))
    37 ))
    52 
    38 
    53 TARGETS += $(BUILD_LIBJ2PKCS11)
    39 TARGETS += $(BUILD_LIBJ2PKCS11)
    54 
    40 
    55 ################################################################################
    41 ################################################################################