aboutsummaryrefslogtreecommitdiff
path: root/syslogd/Makemodule.am
diff options
context:
space:
mode:
authorDavid Oberhollenzer <david.oberhollenzer@tele2.at>2018-09-01 01:12:46 +0200
committerDavid Oberhollenzer <david.oberhollenzer@tele2.at>2018-09-01 13:03:18 +0200
commitdc30dd7530cee426bbb30425e255868ffa635c13 (patch)
tree5f8c9dce00a58bd82ece93db86c93c783a773c37 /syslogd/Makemodule.am
parentb0b6c68e3839656c657f83de70badace6c01675a (diff)
Add tiny klogd implementation
Signed-off-by: David Oberhollenzer <david.oberhollenzer@tele2.at>
Diffstat (limited to 'syslogd/Makemodule.am')
-rw-r--r--syslogd/Makemodule.am11
1 files changed, 11 insertions, 0 deletions
diff --git a/syslogd/Makemodule.am b/syslogd/Makemodule.am
index 022946b..ab61b87 100644
--- a/syslogd/Makemodule.am
+++ b/syslogd/Makemodule.am
@@ -1,3 +1,4 @@
+if USYSLOGD
usyslogd_SOURCES = syslogd/syslogd.c syslogd/syslogd.h
usyslogd_SOURCES += syslogd/proto.c syslogd/logfile.c
usyslogd_CPPFLAGS = $(AM_CPPFLAGS)
@@ -6,3 +7,13 @@ usyslogd_LDFLAGS = $(AM_LDFLAGS)
usyslogd_LDADD = libinit.a
sbin_PROGRAMS += usyslogd
+endif
+
+if KLOGD
+klogd_SOURCES = syslogd/klogd.c
+klogd_CPPFLAGS = $(AM_CPPFLAGS)
+klogd_CFLAGS = $(AM_CFLAGS)
+klogd_LDFLAGS = $(AM_LDFLAGS)
+
+sbin_PROGRAMS += klogd
+endif