author | sebastian |
Thu, 14 Jan 2016 22:52:54 -0500 | |
changeset 35501 | e0450beb58bf |
parent 30813 | 302fa7e3d2f0 |
permissions | -rw-r--r-- |
26227
aa7ada31eb77
8055856: checkdeps build target doesn't work for cross-compilation builds
mchung
parents:
diff
changeset
|
1 |
# |
aa7ada31eb77
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. |
aa7ada31eb77
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. |
aa7ada31eb77
8055856: checkdeps build target doesn't work for cross-compilation builds
mchung
parents:
diff
changeset
|
4 |
# |
aa7ada31eb77
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 |
aa7ada31eb77
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 |
aa7ada31eb77
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 |
aa7ada31eb77
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 |
aa7ada31eb77
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. |
aa7ada31eb77
8055856: checkdeps build target doesn't work for cross-compilation builds
mchung
parents:
diff
changeset
|
10 |
# |
aa7ada31eb77
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 |
aa7ada31eb77
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 |
aa7ada31eb77
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 |
aa7ada31eb77
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 |
aa7ada31eb77
8055856: checkdeps build target doesn't work for cross-compilation builds
mchung
parents:
diff
changeset
|
15 |
# accompanied this code). |
aa7ada31eb77
8055856: checkdeps build target doesn't work for cross-compilation builds
mchung
parents:
diff
changeset
|
16 |
# |
aa7ada31eb77
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 |
aa7ada31eb77
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, |
aa7ada31eb77
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. |
aa7ada31eb77
8055856: checkdeps build target doesn't work for cross-compilation builds
mchung
parents:
diff
changeset
|
20 |
# |
aa7ada31eb77
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 |
aa7ada31eb77
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 |
aa7ada31eb77
8055856: checkdeps build target doesn't work for cross-compilation builds
mchung
parents:
diff
changeset
|
23 |
# questions. |
aa7ada31eb77
8055856: checkdeps build target doesn't work for cross-compilation builds
mchung
parents:
diff
changeset
|
24 |
# |
aa7ada31eb77
8055856: checkdeps build target doesn't work for cross-compilation builds
mchung
parents:
diff
changeset
|
25 |
|
aa7ada31eb77
8055856: checkdeps build target doesn't work for cross-compilation builds
mchung
parents:
diff
changeset
|
26 |
include GendataCommon.gmk |
aa7ada31eb77
8055856: checkdeps build target doesn't work for cross-compilation builds
mchung
parents:
diff
changeset
|
27 |
|
30813 | 28 |
$(eval $(call IncludeCustomExtension, jdk, gendata/Gendata-jdk.jdeps.gmk)) |
26227
aa7ada31eb77
8055856: checkdeps build target doesn't work for cross-compilation builds
mchung
parents:
diff
changeset
|
29 |
|
30813 | 30 |
JDEPS_MODULES_XML := $(JDK_OUTPUTDIR)/modules/jdk.jdeps/com/sun/tools/jdeps/resources/jdeps-modules.xml |
27565 | 31 |
MODULES_XML += $(TOPDIR)/modules.xml |
26227
aa7ada31eb77
8055856: checkdeps build target doesn't work for cross-compilation builds
mchung
parents:
diff
changeset
|
32 |
|
aa7ada31eb77
8055856: checkdeps build target doesn't work for cross-compilation builds
mchung
parents:
diff
changeset
|
33 |
# |
aa7ada31eb77
8055856: checkdeps build target doesn't work for cross-compilation builds
mchung
parents:
diff
changeset
|
34 |
# Generate modules.xml for jdeps to use |
aa7ada31eb77
8055856: checkdeps build target doesn't work for cross-compilation builds
mchung
parents:
diff
changeset
|
35 |
# It augments $(TOPDIR)/modules.xml to include module membership |
aa7ada31eb77
8055856: checkdeps build target doesn't work for cross-compilation builds
mchung
parents:
diff
changeset
|
36 |
# |
27565 | 37 |
$(JDEPS_MODULES_XML): $(BUILD_TOOLS_JDK) $(MODULES_XML) |
26227
aa7ada31eb77
8055856: checkdeps build target doesn't work for cross-compilation builds
mchung
parents:
diff
changeset
|
38 |
$(MKDIR) -p $(@D) |
aa7ada31eb77
8055856: checkdeps build target doesn't work for cross-compilation builds
mchung
parents:
diff
changeset
|
39 |
$(RM) $@ |
27565 | 40 |
$(TOOL_GENMODULESXML) -o $@ -mp $(JDK_OUTPUTDIR)/modules $(MODULES_XML) |
26227
aa7ada31eb77
8055856: checkdeps build target doesn't work for cross-compilation builds
mchung
parents:
diff
changeset
|
41 |
|
27565 | 42 |
TARGETS += $(JDEPS_MODULES_XML) |