make/Tools.gmk

Print this page




  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 ifndef _TOOLS_GMK
  27 _TOOLS_GMK := 1
  28 
  29 default: all
  30 
  31 include $(SPEC)
  32 include MakeBase.gmk
  33 include JavaCompilation.gmk
  34 include NativeCompilation.gmk
  35 include SetupJava.gmk
  36 
  37 # Cache all finds needed for this file.
  38 $(eval $(call FillCacheFind, $(JDK_TOPDIR)/make/src/classes))
  39 
  40 # The exception handling of swing beaninfo which have the own tool directory
  41 ifeq (, $(BUILD_TOOLS_JDK))
  42   $(eval $(call SetupJavaCompilation,BUILD_TOOLS_JDK, \
  43       SETUP := GENERATE_OLDBYTECODE, \
  44       SRC := $(JDK_TOPDIR)/make/src/classes, \
  45       BIN := $(JDK_OUTPUTDIR)/btclasses))
  46 endif
  47 
  48 $(JDK_OUTPUTDIR)/btclasses/build/tools/generatenimbus/resources/%.template: \
  49     $(JDK_TOPDIR)/src/java.desktop/share/classes/javax/swing/plaf/nimbus/%.template
  50         $(call install-file)
  51 
  52 BUILD_TOOLS_JDK += $(foreach i, $(wildcard $(JDK_TOPDIR)/src/java.desktop/share/classes/javax/swing/plaf/nimbus/*.template), $(JDK_OUTPUTDIR)/btclasses/build/tools/generatenimbus/resources/$(notdir $i))
  53 
  54 # Resource used by CheckDeps tool
  55 $(JDK_OUTPUTDIR)/btclasses/build/tools/deps/refs.allowed: \




  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 ifndef _TOOLS_GMK
  27 _TOOLS_GMK := 1
  28 
  29 default: all
  30 
  31 include $(SPEC)
  32 include MakeBase.gmk
  33 include JavaCompilation.gmk
  34 include NativeCompilation.gmk
  35 include SetupJavaCompilers.gmk
  36 
  37 # Cache all finds needed for this file.
  38 $(eval $(call FillCacheFind, $(JDK_TOPDIR)/make/src/classes))
  39 
  40 # The exception handling of swing beaninfo which have the own tool directory
  41 ifeq (, $(BUILD_TOOLS_JDK))
  42   $(eval $(call SetupJavaCompilation,BUILD_TOOLS_JDK, \
  43       SETUP := GENERATE_OLDBYTECODE, \
  44       SRC := $(JDK_TOPDIR)/make/src/classes, \
  45       BIN := $(JDK_OUTPUTDIR)/btclasses))
  46 endif
  47 
  48 $(JDK_OUTPUTDIR)/btclasses/build/tools/generatenimbus/resources/%.template: \
  49     $(JDK_TOPDIR)/src/java.desktop/share/classes/javax/swing/plaf/nimbus/%.template
  50         $(call install-file)
  51 
  52 BUILD_TOOLS_JDK += $(foreach i, $(wildcard $(JDK_TOPDIR)/src/java.desktop/share/classes/javax/swing/plaf/nimbus/*.template), $(JDK_OUTPUTDIR)/btclasses/build/tools/generatenimbus/resources/$(notdir $i))
  53 
  54 # Resource used by CheckDeps tool
  55 $(JDK_OUTPUTDIR)/btclasses/build/tools/deps/refs.allowed: \