Files
finit/libink/Makefile.am
T
Joachim Wiberg 1e508f9168 libink: trace connections, calls, and authorization decisions
The legacy socket logs a line per command under initctl debug; the bus
logged nothing, so the transport that now carries most of initctl was
the one you could not watch.

libink gets a logger hook rather than a dependency on Finit's: it
passes the emitting function and a formatted message, and dbus.c hands
both to logit() so the two sources read alike.  Trace points cover the
connection lifecycle, every inbound call, and why a call was refused.

Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
2026-08-13 10:15:06 +02:00

19 lines
945 B
Makefile

# libink — brokerless D-Bus library (server + client), born inside Finit
#
# Internal convenience library: linked statically into finit and
# initctl, nothing installed. Public install (and the ABI promise
# that comes with it) is deferred until libink is extracted into its
# own project.
noinst_LTLIBRARIES = libink.la
libink_la_SOURCES = server.c auth.c connection.c \
proto.c proto.h \
marshal.c marshal.h \
dispatch.c builtin.c \
match.c \
path.c \
client.c io.c log.c \
link.h path.h internal.h
libink_la_CPPFLAGS = -D_GNU_SOURCE -D_DEFAULT_SOURCE -D_BSD_SOURCE
libink_la_CFLAGS = -W -Wall -Wextra -Wno-unused-parameter -std=gnu99