You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
22 lines
761 B
22 lines
761 B
#!/bin/sh
|
|
echo '#!/bin/sh' > co.all
|
|
echo co -u jcpp make* COPYING *.html *.java */*.java */*.j >> co.all
|
|
chmod a+x co.all
|
|
|
|
echo '#!/bin/sh' > compile
|
|
echo 'COMPILER=${1:-javac}' >> compile
|
|
echo 'if [ -z "$1" ]; then FLAGS="-g"; else shift; FLAGS="$*"; fi' >>compile
|
|
echo 'rm -f *.class */*.class' >> compile
|
|
echo 'jasmin -d .. jvm/Interpreter.j' >> compile
|
|
echo \$COMPILER \$FLAGS -d .. Decompiler.java Obfuscator.java JodeApplet.java swingui/MainWindow.java >> compile
|
|
chmod a+x compile
|
|
./compile jikes -g
|
|
|
|
cd ..
|
|
DATE=`date +"%Y%m%d"`
|
|
tar -cvzf jode/jode-RCS-$DATE.tar.gz \
|
|
jode/co.all jode/compile jode/RCS jode/*/RCS
|
|
|
|
zip jode/jode-$DATE.zip \
|
|
jode/COPYING jode/*.html jode/jcpp \
|
|
jode/*.java jode/*/*.java jode/*/*.j jode/*.class jode/*/*.class
|
|
|