diff options
| author | Bob Jamison <ishmalius@gmail.com> | 2006-11-28 22:24:37 +0000 |
|---|---|---|
| committer | ishmal <ishmal@users.sourceforge.net> | 2006-11-28 22:24:37 +0000 |
| commit | 60d745617484edb70eb5669f7075c61145b56a02 (patch) | |
| tree | 1054284ca5abe240f53cca6305ab28fe8ef18946 | |
| parent | fix time (diff) | |
| download | inkscape-60d745617484edb70eb5669f7075c61145b56a02.tar.gz inkscape-60d745617484edb70eb5669f7075c61145b56a02.zip | |
make the architecture settable
(bzr r2050)
| -rw-r--r-- | build.xml | 15 |
1 files changed, 8 insertions, 7 deletions
@@ -6,7 +6,8 @@ </description> <!-- set global properties for this build --> - <property name="version" location="0.45"/> + <property name="version" value="0.45"/> + <property name="arch" value="i686-pc-mingw32"/> <property name="src" location="src"/> <property name="gtk" location="c:/gtk210"/> <property name="lib" location="lib"/> @@ -87,7 +88,7 @@ <target name="compile" depends="init" description="compile the source " > <!-- Compile from source to build --> - <cc cc="i686-pc-mingw32-gcc" cxx="i686-pc-mingw32-g++" + <cc cc="${arch}-gcc" cxx="${arch}-g++" destdir="${build}/obj"> <fileset dir="${src}"> <!-- THINGS TO EXCLUDE --> @@ -196,7 +197,7 @@ </target> <target name="lib" depends="compile"> - <staticlib command="i686-pc-mingw32-ar crsv" + <staticlib command="${arch}-ar crsv" file="${build}/libinkscape.a"> <fileset dir="${build}/obj"> <exclude name="main,o"/> @@ -213,17 +214,17 @@ </target> <target name="link" depends="lib"> - <rc command="i686-pc-mingw32-windres" + <rc command="${arch}-windres" file="${src}/inkscape.rc" out="${build}/inkres.o"> <flags> --include-dir=${src} </flags> </rc> - <link command="i686-pc-mingw32-g++" out="${build}/inkscape.exe" + <link command="${arch}-g++" out="${build}/inkscape.exe" strip="true" symfile="${build}/inkscape.dbg" - stripcommand="i686-pc-mingw32-strip" - objcopycommand="i686-pc-mingw32-objcopy" + stripcommand="${arch}-strip" + objcopycommand="${arch}-objcopy" > <flags> </flags> |
