author | luchsh |
Thu, 25 Sep 2014 14:33:03 +0800 | |
changeset 27056 | edb2e3793346 |
parent 26132 | 11df1233e1e8 |
child 30742 | 679fecf08dd2 |
permissions | -rw-r--r-- |
26132
11df1233e1e8
8055856: checkdeps build target doesn't work for cross-compilation builds
mchung
parents:
diff
changeset
|
1 |
# |
11df1233e1e8
8055856: checkdeps build target doesn't work for cross-compilation builds
mchung
parents:
diff
changeset
|
2 |
# Copyright (c) 2014, Oracle and/or its affiliates. All rights reserved. |
11df1233e1e8
8055856: checkdeps build target doesn't work for cross-compilation builds
mchung
parents:
diff
changeset
|
3 |
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
11df1233e1e8
8055856: checkdeps build target doesn't work for cross-compilation builds
mchung
parents:
diff
changeset
|
4 |
# |
11df1233e1e8
8055856: checkdeps build target doesn't work for cross-compilation builds
mchung
parents:
diff
changeset
|
5 |
# This code is free software; you can redistribute it and/or modify it |
11df1233e1e8
8055856: checkdeps build target doesn't work for cross-compilation builds
mchung
parents:
diff
changeset
|
6 |
# under the terms of the GNU General Public License version 2 only, as |
11df1233e1e8
8055856: checkdeps build target doesn't work for cross-compilation builds
mchung
parents:
diff
changeset
|
7 |
# published by the Free Software Foundation. Oracle designates this |
11df1233e1e8
8055856: checkdeps build target doesn't work for cross-compilation builds
mchung
parents:
diff
changeset
|
8 |
# particular file as subject to the "Classpath" exception as provided |
11df1233e1e8
8055856: checkdeps build target doesn't work for cross-compilation builds
mchung
parents:
diff
changeset
|
9 |
# by Oracle in the LICENSE file that accompanied this code. |
11df1233e1e8
8055856: checkdeps build target doesn't work for cross-compilation builds
mchung
parents:
diff
changeset
|
10 |
# |
11df1233e1e8
8055856: checkdeps build target doesn't work for cross-compilation builds
mchung
parents:
diff
changeset
|
11 |
# This code is distributed in the hope that it will be useful, but WITHOUT |
11df1233e1e8
8055856: checkdeps build target doesn't work for cross-compilation builds
mchung
parents:
diff
changeset
|
12 |
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or |
11df1233e1e8
8055856: checkdeps build target doesn't work for cross-compilation builds
mchung
parents:
diff
changeset
|
13 |
# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License |
11df1233e1e8
8055856: checkdeps build target doesn't work for cross-compilation builds
mchung
parents:
diff
changeset
|
14 |
# version 2 for more details (a copy is included in the LICENSE file that |
11df1233e1e8
8055856: checkdeps build target doesn't work for cross-compilation builds
mchung
parents:
diff
changeset
|
15 |
# accompanied this code). |
11df1233e1e8
8055856: checkdeps build target doesn't work for cross-compilation builds
mchung
parents:
diff
changeset
|
16 |
# |
11df1233e1e8
8055856: checkdeps build target doesn't work for cross-compilation builds
mchung
parents:
diff
changeset
|
17 |
# You should have received a copy of the GNU General Public License version |
11df1233e1e8
8055856: checkdeps build target doesn't work for cross-compilation builds
mchung
parents:
diff
changeset
|
18 |
# 2 along with this work; if not, write to the Free Software Foundation, |
11df1233e1e8
8055856: checkdeps build target doesn't work for cross-compilation builds
mchung
parents:
diff
changeset
|
19 |
# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. |
11df1233e1e8
8055856: checkdeps build target doesn't work for cross-compilation builds
mchung
parents:
diff
changeset
|
20 |
# |
11df1233e1e8
8055856: checkdeps build target doesn't work for cross-compilation builds
mchung
parents:
diff
changeset
|
21 |
# Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA |
11df1233e1e8
8055856: checkdeps build target doesn't work for cross-compilation builds
mchung
parents:
diff
changeset
|
22 |
# or visit www.oracle.com if you need additional information or have any |
11df1233e1e8
8055856: checkdeps build target doesn't work for cross-compilation builds
mchung
parents:
diff
changeset
|
23 |
# questions. |
11df1233e1e8
8055856: checkdeps build target doesn't work for cross-compilation builds
mchung
parents:
diff
changeset
|
24 |
# |
11df1233e1e8
8055856: checkdeps build target doesn't work for cross-compilation builds
mchung
parents:
diff
changeset
|
25 |
|
11df1233e1e8
8055856: checkdeps build target doesn't work for cross-compilation builds
mchung
parents:
diff
changeset
|
26 |
# Default target declared first |
11df1233e1e8
8055856: checkdeps build target doesn't work for cross-compilation builds
mchung
parents:
diff
changeset
|
27 |
default: all |
11df1233e1e8
8055856: checkdeps build target doesn't work for cross-compilation builds
mchung
parents:
diff
changeset
|
28 |
|
11df1233e1e8
8055856: checkdeps build target doesn't work for cross-compilation builds
mchung
parents:
diff
changeset
|
29 |
include $(SPEC) |
11df1233e1e8
8055856: checkdeps build target doesn't work for cross-compilation builds
mchung
parents:
diff
changeset
|
30 |
include MakeBase.gmk |
11df1233e1e8
8055856: checkdeps build target doesn't work for cross-compilation builds
mchung
parents:
diff
changeset
|
31 |
|
11df1233e1e8
8055856: checkdeps build target doesn't work for cross-compilation builds
mchung
parents:
diff
changeset
|
32 |
JDEPS_MODULES_XML := $(JDK_OUTPUTDIR)/modules/jdk.dev/com/sun/tools/jdeps/resources/jdeps-modules.xml |
11df1233e1e8
8055856: checkdeps build target doesn't work for cross-compilation builds
mchung
parents:
diff
changeset
|
33 |
|
11df1233e1e8
8055856: checkdeps build target doesn't work for cross-compilation builds
mchung
parents:
diff
changeset
|
34 |
# |
11df1233e1e8
8055856: checkdeps build target doesn't work for cross-compilation builds
mchung
parents:
diff
changeset
|
35 |
# Verify access across module boundaries |
11df1233e1e8
8055856: checkdeps build target doesn't work for cross-compilation builds
mchung
parents:
diff
changeset
|
36 |
# |
11df1233e1e8
8055856: checkdeps build target doesn't work for cross-compilation builds
mchung
parents:
diff
changeset
|
37 |
checkdeps: |
11df1233e1e8
8055856: checkdeps build target doesn't work for cross-compilation builds
mchung
parents:
diff
changeset
|
38 |
$(ECHO) "Checking dependencies across JDK modules" |
11df1233e1e8
8055856: checkdeps build target doesn't work for cross-compilation builds
mchung
parents:
diff
changeset
|
39 |
$(JAVA) -Xbootclasspath/p:$(INTERIM_LANGTOOLS_JAR) \ |
11df1233e1e8
8055856: checkdeps build target doesn't work for cross-compilation builds
mchung
parents:
diff
changeset
|
40 |
-Djdeps.modules.xml=$(JDEPS_MODULES_XML) \ |
11df1233e1e8
8055856: checkdeps build target doesn't work for cross-compilation builds
mchung
parents:
diff
changeset
|
41 |
com.sun.tools.jdeps.Main \ |
11df1233e1e8
8055856: checkdeps build target doesn't work for cross-compilation builds
mchung
parents:
diff
changeset
|
42 |
-verify:access -mp $(JDK_OUTPUTDIR)/modules |
11df1233e1e8
8055856: checkdeps build target doesn't work for cross-compilation builds
mchung
parents:
diff
changeset
|
43 |
|
11df1233e1e8
8055856: checkdeps build target doesn't work for cross-compilation builds
mchung
parents:
diff
changeset
|
44 |
all: checkdeps |
11df1233e1e8
8055856: checkdeps build target doesn't work for cross-compilation builds
mchung
parents:
diff
changeset
|
45 |
|
11df1233e1e8
8055856: checkdeps build target doesn't work for cross-compilation builds
mchung
parents:
diff
changeset
|
46 |
.PHONY: all |