diff options
author | David Oberhollenzer <david.oberhollenzer@tele2.at> | 2018-05-23 22:26:17 +0200 |
---|---|---|
committer | David Oberhollenzer <david.oberhollenzer@tele2.at> | 2018-06-09 15:32:29 +0200 |
commit | bf63f78b6698f33ed3acbd4aed8822a35688c1ba (patch) | |
tree | 4e7c79326dd6fd217f135234dbcf3d9bc09ebb82 /cmd | |
parent | 1eb8a4c792166360137cb5c83afa75eace2b4b1d (diff) |
Split configuration parser and utility library
Signed-off-by: David Oberhollenzer <david.oberhollenzer@tele2.at>
Diffstat (limited to 'cmd')
-rw-r--r-- | cmd/Makemodule.am | 4 | ||||
-rw-r--r-- | cmd/runsvc/runsvc.h | 1 |
2 files changed, 3 insertions, 2 deletions
diff --git a/cmd/Makemodule.am b/cmd/Makemodule.am index 83d6174..f92610c 100644 --- a/cmd/Makemodule.am +++ b/cmd/Makemodule.am @@ -14,7 +14,7 @@ runsvc_SOURCES = cmd/runsvc/runsvc.c cmd/runsvc/env.c cmd/runsvc/runsvc.h runsvc_CPPFLAGS = $(AM_CPPFLAGS) runsvc_CFLAGS = $(AM_CFLAGS) runsvc_LDFLAGS = $(AM_LDFLAGS) -runsvc_LDADD = libinit.a +runsvc_LDADD = libinit.a libcfg.a killall5_SOURCES = cmd/killall5.c killall5_CPPFLAGS = $(AM_CPPFLAGS) @@ -30,7 +30,7 @@ service_SOURCES += $(SRVHEADERS) service_CPPFLAGS = $(AM_CPPFLAGS) service_CFLAGS = $(AM_CFLAGS) service_LDFLAGS = $(AM_LDFLAGS) -service_LDADD = libinit.a +service_LDADD = libinit.a libcfg.a EXTRA_DIST += $(SRVHEADERS) diff --git a/cmd/runsvc/runsvc.h b/cmd/runsvc/runsvc.h index 15785d3..7061eca 100644 --- a/cmd/runsvc/runsvc.h +++ b/cmd/runsvc/runsvc.h @@ -27,6 +27,7 @@ #include <fcntl.h> #include "service.h" +#include "libcfg.h" #include "util.h" #define ENVFILE ETCPATH "/initd.env" |