annotate make/lib/Lib-jdk.management.agent.gmk @ 16611:625b698c3cbe

8173858: Rename libmanagement_rmi to libmanagement_agent Reviewed-by: alanb, dfuchs, dholmes, erikj
author mchung
date Fri, 03 Feb 2017 08:54:58 -0800
parents 7bd7a7ffa84b
children
rev   line source
mchung@16594 1 #
mchung@16594 2 # Copyright (c) 2017, Oracle and/or its affiliates. All rights reserved.
mchung@16594 3 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
mchung@16594 4 #
mchung@16594 5 # This code is free software; you can redistribute it and/or modify it
mchung@16594 6 # under the terms of the GNU General Public License version 2 only, as
mchung@16594 7 # published by the Free Software Foundation. Oracle designates this
mchung@16594 8 # particular file as subject to the "Classpath" exception as provided
mchung@16594 9 # by Oracle in the LICENSE file that accompanied this code.
mchung@16594 10 #
mchung@16594 11 # This code is distributed in the hope that it will be useful, but WITHOUT
mchung@16594 12 # ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
mchung@16594 13 # FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
mchung@16594 14 # version 2 for more details (a copy is included in the LICENSE file that
mchung@16594 15 # accompanied this code).
mchung@16594 16 #
mchung@16594 17 # You should have received a copy of the GNU General Public License version
mchung@16594 18 # 2 along with this work; if not, write to the Free Software Foundation,
mchung@16594 19 # Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
mchung@16594 20 #
mchung@16594 21 # Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
mchung@16594 22 # or visit www.oracle.com if you need additional information or have any
mchung@16594 23 # questions.
mchung@16594 24 #
mchung@16594 25
mchung@16594 26 include LibCommon.gmk
mchung@16594 27
mchung@16594 28 ################################################################################
mchung@16594 29
mchung@16611 30 LIBMANAGEMENT_AGENT_SRC += $(JDK_TOPDIR)/src/jdk.management.agent/$(OPENJDK_TARGET_OS_TYPE)/native/libmanagement_agent
mchung@16611 31 LIBMANAGEMENT_AGENT_CFLAGS := $(addprefix -I,$(LIBMANAGEMENT_AGENT_SRC)) \
mchung@16594 32 -I$(SUPPORT_OUTPUTDIR)/headers/jdk.management.agent \
mchung@16594 33 $(LIBJAVA_HEADER_FLAGS) \
mchung@16594 34 #
mchung@16594 35
mchung@16611 36 $(eval $(call SetupNativeCompilation,BUILD_LIBMANAGEMENT_AGENT, \
mchung@16611 37 LIBRARY := management_agent, \
mchung@16594 38 OUTPUT_DIR := $(INSTALL_LIBRARIES_HERE), \
mchung@16611 39 SRC := $(LIBMANAGEMENT_AGENT_SRC), \
mchung@16594 40 OPTIMIZATION := LOW, \
mchung@16611 41 CFLAGS := $(CFLAGS_JDKLIB) $(LIBMANAGEMENT_AGENT_CFLAGS), \
mchung@16611 42 MAPFILE := $(JDK_TOPDIR)/make/mapfiles/libmanagement_agent/mapfile-vers, \
mchung@16594 43 LDFLAGS := $(LDFLAGS_JDKLIB) \
mchung@16594 44 $(call SET_SHARED_LIBRARY_ORIGIN), \
mchung@16594 45 LIBS := $(JDKLIB_LIBS), \
mchung@16594 46 LIBS_windows := $(WIN_JAVA_LIB) advapi32.lib, \
mchung@16594 47 VERSIONINFO_RESOURCE := $(GLOBAL_VERSION_INFO_RESOURCE), \
mchung@16594 48 RC_FLAGS := $(RC_FLAGS) \
mchung@16611 49 -D "JDK_FNAME=management_agent.dll" \
mchung@16611 50 -D "JDK_INTERNAL_NAME=management_agent" \
mchung@16594 51 -D "JDK_FTYPE=0x2L", \
mchung@16611 52 OBJECT_DIR := $(SUPPORT_OUTPUTDIR)/native/$(MODULE)/libmanagement_agent, \
mchung@16594 53 ))
mchung@16594 54
mchung@16611 55 $(BUILD_LIBMANAGEMENT_AGENT): $(call FindLib, java.base, java)
mchung@16594 56
mchung@16611 57 TARGETS += $(BUILD_LIBMANAGEMENT_AGENT)
mchung@16594 58
mchung@16594 59 ################################################################################