Sat, 16 Nov 2013 00:23:46 +0100
8028210: Missing conversions on array index expression
Reviewed-by: attila, jlaskey, lagergren
jlaskey@54 | 1 | # |
jlaskey@54 | 2 | # Copyright (c) 2012, Oracle and/or its affiliates. All rights reserved. |
jlaskey@54 | 3 | # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
jlaskey@54 | 4 | # |
jlaskey@54 | 5 | # This code is free software; you can redistribute it and/or modify it |
jlaskey@54 | 6 | # under the terms of the GNU General Public License version 2 only, as |
jlaskey@54 | 7 | # published by the Free Software Foundation. Oracle designates this |
jlaskey@54 | 8 | # particular file as subject to the "Classpath" exception as provided |
jlaskey@54 | 9 | # by Oracle in the LICENSE file that accompanied this code. |
jlaskey@54 | 10 | # |
jlaskey@54 | 11 | # This code is distributed in the hope that it will be useful, but WITHOUT |
jlaskey@54 | 12 | # ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or |
jlaskey@54 | 13 | # FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License |
jlaskey@54 | 14 | # version 2 for more details (a copy is included in the LICENSE file that |
jlaskey@54 | 15 | # accompanied this code). |
jlaskey@54 | 16 | # |
jlaskey@54 | 17 | # You should have received a copy of the GNU General Public License version |
jlaskey@54 | 18 | # 2 along with this work; if not, write to the Free Software Foundation, |
jlaskey@54 | 19 | # Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. |
jlaskey@54 | 20 | # |
jlaskey@54 | 21 | # Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA |
jlaskey@54 | 22 | # or visit www.oracle.com if you need additional information or have any |
jlaskey@54 | 23 | # questions. |
jlaskey@54 | 24 | # |
jlaskey@54 | 25 | |
jlaskey@54 | 26 | # Locate this Makefile |
jlaskey@54 | 27 | ifeq ($(filter /%,$(lastword $(MAKEFILE_LIST))),) |
jlaskey@54 | 28 | makefile_path:=$(CURDIR)/$(lastword $(MAKEFILE_LIST)) |
jlaskey@54 | 29 | else |
jlaskey@54 | 30 | makefile_path:=$(lastword $(MAKEFILE_LIST)) |
jlaskey@54 | 31 | endif |
jlaskey@54 | 32 | repo_dir:=$(patsubst %/makefiles/Makefile,%,$(makefile_path)) |
jlaskey@54 | 33 | |
jlaskey@54 | 34 | # What is the name of this subsystem (langtools, corba, etc)? |
jlaskey@54 | 35 | subsystem_name:=$(notdir $(repo_dir)) |
jlaskey@54 | 36 | |
jlaskey@54 | 37 | # Try to locate top-level makefile |
jlaskey@54 | 38 | top_level_makefile:=$(repo_dir)/../common/makefiles/Makefile |
jlaskey@54 | 39 | ifneq ($(wildcard $(top_level_makefile)),) |
jlaskey@54 | 40 | $(info Will run $(subsystem_name) target on top-level Makefile) |
jlaskey@54 | 41 | $(info WARNING: This is a non-recommended way of building!) |
jlaskey@54 | 42 | $(info ===================================================) |
jlaskey@54 | 43 | else |
jlaskey@54 | 44 | $(info Cannot locate top-level Makefile. Is this repo not checked out as part of a complete forest?) |
jlaskey@54 | 45 | $(error Build from top-level Makefile instead) |
jlaskey@54 | 46 | endif |
jlaskey@54 | 47 | |
jlaskey@54 | 48 | all: |
jlaskey@54 | 49 | @$(MAKE) -f $(top_level_makefile) $(subsystem_name) |