File tree Expand file tree Collapse file tree 1 file changed +14
-1
lines changed Expand file tree Collapse file tree 1 file changed +14
-1
lines changed Original file line number Diff line number Diff line change 1
1
2
2
.DEFAULT_GOAL := all
3
+ LIBRARY_ROOT := libs
3
4
4
5
init :
5
6
git submodule update --init
6
7
android update project -p .
7
8
8
- all : build-external build-jni build-java
9
+ all : clean build-external build-jni build-java copy-libs
9
10
10
11
build-external :
11
12
cd external/ && \
@@ -20,3 +21,15 @@ build-java:
20
21
ant compile && \
21
22
cd bin/classes && \
22
23
jar -cvf sqlcipher.jar .
24
+
25
+ clean :
26
+ rm ${LIBRARY_ROOT} /armeabi/libsqlcipher_android.so && \
27
+ rm ${LIBRARY_ROOT} /armeabi/libdatabase_sqlcipher.so && \
28
+ rm ${LIBRARY_ROOT} /sqlcipher.jar
29
+
30
+ copy-libs :
31
+ cp external/libs/armeabi/libsqlcipher_android.so \
32
+ ${LIBRARY_ROOT} /armeabi && \
33
+ cp jni/libs/armeabi/libdatabase_sqlcipher.so \
34
+ ${LIBRARY_ROOT}/armeabi && \
35
+ cp bin/classes/sqlcipher.jar ${LIBRARY_ROOT}
You can’t perform that action at this time.
0 commit comments