external: new subdirectory for all external libraries and submodules.

You will want to 'make distclean' after this.

I also removed libsecp; we use the one in in libwally anyway.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
Rusty Russell
2017-08-29 01:41:01 +09:30
committed by Christian Decker
parent c6976cd947
commit f42f34b82d
363 changed files with 108 additions and 20853 deletions

16
external/libwally-core/tools/swigjavapost.sh vendored Executable file
View File

@@ -0,0 +1,16 @@
#!/bin/sh
sed_exe=$1
result="swig_java/src/com/blockstream/libwally/Wally.java"
mkdir -p `dirname $result`
# Merge the constants and JNI interface into Wally.java
grep -v '^}$' swig_java/wallycoreJNI.java | $sed_exe 's/wallycoreJNI/Wally/g' >$result
grep 'public final static' swig_java/wallycoreConstants.java >>$result
# Append our extra functionality
cat swig_java/jni_extra.java_in >>$result
# Clean up
rm -f swig_java/*.java