summaryrefslogtreecommitdiff
path: root/jni/Android.mk
diff options
context:
space:
mode:
authorYves Fischer <yvesf-git@xapek.org>2014-09-02 23:20:57 +0200
committerYves Fischer <yvesf-git@xapek.org>2014-09-02 23:20:57 +0200
commit612c5fdabe925c35403653b170287ffb5bcb854b (patch)
treea236757c4302299509ec5cb7d63a7ae834343dc2 /jni/Android.mk
parent5a776075bbb8476fc67accffcaa78cc902b80adb (diff)
downloadandiodine-612c5fdabe925c35403653b170287ffb5bcb854b.tar.gz
andiodine-612c5fdabe925c35403653b170287ffb5bcb854b.zip
recover change of Android.mk for creating the base64 filesv1.2
Diffstat (limited to 'jni/Android.mk')
-rw-r--r--jni/Android.mk10
1 files changed, 10 insertions, 0 deletions
diff --git a/jni/Android.mk b/jni/Android.mk
index 6b25558..06cf936 100644
--- a/jni/Android.mk
+++ b/jni/Android.mk
@@ -16,6 +16,16 @@ LOCAL_PATH := $(call my-dir)
include $(CLEAR_VARS)
+$(LOCAL_PATH)/iodine/src/base64u.c: $(LOCAL_PATH)/iodine/src/base64.c $(LOCAL_PATH)/iodine/src/base64u.h
+ @echo Making $@
+ @echo '/* No use in editing, produced by Makefile! */' > $@
+ @sed -e 's/\([Bb][Aa][Ss][Ee]64\)/\1u/g ; s/0123456789+/0123456789_/' < $< >> $@
+
+$(LOCAL_PATH)/iodine/src/base64u.h: $(LOCAL_PATH)/iodine/src/base64.h
+ @echo Making $@
+ @echo '/* No use in editing, produced by Makefile! */' > $@
+ @sed -e 's/\([Bb][Aa][Ss][Ee]64\)/\1u/g ; s/0123456789+/0123456789_/' < $< >> $@
+
LOCAL_MODULE := iodine-client
LOCAL_LDLIBS := -lz -llog
LOCAL_CFLAGS := -Wall