Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'features/org.eclipse.equinox.executable.feature/library/gtk/build.xml')
-rw-r--r--features/org.eclipse.equinox.executable.feature/library/gtk/build.xml22
1 files changed, 10 insertions, 12 deletions
diff --git a/features/org.eclipse.equinox.executable.feature/library/gtk/build.xml b/features/org.eclipse.equinox.executable.feature/library/gtk/build.xml
index f485479d3..f57423062 100644
--- a/features/org.eclipse.equinox.executable.feature/library/gtk/build.xml
+++ b/features/org.eclipse.equinox.executable.feature/library/gtk/build.xml
@@ -1,23 +1,21 @@
<?xml version="1.0" encoding="UTF-8"?>
-
<project default="build_eclipse" basedir=".">
-<target name="build_eclipse">
- <exec dir="." executable="sh">
- <arg line="${basedir}/build.sh"/>
- <arg line="install"/>
- </exec>
-</target>
+<condition property="build-natives">
+ <matches pattern="^${ws}.${os}.${arch}$" string="${native}"/>
+</condition>
-<target name="build_eclipse_ppc">
+<target name="build_eclipse" if="build-natives">
<exec dir="." executable="sh">
- <env key="MODEL" value="ppc"/>
<arg line="${basedir}/build.sh"/>
<arg line="install"/>
+ <arg line="-ws ${ws}"/>
+ <arg line="-os ${os}"/>
+ <arg line="-arch ${arch}"/>
</exec>
</target>
-
-<target name="clean">
+
+<target name="clean" if="build-natives">
<tstamp/>
<exec dir="." executable="sh">
<arg line="${basedir}/build.sh"/>
@@ -25,4 +23,4 @@
</exec>
</target>
-</project> \ No newline at end of file
+</project>

Back to the top