- src/db_sync: LMDB replaced with SQLite (separate tables per instance: db_sync_name_id) TTL index (author, timestamp), WAL mode, per-instance peers/timers opaque DB_SYNC_INSTANCE* handle, insert callback, select API new fields: author_signature, delivered_peers, delivery_chain transport: etcp_api direct P2P (was etcp_router) - src/db_sync.h: user-oriented API docs, multi-instance lifecycle - lib/Makefile.am: liblmdb sources removed - lib/sqlite3.c+h: SQLite amalgamation added - topo_node: LMDB→SQLite (src/topo_node_sqlite.c moved from chatgui) - chatgui: real db_sync.c replaces db_sync_stub.c chat_core: db_sync_insert_signed + dual-write insert callback utun_node: db_sync_init/destroy replaces chat_sync_init/destroy CMakeLists: stubs removed, real db_sync.c added
46 lines
703 B
Makefile
46 lines
703 B
Makefile
noinst_LIBRARIES = libuasync.a
|
|
|
|
libuasync_a_SOURCES = \
|
|
u_async.c \
|
|
u_async.h \
|
|
ll_queue.h \
|
|
ll_queue.c \
|
|
debug_config.c \
|
|
debug_config.h \
|
|
timeout_heap.c \
|
|
timeout_heap.h \
|
|
memory_pool.c \
|
|
memory_pool.h \
|
|
sha256.c \
|
|
sha256.h \
|
|
socket_compat.c \
|
|
socket_compat.h \
|
|
platform_compat.c \
|
|
platform_compat.h \
|
|
getmyip.c \
|
|
getmyip.h \
|
|
swm_min.c \
|
|
swm_min.h \
|
|
mem.c \
|
|
mem.h \
|
|
radix.c \
|
|
radix.h \
|
|
serialize.c \
|
|
serialize.h \
|
|
tcp_io.c \
|
|
tcp_io.h \
|
|
sqlite3.c \
|
|
sqlite3.h
|
|
|
|
libuasync_a_CFLAGS = \
|
|
-D_ISOC99_SOURCE \
|
|
-DDEBUG_OUTPUT_STDERR \
|
|
-DSQLITE_THREADSAFE=1 \
|
|
-g \
|
|
-I$(top_srcdir)/src \
|
|
-I$(top_srcdir)/lib
|
|
|
|
# Clean build directory
|
|
clean-local:
|
|
-rm -rf $(top_builddir)/build
|