equal
deleted
inserted
replaced
1 # |
1 # |
2 # Copyright (c) 2015, Oracle and/or its affiliates. All rights reserved. |
2 # Copyright (c) 2015, 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 |
51 ifeq ($(COMPILE_WITH_DEBUG_SYMBOLS), true) |
51 ifeq ($(COMPILE_WITH_DEBUG_SYMBOLS), true) |
52 LIBMANAGEMENT_EXT_OPTIMIZATION := LOW |
52 LIBMANAGEMENT_EXT_OPTIMIZATION := LOW |
53 endif |
53 endif |
54 endif |
54 endif |
55 |
55 |
56 $(eval $(call SetupNativeCompilation,BUILD_LIBMANAGEMENT_EXT, \ |
56 $(eval $(call SetupNativeCompilation, BUILD_LIBMANAGEMENT_EXT, \ |
57 LIBRARY := management_ext, \ |
57 NAME := management_ext, \ |
58 OUTPUT_DIR := $(INSTALL_LIBRARIES_HERE), \ |
58 OUTPUT_DIR := $(INSTALL_LIBRARIES_HERE), \ |
59 SRC := $(LIBMANAGEMENT_EXT_SRC), \ |
59 SRC := $(LIBMANAGEMENT_EXT_SRC), \ |
60 LANG := C, \ |
60 LANG := C, \ |
61 OPTIMIZATION := $(LIBMANAGEMENT_EXT_OPTIMIZATION), \ |
61 OPTIMIZATION := $(LIBMANAGEMENT_EXT_OPTIMIZATION), \ |
62 CFLAGS := $(CFLAGS_JDKLIB) $(LIBMANAGEMENT_EXT_CFLAGS), \ |
62 CFLAGS := $(CFLAGS_JDKLIB) $(LIBMANAGEMENT_EXT_CFLAGS), \ |