diff options
-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 193c353..7f95d4c 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"> |