< prev index next >

jdk/make/copy/Copy-java.base.gmk

Print this page




   6 # under the terms of the GNU General Public License version 2 only, as
   7 # published by the Free Software Foundation.  Oracle designates this
   8 # particular file as subject to the "Classpath" exception as provided
   9 # by Oracle in the LICENSE file that accompanied this code.
  10 #
  11 # This code is distributed in the hope that it will be useful, but WITHOUT
  12 # ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
  13 # FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
  14 # version 2 for more details (a copy is included in the LICENSE file that
  15 # accompanied this code).
  16 #
  17 # You should have received a copy of the GNU General Public License version
  18 # 2 along with this work; if not, write to the Free Software Foundation,
  19 # Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
  20 #
  21 # Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
  22 # or visit www.oracle.com if you need additional information or have any
  23 # questions.
  24 #
  25 

  26 include CopyCommon.gmk
  27 
  28 $(eval $(call IncludeCustomExtension, jdk, copy/Copy-java.base.gmk))
  29 
  30 ################################################################################
  31 #
  32 # Copy exported header files to outputdir.
  33 #
  34 TARGETS += \
  35     $(INCLUDE_DST_DIR)/jni.h \
  36     $(INCLUDE_DST_DIR)/jvmticmlr.h \
  37     $(INCLUDE_DST_DIR)/classfile_constants.h \
  38     $(INCLUDE_DST_OS_DIR)/jni_md.h \
  39     #
  40 
  41 $(INCLUDE_DST_DIR)/%.h: $(JDK_TOPDIR)/src/java.base/share/native/include/%.h
  42         $(call install-file)
  43 
  44 $(INCLUDE_DST_OS_DIR)/%.h: \
  45     $(JDK_TOPDIR)/src/java.base/$(OPENJDK_TARGET_OS_EXPORT_DIR)/native/include/%.h


 216 
 217 ################################################################################
 218 
 219 $(eval $(call SetupCopyFiles, COPY_NET_PROPERTIES, \
 220     FILES := $(JDK_TOPDIR)/src/java.base/share/conf/net.properties, \
 221     DEST := $(CONF_DST_DIR), \
 222 ))
 223 
 224 TARGETS += $(COPY_NET_PROPERTIES)
 225 
 226 ifeq ($(OPENJDK_TARGET_OS), solaris)
 227   $(eval $(call SetupCopyFiles, COPY_SDP_CONF, \
 228       FILES := $(JDK_TOPDIR)/src/java.base/$(OPENJDK_TARGET_OS_TYPE)/conf/sdp/sdp.conf.template, \
 229       DEST := $(CONF_DST_DIR)/sdp, \
 230   ))
 231 
 232   TARGETS += $(COPY_SDP_CONF)
 233 endif
 234 
 235 ################################################################################












   6 # under the terms of the GNU General Public License version 2 only, as
   7 # published by the Free Software Foundation.  Oracle designates this
   8 # particular file as subject to the "Classpath" exception as provided
   9 # by Oracle in the LICENSE file that accompanied this code.
  10 #
  11 # This code is distributed in the hope that it will be useful, but WITHOUT
  12 # ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
  13 # FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
  14 # version 2 for more details (a copy is included in the LICENSE file that
  15 # accompanied this code).
  16 #
  17 # You should have received a copy of the GNU General Public License version
  18 # 2 along with this work; if not, write to the Free Software Foundation,
  19 # Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
  20 #
  21 # Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
  22 # or visit www.oracle.com if you need additional information or have any
  23 # questions.
  24 #
  25 
  26 include Modules.gmk
  27 include CopyCommon.gmk
  28 
  29 $(eval $(call IncludeCustomExtension, jdk, copy/Copy-java.base.gmk))
  30 
  31 ################################################################################
  32 #
  33 # Copy exported header files to outputdir.
  34 #
  35 TARGETS += \
  36     $(INCLUDE_DST_DIR)/jni.h \
  37     $(INCLUDE_DST_DIR)/jvmticmlr.h \
  38     $(INCLUDE_DST_DIR)/classfile_constants.h \
  39     $(INCLUDE_DST_OS_DIR)/jni_md.h \
  40     #
  41 
  42 $(INCLUDE_DST_DIR)/%.h: $(JDK_TOPDIR)/src/java.base/share/native/include/%.h
  43         $(call install-file)
  44 
  45 $(INCLUDE_DST_OS_DIR)/%.h: \
  46     $(JDK_TOPDIR)/src/java.base/$(OPENJDK_TARGET_OS_EXPORT_DIR)/native/include/%.h


 217 
 218 ################################################################################
 219 
 220 $(eval $(call SetupCopyFiles, COPY_NET_PROPERTIES, \
 221     FILES := $(JDK_TOPDIR)/src/java.base/share/conf/net.properties, \
 222     DEST := $(CONF_DST_DIR), \
 223 ))
 224 
 225 TARGETS += $(COPY_NET_PROPERTIES)
 226 
 227 ifeq ($(OPENJDK_TARGET_OS), solaris)
 228   $(eval $(call SetupCopyFiles, COPY_SDP_CONF, \
 229       FILES := $(JDK_TOPDIR)/src/java.base/$(OPENJDK_TARGET_OS_TYPE)/conf/sdp/sdp.conf.template, \
 230       DEST := $(CONF_DST_DIR)/sdp, \
 231   ))
 232 
 233   TARGETS += $(COPY_SDP_CONF)
 234 endif
 235 
 236 ################################################################################
 237 
 238 $(LEGAL_DST_DIR)/$(JMOD_COPYRIGHT): $(JDK_COPYRIGHT)
 239         $(call install-file)
 240 
 241 $(LEGAL_DST_DIR)/$(JMOD_LICENSE): $(JDK_LICENSE)
 242         $(call install-file)
 243 
 244 TARGETS += \
 245     $(LEGAL_DST_DIR)/$(JMOD_COPYRIGHT) \
 246     $(LEGAL_DST_DIR)/$(JMOD_LICENSE)
< prev index next >