mbuild.sh document and fixes, mbuild-all.sh add cpu types

This commit is contained in:
sponge
2011-05-21 18:26:10 +00:00
parent d8a3cb0d58
commit 45f3020924
3 changed files with 28 additions and 7 deletions

View File

@@ -1,4 +1,6 @@
#/bin/bash
# Automatic build of so files, ignores failed builds.
# Place latest gmp tarball in the jbigi dir, and exec this script.
JBIGI=../../../installer/lib/jbigi/jbigi.jar
@@ -6,17 +8,23 @@ if [ -f jbigi.jarx ] ; then
JBIGI=../jbigi.jar
fi
(cd jcpuid ; sh build.sh ; cd ..)
(cd jbigi ; sh mbuild-all.sh ; cd ..)
(cd jcpuid ; sh build.sh )
(cd jbigi ; sh mbuild-all.sh )
rm -Rf t
mkdir t
(
cd t
jar xf ../../../installer/lib/jbigi/jbigi.jar
cp ../../../installer/lib/jbigi/*.so ../../../installer/lib/jbigi/*.dll ../../../installer/lib/jbigi/*.jnilib .
)
cp jbigi/lib/net/i2p/util/* t/
(
cd t
for i in *.so ; { strip $i ; }
)
cp jcpuid/lib/freenet/support/CPUInformation/* t/
(
@@ -25,4 +33,13 @@ cp jcpuid/lib/freenet/support/CPUInformation/* t/
)
rm -R t
mkdir t
cp jbigi/lib/net/i2p/util/* t/
(
cd t
for i in *.so ; { strip $i ; }
)
echo "jbigi.jar Refreshed."
echo "raw files ar in t."