jdk/make/CompileTools.gmk
changeset 45765 c6133166bde5
parent 45139 7be55dfa1742
equal deleted inserted replaced
45764:7ce57d6259e7 45765:c6133166bde5
     1 #
     1 #
     2 # Copyright (c) 2011, 2016, Oracle and/or its affiliates. All rights reserved.
     2 # Copyright (c) 2011, 2017, Oracle and/or its affiliates. All rights reserved.
     3 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     3 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     4 #
     4 #
     5 # This code is free software; you can redistribute it and/or modify it
     5 # This code is free software; you can redistribute it and/or modify it
     6 # under the terms of the GNU General Public License version 2 only, as
     6 # under the terms of the GNU General Public License version 2 only, as
     7 # published by the Free Software Foundation.  Oracle designates this
     7 # published by the Free Software Foundation.  Oracle designates this
    30 include JavaCompilation.gmk
    30 include JavaCompilation.gmk
    31 include SetupJavaCompilers.gmk
    31 include SetupJavaCompilers.gmk
    32 
    32 
    33 ################################################################################
    33 ################################################################################
    34 
    34 
       
    35 $(eval $(call IncludeCustomExtension, jdk, CompileTools.gmk))
       
    36 
       
    37 ################################################################################
       
    38 
       
    39 # Use += to be able to add to this from a custom extension
       
    40 BUILD_TOOLS_SRC_DIRS += \
       
    41     $(JDK_TOPDIR)/make/src/classes \
       
    42     $(BUILDTOOLS_OUTPUTDIR)/interim_cldrconverter_classes \
       
    43     #
       
    44 
    35 $(eval $(call SetupJavaCompilation,BUILD_TOOLS_JDK, \
    45 $(eval $(call SetupJavaCompilation,BUILD_TOOLS_JDK, \
    36     SETUP := GENERATE_OLDBYTECODE, \
    46     SETUP := GENERATE_OLDBYTECODE, \
    37     SRC := $(JDK_TOPDIR)/make/src/classes $(BUILDTOOLS_OUTPUTDIR)/interim_cldrconverter_classes, \
    47     SRC := $(BUILD_TOOLS_SRC_DIRS), \
    38     EXCLUDES := build/tools/deps \
    48     EXCLUDES := build/tools/deps \
       
    49                 build/tools/docs \
    39                 build/tools/jigsaw, \
    50                 build/tools/jigsaw, \
    40     BIN := $(BUILDTOOLS_OUTPUTDIR)/jdk_tools_classes))
    51     BIN := $(BUILDTOOLS_OUTPUTDIR)/jdk_tools_classes))
    41 
    52 
    42 TARGETS += $(BUILD_TOOLS_JDK)
    53 TARGETS += $(BUILD_TOOLS_JDK)
    43 
    54