aboutsummaryrefslogtreecommitdiffstats
path: root/src/Makefile
diff options
context:
space:
mode:
authorTimo Teräs <timo.teras@iki.fi>2019-12-13 15:22:33 +0200
committerTimo Teräs <timo.teras@iki.fi>2020-04-01 15:58:49 +0300
commite79226010a0641f701b6e12392e176cc2cf58d72 (patch)
treedec5311a1fc0cfb837b4af4038cab7bdedc2bb4c /src/Makefile
parentd6c54f932054c58aee8f7a6d2bd49b115d804da1 (diff)
downloadaports-v3.0-wip.tar.bz2
aports-v3.0-wip.tar.xz
adb: introduce apk-tools database format, and few appletsv3.0-wip
This is a flat buffers inspired format that allows fast mmaped access to the data with low overhead, signature support and relatively good forward support.
Diffstat (limited to 'src/Makefile')
-rw-r--r--src/Makefile7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/Makefile b/src/Makefile
index 6bf2ed023a..c652949a44 100644
--- a/src/Makefile
+++ b/src/Makefile
@@ -9,6 +9,7 @@ ZLIB_LIBS := $(shell $(PKG_CONFIG) --libs zlib)
# Dynamic library
libapk.so.$(VERSION)-objs := \
+ adb.o adb_trust.o \
common.o database.o package.o commit.o solver.o \
version.o blob.o hash.o print.o \
io.o io_url.o io_gunzip.o io_archive.o
@@ -60,6 +61,12 @@ apk-objs := apk.o \
app_index.o app_fetch.o app_verify.o app_dot.o \
app_audit.o
+ifeq ($(ADB),y)
+libapk.so.$(VERSION)-objs += apk_adb.o apk_adbschema.o
+apk-objs += app_adbdump.o app_adbsign.o app_mkndx.o \
+ app_convdb.o app_convndx.o
+endif
+
LIBS_apk := -lapk
LIBS_apk-test := -lapk
LIBS_apk.so := -L$(obj) -lapk