Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
PojavLauncherTeam
GitHub Repository: PojavLauncherTeam/openj9
Path: blob/master/runtime/j9vm/module.xml
5985 views
1
<?xml version="1.0" encoding="UTF-8"?>
2
<!--
3
Copyright (c) 2006, 2022 IBM Corp. and others
4
5
This program and the accompanying materials are made available under
6
the terms of the Eclipse Public License 2.0 which accompanies this
7
distribution and is available at https://www.eclipse.org/legal/epl-2.0/
8
or the Apache License, Version 2.0 which accompanies this distribution and
9
is available at https://www.apache.org/licenses/LICENSE-2.0.
10
11
This Source Code may also be made available under the following
12
Secondary Licenses when the conditions for such availability set
13
forth in the Eclipse Public License, v. 2.0 are satisfied: GNU
14
General Public License, version 2 with the GNU Classpath
15
Exception [1] and GNU General Public License, version 2 with the
16
OpenJDK Assembly Exception [2].
17
18
[1] https://www.gnu.org/software/classpath/license.html
19
[2] http://openjdk.java.net/legal/assembly-exception.html
20
21
SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 OR LicenseRef-GPL-2.0 WITH Assembly-exception
22
-->
23
<module xmlns:xi="http://www.w3.org/2001/XInclude">
24
<xi:include href="j9vmnatives.xml"><xi:fallback/></xi:include>
25
26
<artifact type="target" name="generated.h" all="false">
27
<dependencies>
28
<dependency name="generated.h.m4"/>
29
<dependency name="$(UMA_PATH_TO_ROOT)redirector/forwarders.m4"/>
30
<dependency name="$(UMA_PATH_TO_ROOT)oti/helpers.m4"/>
31
</dependencies>
32
<commands>
33
<command type="all" line="m4 -I$(UMA_PATH_TO_ROOT)oti -I$(UMA_PATH_TO_ROOT)redirector generated.h.m4 > generated.h $(call CONVERT_ASCII_TO_NATIVE, generated.h)"/>
34
<command type="clean" line="$(RM) generated.h"/>
35
</commands>
36
</artifact>
37
38
<artifact type="target" name="generate_j9vm">
39
<commands>
40
<command type="all" line="$(MAKE) -C $(UMA_PATH_TO_ROOT)j9vm generated.h"/>
41
<command type="clean" line="$(MAKE) -C $(UMA_PATH_TO_ROOT)j9vm clean_generated.h"/>
42
</commands>
43
</artifact>
44
45
<artifact type="shared" name="jvm" bundle="jvm" loadgroup="" appendrelease="false">
46
<include-if condition="spec.flags.module_j9vm" />
47
<options>
48
<option name="requiresPrimitiveTable"/>
49
<option name="prototypeHeaderFileNames" data="jvm.h"/>
50
</options>
51
<phase>core quick j2se</phase>
52
<dependencies>
53
<dependency name="generate_j9vm"/>
54
</dependencies>
55
<exports>
56
<group name="all"/>
57
<group name="j9vmnatives"/>
58
<group name="jdk11">
59
<include-if condition="spec.java11"/>
60
</group>
61
<group name="jdk14">
62
<include-if condition="spec.java14"/>
63
</group>
64
<group name="jdk15">
65
<include-if condition="spec.java15"/>
66
</group>
67
<group name="jdk16">
68
<include-if condition="spec.java16"/>
69
</group>
70
<group name="jdk17">
71
<include-if condition="spec.java17"/>
72
</group>
73
<group name="jdk18">
74
<include-if condition="spec.java18"/>
75
</group>
76
<group name="jdk19">
77
<include-if condition="spec.java19"/>
78
</group>
79
</exports>
80
<includes>
81
<include path="j9include"/>
82
<include path="j9oti"/>
83
<include path="jclcommon">
84
<include-if condition="spec.flags.build_realtime"/>
85
</include>
86
<include path="$(OMR_DIR)/gc/include" type="relativepath"/>
87
<include path="j9gcgluejava"/>
88
</includes>
89
<makefilestubs>
90
<makefilestub data="UMA_TREAT_WARNINGS_AS_ERRORS=1"/>
91
</makefilestubs>
92
<objects>
93
<object name="asgct"/>
94
<object name="j8vmi"/>
95
<object name="j7vmi"/>
96
<object name="j7verify"/>
97
<object name="jvm"/>
98
<object name="vmi"/>
99
<object name="ut_j9scar"/>
100
<object name="j9memcategories"/>
101
<object name="java11vmi">
102
<!--
103
This object is mis-named and should have been separated into additions
104
for 9, 10 and 11. As Java 9 and 10 are out-of-service at this point it
105
isn't worth fixing.
106
-->
107
<!-- TODO include this object conditionally
108
<include-if condition="spec.java9"/>
109
-->
110
</object>
111
<object name="javanextvmi">
112
<include-if condition="spec.java11"/>
113
</object>
114
</objects>
115
116
<!--
117
WARNING: DO NOT LINK SHARED LIBRARIES AGAINST THIS SHARED LIBRARY
118
WE NEED TO BE ABLE TO LOAD IT WITHOUT ANYTHING ELSE ON THE
119
LIBPATH.
120
This is required because of sidecar configurations.
121
-->
122
<libraries>
123
<library name="socket" type="macro"/>
124
<library name="j9exelib"/>
125
<library name="j9util"/>
126
<library name="j9utilcore"/>
127
<library name="j9avl" type="external"/>
128
<library name="j9hashtable" type="external"/>
129
<library name="j9pool" type="external"/>
130
<!-- for advance toolchain pthread must be last in the link order -->
131
<library name="pthread" type="system">
132
<include-if condition="spec.linux.* and not spec.linux_ztpf.*"/>
133
</library>
134
</libraries>
135
</artifact>
136
137
</module>
138
139