forked from TASEmulators/freej2me-plus
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.xml
90 lines (77 loc) · 2.28 KB
/
build.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
<project name="FreeJ2ME">
<!--
****************************************************
* AWT, Libretro, SDL
****************************************************
-->
<property name="lib.dir" value="lib"/>
<path id="classpath">
<fileset dir="${lib.dir}" includes="**/*.jar"/>
</path>
<mkdir dir="build/classes"/>
<echo message="Building Objectweb asm libraries" />
<javac
srcdir="src/org/objectweb/"
destdir="build/classes"
includeantruntime="false"
debug="true"
debuglevel="lines,vars,source"
>
<compilerarg value="-nowarn"/>
</javac>
<echo message="Building FreeJ2ME - AWT | Libretro | SDL" />
<javac
srcdir="src"
destdir="build/classes"
classpathref="classpath"
includeantruntime="false"
debug="true"
debuglevel="lines,vars,source"
>
<exclude name="src/org/objectweb/**"/>
<compilerarg value="-Xlint:unchecked"/>
<compilerarg value="-Xlint:deprecation"/>
</javac>
<!--
****************************************************
* Jar Files
****************************************************
-->
<echo message="Building JAR - AWT" />
<jar
destfile="build/freej2me.jar"
basedir="build/classes">
<fileset dir="resources" />
<metainf dir="META-INF" />
<manifest>
<!-- AWT Version -->
<attribute name="Main-Class" value="org.recompile.freej2me.FreeJ2ME"/>
<attribute name="Implementation-Title" value="FreeJ2ME"/>
</manifest>
</jar>
<echo message="Building JAR - Libretro" />
<jar
destfile="build/freej2me-lr.jar"
basedir="build/classes">
<fileset dir="resources" />
<metainf dir="META-INF" />
<manifest>
<!-- Libretro Version -->
<attribute name="Main-Class" value="org.recompile.freej2me.Libretro"/>
<attribute name="Implementation-Title" value="FreeJ2ME"/>
</manifest>
</jar>
<echo message="Building JAR - SDL" />
<jar
destfile="build/freej2me-sdl.jar"
basedir="build/classes">
<fileset dir="resources" />
<zipgroupfileset dir="lib" excludes="META-INF/**" includes="*.jar"/>
<metainf dir="META-INF" />
<manifest>
<!-- SDL Version -->
<attribute name="Main-Class" value="org.recompile.freej2me.Anbu"/>
<attribute name="Implementation-Title" value="FreeJ2ME"/>
</manifest>
</jar>
</project>