summaryrefslogtreecommitdiffstats
path: root/Makefile.am
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2008-03-31 12:27:33 +0000
committerRainer Gerhards <rgerhards@adiscon.com>2008-03-31 12:27:33 +0000
commit70ad7a25eb52ab30b24ce5c3d8be4ff4ce68f412 (patch)
tree21aa171170e2bf20e102d8192b0f93213205e1b6 /Makefile.am
parent4a5f85118a29eb6c017aa47af4c8bfaf1a616c7f (diff)
downloadrsyslog-70ad7a25eb52ab30b24ce5c3d8be4ff4ce68f412.tar.gz
rsyslog-70ad7a25eb52ab30b24ce5c3d8be4ff4ce68f412.tar.xz
rsyslog-70ad7a25eb52ab30b24ce5c3d8be4ff4ce68f412.zip
added a --enable/disable-rsyslogd configure option so that source-based
packaging systems can build plugins without the need to compile rsyslogd
Diffstat (limited to 'Makefile.am')
-rw-r--r--Makefile.am15
1 files changed, 12 insertions, 3 deletions
diff --git a/Makefile.am b/Makefile.am
index 31737516..99f542fb 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -1,7 +1,8 @@
-sbin_PROGRAMS = rfc3195d rsyslogd
-
-rfc3195d_SOURCES = rfc3195d.c rsyslog.h
+#sbin_PROGRAMS = rfc3195d rsyslogd
+sbin_PROGRAMS =
+if ENABLE_RSYSLOGD
+sbin_PROGRAMS += rsyslogd
rsyslogd_SOURCES = \
datetime.c \
datetime.h \
@@ -93,10 +94,18 @@ rsyslogd_SOURCES = \
rsyslogd_CPPFLAGS = -D_PATH_MODDIR=\"$(pkglibdir)/\" $(pthreads_cflags)
rsyslogd_LDADD = $(zlib_libs) $(pthreads_libs) $(dl_libs) $(rt_libs)
rsyslogd_LDFLAGS = -export-dynamic
+endif # if ENABLE_RSYSLOGD
# now come the library plugins
pkglib_LTLIBRARIES =
+if ENABLE_RFC3195
+# this does so far not work - a manual build is needed
+sbin_PROGRAMS += rfc3195d
+rfc3195d_SOURCES = rfc3195d.c rsyslog.h
+endif
+
+
if ENABLE_INET
pkglib_LTLIBRARIES += lmnet.la lmtcpsrv.la lmtcpclt.la
#