From fa67273c1644551b50919fa7879acfdc92e269bc Mon Sep 17 00:00:00 2001 From: Rainer Gerhards Date: Fri, 7 Mar 2008 08:06:16 +0000 Subject: - added RSYSLOGD_MODDIR environment variable - added -M rsyslogd option (allows to specify module directory location) - converted net.c into a loadable library plugin --- Makefile.am | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) (limited to 'Makefile.am') diff --git a/Makefile.am b/Makefile.am index 67b3e962..c4fc4b68 100644 --- a/Makefile.am +++ b/Makefile.am @@ -50,8 +50,6 @@ rsyslogd_SOURCES = \ queue.h \ sync.c \ sync.h \ - net.c \ - net.h \ obj.c \ obj.h \ obj-types.h \ @@ -110,6 +108,17 @@ tcpsrv_la_CPPFLAGS = $(pthreads_cflags) tcpsrv_la_LDFLAGS = -module -avoid-version tcpsrv_la_LIBADD = +# +# network support +# +if ENABLE_INET +pkglib_LTLIBRARIES += net.la +net_la_SOURCES = net.c net.h +net_la_CPPFLAGS = $(pthreads_cflags) +net_la_LDFLAGS = -module -avoid-version +net_la_LIBADD = +endif + # # gssapi support # -- cgit