Mercurial > hg > truffle
annotate make/build-graal.xml @ 8971:da39fb4f9b2e
Common base class for LIR runtime call ops.
author | Thomas Wuerthinger <thomas.wuerthinger@oracle.com> |
---|---|
date | Tue, 09 Apr 2013 19:51:24 +0200 |
parents | a33b6378cb76 |
children | dedfff70763f |
rev | line source |
---|---|
8321
3d840eec7f2b
Build-graal needs to be versioned for non mx builds.
Christian Humer <christian.humer@gmail.com>
parents:
diff
changeset
|
1 <?xml version="1.0" encoding="UTF-8"?> |
3d840eec7f2b
Build-graal needs to be versioned for non mx builds.
Christian Humer <christian.humer@gmail.com>
parents:
diff
changeset
|
2 <!-- |
3d840eec7f2b
Build-graal needs to be versioned for non mx builds.
Christian Humer <christian.humer@gmail.com>
parents:
diff
changeset
|
3 Copyright (c) 2013, Oracle and/or its affiliates. All rights reserved. |
3d840eec7f2b
Build-graal needs to be versioned for non mx builds.
Christian Humer <christian.humer@gmail.com>
parents:
diff
changeset
|
4 DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
3d840eec7f2b
Build-graal needs to be versioned for non mx builds.
Christian Humer <christian.humer@gmail.com>
parents:
diff
changeset
|
5 |
3d840eec7f2b
Build-graal needs to be versioned for non mx builds.
Christian Humer <christian.humer@gmail.com>
parents:
diff
changeset
|
6 This code is free software; you can redistribute it and/or modify it |
3d840eec7f2b
Build-graal needs to be versioned for non mx builds.
Christian Humer <christian.humer@gmail.com>
parents:
diff
changeset
|
7 under the terms of the GNU General Public License version 2 only, as |
3d840eec7f2b
Build-graal needs to be versioned for non mx builds.
Christian Humer <christian.humer@gmail.com>
parents:
diff
changeset
|
8 published by the Free Software Foundation. Oracle designates this |
3d840eec7f2b
Build-graal needs to be versioned for non mx builds.
Christian Humer <christian.humer@gmail.com>
parents:
diff
changeset
|
9 particular file as subject to the "Classpath" exception as provided |
3d840eec7f2b
Build-graal needs to be versioned for non mx builds.
Christian Humer <christian.humer@gmail.com>
parents:
diff
changeset
|
10 by Oracle in the LICENSE file that accompanied this code. |
3d840eec7f2b
Build-graal needs to be versioned for non mx builds.
Christian Humer <christian.humer@gmail.com>
parents:
diff
changeset
|
11 |
3d840eec7f2b
Build-graal needs to be versioned for non mx builds.
Christian Humer <christian.humer@gmail.com>
parents:
diff
changeset
|
12 This code is distributed in the hope that it will be useful, but WITHOUT |
3d840eec7f2b
Build-graal needs to be versioned for non mx builds.
Christian Humer <christian.humer@gmail.com>
parents:
diff
changeset
|
13 ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or |
3d840eec7f2b
Build-graal needs to be versioned for non mx builds.
Christian Humer <christian.humer@gmail.com>
parents:
diff
changeset
|
14 FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License |
3d840eec7f2b
Build-graal needs to be versioned for non mx builds.
Christian Humer <christian.humer@gmail.com>
parents:
diff
changeset
|
15 version 2 for more details (a copy is included in the LICENSE file that |
3d840eec7f2b
Build-graal needs to be versioned for non mx builds.
Christian Humer <christian.humer@gmail.com>
parents:
diff
changeset
|
16 accompanied this code). |
3d840eec7f2b
Build-graal needs to be versioned for non mx builds.
Christian Humer <christian.humer@gmail.com>
parents:
diff
changeset
|
17 |
3d840eec7f2b
Build-graal needs to be versioned for non mx builds.
Christian Humer <christian.humer@gmail.com>
parents:
diff
changeset
|
18 You should have received a copy of the GNU General Public License version |
3d840eec7f2b
Build-graal needs to be versioned for non mx builds.
Christian Humer <christian.humer@gmail.com>
parents:
diff
changeset
|
19 2 along with this work; if not, write to the Free Software Foundation, |
3d840eec7f2b
Build-graal needs to be versioned for non mx builds.
Christian Humer <christian.humer@gmail.com>
parents:
diff
changeset
|
20 Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. |
3d840eec7f2b
Build-graal needs to be versioned for non mx builds.
Christian Humer <christian.humer@gmail.com>
parents:
diff
changeset
|
21 |
3d840eec7f2b
Build-graal needs to be versioned for non mx builds.
Christian Humer <christian.humer@gmail.com>
parents:
diff
changeset
|
22 Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA |
3d840eec7f2b
Build-graal needs to be versioned for non mx builds.
Christian Humer <christian.humer@gmail.com>
parents:
diff
changeset
|
23 or visit www.oracle.com if you need additional information or have any |
3d840eec7f2b
Build-graal needs to be versioned for non mx builds.
Christian Humer <christian.humer@gmail.com>
parents:
diff
changeset
|
24 questions. |
3d840eec7f2b
Build-graal needs to be versioned for non mx builds.
Christian Humer <christian.humer@gmail.com>
parents:
diff
changeset
|
25 --> |
3d840eec7f2b
Build-graal needs to be versioned for non mx builds.
Christian Humer <christian.humer@gmail.com>
parents:
diff
changeset
|
26 <project basedir="." default="main" name="graal"> |
3d840eec7f2b
Build-graal needs to be versioned for non mx builds.
Christian Humer <christian.humer@gmail.com>
parents:
diff
changeset
|
27 <property name="src.dir" value="${gamma.dir}/graal"/> |
3d840eec7f2b
Build-graal needs to be versioned for non mx builds.
Christian Humer <christian.humer@gmail.com>
parents:
diff
changeset
|
28 <property name="classes.dir" value="${shared.dir}/graal"/> |
3d840eec7f2b
Build-graal needs to be versioned for non mx builds.
Christian Humer <christian.humer@gmail.com>
parents:
diff
changeset
|
29 <property name="jar.dir" value="${shared.dir}"/> |
3d840eec7f2b
Build-graal needs to be versioned for non mx builds.
Christian Humer <christian.humer@gmail.com>
parents:
diff
changeset
|
30 <property name="jar.file" value="${jar.dir}/graal.jar"/> |
3d840eec7f2b
Build-graal needs to be versioned for non mx builds.
Christian Humer <christian.humer@gmail.com>
parents:
diff
changeset
|
31 <target depends="jar" name="main"/> |
8890
a33b6378cb76
delete build/linux/shared/graal before compile in build-graal.xml to handle stale class files left behind after refactoring in Eclipse
Doug Simon <doug.simon@oracle.com>
parents:
8637
diff
changeset
|
32 <target depends="cleanclasses" name="compile"> |
8321
3d840eec7f2b
Build-graal needs to be versioned for non mx builds.
Christian Humer <christian.humer@gmail.com>
parents:
diff
changeset
|
33 <mkdir dir="${classes.dir}"/> |
3d840eec7f2b
Build-graal needs to be versioned for non mx builds.
Christian Humer <christian.humer@gmail.com>
parents:
diff
changeset
|
34 <javac debug="on" destdir="${classes.dir}" includeantruntime="false"> |
3d840eec7f2b
Build-graal needs to be versioned for non mx builds.
Christian Humer <christian.humer@gmail.com>
parents:
diff
changeset
|
35 <src path="${src.dir}/com.oracle.graal.api.meta"/> |
3d840eec7f2b
Build-graal needs to be versioned for non mx builds.
Christian Humer <christian.humer@gmail.com>
parents:
diff
changeset
|
36 <src path="${src.dir}/com.oracle.graal.api.code"/> |
3d840eec7f2b
Build-graal needs to be versioned for non mx builds.
Christian Humer <christian.humer@gmail.com>
parents:
diff
changeset
|
37 <src path="${src.dir}/com.oracle.graal.graph"/> |
3d840eec7f2b
Build-graal needs to be versioned for non mx builds.
Christian Humer <christian.humer@gmail.com>
parents:
diff
changeset
|
38 <src path="${src.dir}/com.oracle.graal.debug"/> |
8637
ce5750014c3d
moved Replacements and MacroSubstitution from the graal.api.replacements project to graal.nodes project and reversed the dependency between these two projects (the latter now/again depends on the former)
Doug Simon <doug.simon@oracle.com>
parents:
8627
diff
changeset
|
39 <src path="${src.dir}/com.oracle.graal.api.replacements"/> |
8321
3d840eec7f2b
Build-graal needs to be versioned for non mx builds.
Christian Humer <christian.humer@gmail.com>
parents:
diff
changeset
|
40 <src path="${src.dir}/com.oracle.graal.nodes"/> |
3d840eec7f2b
Build-graal needs to be versioned for non mx builds.
Christian Humer <christian.humer@gmail.com>
parents:
diff
changeset
|
41 <src path="${src.dir}/com.oracle.graal.phases"/> |
3d840eec7f2b
Build-graal needs to be versioned for non mx builds.
Christian Humer <christian.humer@gmail.com>
parents:
diff
changeset
|
42 <src path="${src.dir}/com.oracle.graal.phases.common"/> |
3d840eec7f2b
Build-graal needs to be versioned for non mx builds.
Christian Humer <christian.humer@gmail.com>
parents:
diff
changeset
|
43 <src path="${src.dir}/com.oracle.graal.virtual"/> |
3d840eec7f2b
Build-graal needs to be versioned for non mx builds.
Christian Humer <christian.humer@gmail.com>
parents:
diff
changeset
|
44 <src path="${src.dir}/com.oracle.graal.loop"/> |
3d840eec7f2b
Build-graal needs to be versioned for non mx builds.
Christian Humer <christian.humer@gmail.com>
parents:
diff
changeset
|
45 <src path="${src.dir}/com.oracle.graal.alloc"/> |
3d840eec7f2b
Build-graal needs to be versioned for non mx builds.
Christian Humer <christian.humer@gmail.com>
parents:
diff
changeset
|
46 <src path="${src.dir}/com.oracle.graal.asm"/> |
3d840eec7f2b
Build-graal needs to be versioned for non mx builds.
Christian Humer <christian.humer@gmail.com>
parents:
diff
changeset
|
47 <src path="${src.dir}/com.oracle.graal.lir"/> |
3d840eec7f2b
Build-graal needs to be versioned for non mx builds.
Christian Humer <christian.humer@gmail.com>
parents:
diff
changeset
|
48 <src path="${src.dir}/com.oracle.graal.compiler"/> |
3d840eec7f2b
Build-graal needs to be versioned for non mx builds.
Christian Humer <christian.humer@gmail.com>
parents:
diff
changeset
|
49 <src path="${src.dir}/com.oracle.graal.bytecode"/> |
3d840eec7f2b
Build-graal needs to be versioned for non mx builds.
Christian Humer <christian.humer@gmail.com>
parents:
diff
changeset
|
50 <src path="${src.dir}/com.oracle.graal.java"/> |
3d840eec7f2b
Build-graal needs to be versioned for non mx builds.
Christian Humer <christian.humer@gmail.com>
parents:
diff
changeset
|
51 <src path="${src.dir}/com.oracle.graal.word"/> |
8637
ce5750014c3d
moved Replacements and MacroSubstitution from the graal.api.replacements project to graal.nodes project and reversed the dependency between these two projects (the latter now/again depends on the former)
Doug Simon <doug.simon@oracle.com>
parents:
8627
diff
changeset
|
52 <src path="${src.dir}/com.oracle.graal.api.runtime"/> |
8416
102b5249e97e
rename projects: *snippets* -> *replacements* (GRAAL-178)
Doug Simon <doug.simon@oracle.com>
parents:
8321
diff
changeset
|
53 <src path="${src.dir}/com.oracle.graal.replacements"/> |
8321
3d840eec7f2b
Build-graal needs to be versioned for non mx builds.
Christian Humer <christian.humer@gmail.com>
parents:
diff
changeset
|
54 <src path="${src.dir}/com.oracle.graal.printer"/> |
3d840eec7f2b
Build-graal needs to be versioned for non mx builds.
Christian Humer <christian.humer@gmail.com>
parents:
diff
changeset
|
55 <src path="${src.dir}/com.oracle.graal.hotspot"/> |
3d840eec7f2b
Build-graal needs to be versioned for non mx builds.
Christian Humer <christian.humer@gmail.com>
parents:
diff
changeset
|
56 <src path="${src.dir}/com.oracle.graal.amd64"/> |
3d840eec7f2b
Build-graal needs to be versioned for non mx builds.
Christian Humer <christian.humer@gmail.com>
parents:
diff
changeset
|
57 <src path="${src.dir}/com.oracle.graal.asm.amd64"/> |
3d840eec7f2b
Build-graal needs to be versioned for non mx builds.
Christian Humer <christian.humer@gmail.com>
parents:
diff
changeset
|
58 <src path="${src.dir}/com.oracle.graal.lir.amd64"/> |
3d840eec7f2b
Build-graal needs to be versioned for non mx builds.
Christian Humer <christian.humer@gmail.com>
parents:
diff
changeset
|
59 <src path="${src.dir}/com.oracle.graal.compiler.amd64"/> |
8416
102b5249e97e
rename projects: *snippets* -> *replacements* (GRAAL-178)
Doug Simon <doug.simon@oracle.com>
parents:
8321
diff
changeset
|
60 <src path="${src.dir}/com.oracle.graal.replacements.amd64"/> |
8321
3d840eec7f2b
Build-graal needs to be versioned for non mx builds.
Christian Humer <christian.humer@gmail.com>
parents:
diff
changeset
|
61 <src path="${src.dir}/com.oracle.graal.hotspot.amd64"/> |
3d840eec7f2b
Build-graal needs to be versioned for non mx builds.
Christian Humer <christian.humer@gmail.com>
parents:
diff
changeset
|
62 <src path="${src.dir}/com.oracle.graal.sparc"/> |
3d840eec7f2b
Build-graal needs to be versioned for non mx builds.
Christian Humer <christian.humer@gmail.com>
parents:
diff
changeset
|
63 <src path="${src.dir}/com.oracle.graal.asm.sparc"/> |
3d840eec7f2b
Build-graal needs to be versioned for non mx builds.
Christian Humer <christian.humer@gmail.com>
parents:
diff
changeset
|
64 <src path="${src.dir}/com.oracle.graal.lir.sparc"/> |
3d840eec7f2b
Build-graal needs to be versioned for non mx builds.
Christian Humer <christian.humer@gmail.com>
parents:
diff
changeset
|
65 <src path="${src.dir}/com.oracle.graal.compiler.sparc"/> |
3d840eec7f2b
Build-graal needs to be versioned for non mx builds.
Christian Humer <christian.humer@gmail.com>
parents:
diff
changeset
|
66 <src path="${src.dir}/com.oracle.graal.hotspot.sparc"/> |
3d840eec7f2b
Build-graal needs to be versioned for non mx builds.
Christian Humer <christian.humer@gmail.com>
parents:
diff
changeset
|
67 <compilerarg value="-XDignore.symbol.file"/> |
3d840eec7f2b
Build-graal needs to be versioned for non mx builds.
Christian Humer <christian.humer@gmail.com>
parents:
diff
changeset
|
68 <classpath> |
3d840eec7f2b
Build-graal needs to be versioned for non mx builds.
Christian Humer <christian.humer@gmail.com>
parents:
diff
changeset
|
69 <fileset dir="${java.home}/../lib"> |
3d840eec7f2b
Build-graal needs to be versioned for non mx builds.
Christian Humer <christian.humer@gmail.com>
parents:
diff
changeset
|
70 <include name="tools.jar"/> |
3d840eec7f2b
Build-graal needs to be versioned for non mx builds.
Christian Humer <christian.humer@gmail.com>
parents:
diff
changeset
|
71 </fileset> |
3d840eec7f2b
Build-graal needs to be versioned for non mx builds.
Christian Humer <christian.humer@gmail.com>
parents:
diff
changeset
|
72 </classpath> |
3d840eec7f2b
Build-graal needs to be versioned for non mx builds.
Christian Humer <christian.humer@gmail.com>
parents:
diff
changeset
|
73 </javac> |
3d840eec7f2b
Build-graal needs to be versioned for non mx builds.
Christian Humer <christian.humer@gmail.com>
parents:
diff
changeset
|
74 </target> |
3d840eec7f2b
Build-graal needs to be versioned for non mx builds.
Christian Humer <christian.humer@gmail.com>
parents:
diff
changeset
|
75 <target depends="compile" name="jar"> |
3d840eec7f2b
Build-graal needs to be versioned for non mx builds.
Christian Humer <christian.humer@gmail.com>
parents:
diff
changeset
|
76 <mkdir dir="${jar.dir}"/> |
3d840eec7f2b
Build-graal needs to be versioned for non mx builds.
Christian Humer <christian.humer@gmail.com>
parents:
diff
changeset
|
77 <jar basedir="${classes.dir}" destfile="${jar.file}"/> |
3d840eec7f2b
Build-graal needs to be versioned for non mx builds.
Christian Humer <christian.humer@gmail.com>
parents:
diff
changeset
|
78 </target> |
8890
a33b6378cb76
delete build/linux/shared/graal before compile in build-graal.xml to handle stale class files left behind after refactoring in Eclipse
Doug Simon <doug.simon@oracle.com>
parents:
8637
diff
changeset
|
79 <target name="cleanclasses"> |
8321
3d840eec7f2b
Build-graal needs to be versioned for non mx builds.
Christian Humer <christian.humer@gmail.com>
parents:
diff
changeset
|
80 <delete dir="${classes.dir}"/> |
8890
a33b6378cb76
delete build/linux/shared/graal before compile in build-graal.xml to handle stale class files left behind after refactoring in Eclipse
Doug Simon <doug.simon@oracle.com>
parents:
8637
diff
changeset
|
81 </target> |
a33b6378cb76
delete build/linux/shared/graal before compile in build-graal.xml to handle stale class files left behind after refactoring in Eclipse
Doug Simon <doug.simon@oracle.com>
parents:
8637
diff
changeset
|
82 <target depends="cleanclasses" name="clean"> |
a33b6378cb76
delete build/linux/shared/graal before compile in build-graal.xml to handle stale class files left behind after refactoring in Eclipse
Doug Simon <doug.simon@oracle.com>
parents:
8637
diff
changeset
|
83 <delete file="${jar.file}"/> |
8321
3d840eec7f2b
Build-graal needs to be versioned for non mx builds.
Christian Humer <christian.humer@gmail.com>
parents:
diff
changeset
|
84 </target> |
3d840eec7f2b
Build-graal needs to be versioned for non mx builds.
Christian Humer <christian.humer@gmail.com>
parents:
diff
changeset
|
85 </project> |