< prev index next >

make/gensrc/Gensrc-jdk.jdi.gmk

Print this page




  63 ################################################################################
  64 
  65 define process-provider
  66         $(MKDIR) -p $(@D)
  67         $(CAT) $^ | $(SED) -e "s/^#\[$(OPENJDK_TARGET_OS)\]//" > $@
  68 endef
  69 
  70 # Filter com.sun.jdi.connect.Connector
  71 $(SUPPORT_OUTPUTDIR)/gensrc/jdk.jdi/META-INF/services/com.sun.jdi.connect.Connector: \
  72     $(JDK_TOPDIR)/src/jdk.jdi/share/classes/META-INF/services/com.sun.jdi.connect.Connector \
  73     $(SUPPORT_OUTPUTDIR)/gensrc/jdk.hotspot.agent/_the.sa.services
  74         $(process-provider)
  75 
  76 # Copy the same service file into jdk.hotspot.agent so that they are kept the same.
  77 $(JDK_OUTPUTDIR)/modules/jdk.hotspot.agent/META-INF/services/com.sun.jdi.connect.Connector: \
  78     $(SUPPORT_OUTPUTDIR)/gensrc/jdk.jdi/META-INF/services/com.sun.jdi.connect.Connector
  79         $(install-file)
  80 
  81 # Some platforms don't have the serviceability agent
  82 ifeq (, $(filter $(OPENJDK_TARGET_OS)-$(OPENJDK_TARGET_CPU), aix-ppc64))
  83   ifneq ($(JVM_VARIANT_ZERO), true)
  84     GENSRC_JDK_JDI += $(SUPPORT_OUTPUTDIR)/gensrc/jdk.jdi/META-INF/services/com.sun.jdi.connect.Connector \
  85         $(JDK_OUTPUTDIR)/modules/jdk.hotspot.agent/META-INF/services/com.sun.jdi.connect.Connector
  86   endif
  87 endif
  88 
  89 ################################################################################
  90 
  91 include GensrcProperties.gmk
  92 
  93 $(eval $(call SetupCompileProperties,COMPILE_PROPERTIES, \
  94     $(filter %.properties, \
  95         $(call CacheFind, $(JDK_TOPDIR)/src/jdk.jdi/share/classes/com/sun/tools/jdi/resources)), \
  96     ListResourceBundle))
  97 
  98 GENSRC_JDK_JDI += $(COMPILE_PROPERTIES)
  99 
 100 ################################################################################
 101 
 102 jdk.jdi: $(GENSRC_JDK_JDI)
 103 


  63 ################################################################################
  64 
  65 define process-provider
  66         $(MKDIR) -p $(@D)
  67         $(CAT) $^ | $(SED) -e "s/^#\[$(OPENJDK_TARGET_OS)\]//" > $@
  68 endef
  69 
  70 # Filter com.sun.jdi.connect.Connector
  71 $(SUPPORT_OUTPUTDIR)/gensrc/jdk.jdi/META-INF/services/com.sun.jdi.connect.Connector: \
  72     $(JDK_TOPDIR)/src/jdk.jdi/share/classes/META-INF/services/com.sun.jdi.connect.Connector \
  73     $(SUPPORT_OUTPUTDIR)/gensrc/jdk.hotspot.agent/_the.sa.services
  74         $(process-provider)
  75 
  76 # Copy the same service file into jdk.hotspot.agent so that they are kept the same.
  77 $(JDK_OUTPUTDIR)/modules/jdk.hotspot.agent/META-INF/services/com.sun.jdi.connect.Connector: \
  78     $(SUPPORT_OUTPUTDIR)/gensrc/jdk.jdi/META-INF/services/com.sun.jdi.connect.Connector
  79         $(install-file)
  80 
  81 # Some platforms don't have the serviceability agent
  82 ifeq (, $(filter $(OPENJDK_TARGET_OS)-$(OPENJDK_TARGET_CPU), aix-ppc64))
  83   ifneq ($(findstring true, $(JVM_VARIANT_ZERO) $(JVM_VARIANT_ZEROSHARK)), true)
  84     GENSRC_JDK_JDI += $(SUPPORT_OUTPUTDIR)/gensrc/jdk.jdi/META-INF/services/com.sun.jdi.connect.Connector \
  85         $(JDK_OUTPUTDIR)/modules/jdk.hotspot.agent/META-INF/services/com.sun.jdi.connect.Connector
  86   endif
  87 endif
  88 
  89 ################################################################################
  90 
  91 include GensrcProperties.gmk
  92 
  93 $(eval $(call SetupCompileProperties,COMPILE_PROPERTIES, \
  94     $(filter %.properties, \
  95         $(call CacheFind, $(JDK_TOPDIR)/src/jdk.jdi/share/classes/com/sun/tools/jdi/resources)), \
  96     ListResourceBundle))
  97 
  98 GENSRC_JDK_JDI += $(COMPILE_PROPERTIES)
  99 
 100 ################################################################################
 101 
 102 jdk.jdi: $(GENSRC_JDK_JDI)
 103 
< prev index next >