Skip to content
This repository has been archived by the owner on Sep 3, 2024. It is now read-only.

Commit

Permalink
recover change of Android.mk for creating the base64 files
Browse files Browse the repository at this point in the history
  • Loading branch information
yvesf committed Sep 2, 2014
1 parent 5a77607 commit 612c5fd
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions jni/Android.mk
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 612c5fd

Please sign in to comment.