Mercurial > hg > truffle
comparison make/build-graal.xml @ 8302:b246434a3e4a
made build-graal.xml be generated by mx
author | Doug Simon <doug.simon@oracle.com> |
---|---|
date | Fri, 15 Mar 2013 18:09:19 +0100 |
parents | 60b6dd6a58b7 |
children |
comparison
equal
deleted
inserted
replaced
8291:950cc0d8bc7c | 8302:b246434a3e4a |
---|---|
21 | 21 |
22 Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA | 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 | 23 or visit www.oracle.com if you need additional information or have any |
24 questions. | 24 questions. |
25 --> | 25 --> |
26 | 26 <project basedir="." default="main" name="graal"> |
27 <project name="graal" basedir="." default="main"> | 27 <property name="src.dir" value="${gamma.dir}/graal"/> |
28 <property name="src.dir" value="${gamma.dir}/graal"/> | |
29 <property name="classes.dir" value="${shared.dir}/graal"/> | 28 <property name="classes.dir" value="${shared.dir}/graal"/> |
30 <property name="jar.dir" value="${shared.dir}"/> | 29 <property name="jar.dir" value="${shared.dir}"/> |
31 <property name="jar.file" value="${jar.dir}/graal.jar"/> | 30 <property name="jar.file" value="${jar.dir}/graal.jar"/> |
32 | 31 <target depends="jar" name="main"/> |
33 <target name="main" depends="jar"/> | |
34 | |
35 <target name="compile"> | 32 <target name="compile"> |
36 <mkdir dir="${classes.dir}"/> | 33 <mkdir dir="${classes.dir}"/> |
37 <javac srcdir="${src.dir}" destdir="${classes.dir}" debug="on" includeantruntime="false"> | 34 <javac debug="on" destdir="${classes.dir}" includeantruntime="false"> |
38 <include name="com.oracle.graal.*/**"/> | 35 <src path="${src.dir}/com.oracle.graal.api.meta"/> |
39 <exclude name="com.oracle.graal.test/**"/> | 36 <src path="${src.dir}/com.oracle.graal.api.code"/> |
40 <exclude name="com.oracle.graal.*.test/**"/> | 37 <src path="${src.dir}/com.oracle.graal.graph"/> |
41 <exclude name="com.oracle.graal.jtt/**"/> | 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.hotspot.amd64"/> | |
60 <src path="${src.dir}/com.oracle.graal.sparc"/> | |
61 <src path="${src.dir}/com.oracle.graal.asm.sparc"/> | |
62 <src path="${src.dir}/com.oracle.graal.lir.sparc"/> | |
63 <src path="${src.dir}/com.oracle.graal.compiler.sparc"/> | |
64 <src path="${src.dir}/com.oracle.graal.hotspot.sparc"/> | |
42 <compilerarg value="-XDignore.symbol.file"/> | 65 <compilerarg value="-XDignore.symbol.file"/> |
43 </javac> | 66 </javac> |
44 </target> | 67 </target> |
45 | 68 <target depends="compile" name="jar"> |
46 <target name="jar" depends="compile"> | |
47 <mkdir dir="${jar.dir}"/> | 69 <mkdir dir="${jar.dir}"/> |
48 <jar destfile="${jar.file}" basedir="${classes.dir}"/> | 70 <jar basedir="${classes.dir}" destfile="${jar.file}"/> |
49 </target> | 71 </target> |
50 | |
51 <target name="clean"> | 72 <target name="clean"> |
52 <delete dir="${classes.dir}"/> | 73 <delete dir="${classes.dir}"/> |
53 <delete file="${jar.file}"/> | 74 <delete file="${jar.filr}"/> |
54 </target> | 75 </target> |
55 </project> | 76 </project> |