diff options
author | Mark Rothwell <[email protected]> | 2010-06-26 04:51:48 +0000 |
---|---|---|
committer | Mark Rothwell <[email protected]> | 2010-06-26 04:51:48 +0000 |
commit | 943ea259144a7f2af3678208a7275833f8a8879c (patch) | |
tree | 20ba3e948edcffdede663970e915bddf6b8e1afe /make/gluegen-cpptasks-base.xml | |
parent | eb3c211bec5867f37a38334355261a6483ec4249 (diff) |
Split FreeBSD in the same manner as Linux: isFreeBSD, isFreeBSDX86, isFreeBSDAMD64
Diffstat (limited to 'make/gluegen-cpptasks-base.xml')
-rwxr-xr-x | make/gluegen-cpptasks-base.xml | 28 |
1 files changed, 26 insertions, 2 deletions
diff --git a/make/gluegen-cpptasks-base.xml b/make/gluegen-cpptasks-base.xml index dd366fe..0c3ab68 100755 --- a/make/gluegen-cpptasks-base.xml +++ b/make/gluegen-cpptasks-base.xml @@ -16,6 +16,8 @@ - configuration is exactly as specified. - - isFreeBSD + - isFreeBSDAMD64 + - isFreeBSDX86 - isHPUX - isIA64 - isLinux @@ -102,6 +104,8 @@ - compiler.cfg.hpux - linker.cfg.linux - linker.cfg.linux.amd64 + - linker.cfg.freebsd.x86 + - linker.cfg.freebsd.amd64 - linker.cfg.solaris - linker.cfg.solaris.sparcv9 - linker.cfg.solaris.amd64 @@ -157,6 +161,9 @@ </not> </and> </condition> + <condition property="isFreeBSD"> + <os name="FreeBSD" /> + </condition> <condition property="isLinux"> <os name="Linux" /> </condition> @@ -181,8 +188,23 @@ <os arch="amd64" /> </and> </condition> - <condition property="isFreeBSD"> - <os name="FreeBSD" /> + <condition property="isFreeBSDX86"> + <and> + <istrue value="${isFreeBSD}" /> + <or> + <os arch="i386" /> + <os arch="x86" /> + </or> + </and> + </condition> + <condition property="isFreeBSDAMD64"> + <and> + <istrue value="${isFreeBSD}" /> + <or> + <os arch="AMD64" /> + <os arch="x86_64" /> + </or> + </and> </condition> <condition property="isHPUX"> <os name="HP-UX" /> @@ -275,6 +297,8 @@ </condition> <echo message="FreeBSD=${isFreeBSD}" /> + <echo message="FreeBSDX86=${isFreeBSDX86}" /> + <echo message="FreeBSDAMD64=${isFreeBSDAMD64}" /> <echo message="HPUX=${isHPUX}" /> <echo message="IA64=${isIA64}" /> <echo message="Linux=${isLinux}" /> |