forked from rsyslog/rsyslog
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile.am
334 lines (260 loc) · 5.56 KB
/
Makefile.am
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
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
sbin_PROGRAMS =
pkglib_LTLIBRARIES =
pkgconfigdir = $(libdir)/pkgconfig
#
# systemd support
#
if HAVE_SYSTEMD
nodist_systemdsystemunit_DATA = \
rsyslog.service
CLEANFILES = \
rsyslog.service
%.service: %.service.in
$(AM_V_GEN)sed -e 's,@sbindir\@,$(sbindir),g' $< > $@
endif
EXTRA_DIST = \
README.md \
platform/README \
platform/freebsd/rsyslogd \
platform/slackware/rc.rsyslogd \
platform/redhat/rsyslog.conf \
contrib/README \
CONTRIBUTING.md \
COPYING \
COPYING.LESSER \
COPYING.ASL20 \
contrib/gnutls/ca.pem \
contrib/gnutls/cert.pem \
contrib/gnutls/key.pem \
rsyslog.service.in
SUBDIRS = compat runtime grammar . plugins/immark plugins/imuxsock plugins/imtcp plugins/imudp plugins/omtesting
# external plugin driver is always enabled (core component)
SUBDIRS += plugins/mmexternal
if ENABLE_RSYSLOGD
SUBDIRS += tools
endif
if ENABLE_IMKLOG
SUBDIRS += plugins/imklog
endif
if ENABLE_IMKMSG
SUBDIRS += contrib/imkmsg
endif
if ENABLE_IMPSTATS
SUBDIRS += plugins/impstats
endif
if ENABLE_IMSOLARIS
SUBDIRS += plugins/imsolaris
endif
if ENABLE_GSSAPI
SUBDIRS += plugins/omgssapi plugins/imgssapi
endif
if ENABLE_RELP
SUBDIRS += plugins/omrelp plugins/imrelp
endif
if ENABLE_MYSQL
SUBDIRS += plugins/ommysql
endif
if ENABLE_OMLIBDBI
SUBDIRS += plugins/omlibdbi
endif
if ENABLE_PGSQL
SUBDIRS += plugins/ompgsql
endif
if ENABLE_SNMP
SUBDIRS += plugins/omsnmp
endif
if ENABLE_OMSTDOUT
SUBDIRS += plugins/omstdout
endif
if ENABLE_PMCISCONAMES
SUBDIRS += contrib/pmcisconames
endif
if ENABLE_PMCISCOIOS
SUBDIRS += plugins/pmciscoios
endif
if ENABLE_PMNULL
SUBDIRS += plugins/pmnull
endif
if ENABLE_PMAIXFORWARDEDFROM
SUBDIRS += contrib/pmaixforwardedfrom
endif
if ENABLE_PMSNARE
SUBDIRS += contrib/pmsnare
endif
if ENABLE_PMPANNGFW
SUBDIRS += contrib/pmpanngfw
endif
if ENABLE_PMLASTMSG
SUBDIRS += plugins/pmlastmsg
endif
if ENABLE_OMRULESET
SUBDIRS += plugins/omruleset
endif
if ENABLE_OMUDPSPOOF
SUBDIRS += plugins/omudpspoof
endif
if ENABLE_OMMONGODB
SUBDIRS += plugins/ommongodb
endif
if ENABLE_OMHIREDIS
SUBDIRS += contrib/omhiredis
endif
if ENABLE_OMZMQ3
SUBDIRS += contrib/omzmq3
endif
if ENABLE_OMCZMQ
SUBDIRS += contrib/omczmq
endif
if ENABLE_OMRABBITMQ
SUBDIRS += contrib/omrabbitmq
endif
if ENABLE_IMZMQ3
SUBDIRS += contrib/imzmq3
endif
if ENABLE_IMCZMQ
SUBDIRS += contrib/imczmq
endif
if ENABLE_OMUXSOCK
SUBDIRS += plugins/omuxsock
endif
if ENABLE_OMHDFS
SUBDIRS += plugins/omhdfs
endif
if ENABLE_OMJOURNAL
SUBDIRS += plugins/omjournal
endif
if ENABLE_IMJOURNAL
SUBDIRS += plugins/imjournal
endif
if ENABLE_ELASTICSEARCH
SUBDIRS += plugins/omelasticsearch
endif
if ENABLE_MMSNMPTRAPD
SUBDIRS += plugins/mmsnmptrapd
endif
if ENABLE_IMFILE
SUBDIRS += plugins/imfile
endif
if ENABLE_IMPTCP
SUBDIRS += plugins/imptcp
endif
if ENABLE_IMDIAG
SUBDIRS += plugins/imdiag
endif
if ENABLE_MAIL
SUBDIRS += plugins/ommail
endif
if ENABLE_OMKAFKA
SUBDIRS += plugins/omkafka
endif
if ENABLE_IMKAFKA
SUBDIRS += plugins/imkafka
endif
if ENABLE_OMPROG
SUBDIRS += plugins/omprog
endif
if ENABLE_RFC3195
SUBDIRS += plugins/im3195
endif
if ENABLE_MMNORMALIZE
SUBDIRS += plugins/mmnormalize
endif
if ENABLE_MMJSONPARSE
SUBDIRS += plugins/mmjsonparse
endif
if ENABLE_MMGROK
SUBDIRS += contrib/mmgrok
endif
if ENABLE_MMAUDIT
SUBDIRS += plugins/mmaudit
endif
if ENABLE_MMANON
SUBDIRS += plugins/mmanon
endif
if ENABLE_MMRM1STSPACE
SUBDIRS += plugins/mmrm1stspace
endif
if ENABLE_MMUTF8FIX
SUBDIRS += plugins/mmutf8fix
endif
if ENABLE_MMCOUNT
SUBDIRS += contrib/mmcount
endif
if ENABLE_MMSEQUENCE
SUBDIRS += contrib/mmsequence
endif
if ENABLE_MMDBLOOKUP
SUBDIRS += contrib/mmdblookup
endif
if ENABLE_MMFIELDS
SUBDIRS += plugins/mmfields
endif
if ENABLE_MMPSTRUCDATA
SUBDIRS += plugins/mmpstrucdata
endif
if ENABLE_MMRFC5424ADDHMAC
SUBDIRS += contrib/mmrfc5424addhmac
endif
# omhttpfs
if ENABLE_OMHTTPFS
SUBDIRS += contrib/omhttpfs
endif
# omamqp1
if ENABLE_OMAMQP1
SUBDIRS += contrib/omamqp1
endif
# omtcl
if ENABLE_OMTCL
SUBDIRS += contrib/omtcl
endif
# tests are added as last element, because tests may need different
# modules that need to be generated first
SUBDIRS += tests
# make sure "make distcheck" tries to build all modules. This means that
# a developer must always have an environment where every supporting library
# is available. If that is not the case, the respective configure option may
# temporarily be removed below. The intent behind forcing everthing to compile
# in a make distcheck is so that we detect code that accidently was not updated
# when some global update happened.
DISTCHECK_CONFIGURE_FLAGS= \
--disable-silent-rules \
--disable-testbench \
--with-systemdsystemunitdir=$$dc_install_base/$(systemdsystemunitdir)
THIS_IS_TEMPORARILY_DISABLED = \
--enable-distcheck-workaround \
--enable-testbench \
--enable-imdiag \
--enable-testbench \
--enable-imfile \
--enable-snmp \
--enable-libdbi \
--enable-mysql \
--enable-relp \
--enable-rsyslogd \
--enable-mail \
--enable-klog \
--enable-diagtools \
--enable-mmgrok \
--enable-gnutls \
--enable-omstdout \
--enable-pmlastmsg \
--enable-omruleset \
--enable-omprog \
--enable-imptcp \
--enable-omuxsock \
--enable-impstats \
--enable-memcheck \
--enable-pmaixforwardedfrom \
--enable-pmcisconames \
--enable-pmsnare \
--enable-elasticsearch \
--enable-valgrind \
--with-systemdsystemunitdir=$$dc_install_base/$(systemdsystemunitdir)
# temporarily disable these checks for make distcheck 2012-09-06 rgerhards
# --enable-mmsnmptrapd \
# --enable-gssapi_krb5 \
# --enable-extended-tests \
# --enable-pgsql
dist-hook:
$(AM_V_GEN)echo $(VERSION) > $(distdir)/.tarball-version
ACLOCAL_AMFLAGS = -I m4