summaryrefslogtreecommitdiff
path: root/syslogd/Makemodule.am
diff options
context:
space:
mode:
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