< prev index next >

make/copy/Copy-java.base.gmk

Print this page




 209 ))
 210 
 211 TARGETS += $(COPY_JDK_NOTICES)
 212 
 213 ################################################################################
 214 #
 215 # Copy and filter the legal files depending on what 3rd party components are
 216 # bundled or linked from the OS.
 217 #
 218 ifeq ($(USE_EXTERNAL_LIBZ), true)
 219   LEGAL_EXCLUDES += zlib.md
 220 endif
 221 
 222 $(eval $(call SetupCopyLegalFiles, COPY_LEGAL, \
 223     EXCLUDES := $(LEGAL_EXCLUDES), \
 224 ))
 225 
 226 TARGETS += $(COPY_LEGAL)
 227 
 228 ################################################################################













 229 # Optionally copy libffi.so.? into the the image
 230 
 231 ifeq ($(ENABLE_LIBFFI_BUNDLING), true)
 232   $(eval $(call SetupCopyFiles, COPY_LIBFFI, \
 233       FILES := $(LIBFFI_LIB_FILE), \
 234       DEST := $(call FindLibDirForModule, $(MODULE)), \
 235       FLATTEN := true, \
 236       MACRO := install-file-nolink, \
 237   ))
 238 
 239   TARGETS += $(COPY_LIBFFI)
 240 endif
 241 
 242 ################################################################################
 243 # Generate classfile_constants.h
 244 
 245 $(eval $(call SetupTextFileProcessing, CREATE_CLASSFILE_CONSTANTS_H, \
 246     SOURCE_FILES := $(TOPDIR)/src/java.base/share/native/include/classfile_constants.h.template, \
 247     OUTPUT_FILE := $(SUPPORT_OUTPUTDIR)/modules_include/java.base/classfile_constants.h, \
 248     REPLACEMENTS := \


 209 ))
 210 
 211 TARGETS += $(COPY_JDK_NOTICES)
 212 
 213 ################################################################################
 214 #
 215 # Copy and filter the legal files depending on what 3rd party components are
 216 # bundled or linked from the OS.
 217 #
 218 ifeq ($(USE_EXTERNAL_LIBZ), true)
 219   LEGAL_EXCLUDES += zlib.md
 220 endif
 221 
 222 $(eval $(call SetupCopyLegalFiles, COPY_LEGAL, \
 223     EXCLUDES := $(LEGAL_EXCLUDES), \
 224 ))
 225 
 226 TARGETS += $(COPY_LEGAL)
 227 
 228 ################################################################################
 229 # Copy softfloat license to the image
 230 
 231 ifneq ($(SOFTFLOAT_CFLAGS), )
 232   $(eval $(call SetupCopyFiles, COPY_SOFTFLOAT_LICENSE, \
 233       FILES := $(SOFTFLOAT_LICENSE), \
 234       DEST := $(LEGAL_DST_DIR), \
 235   ))
 236 
 237   TARGETS += $(COPY_SOFTFLOAT_LICENSE)
 238 endif
 239 
 240 
 241 ################################################################################
 242 # Optionally copy libffi.so.? into the the image
 243 
 244 ifeq ($(ENABLE_LIBFFI_BUNDLING), true)
 245   $(eval $(call SetupCopyFiles, COPY_LIBFFI, \
 246       FILES := $(LIBFFI_LIB_FILE), \
 247       DEST := $(call FindLibDirForModule, $(MODULE)), \
 248       FLATTEN := true, \
 249       MACRO := install-file-nolink, \
 250   ))
 251 
 252   TARGETS += $(COPY_LIBFFI)
 253 endif
 254 
 255 ################################################################################
 256 # Generate classfile_constants.h
 257 
 258 $(eval $(call SetupTextFileProcessing, CREATE_CLASSFILE_CONSTANTS_H, \
 259     SOURCE_FILES := $(TOPDIR)/src/java.base/share/native/include/classfile_constants.h.template, \
 260     OUTPUT_FILE := $(SUPPORT_OUTPUTDIR)/modules_include/java.base/classfile_constants.h, \
 261     REPLACEMENTS := \
< prev index next >