~ubuntu-branches/ubuntu/karmic/rsyslog/karmic-200908151517

« back to all changes in this revision

Viewing changes to Makefile.am

  • Committer: Bazaar Package Importer
  • Author(s): Michael Biebl
  • Date: 2008-04-23 16:46:39 UTC
  • mfrom: (1.1.2 upstream)
  • Revision ID: james.westby@ubuntu.com-20080423164639-5acmt8a4vpxjgnxw
Tags: 3.14.2-3
* debian/rsyslog-doc.install
  - Fix a typo in the install path of the dia files. Closes: #477489
    Thanks to Justin B Rye for the patch.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
sbin_PROGRAMS = rklogd rfc3195d rsyslogd
2
 
 
3
 
rklogd_SOURCES = \
4
 
        klogd.c \
5
 
        klogd.h \
6
 
        syslog.c \
7
 
        pidfile.c \
8
 
        pidfile.h \
9
 
        ksym.c \
10
 
        ksyms.h \
11
 
        ksym_mod.c \
12
 
        module.h
13
 
 
14
 
rfc3195d_SOURCES = rfc3195d.c rsyslog.h
15
 
 
 
1
#sbin_PROGRAMS = rfc3195d rsyslogd
 
2
sbin_PROGRAMS =
 
3
man_MANS = 
 
4
 
 
5
if ENABLE_RSYSLOGD
 
6
sbin_PROGRAMS += rsyslogd
16
7
rsyslogd_SOURCES = \
 
8
        datetime.c \
 
9
        datetime.h \
 
10
        errmsg.c \
 
11
        errmsg.h \
17
12
        syslogd.c \
18
13
        syslogd.h \
 
14
        sysvar.c \
 
15
        sysvar.h \
 
16
        vm.c \
 
17
        vm.h \
 
18
        vmstk.c \
 
19
        vmstk.h \
 
20
        vmprg.c \
 
21
        vmprg.h \
 
22
        vmop.c \
 
23
        vmop.h \
 
24
        debug.c \
 
25
        debug.h \
 
26
        glbl.h \
19
27
        pidfile.c \
20
28
        pidfile.h \
21
29
        template.c \
30
38
        template.h \
31
39
        outchannel.h \
32
40
        liblogging-stub.h \
33
 
        net.c \
34
 
        net.h \
 
41
        threads.c \
 
42
        threads.h \
 
43
        stream.c \
 
44
        stream.h \
 
45
        var.c \
 
46
        var.h \
 
47
        wtp.c \
 
48
        wtp.h \
 
49
        wti.c \
 
50
        wti.h \
 
51
        queue.c \
 
52
        queue.h \
 
53
        sync.c \
 
54
        sync.h \
 
55
        obj.c \
 
56
        obj.h \
 
57
        obj-types.h \
35
58
        msg.c \
36
59
        msg.h \
 
60
        expr.c \
 
61
        expr.h \
 
62
        ctok.c \
 
63
        ctok.h \
 
64
        ctok_token.c \
 
65
        ctok_token.h \
 
66
        conf.c \
 
67
        conf.h \
37
68
        omshell.c \
38
69
        omshell.h \
39
70
        omusrmsg.c \
58
89
        iminternal.c \
59
90
        iminternal.h \
60
91
        action.c \
61
 
        action.h
 
92
        action.h \
 
93
        atomic.h
62
94
 
63
 
rsyslogd_CPPFLAGS = -D_PATH_MODDIR=\"$(pkglibdir)/\" $(pthreads_cflags)
64
 
rsyslogd_LDADD = $(zlib_libs) $(pthreads_libs) -ldl
 
95
rsyslogd_CPPFLAGS =  -D_PATH_MODDIR=\"$(pkglibdir)/\" $(pthreads_cflags)
 
96
rsyslogd_LDADD = $(zlib_libs) $(pthreads_libs) $(dl_libs) $(rt_libs)
65
97
rsyslogd_LDFLAGS = -export-dynamic
66
98
 
67
 
man_MANS = rfc3195d.8 rklogd.8 rsyslogd.8 rsyslog.conf.5 
 
99
man_MANS += rsyslogd.8 rsyslog.conf.5 
 
100
 
 
101
endif # if ENABLE_RSYSLOGD
 
102
 
 
103
# now come the library plugins
 
104
pkglib_LTLIBRARIES = 
 
105
 
 
106
if ENABLE_RFC3195
 
107
# this does so far not work - a manual build is needed
 
108
sbin_PROGRAMS += rfc3195d
 
109
rfc3195d_SOURCES = rfc3195d.c rsyslog.h
 
110
man_MANS += rfc3195d.8
 
111
endif
 
112
 
 
113
 
 
114
if ENABLE_INET
 
115
pkglib_LTLIBRARIES += lmnet.la lmtcpsrv.la lmtcpclt.la
 
116
#
 
117
# network support
 
118
 
119
lmnet_la_SOURCES = net.c net.h
 
120
lmnet_la_CPPFLAGS = $(pthreads_cflags)
 
121
lmnet_la_LDFLAGS = -module -avoid-version
 
122
lmnet_la_LIBADD =
 
123
#
 
124
#
 
125
# TCP (stream) server support
 
126
#
 
127
lmtcpsrv_la_SOURCES = \
 
128
        tcps_sess.c \
 
129
        tcps_sess.h \
 
130
        tcpsrv.c \
 
131
        tcpsrv.h
 
132
lmtcpsrv_la_CPPFLAGS = $(pthreads_cflags)
 
133
lmtcpsrv_la_LDFLAGS = -module -avoid-version
 
134
lmtcpsrv_la_LIBADD = 
 
135
 
 
136
#
 
137
# TCP (stream) client support
 
138
#
 
139
lmtcpclt_la_SOURCES = \
 
140
        tcpclt.c \
 
141
        tcpclt.h
 
142
lmtcpclt_la_CPPFLAGS = $(pthreads_cflags)
 
143
lmtcpclt_la_LDFLAGS = -module -avoid-version
 
144
lmtcpclt_la_LIBADD = 
 
145
 
 
146
endif # if ENABLE_INET
 
147
 
 
148
#
 
149
# regular expression support
 
150
 
151
if ENABLE_REGEXP
 
152
pkglib_LTLIBRARIES += lmregexp.la
 
153
lmregexp_la_SOURCES = regexp.c regexp.h
 
154
lmregexp_la_CPPFLAGS = $(pthreads_cflags)
 
155
lmregexp_la_LDFLAGS = -module -avoid-version
 
156
lmregexp_la_LIBADD =
 
157
endif
 
158
 
 
159
#
 
160
# gssapi support
 
161
 
162
if ENABLE_GSSAPI
 
163
pkglib_LTLIBRARIES += lmgssutil.la
 
164
lmgssutil_la_SOURCES = gss-misc.c gss-misc.h
 
165
lmgssutil_la_CPPFLAGS = $(pthreads_cflags)
 
166
lmgssutil_la_LDFLAGS = -module -avoid-version
 
167
lmgssutil_la_LIBADD = $(gss_libs)
 
168
endif
 
169
 
 
170
#
 
171
# relp support
 
172
 
173
if ENABLE_RELP
 
174
endif
68
175
 
69
176
EXTRA_DIST = \
70
177
        redhat/rsyslog.conf \
74
181
        freebsd/rsyslogd \
75
182
        slackware/rc.rsyslogd \
76
183
        contrib/README \
 
184
        rsyslog.conf \
77
185
        $(man_MANS)
78
186
 
79
 
SUBDIRS = doc
 
187
SUBDIRS = . doc
 
188
 
 
189
SUBDIRS += plugins/immark plugins/imuxsock plugins/imtcp plugins/imudp plugins/omtesting
 
190
 
 
191
if ENABLE_IMKLOGD
 
192
SUBDIRS += plugins/imklog
 
193
endif
 
194
 
 
195
if ENABLE_GSSAPI
 
196
SUBDIRS += plugins/omgssapi plugins/imgssapi
 
197
endif
 
198
 
 
199
if ENABLE_RELP
 
200
SUBDIRS += plugins/omrelp plugins/imrelp
 
201
endif
80
202
 
81
203
if ENABLE_MYSQL
82
204
SUBDIRS += plugins/ommysql
83
205
endif
 
206
 
 
207
if ENABLE_OMLIBDBI
 
208
SUBDIRS += plugins/omlibdbi
 
209
endif
 
210
 
 
211
if ENABLE_PGSQL
 
212
SUBDIRS += plugins/ompgsql
 
213
endif
 
214
 
 
215
if ENABLE_SNMP
 
216
SUBDIRS += plugins/omsnmp
 
217
endif
 
218
 
 
219
if ENABLE_IMTEMPLATE
 
220
SUBDIRS += plugins/imtemplate
 
221
endif
 
222
 
 
223
if ENABLE_IMFILE
 
224
SUBDIRS += plugins/imfile
 
225
endif