From f0e80dd5bbcbb1b35e0e01db316a3ad8fe91d06b Mon Sep 17 00:00:00 2001 From: Satinder Grewal Date: Sat, 7 May 2016 12:56:53 +1200 Subject: [PATCH] updated m_android scripts updated to match latest updates --- crypto777/m_android | 4 ++-- crypto777/m_onetime_android | 7 +++++++ iguana/m_android | 9 ++++++++- iguana/secp256k1/m_android | 1 + 4 files changed, 18 insertions(+), 3 deletions(-) create mode 100755 crypto777/m_onetime_android create mode 100755 iguana/secp256k1/m_android diff --git a/crypto777/m_android b/crypto777/m_android index 159c9fc6c..b84f37742 100755 --- a/crypto777/m_android +++ b/crypto777/m_android @@ -1,2 +1,2 @@ -$CC -c -O2 *.c jpeg/*.c jpeg/unix/*.c -rm -f ../agents/libcrypto777.a; $AR rcu ../agents/libcrypto777.a *.o +git pull +cd iguana; ./m_android; cd .. diff --git a/crypto777/m_onetime_android b/crypto777/m_onetime_android new file mode 100755 index 000000000..4f71fc841 --- /dev/null +++ b/crypto777/m_onetime_android @@ -0,0 +1,7 @@ +git pull +cd crypto777 +./$1 +cd .. +cd iguana +./m_android +../agents/iguana \ No newline at end of file diff --git a/iguana/m_android b/iguana/m_android index 8ca24721a..e723b2921 100755 --- a/iguana/m_android +++ b/iguana/m_android @@ -1 +1,8 @@ -$CC2 -o ../agents/iguana -O2 *.c ../agents/libcrypto777.a ../android/lib/libcurl.a -lssl -lcrypto -lm -lc -lz +rm ../agents/iguana *.o +git pull +cd secp256k1; ./m_unix; cd .. +$CC2 -g -Wno-deprecated -c -O2 *.c databases/iguana_DB.c +$CC2 -g -Wno-deprecated -c main.c iguana777.c iguana_bundles.c +#$CC2 -g -o ../agents/iguana *.o ../agents/libcrypto777.a -lcurl -lssl -lcrypto -lpthread -lm #../includes/libsecp256k1.a -lgmp +$CC2 -g -o ../agents/iguana *.o ../agents/libcrypto777.a -lpthread -lm + diff --git a/iguana/secp256k1/m_android b/iguana/secp256k1/m_android new file mode 100755 index 000000000..2409bd7f4 --- /dev/null +++ b/iguana/secp256k1/m_android @@ -0,0 +1 @@ +$CC2 -c -o ../secp256k1.o -I. -I./src -I./include -I./src -O3 -W -std=c89 -pedantic -Wall -Wextra -Wcast-align -Wnested-externs -Wshadow -Wstrict-prototypes -Wno-unused-function -Wno-long-long -Wno-overlength-strings -fvisibility=hidden -DHAVE_CONFIG_H src/secp256k1.c