root / JX / trunk / build
| Revision 13, 340 bytes (checked in by daboo, 2 years ago) | |
|---|---|
|
|
| Line | |
|---|---|
| 1 | #!/bin/bash |
| 2 | |
| 3 | J_BUILD_BOTH_LIB=1 |
| 4 | export J_BUILD_BOTH_LIB |
| 5 | |
| 6 | os=`/bin/uname -s` |
| 7 | |
| 8 | cpu=`/bin/uname -m` |
| 9 | |
| 10 | case $os in |
| 11 | Linux) |
| 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 | |
| 25 | SunOS) |
| 26 | echo "Building for Solaris" |
| 27 | make sunos5.8-g++ |
| 28 | ;; |
| 29 | esac |
Note: See TracBrowser
for help on using the browser.