forked from liteglue/Android-sqlite-native-driver
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
22 lines (17 loc) · 607 Bytes
/
Makefile
File metadata and controls
22 lines (17 loc) · 607 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
all: ndkbuild
init:
git submodule update --init
regen:
java -cp gluegentools/antlr.jar:gluegentools/gluegen.jar com.jogamp.gluegen.GlueGen -I. -Ecom.jogamp.gluegen.JavaEmitter -CSQLiteNative.cfg native/sqlc.h
sed -i.orig 's/^import/\/\/import/' java/io/liteglue/SQLiteNative.java
# NOTE: adding v (verbose) flag for the beginning stage:
ndkbuild:
rm -rf lib libs
# 29/08/2024 Android 15 : Add Page Size 16Kb support
# ndk-build
ndk-build.cmd
zip sqlite-native-driver-libs.zip libs/*/*
mv libs lib
jar cf sqlite-native-driver.jar lib
clean:
rm -rf obj lib libs sqlite-native-driver.jar *.zip