Mercurial > hg > graal-compiler
comparison make/build-graal.xml @ 8212:ed3fa3ae7b61
applied patch to Makefile system for building graal.jar (CR-102)
author | Doug Simon <doug.simon@oracle.com> |
---|---|
date | Mon, 11 Mar 2013 18:57:12 +0100 |
parents | |
children | 60b6dd6a58b7 |
comparison
equal
deleted
inserted
replaced
8205:9efef773f521 | 8212:ed3fa3ae7b61 |
---|---|
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 | |
27 <project name="graal" basedir="." default="main"> | |
28 <property name="src.dir" value="${gamma.dir}/graal"/> | |
29 <property name="classes.dir" value="${shared.dir}/graal"/> | |
30 <property name="jar.dir" value="${shared.dir}"/> | |
31 <property name="jar.file" value="${jar.dir}/graal.jar"/> | |
32 | |
33 <target name="main" depends="jar"/> | |
34 | |
35 <target name="compile"> | |
36 <mkdir dir="${classes.dir}"/> | |
37 <javac srcdir="${src.dir}" destdir="${classes.dir}" debug="on"> | |
38 <include name="com.oracle.graal.*/**"/> | |
39 <exclude name="com.oracle.graal.test/**"/> | |
40 <exclude name="com.oracle.graal.*.test/**"/> | |
41 <exclude name="com.oracle.graal.jtt/**"/> | |
42 <compilerarg value="-XDignore.symbol.file"/> | |
43 </javac> | |
44 </target> | |
45 | |
46 <target name="jar" depends="compile"> | |
47 <mkdir dir="${jar.dir}"/> | |
48 <jar destfile="${jar.file}" basedir="${classes.dir}"/> | |
49 </target> | |
50 | |
51 <target name="clean"> | |
52 <delete dir="${classes.dir}"/> | |
53 <delete file="${jar.file}"/> | |
54 </target> | |
55 </project> |