mirror of
https://github.com/troglobit/finit.git
synced 2026-10-03 22:43:08 +07:00
This commit introduces a bare-bones replacement for libsystemd: - Build .so file and add --with-libsystemd to configure - Add capabilities support to test/src/serv.c - Update tests to account for a Finit built w/o libsystemd support Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
9 lines
271 B
Makefile
9 lines
271 B
Makefile
noinst_PROGRAMS = serv
|
|
|
|
serv_SOURCES = serv.c
|
|
serv_CPPFLAGS = -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -D_GNU_SOURCE -D_DEFAULT_SOURCE -I$(top_builddir)
|
|
if LIBSYSTEMD
|
|
serv_CPPFLAGS += -I$(top_srcdir)/libsystemd
|
|
serv_SOURCES += $(top_srcdir)/libsystemd/sd-daemon.c
|
|
endif
|