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