source: core/c/mbuild.sh @ 45f30209

Last change on this file since 45f30209 was 45f30209, checked in by sponge <sponge@…>, 9 years ago

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

  • Property mode set to 100755
File size: 737 bytes
Line 
1#/bin/bash
2# Automatic build of so files, ignores failed builds.
3# Place latest gmp tarball in the jbigi dir, and exec this script.
4
5JBIGI=../../../installer/lib/jbigi/jbigi.jar
6
7if [ -f jbigi.jarx ] ; then
8JBIGI=../jbigi.jar
9fi
10
11(cd jcpuid ; sh build.sh )
12(cd jbigi ; sh mbuild-all.sh )
13
14rm -Rf t
15mkdir t
16
17(
18        cd t
19        cp ../../../installer/lib/jbigi/*.so ../../../installer/lib/jbigi/*.dll ../../../installer/lib/jbigi/*.jnilib .
20)
21
22cp jbigi/lib/net/i2p/util/* t/
23( 
24        cd t
25        for i in *.so ; { strip $i ; }
26)
27
28cp jcpuid/lib/freenet/support/CPUInformation/* t/
29
30(
31        cd t
32        jar cf ../jbigi.jar .
33)
34
35rm -R t
36mkdir t
37cp jbigi/lib/net/i2p/util/* t/
38( 
39        cd t
40        for i in *.so ; { strip $i ; }
41)
42
43
44echo "jbigi.jar Refreshed."
45echo "raw files ar in t."
Note: See TracBrowser for help on using the repository browser.