mirror of
https://github.com/troglobit/finit.git
synced 2026-10-02 05:52:48 +07:00
libink was written against the only bus it had, its own, where the peer on the other end is the client. A broker is not: it routes for senders it names itself, expects a DESTINATION on anything addressed through it, and answers on its own schedule rather than next. Runlevels go on the wire as S and N rather than the digits Finit keeps internally, since that is what a caller outside Finit means by one. The library stays a convenience library, linked into finit and initctl and installed nowhere: the ABI promise waits until libink is its own project. Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
19 lines
945 B
Makefile
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 \
|
|
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
|