#!/bin/sh

#Let's compile for PPC on lisbon in background
# Commented because of the R_PPC_REL24 linking error for large executable.
#(sh ./make_for_platform lisbon.ise manus linux-ppc) &

#Let's compile for Solaris Sparc 64-bit on mosis in background
(sh ./make_for_platform mosis.ise manus solaris-sparc-64) &

#Let's compile for Solaris Sparc 32-bit on sparc9 in background
(sh ./make_for_platform sparc9.ise manus solaris-sparc) &

#Let's compile for Solaris x86 in background
(sh ./make_for_platform amsterdam.ise manus solaris-x86 ; sh ./make_for_platform amsterdam.ise manus solaris-x86-64) &

#Let's compile for Red Hat Fedora and FreeBSD (done together because they are on the same machine and we don't want to overload the machine
(sh ./make_for_platform mojo.ise manus linux-x86 ; sh ./make_for_platform freebsd.ise manus freebsd-x86) &

#Let's compile for SGI in background
(
rsh iris.ise "\rm -f ~/local/freeware" ;
rsh iris.ise "\ln -s ~/local/freeware32 ~/local/freeware" ;
sh ./make_for_platform iris.ise manus irix-mips ;

rsh iris.ise "\rm -f ~/local/freeware" ;
rsh iris.ise "\ln -s ~/local/freeware64 ~/local/freeware" ;
sh ./make_for_platform iris.ise manus irix-mips-64
) &

#Let's compile for Linux 64 bits in background
(sh ./make_for_platform tokyo.ise manus linux-x86-64) &

#Let's compile for OpenBSD in background
(sh ./make_for_platform sushi.inf.ethz.ch manus openbsd-x86) &

#Let's compile for Linux Sparc in background
(sh ./make_for_platform calypso.frankengul.org manu linux-sparc) &
