diff options
author | Michael Bien <[email protected]> | 2010-07-18 02:02:05 +0200 |
---|---|---|
committer | Michael Bien <[email protected]> | 2010-07-18 02:02:05 +0200 |
commit | 1588ce5f3f6e899ad6528379e4947ecab588d49e (patch) | |
tree | 1dd80ca9c8544cafdd30c330f61f439879fa6875 /make/build.xml | |
parent | aab11cbb94f356dcc0b370089c5b8bb3eb6ea0e6 (diff) | |
parent | ffde1f44409bc7d49ceb18554c660bf9091cac42 (diff) |
Merge branch 'freebsd-fixes' of http://github.com/rothwell/gluegen
Diffstat (limited to 'make/build.xml')
-rwxr-xr-x | make/build.xml | 19 |
1 files changed, 15 insertions, 4 deletions
diff --git a/make/build.xml b/make/build.xml index b881597..9552813 100755 --- a/make/build.xml +++ b/make/build.xml @@ -285,12 +285,23 @@ <property name="java.includes.dir.platform" value="/System/Library/Frameworks/JavaVM.framework/Versions/CurrentJDK/Headers" /> </target> - <target name="declare.freebsd" if="isFreeBSD"> - <echo message="FreeBSD" /> + <target name="declare.freebsd.amd64" if="isFreeBSDAMD64"> + <echo message="FreeBSDAMD64" /> <property name="compiler.cfg.id" value="compiler.cfg.freebsd" /> - <property name="linker.cfg.id" value="linker.cfg.linux" /> + <property name="linker.cfg.id" value="linker.cfg.freebsd.amd64" /> <property name="c.src.dir.os" value="unix" /> - <property name="java.includes.dir.freebsd" value="${java.includes.dir}/freebsd" /> + </target> + + <target name="declare.freebsd.x86" if="isFreeBSDX86"> + <echo message="FreeBSDX86" /> + <property name="compiler.cfg.id" value="compiler.cfg.freebsd" /> + <property name="linker.cfg.id" value="linker.cfg.freebsd.x86" /> + <property name="c.src.dir.os" value="unix" /> + </target> + + <target name="declare.freebsd" depends="declare.freebsd.x86,declare.freebsd.amd64" if="isFreeBSD" > + <property name="c.src.dir.os" value="unix" /> + <property name="java.includes.dir.platform" value="${java.includes.dir}/freebsd" /> </target> <target name="declare.hpux" if="isHPUX"> |