Tools.gmk revision 2776:aa568700edd1
1255376Sdes#
2255376Sdes# Copyright (c) 2014, Oracle and/or its affiliates. All rights reserved.
3271947Sdes# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
491094Sdes#
591094Sdes# This code is free software; you can redistribute it and/or modify it
691094Sdes# under the terms of the GNU General Public License version 2 only, as
791094Sdes# published by the Free Software Foundation.  Oracle designates this
891094Sdes# particular file as subject to the "Classpath" exception as provided
991094Sdes# by Oracle in the LICENSE file that accompanied this code.
1091094Sdes#
1191094Sdes# This code is distributed in the hope that it will be useful, but WITHOUT
12108794Sdes# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
1391094Sdes# FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
14117610Sdes# version 2 for more details (a copy is included in the LICENSE file that
15174832Sdes# accompanied this code).
1691094Sdes#
1791094Sdes# You should have received a copy of the GNU General Public License version
18236109Sdes# 2 along with this work; if not, write to the Free Software Foundation,
1991100Sdes# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
20141098Sdes#
2191100Sdes# Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
22141098Sdes# or visit www.oracle.com if you need additional information or have any
2391100Sdes# questions.
2491100Sdes#
2591100Sdes
2691100Sdes# This must be the first rule
2791100Sdesdefault: all
2891100Sdes
29141098Sdesinclude $(SPEC)
3091100Sdesinclude MakeBase.gmk
3191100Sdesinclude JavaCompilation.gmk
3291100Sdesinclude SetupJavaCompilers.gmk
3391100Sdes
3491100Sdes################################################################################
3591100Sdes# Setup the compilation of the properties compilation tool. You can depend
3691100Sdes# upon $(BUILD_TOOLS_LANGTOOLS) to trigger a compilation of the tools.
3791100Sdes$(eval $(call SetupJavaCompilation,BUILD_TOOLS_LANGTOOLS, \
3891100Sdes    SETUP := BOOT_JAVAC, \
3991100Sdes    DISABLE_SJAVAC := true, \
4091100Sdes    ADD_JAVAC_FLAGS := -Xprefer:source, \
4191100Sdes    SRC := $(LANGTOOLS_TOPDIR)/make/tools, \
4291100Sdes    INCLUDES := compileproperties propertiesparser, \
4391100Sdes    BIN := $(BUILDTOOLS_OUTPUTDIR)/langtools_tools_classes))
4491100Sdes
4599158Sdesall: $(BUILD_TOOLS_LANGTOOLS)
4691100Sdes