root / JX / trunk / build

Revision 13, 340 bytes (checked in by daboo, 2 years ago)

Some useful build scripts.

  • Property svn:executable set to *
Line 
1#!/bin/bash
2
3J_BUILD_BOTH_LIB=1
4export J_BUILD_BOTH_LIB
5
6os=`/bin/uname -s`
7
8cpu=`/bin/uname -m`
9
10case $os in
11Linux)
12        case $cpu in
13                ppc)
14                echo "Building for LinuxPPC"
15                make linuxppc2000
16                ;;
17
18                i686|i86pc)
19                echo "Building for Linux x86"
20                make linux_intel
21                ;;
22        esac
23        ;;
24
25SunOS)
26        echo "Building for Solaris"
27        make sunos5.8-g++
28        ;;
29esac
Note: See TracBrowser for help on using the browser.