1 ## Process this file with automake to produce Makefile.in
3 SUBDIRS = . providers tests
5 libcamelincludedir = $(privincludedir)/camel
7 camellibexecdir = $(privlibexecdir)/camel
8 camellibexec_PROGRAMS = camel-lock-helper camel-index-control
10 privlib_LTLIBRARIES = libcamel.la
11 noinst_LTLIBRARIES = libcamel-static.la
13 INCLUDES = -I.. -I$(srcdir)/.. \
14 -I$(top_srcdir)/intl \
15 -I$(top_srcdir)/e-util \
16 -DCAMEL_LIBEXECDIR=\""$(camellibexecdir)"\" \
17 -DCAMEL_PROVIDERDIR=\""$(camel_providerdir)"\" \
18 -DG_LOG_DOMAIN=\"camel\" \
19 -DG_DISABLE_DEPRECATED \
22 libcamel_la_SOURCES = \
23 broken-date-parser.c \
29 camel-cipher-context.c \
32 camel-data-wrapper.c \
33 camel-digest-folder.c \
34 camel-digest-store.c \
35 camel-digest-summary.c \
37 camel-disco-folder.c \
41 camel-filter-driver.c \
42 camel-filter-search.c \
43 camel-folder-search.c \
44 camel-folder-summary.c \
45 camel-folder-thread.c \
51 camel-internet-address.c \
56 camel-mime-filter-bestenc.c \
57 camel-mime-filter-basic.c \
58 camel-mime-filter-charset.c \
59 camel-mime-filter-canon.c \
60 camel-mime-filter-crlf.c \
61 camel-mime-filter-enriched.c \
62 camel-mime-filter-from.c \
63 camel-mime-filter-html.c \
64 camel-mime-filter-tohtml.c \
65 camel-mime-filter-index.c \
66 camel-mime-filter-linewrap.c \
67 camel-mime-filter-save.c \
69 camel-mime-message.c \
71 camel-mime-part-utils.c \
76 camel-multipart-encrypted.c \
77 camel-multipart-signed.c \
80 camel-partition-table.c \
82 camel-smime-context.c \
86 camel-sasl-anonymous.c \
87 camel-sasl-cram-md5.c \
88 camel-sasl-digest-md5.c \
90 camel-sasl-kerberos4.c \
94 camel-sasl-popb4smtp.c \
95 camel-search-private.c \
96 camel-seekable-stream.c \
97 camel-seekable-substream.c \
101 camel-store-summary.c \
102 camel-stream-buffer.c \
103 camel-stream-filter.c \
106 camel-stream-null.c \
108 camel-string-utils.c \
110 camel-tcp-stream-raw.c \
111 camel-tcp-stream-ssl.c \
112 camel-tcp-stream-openssl.c \
117 camel-url-scanner.c \
121 camel-vtrash-folder.c \
124 libcamelinclude_HEADERS = \
125 broken-date-parser.h \
130 camel-charset-map.h \
131 camel-cipher-context.h \
132 camel-cms-context.h \
134 camel-data-wrapper.h \
135 camel-digest-folder.h \
136 camel-digest-store.h \
137 camel-digest-summary.h \
138 camel-disco-diary.h \
139 camel-disco-folder.h \
140 camel-disco-store.h \
141 camel-exception-list.def \
144 camel-filter-driver.h \
145 camel-filter-search.h \
146 camel-folder-search.h \
147 camel-folder-summary.h \
148 camel-folder-thread.h \
150 camel-gpg-context.h \
151 camel-http-stream.h \
153 camel-internet-address.h \
157 camel-lock-client.h \
159 camel-mime-filter-bestenc.h \
160 camel-mime-filter-basic.h \
161 camel-mime-filter-charset.h \
162 camel-mime-filter-canon.h \
163 camel-mime-filter-crlf.h \
164 camel-mime-filter-enriched.h \
165 camel-mime-filter-from.h \
166 camel-mime-filter-html.h \
167 camel-mime-filter-tohtml.h \
168 camel-mime-filter-index.h \
169 camel-mime-filter-linewrap.h \
170 camel-mime-filter-save.h \
171 camel-mime-filter.h \
172 camel-mime-message.h \
173 camel-mime-parser.h \
174 camel-mime-part-utils.h \
179 camel-multipart-encrypted.h \
180 camel-multipart-signed.h \
183 camel-partition-table.h \
185 camel-smime-context.h \
186 camel-smime-utils.h \
189 camel-sasl-anonymous.h \
190 camel-sasl-cram-md5.h \
191 camel-sasl-digest-md5.h \
192 camel-sasl-gssapi.h \
193 camel-sasl-kerberos4.h \
197 camel-sasl-popb4smtp.h \
198 camel-seekable-stream.h \
199 camel-seekable-substream.h \
203 camel-store-summary.h \
204 camel-stream-buffer.h \
205 camel-stream-filter.h \
208 camel-stream-null.h \
210 camel-string-utils.h \
212 camel-tcp-stream-raw.h \
213 camel-tcp-stream-ssl.h \
219 camel-url-scanner.h \
223 camel-vtrash-folder.h \
226 libcamel_la_LDFLAGS = -version-info 0:0:0
228 libcamel_la_LIBADD = \
229 $(top_builddir)/e-util/libeutil.la \
232 libcamel_static_la_SOURCES = $(libcamel_la_SOURCES)
233 libcamel_static_la_LIBADD = $(libcamel_la_LIBADD)
234 libcamel_static_la_LDFLAGS = --all-static
236 camel_lock_helper_SOURCES = \
237 camel-lock-helper.c \
240 # NOTE: This needs to be cleaned up, it shouldn't link with all this crap,
241 # because it might be setuid.
242 camel_lock_helper_LDADD = \
244 $(libcamel_la_LIBADD)
246 camel_index_control_SOURCES = \
247 camel-index-control.c
249 camel_index_control_LDADD = \
250 $(libcamel_la_LIBADD) \
252 # $(EVOLUTION_MAIL_LIBS)
255 @if test -n "$(CAMEL_LOCK_HELPER_USER)"; then \
256 if test `whoami` = root ; then \
257 chown $(CAMEL_LOCK_HELPER_USER) $(DESTDIR)$(camellibexecdir)/camel-lock-helper ; \
258 chmod u+s $(DESTDIR)$(camellibexecdir)/camel-lock-helper ; \
260 echo '*** WARNING ***' ; \
261 echo "Camel will not be able to open mbox files until you perform the following steps:" ; \
262 echo " 1. Become root" ; \
263 echo " 2. chown $(CAMEL_LOCK_HELPER_USER) $(DESTDIR)$(sbindir)/camel-lock-helper" ; \
264 echo " 3. chmod u+s $(DESTDIR)$(sbindir)/camel-lock-helper" ; \
265 echo '*** WARNING ***' ; \
268 echo "No user to chown to"; \
270 @if test -n "$(CAMEL_LOCK_HELPER_GROUP)"; then \
271 if test `whoami` = root ; then \
272 chgrp $(CAMEL_LOCK_HELPER_GROUP) $(DESTDIR)$(camellibexecdir)/camel-lock-helper ; \
273 chmod g+s $(DESTDIR)$(camellibexecdir)/camel-lock-helper ; \
275 echo '*** WARNING ***' ; \
276 echo "Camel will not be able to open mbox files until you perform the following steps:" ; \
277 echo " 1. Become root" ; \
278 echo " 2. chgrp $(CAMEL_LOCK_HELPER_GROUP) $(DESTDIR)$(camellibexecdir)/camel-lock-helper" ; \
279 echo " 3. chmod g+s $(DESTDIR)$(camellibexecdir)/camel-lock-helper" ; \
280 echo '*** WARNING ***' ; \
283 echo "No user to chown to"; \
287 camel-charset-map-private.h \
289 camel-search-private.h \