summaryrefslogtreecommitdiffstats
path: root/doc/manual/example1/gen.sh
diff options
context:
space:
mode:
authorKenneth Russel <[email protected]>2009-05-15 21:07:37 +0000
committerKenneth Russel <[email protected]>2009-05-15 21:07:37 +0000
commit9e979e542165358b5c3684078e193f9c706f1eab (patch)
treef025d9eedf6f7193fec9741533b0feb6b53e084f /doc/manual/example1/gen.sh
parent46b03a7c00a014e15417e504cf264ed5dca0a030 (diff)
Updated .cfg files to properly #include headers; updated build scripts
to correctly pick up OS git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/../svn-server-sync/gluegen/trunk@133 a78bb65f-1512-4460-ba86-f6dc96a7bf27
Diffstat (limited to 'doc/manual/example1/gen.sh')
-rw-r--r--doc/manual/example1/gen.sh7
1 files changed, 4 insertions, 3 deletions
diff --git a/doc/manual/example1/gen.sh b/doc/manual/example1/gen.sh
index 6fb971e..047b448 100644
--- a/doc/manual/example1/gen.sh
+++ b/doc/manual/example1/gen.sh
@@ -2,16 +2,17 @@
JAVA=java
GLUEGEN_JAR=../../../build/gluegen.jar
-ANTLR_JAR=../../../../../ANTLR/antlr-2.7.4/antlr.jar
+ANTLR_JAR=../../../../../ANTLR/antlr-2.7.5.jar
NAME=`uname`
-if [ $NAME="Windows*" ] ; then
+if [[ $NAME == "Windows*" ]] ; then
SEP=\;
-elif [ $NAME="CYGWIN*" ] ; then
+elif [[ $NAME == "CYGWIN*" ]] ; then
SEP=\;
else
SEP=:
fi
+echo java -cp $GLUEGEN_JAR$SEP$ANTLR_JAR com.sun.gluegen.GlueGen -I. -Ecom.sun.gluegen.JavaEmitter -Cfunction.cfg function.h
java -cp $GLUEGEN_JAR$SEP$ANTLR_JAR com.sun.gluegen.GlueGen -I. -Ecom.sun.gluegen.JavaEmitter -Cfunction.cfg function.h