blob: 7cb1b9bb135689fe4af7938b6642d7396dfb36a4 (
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
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
|
sbin_PROGRAMS =
man_MANS =
noinst_LTLIBRARIES = librsyslog.la
pkglib_LTLIBRARIES =
#pkglib_LTLIBRARIES = librsyslog.la
librsyslog_la_SOURCES = \
rsyslog.c \
rsyslog.h \
atomic.h \
syslogd-types.h \
module-template.h \
obj-types.h \
nsd.h \
glbl.h \
glbl.c \
msg.c \
msg.h \
linkedlist.c \
linkedlist.h \
objomsr.c \
objomsr.h \
stringbuf.c \
stringbuf.h \
datetime.c \
datetime.h \
srutils.c \
srUtils.h \
errmsg.c \
errmsg.h \
debug.c \
debug.h \
obj.c \
obj.h \
modules.c \
modules.h \
sync.c \
sync.h \
expr.c \
expr.h \
ctok.c \
ctok.h \
ctok_token.c \
ctok_token.h \
stream.c \
stream.h \
var.c \
var.h \
wtp.c \
wtp.h \
wti.c \
wti.h \
sysvar.c \
sysvar.h \
vm.c \
vm.h \
vmstk.c \
vmstk.h \
vmprg.c \
vmprg.h \
vmop.c \
vmop.h \
queue.c \
queue.h \
cfsysline.c \
cfsysline.h
librsyslog_la_CPPFLAGS = -D_PATH_MODDIR=\"$(pkglibdir)/\" -I$(top_srcdir) $(pthreads_cflags)
#librsyslog_la_LDFLAGS = -module -avoid-version
librsyslog_la_LIBADD =
#
# regular expression support
#
if ENABLE_REGEXP
pkglib_LTLIBRARIES += lmregexp.la
lmregexp_la_SOURCES = regexp.c regexp.h
lmregexp_la_CPPFLAGS = $(pthreads_cflags) $(rsrt_cflags)
lmregexp_la_LDFLAGS = -module -avoid-version
lmregexp_la_LIBADD =
endif
if ENABLE_INET
pkglib_LTLIBRARIES += lmnet.la lmnetstrms.la lmnetstrm.la lmnssel.la
#
# network support
#
lmnet_la_SOURCES = net.c net.h
lmnet_la_CPPFLAGS = $(pthreads_cflags) $(rsrt_cflags)
lmnet_la_LDFLAGS = -module -avoid-version
lmnet_la_LIBADD =
# network stream master class and stream factory
lmnetstrms_la_SOURCES = netstrms.c netstrms.h
lmnetstrms_la_CPPFLAGS = $(pthreads_cflags) $(rsrt_cflags)
lmnetstrms_la_LDFLAGS = -module -avoid-version
lmnetstrms_la_LIBADD =
# individual network streams
lmnetstrm_la_SOURCES = netstrm.c netstrm.h
lmnetstrm_la_CPPFLAGS = $(pthreads_cflags) $(rsrt_cflags)
lmnetstrm_la_LDFLAGS = -module -avoid-version
lmnetstrm_la_LIBADD =
# network stream select support (a helper class)
lmnssel_la_SOURCES = nssel.c nssel.h
lmnssel_la_CPPFLAGS = $(pthreads_cflags) $(rsrt_cflags)
lmnssel_la_LDFLAGS = -module -avoid-version
lmnssel_la_LIBADD =
# netstream drivers
# plain tcp driver - main driver
pkglib_LTLIBRARIES += lmnsd_ptcp.la
lmnsd_ptcp_la_SOURCES = nsd_ptcp.c nsd_ptcp.h
lmnsd_ptcp_la_CPPFLAGS = $(pthreads_cflags) $(rsrt_cflags)
lmnsd_ptcp_la_LDFLAGS = -module -avoid-version
lmnsd_ptcp_la_LIBADD =
# select interface for ptcp driver
pkglib_LTLIBRARIES += lmnsdsel_ptcp.la
lmnsdsel_ptcp_la_SOURCES = nsdsel_ptcp.c nsdsel_ptcp.h
lmnsdsel_ptcp_la_CPPFLAGS = $(pthreads_cflags) $(rsrt_cflags)
lmnsdsel_ptcp_la_LDFLAGS = -module -avoid-version
lmnsdsel_ptcp_la_LIBADD =
endif # if ENABLE_INET
|