42
43 ################################################################################
44 # Setup module sets needed by the build system
45
46 include $(TOPDIR)/make/conf/build-module-sets.conf
47
48 ################################################################################
49 # Hook to include the corresponding custom file, if present.
50 # Allowing MODULE list extensions setup above.
51 $(eval $(call IncludeCustomExtension, common/Modules.gmk))
52
53 ################################################################################
54 # Depending on the configuration, we might need to filter out some modules that
55 # normally should have been included
56
57 # Some platforms don't have the serviceability agent
58 ifeq ($(INCLUDE_SA), false)
59 MODULES_FILTER += jdk.hotspot.agent
60 endif
61
62 # Filter out jvmci specific modules if jvmci is disabled
63 ifeq ($(INCLUDE_JVMCI), false)
64 MODULES_FILTER += jdk.internal.vm.ci
65 MODULES_FILTER += jdk.internal.vm.compiler
66 MODULES_FILTER += jdk.internal.vm.compiler.management
67 endif
68
69 # jpackage is only on windows, macosx, and linux
70 ifeq ($(call isTargetOs, windows macosx linux), false)
71 MODULES_FILTER += jdk.jpackage
72 endif
73
74 ################################################################################
75 # Module list macros
76
77 # Use append so that the custom extension may add to these variables
78
79 GENERATED_SRC_DIRS += \
80 $(SUPPORT_OUTPUTDIR)/gensrc \
81 #
|
42
43 ################################################################################
44 # Setup module sets needed by the build system
45
46 include $(TOPDIR)/make/conf/build-module-sets.conf
47
48 ################################################################################
49 # Hook to include the corresponding custom file, if present.
50 # Allowing MODULE list extensions setup above.
51 $(eval $(call IncludeCustomExtension, common/Modules.gmk))
52
53 ################################################################################
54 # Depending on the configuration, we might need to filter out some modules that
55 # normally should have been included
56
57 # Some platforms don't have the serviceability agent
58 ifeq ($(INCLUDE_SA), false)
59 MODULES_FILTER += jdk.hotspot.agent
60 endif
61
62 ifeq ($(INCLUDE_JEXTRACT), false)
63 MODULES_FILTER += jdk.incubator.jextract
64 endif
65
66 # Filter out jvmci specific modules if jvmci is disabled
67 ifeq ($(INCLUDE_JVMCI), false)
68 MODULES_FILTER += jdk.internal.vm.ci
69 MODULES_FILTER += jdk.internal.vm.compiler
70 MODULES_FILTER += jdk.internal.vm.compiler.management
71 endif
72
73 # jpackage is only on windows, macosx, and linux
74 ifeq ($(call isTargetOs, windows macosx linux), false)
75 MODULES_FILTER += jdk.jpackage
76 endif
77
78 ################################################################################
79 # Module list macros
80
81 # Use append so that the custom extension may add to these variables
82
83 GENERATED_SRC_DIRS += \
84 $(SUPPORT_OUTPUTDIR)/gensrc \
85 #
|