Initial commit of newLISP.
[newlisp.git] / build
blobddadb56bbd50f27171a43a0323a4016c1efd0000
1 #!/bin/sh
2 # this script tries to discover the OS platform and configuration
3 # and then makes newLISP using the appropiate makefile
4 # if this script fails and for other special flavors, like
5 # making shared libraries etc., type:
7 # make help
8 # to see all options
11 echo
12 case `uname` in
13 Darwin)
14 echo Discovered Darwin Mac OSX with readline suport:
15 if [ -e /usr/lib/libreadline.dylib ]; then
16 make darwin_utf8 # make with readline support
17 else
18 make osx # make without readline support
20 exit
22 Linux)
23 echo Discovered Linux:
24 make linux
25 exit
27 FreeBSD)
28 echo Discovered FreeBSD:
29 make bsd
30 exit
32 NetBSD)
33 echo Discovered NetBSD:
34 make netbsd
35 exit
37 OpenBSD)
38 echo Discoverd OpenBSD:
39 make bsd
40 exit
42 SunOS)
43 echo Discovered SunOS:
44 make solaris
45 exit
47 OSF1)
48 echo Discovered Tru64 Unix, please read doc/TRU64BUILD
49 make -f makefile_tru64
50 exit
52 MINGW32_NT-5.1)
53 echo Discoverd MINGW32 on NT-5.1
54 make mingw # this is with MinGW on MSYS
55 exit
57 OS/2)
58 echo Discoverd OS/2
59 make os2
60 exit
62 esac
64 echo Could not discover your OS platform use one of the following commands:
66 make help