< prev index next >

make/JrtfsJar.gmk

Print this page




  25 
  26 default: all
  27 
  28 include $(SPEC)
  29 include MakeBase.gmk
  30 include JarArchive.gmk
  31 include SetupJavaCompilers.gmk
  32 include TextFileProcessing.gmk
  33 
  34 # This rule will be depended on due to the MANIFEST line
  35 $(eval $(call SetupTextFileProcessing, BUILD_JAVA_MANIFEST, \
  36   SOURCE_FILES := $(TOPDIR)/make/data/mainmanifest/manifest.mf, \
  37   OUTPUT_FILE := $(SUPPORT_OUTPUTDIR)/java-main-manifest.mf, \
  38   REPLACEMENTS := \
  39       @@VERSION_SPECIFICATION@@ => $(VERSION_SPECIFICATION) ; \
  40       @@VERSION_SHORT@@ => $(VERSION_SHORT) ; \
  41       @@COMPANY_NAME@@ => $(COMPANY_NAME) , \
  42 ))
  43 
  44 JIMAGE_PKGS := \

  45     jdk/internal/jimage \
  46     jdk/internal/jrtfs \
  47     #
  48 
  49 $(eval $(call SetupJavaCompilation, BUILD_JRTFS, \
  50     SETUP := GENERATE_8_BYTECODE, \
  51     SRC := $(TOPDIR)/src/java.base/share/classes, \
  52     EXCLUDE_FILES := module-info.java, \
  53     INCLUDES := $(JIMAGE_PKGS), \
  54     BIN := $(SUPPORT_OUTPUTDIR)/jrtfs_classes))
  55 
  56 # Because of the explicit INCLUDES in the compilation setup above, the service provider
  57 # file will not be copied unless META-INF/services would also be added to the INCLUDES.
  58 # Adding META-INF/services would include all files in that directory when only the one
  59 # is needed, which is why this explicit copy is defined instead.
  60 $(eval $(call SetupCopyFiles, COPY_JIMAGE_SERVICE_PROVIDER, \
  61     SRC := $(TOPDIR)/src/java.base/share/classes, \
  62     DEST := $(SUPPORT_OUTPUTDIR)/jrtfs_classes, \
  63     FILES := META-INF/services/java.nio.file.spi.FileSystemProvider))
  64 


  25 
  26 default: all
  27 
  28 include $(SPEC)
  29 include MakeBase.gmk
  30 include JarArchive.gmk
  31 include SetupJavaCompilers.gmk
  32 include TextFileProcessing.gmk
  33 
  34 # This rule will be depended on due to the MANIFEST line
  35 $(eval $(call SetupTextFileProcessing, BUILD_JAVA_MANIFEST, \
  36   SOURCE_FILES := $(TOPDIR)/make/data/mainmanifest/manifest.mf, \
  37   OUTPUT_FILE := $(SUPPORT_OUTPUTDIR)/java-main-manifest.mf, \
  38   REPLACEMENTS := \
  39       @@VERSION_SPECIFICATION@@ => $(VERSION_SPECIFICATION) ; \
  40       @@VERSION_SHORT@@ => $(VERSION_SHORT) ; \
  41       @@COMPANY_NAME@@ => $(COMPANY_NAME) , \
  42 ))
  43 
  44 JIMAGE_PKGS := \
  45     jdk/internal/io \
  46     jdk/internal/jimage \
  47     jdk/internal/jrtfs \
  48     #
  49 
  50 $(eval $(call SetupJavaCompilation, BUILD_JRTFS, \
  51     SETUP := GENERATE_8_BYTECODE, \
  52     SRC := $(TOPDIR)/src/java.base/share/classes, \
  53     EXCLUDE_FILES := module-info.java, \
  54     INCLUDES := $(JIMAGE_PKGS), \
  55     BIN := $(SUPPORT_OUTPUTDIR)/jrtfs_classes))
  56 
  57 # Because of the explicit INCLUDES in the compilation setup above, the service provider
  58 # file will not be copied unless META-INF/services would also be added to the INCLUDES.
  59 # Adding META-INF/services would include all files in that directory when only the one
  60 # is needed, which is why this explicit copy is defined instead.
  61 $(eval $(call SetupCopyFiles, COPY_JIMAGE_SERVICE_PROVIDER, \
  62     SRC := $(TOPDIR)/src/java.base/share/classes, \
  63     DEST := $(SUPPORT_OUTPUTDIR)/jrtfs_classes, \
  64     FILES := META-INF/services/java.nio.file.spi.FileSystemProvider))
  65 
< prev index next >