summaryrefslogtreecommitdiffstats
path: root/Makefile.am
blob: 6c1b24bdb8a50da37cb437de3f2dc5ff864a90e6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
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 \
	sync.c \
	sync.h \
	net.c \
	net.h \
	msg.c \
	msg.h \
	expr.c \
	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 \
	gss-misc.c \
	gss-misc.h

rsyslogd_CPPFLAGS = -D_PATH_MODDIR=\"$(pkglibdir)/\" $(pthreads_cflags)
rsyslogd_LDADD = $(zlib_libs) $(pthreads_libs) $(gss_libs) $(dl_libs) $(rt_libs)
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_GSSAPI
SUBDIRS += plugins/omgssapi
endif

if ENABLE_MYSQL
SUBDIRS += plugins/ommysql
endif

if ENABLE_PGSQL
SUBDIRS += plugins/ompgsql
endif