rsyslog/Makefile.am
Rainer Gerhards 341af8bcd0 - changed the build system to use a single source tarball again (but
different makefiles for the main project and ommysql)
- applied fixes from Michael Biebl:
1.) fix failing compilation of ommysql plugin
    (s/ommysql-config.h/config.h/)
2.) fix mysql configure check (although the default is no, we did check for
    the mysql devel files)
3.) Create a separate Makefile.am for the doc files. This cleans up the
    toplevel Makefile.am considerably and makes it much more readable and
    maintainable.
3b) Assign the html doc files to html_DATA. This means, they are installed
    to $(hmtdir), which by autoconf standards is
    $(prefix)/share/doc/$packagename/.
4.) Reformat the SOURCES line to make it better readable and maintainable.
2007-10-11 12:53:40 +00:00

84 lines
1.3 KiB
Makefile

sbin_PROGRAMS = rklogd rfc3195d rsyslogd
rklogd_SOURCES = \
klogd.c \
klogd.h \
syslog.c \
pidfile.c \
pidfile.h \
ksym.c \
ksyms.h \
ksym_mod.c \
module.h
rfc3195d_SOURCES = rfc3195d.c rsyslog.h
rsyslogd_SOURCES = \
syslogd.c \
syslogd.h \
pidfile.c \
pidfile.h \
template.c \
outchannel.c \
stringbuf.c \
stringbuf.h \
srUtils.c \
srUtils.h \
parse.c \
parse.h \
syslogd-types.h \
template.h \
outchannel.h \
liblogging-stub.h \
net.c \
net.h \
msg.c \
msg.h \
omshell.c \
omshell.h \
omusrmsg.c \
omusrmsg.h \
omfwd.c \
omfwd.h \
tcpsyslog.c \
tcpsyslog.h \
omfile.c \
omfile.h \
omdiscard.c \
omdiscard.h \
modules.c \
modules.h \
module-template.h \
objomsr.c \
objomsr.h \
cfsysline.c \
cfsysline.h \
linkedlist.c \
linkedlist.h \
iminternal.c \
iminternal.h \
action.c \
action.h
rsyslogd_CPPFLAGS = -D_PATH_MODDIR=\"$(pkglibdir)/\"
rsyslogd_LDADD = $(zlib_libs) $(pthreads_libs) -ldl
rsyslogd_LDFLAGS = -export-dynamic
man_MANS = rfc3195d.8 rklogd.8 rsyslogd.8 rsyslog.conf.5
EXTRA_DIST = \
redhat/rsyslog.conf \
redhat/rsyslog.init \
redhat/rsyslog.log \
redhat/rsyslog.sysconfig \
freebsd/rsyslogd \
slackware/rc.rsyslogd \
contrib/README \
$(man_MANS)
SUBDIRS = doc
if ENABLE_MYSQL
SUBDIRS += plugins/ommysql
endif