Skip to content

Commit

Permalink
Split FreeBSD in the same manner as Linux: isFreeBSD, isFreeBSDX86, i…
Browse files Browse the repository at this point in the history
…sFreeBSDAMD64
  • Loading branch information
rothwell committed Jun 26, 2010
1 parent eb3c211 commit 943ea25
Showing 1 changed file with 26 additions and 2 deletions.
28 changes: 26 additions & 2 deletions make/gluegen-cpptasks-base.xml
Expand Up @@ -16,6 +16,8 @@
- configuration is exactly as specified.
-
- isFreeBSD
- isFreeBSDAMD64
- isFreeBSDX86
- isHPUX
- isIA64
- isLinux
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -157,6 +161,9 @@
</not>
</and>
</condition>
<condition property="isFreeBSD">
<os name="FreeBSD" />
</condition>
<condition property="isLinux">
<os name="Linux" />
</condition>
Expand All @@ -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" />
Expand Down Expand Up @@ -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}" />
Expand Down

0 comments on commit 943ea25

Please sign in to comment.