3
if [ "`uname -o`" = "Cygwin" ]; then
4
export DIFF='diff --ignore-space --strip-trailing-cr'
5
elif [ "`uname`" = "Darwin" ]; then
8
export DIFF='diff --ignore-space --strip-trailing-cr'
12
if [ "`uname -o`" = "Cygwin" ]; then
13
cl /W3 /I../.. /EHsc /FD /MD "$1" /link /DLL "/OUT:$2.dll" \
14
../../libase.lib 2> cl.log
16
$CXX -I../.. -O3 -g -Wall -fPIC -shared "$1" -o "$2.so"
21
if [ "`uname -o`" = "Cygwin" ]; then
22
jdk="`echo /cygdrive/c/Program\ Files/Java/jdk* | head -1`"
26
"$jdk/bin/javac" -g "$1"/*.java
27
"$jdk/bin/jar" -cf "$1.jar" "$1"/*.class