equal
deleted
inserted
replaced
1 # |
1 # |
2 # Copyright (c) 2011, 2017, 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 |
28 ################################################################################ |
28 ################################################################################ |
29 |
29 |
30 LIBJ2PKCS11_SRC := $(TOPDIR)/src/jdk.crypto.cryptoki/share/native/libj2pkcs11 \ |
30 LIBJ2PKCS11_SRC := $(TOPDIR)/src/jdk.crypto.cryptoki/share/native/libj2pkcs11 \ |
31 $(TOPDIR)/src/jdk.crypto.cryptoki/$(OPENJDK_TARGET_OS_TYPE)/native/libj2pkcs11 |
31 $(TOPDIR)/src/jdk.crypto.cryptoki/$(OPENJDK_TARGET_OS_TYPE)/native/libj2pkcs11 |
32 |
32 |
33 $(eval $(call SetupNativeCompilation,BUILD_LIBJ2PKCS11, \ |
33 $(eval $(call SetupNativeCompilation, BUILD_LIBJ2PKCS11, \ |
34 LIBRARY := j2pkcs11, \ |
34 NAME := j2pkcs11, \ |
35 OUTPUT_DIR := $(INSTALL_LIBRARIES_HERE), \ |
35 OUTPUT_DIR := $(INSTALL_LIBRARIES_HERE), \ |
36 SRC := $(LIBJ2PKCS11_SRC), \ |
36 SRC := $(LIBJ2PKCS11_SRC), \ |
37 OPTIMIZATION := LOW, \ |
37 OPTIMIZATION := LOW, \ |
38 CFLAGS := $(CFLAGS_JDKLIB) $(addprefix -I, $(LIBJ2PKCS11_SRC)) \ |
38 CFLAGS := $(CFLAGS_JDKLIB) $(addprefix -I, $(LIBJ2PKCS11_SRC)) \ |
39 $(LIBJAVA_HEADER_FLAGS) \ |
39 $(LIBJAVA_HEADER_FLAGS) \ |