Mercurial > audio-send
comparison java/build.xml @ 26:56f83c170251
adding hard-to-compile artifacts for other systems
author | Robert McIntyre <rlm@mit.edu> |
---|---|
date | Sat, 19 Nov 2011 19:17:37 -0700 |
parents | d51f1a2b4c30 |
children | f79bef1687c5 |
comparison
equal
deleted
inserted
replaced
25:f4c7260d397a | 26:56f83c170251 |
---|---|
1 <project name="audio-send" default="dist" basedir="."> | 1 <project name="audio-send" default="linux64dist" basedir="."> |
2 | 2 |
3 | 3 |
4 <property name="build" value="build"/> | 4 <property name="build" value="build"/> |
5 <property name="src" value="src"/> | 5 <property name="src" value="src"/> |
6 <property name="dist" value="dist"/> | 6 <property name="dist" value="dist"/> |
7 <property name="headers" value="headers"/> | 7 <property name="headers" value="headers"/> |
8 <property name="native" value="output/native/linux/audioSend"/> | 8 <property name="native" value="output/native/linux/audioSend"/> |
9 <property name="nativeBase" value="output"/> | 9 <property name="nativeBase" value="output"/> |
10 | 10 <property name="artifacts" value="../artifacts"/> |
11 | 11 |
12 <target name="prepare"> | 12 <target name="prepare"> |
13 <mkdir dir="${build}"/> | 13 <mkdir dir="${build}"/> |
14 <mkdir dir="${headers}"/> | 14 <mkdir dir="${headers}"/> |
15 </target> | 15 </target> |
24 destdir="${headers}" | 24 destdir="${headers}" |
25 classpath="${build}" | 25 classpath="${build}" |
26 /> | 26 /> |
27 </target> | 27 </target> |
28 | 28 |
29 | 29 <target name="linux64dist" depends="compile, native" > |
30 <target name="dist" depends="compile, native" > | |
31 <mkdir dir="${dist}"/> | 30 <mkdir dir="${dist}"/> |
32 <jar jarfile="${dist}/audio-send.jar" basedir="${build}"/> | 31 <jar jarfile="${dist}/audio-send.jar" basedir="${build}"/> |
33 <mkdir dir="${native}"/> | 32 <mkdir dir="${native}"/> |
34 <copy file="../build/libopenal.so.1.13.0" | 33 <copy file="../build/libopenal.so.1.13.0" |
35 tofile="${native}/libopenal64.so"/> | 34 tofile="${native}/libopenal64.so"/> |
36 <jar jarfile="${dist}/audio-send-natives.jar" | 35 <jar jarfile="${dist}/audio-send-natives.jar" |
37 basedir="${nativeBase}"/> | 36 basedir="${nativeBase}"/> |
38 <delete dir="${nativeBase}"/> | 37 <delete dir="${nativeBase}"/> |
38 </target> | |
39 | |
40 <target name="artifactDist" depends="compile, native"> | |
41 <jar jarfile="${dist}/audio-send-natives.jar" | |
42 basedir="${artifacts}"/> | |
39 </target> | 43 </target> |
40 | 44 |
41 <target name="clean" > | 45 <target name="clean" > |
42 <delete dir="${build}"/> | 46 <delete dir="${build}"/> |
43 <delete dir="${dist}"/> | 47 <delete dir="${dist}"/> |