annotate jdk/make/lib/Lib-java.rmi.gmk @ 36856:81c718cdeb09

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