blob: ae844c3cf4f380889aa5759fb2f2996f81d00f6c [file] [log] [blame]
<?xml version="1.0" encoding="UTF-8"?>
<project default="build_gtk_linux_lib" basedir="../../..">
<target name="init">
<tstamp/>
<property name="fragment_dir" value="${basedir}/../org.eclipse.swt.gtk" />
<property name="jar_destdir" value="${fragment_dir}/ws/linux" />
<property name="lib_destdir" value="${fragment_dir}/os/linux/x86" />
<mkdir dir="${jar_destdir}" />
<mkdir dir="${lib_destdir}" />
</target>
<!-- Build swt.so for GTK -->
<!-- Output .so for this platform into the org.eclipse.swt.gtk/os directory -->
<target name="build_gtk_linux_lib" depends="init">
<exec dir="./bin/library" executable="sh">
<arg line="${basedir}/bin/library/build.sh"/>
</exec>
<copy todir="${lib_destdir}">
<fileset dir="${basedir}/bin/library/" includes="*.so"/>
</copy>
</target>
<target name="clean" depends="init">
<tstamp/>
<exec dir="./bin/library" executable="sh">
<arg line="${basedir}/bin/library/build.sh"/>
<arg line="clean"/>
</exec>
</target>
</project>