16 #
17 # You should have received a copy of the GNU General Public License version
18 # 2 along with this work; if not, write to the Free Software Foundation,
19 # Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
20 #
21 # Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
22 # or visit www.oracle.com if you need additional information or have any
23 # questions.
24 #
25
26 ifndef _MODULES_GMK
27 _MODULES_GMK := 1
28
29 include JavaCompilation.gmk
30 include SetupJavaCompilers.gmk
31
32 ################################################################################
33 # Module list macros
34
35 ALL_TOP_SRC_DIRS := \
36 $(JDK_TOPDIR)/src \
37 $(LANGTOOLS_TOPDIR)/src \
38 $(CORBA_TOPDIR)/src \
39 $(JAXP_TOPDIR)/src \
40 $(JAXWS_TOPDIR)/src \
41 $(NASHORN_TOPDIR)/src \
42 #
43
44 # Find all modules with java sources by looking in the source dirs
45 define FindJavaModules
46 $(filter-out $(MODULES_FILTER), $(sort $(notdir \
47 $(patsubst %/,%, $(dir $(patsubst %/,%, $(dir $(patsubst %/,%, $(dir \
48 $(wildcard $(patsubst %,%/*/share/classes/*, $(ALL_TOP_SRC_DIRS)) \
49 $(patsubst %,%/*/$(OPENJDK_TARGET_OS)/classes/*, $(ALL_TOP_SRC_DIRS)) \
50 $(patsubst %,%/*/$(OPENJDK_TARGET_OS_TYPE)/classes/*, $(ALL_TOP_SRC_DIRS))))))))))))
51 endef
52
53 # Find all modules with source for the target platform.
54 define FindAllModules
55 $(sort $(filter-out $(MODULES_FILTER) closed demo sample, \
|
16 #
17 # You should have received a copy of the GNU General Public License version
18 # 2 along with this work; if not, write to the Free Software Foundation,
19 # Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
20 #
21 # Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
22 # or visit www.oracle.com if you need additional information or have any
23 # questions.
24 #
25
26 ifndef _MODULES_GMK
27 _MODULES_GMK := 1
28
29 include JavaCompilation.gmk
30 include SetupJavaCompilers.gmk
31
32 ################################################################################
33 # Module list macros
34
35 ALL_TOP_SRC_DIRS := \
36 $(HOTSPOT_TOPDIR)/src \
37 $(JDK_TOPDIR)/src \
38 $(LANGTOOLS_TOPDIR)/src \
39 $(CORBA_TOPDIR)/src \
40 $(JAXP_TOPDIR)/src \
41 $(JAXWS_TOPDIR)/src \
42 $(NASHORN_TOPDIR)/src \
43 #
44
45 # Find all modules with java sources by looking in the source dirs
46 define FindJavaModules
47 $(filter-out $(MODULES_FILTER), $(sort $(notdir \
48 $(patsubst %/,%, $(dir $(patsubst %/,%, $(dir $(patsubst %/,%, $(dir \
49 $(wildcard $(patsubst %,%/*/share/classes/*, $(ALL_TOP_SRC_DIRS)) \
50 $(patsubst %,%/*/$(OPENJDK_TARGET_OS)/classes/*, $(ALL_TOP_SRC_DIRS)) \
51 $(patsubst %,%/*/$(OPENJDK_TARGET_OS_TYPE)/classes/*, $(ALL_TOP_SRC_DIRS))))))))))))
52 endef
53
54 # Find all modules with source for the target platform.
55 define FindAllModules
56 $(sort $(filter-out $(MODULES_FILTER) closed demo sample, \
|