1 #
2 # Copyright (c) 2014, 2018, Oracle and/or its affiliates. All rights reserved.
3 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4 #
5 # This code is free software; you can redistribute it and/or modify it
6 # under the terms of the GNU General Public License version 2 only, as
7 # published by the Free Software Foundation. Oracle designates this
8 # particular file as subject to the "Classpath" exception as provided
9 # by Oracle in the LICENSE file that accompanied this code.
10 #
11 # This code is distributed in the hope that it will be useful, but WITHOUT
12 # ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
13 # FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
14 # version 2 for more details (a copy is included in the LICENSE file that
15 # accompanied this code).
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
111 jdk.localedata \
112 jdk.naming.dns \
113 jdk.scripting.nashorn \
114 jdk.security.auth \
115 jdk.security.jgss \
116 jdk.xml.dom \
117 jdk.zipfs \
118 #
119
120 ifeq ($(call isTargetOs, windows), true)
121 PLATFORM_MODULES += jdk.crypto.mscapi
122 endif
123
124 ifeq ($(call isTargetOs, solaris), true)
125 PLATFORM_MODULES += jdk.crypto.ucrypto
126 endif
127
128 JRE_TOOL_MODULES += \
129 jdk.jdwp.agent \
130 jdk.pack \
131 jdk.scripting.nashorn.shell \
132 #
133
134 ################################################################################
135
136 # DOCS_MODULES defines the root modules for javadoc generation.
137 # All of their `require transitive` modules directly and indirectly will be included.
138 DOCS_MODULES += \
139 java.se \
140 java.smartcardio \
141 jdk.accessibility \
142 jdk.attach \
143 jdk.charsets \
144 jdk.compiler \
145 jdk.crypto.cryptoki \
146 jdk.crypto.ec \
147 jdk.dynalink \
148 jdk.editpad \
149 jdk.hotspot.agent \
150 jdk.httpserver \
151 jdk.jartool \
152 jdk.javadoc \
153 jdk.jcmd \
154 jdk.jconsole \
155 jdk.jdeps \
156 jdk.jdi \
157 jdk.jdwp.agent \
158 jdk.jfr \
159 jdk.jlink \
160 jdk.jsobject \
161 jdk.jshell \
162 jdk.jstatd \
163 jdk.localedata \
164 jdk.management \
165 jdk.management.agent \
166 jdk.management.jfr \
167 jdk.naming.dns \
168 jdk.naming.rmi \
169 jdk.net \
170 jdk.pack \
171 jdk.rmic \
172 jdk.scripting.nashorn \
173 jdk.sctp \
174 jdk.security.auth \
175 jdk.security.jgss \
176 jdk.xml.dom \
177 jdk.zipfs \
178 #
179
180 # These modules are included in the interim image which is used to run profiling
181 # before building the real images.
182 INTERIM_IMAGE_MODULES := java.base java.logging
183
184 LANGTOOLS_MODULES := \
185 java.compiler \
186 jdk.compiler \
187 jdk.javadoc \
188 jdk.jdeps \
189 jdk.jshell \
190 #
207 ################################################################################
208 # Filter out jvmci specific modules if jvmci is disabled
209
210 ifeq ($(INCLUDE_JVMCI), false)
211 MODULES_FILTER += jdk.internal.vm.ci
212 endif
213
214 ################################################################################
215 # Filter out Graal specific modules if Graal is disabled
216
217 ifeq ($(INCLUDE_GRAAL), false)
218 MODULES_FILTER += jdk.internal.vm.compiler
219 MODULES_FILTER += jdk.internal.vm.compiler.management
220 endif
221
222 ################################################################################
223 # Filter out aot specific modules if aot is disabled
224
225 ifeq ($(ENABLE_AOT), false)
226 MODULES_FILTER += jdk.aot
227 endif
228
229 ################################################################################
230 # Module list macros
231
232 # Use append so that the custom extension may add to these variables
233
234 GENERATED_SRC_DIRS += \
235 $(SUPPORT_OUTPUTDIR)/gensrc \
236 #
237
238 TOP_SRC_DIRS += \
239 $(TOPDIR)/src \
240 #
241
242 SRC_SUBDIRS += $(OPENJDK_TARGET_OS)/classes
243 ifneq ($(OPENJDK_TARGET_OS), $(OPENJDK_TARGET_OS_TYPE))
244 SRC_SUBDIRS += $(OPENJDK_TARGET_OS_TYPE)/classes
245 endif
246 SRC_SUBDIRS += share/classes
|
1 #
2 # Copyright (c) 2014, 2019, Oracle and/or its affiliates. All rights reserved.
3 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4 #
5 # This code is free software; you can redistribute it and/or modify it
6 # under the terms of the GNU General Public License version 2 only, as
7 # published by the Free Software Foundation. Oracle designates this
8 # particular file as subject to the "Classpath" exception as provided
9 # by Oracle in the LICENSE file that accompanied this code.
10 #
11 # This code is distributed in the hope that it will be useful, but WITHOUT
12 # ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
13 # FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
14 # version 2 for more details (a copy is included in the LICENSE file that
15 # accompanied this code).
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
111 jdk.localedata \
112 jdk.naming.dns \
113 jdk.scripting.nashorn \
114 jdk.security.auth \
115 jdk.security.jgss \
116 jdk.xml.dom \
117 jdk.zipfs \
118 #
119
120 ifeq ($(call isTargetOs, windows), true)
121 PLATFORM_MODULES += jdk.crypto.mscapi
122 endif
123
124 ifeq ($(call isTargetOs, solaris), true)
125 PLATFORM_MODULES += jdk.crypto.ucrypto
126 endif
127
128 JRE_TOOL_MODULES += \
129 jdk.jdwp.agent \
130 jdk.pack \
131 jdk.jpackage \
132 jdk.scripting.nashorn.shell \
133 #
134
135 ################################################################################
136
137 # DOCS_MODULES defines the root modules for javadoc generation.
138 # All of their `require transitive` modules directly and indirectly will be included.
139 DOCS_MODULES += \
140 java.se \
141 java.smartcardio \
142 jdk.accessibility \
143 jdk.attach \
144 jdk.charsets \
145 jdk.compiler \
146 jdk.crypto.cryptoki \
147 jdk.crypto.ec \
148 jdk.dynalink \
149 jdk.editpad \
150 jdk.hotspot.agent \
151 jdk.httpserver \
152 jdk.jartool \
153 jdk.javadoc \
154 jdk.jcmd \
155 jdk.jconsole \
156 jdk.jdeps \
157 jdk.jdi \
158 jdk.jdwp.agent \
159 jdk.jfr \
160 jdk.jlink \
161 jdk.jsobject \
162 jdk.jshell \
163 jdk.jstatd \
164 jdk.localedata \
165 jdk.management \
166 jdk.management.agent \
167 jdk.management.jfr \
168 jdk.naming.dns \
169 jdk.naming.rmi \
170 jdk.net \
171 jdk.pack \
172 jdk.jpackage \
173 jdk.rmic \
174 jdk.scripting.nashorn \
175 jdk.sctp \
176 jdk.security.auth \
177 jdk.security.jgss \
178 jdk.xml.dom \
179 jdk.zipfs \
180 #
181
182 # These modules are included in the interim image which is used to run profiling
183 # before building the real images.
184 INTERIM_IMAGE_MODULES := java.base java.logging
185
186 LANGTOOLS_MODULES := \
187 java.compiler \
188 jdk.compiler \
189 jdk.javadoc \
190 jdk.jdeps \
191 jdk.jshell \
192 #
209 ################################################################################
210 # Filter out jvmci specific modules if jvmci is disabled
211
212 ifeq ($(INCLUDE_JVMCI), false)
213 MODULES_FILTER += jdk.internal.vm.ci
214 endif
215
216 ################################################################################
217 # Filter out Graal specific modules if Graal is disabled
218
219 ifeq ($(INCLUDE_GRAAL), false)
220 MODULES_FILTER += jdk.internal.vm.compiler
221 MODULES_FILTER += jdk.internal.vm.compiler.management
222 endif
223
224 ################################################################################
225 # Filter out aot specific modules if aot is disabled
226
227 ifeq ($(ENABLE_AOT), false)
228 MODULES_FILTER += jdk.aot
229 endif
230
231 ################################################################################
232 # jpackage is only on windows, macosx, and linux
233
234 ifeq ($(filter $(OPENJDK_TARGET_OS), windows macosx linux), )
235 MODULES_FILTER += jdk.jpackage
236 endif
237
238 ################################################################################
239 # Module list macros
240
241 # Use append so that the custom extension may add to these variables
242
243 GENERATED_SRC_DIRS += \
244 $(SUPPORT_OUTPUTDIR)/gensrc \
245 #
246
247 TOP_SRC_DIRS += \
248 $(TOPDIR)/src \
249 #
250
251 SRC_SUBDIRS += $(OPENJDK_TARGET_OS)/classes
252 ifneq ($(OPENJDK_TARGET_OS), $(OPENJDK_TARGET_OS_TYPE))
253 SRC_SUBDIRS += $(OPENJDK_TARGET_OS_TYPE)/classes
254 endif
255 SRC_SUBDIRS += share/classes
|