forked from mxmlnkn/rootbeer1
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.xml
42 lines (42 loc) · 2.69 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
<project default="jar">
<target name="clean">
<delete dir="build"/>
</target>
<target name="compile">
<mkdir dir="build/classes"/>
<javac srcdir="src" destdir="build/classes"
classpath="lib/disruptor-3.3.0.jar:lib/antlr-3.1.3.jar:lib/AXMLPrinter2.jar:lib/baksmali-1.3.2.jar:lib/commons-codec-1.6.jar:lib/commons-io-2.4.jar:lib/jasminclasses-2.5.0.jar:lib/pack.jar:lib/polyglotclasses-1.3.5.jar:lib/sootclasses-rbclassload.jar"
debug="true"
debugLevel="lines,vars,source"
includeantruntime="false"
>
<compilerarg value="-Xlint:unchecked"/>
</javac>
<copy file="src/org/trifort/rootbeer/generate/opencl/BarrierNativeBoth.c" todir="build/classes/org/trifort/rootbeer/generate/opencl/" />
<copy file="src/org/trifort/rootbeer/generate/opencl/BothNativeHeader.c" todir="build/classes/org/trifort/rootbeer/generate/opencl/" />
<copy file="src/org/trifort/rootbeer/generate/opencl/BothNativeKernel.c" todir="build/classes/org/trifort/rootbeer/generate/opencl/" />
<copy file="src/org/trifort/rootbeer/generate/opencl/CudaHeader.c" todir="build/classes/org/trifort/rootbeer/generate/opencl/" />
<copy file="src/org/trifort/rootbeer/generate/opencl/CudaKernel.c" todir="build/classes/org/trifort/rootbeer/generate/opencl/" />
<copy file="src/org/trifort/rootbeer/generate/opencl/GarbageCollector.c" todir="build/classes/org/trifort/rootbeer/generate/opencl/" />
<copy file="src/org/trifort/rootbeer/generate/opencl/UnixNativeHeader.c" todir="build/classes/org/trifort/rootbeer/generate/opencl/" />
<copy file="src/org/trifort/rootbeer/generate/opencl/UnixNativeKernel.c" todir="build/classes/org/trifort/rootbeer/generate/opencl/" />
<copy file="src/org/trifort/rootbeer/generate/opencl/WindowsNativeHeader.c" todir="build/classes/org/trifort/rootbeer/generate/opencl/" />
<copy file="src/org/trifort/rootbeer/generate/opencl/WindowsNativeKernel.c" todir="build/classes/org/trifort/rootbeer/generate/opencl/" />
<copy file="src/org/trifort/rootbeer/runtime/nemu/NativeCpuDevice.h" todir="build/classes/org/trifort/rootbeer/runtime/nemu/" />
<copy file="src/org/trifort/rootbeer/runtime/nemu/NativeCpuDevice.c" todir="build/classes/org/trifort/rootbeer/runtime/nemu/" />
<copy todir="build/classes/org/trifort/rootbeer/runtime/binaries/">
<fileset dir="csrc">
<include name="*.so.1"/>
<include name="*.dll"/>
<include name="*.dylib"/>
</fileset>
</copy>
</target>
<target name="jar" depends="compile">
<jar destfile="dist/Rootbeer1.jar" basedir="build/classes">
<manifest>
<attribute name="Main-Class" value="org.trifort.rootbeer.entry.Main"/>
</manifest>
</jar>
</target>
</project>