annotate src/deliver/Makefile.am @ 5197:e77e4457d95c HEAD

Added --with-headers configure option to install .h files.
author Timo Sirainen <tss@iki.fi>
date Thu, 22 Feb 2007 23:50:46 +0200
parents b13c7888563c
children b77a67169fc5
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
3199
938f948651f1 Added initial version of Dovecot LDA.
Timo Sirainen <tss@iki.fi>
parents:
diff changeset
1 pkglibexecdir = $(libexecdir)/dovecot
938f948651f1 Added initial version of Dovecot LDA.
Timo Sirainen <tss@iki.fi>
parents:
diff changeset
2
938f948651f1 Added initial version of Dovecot LDA.
Timo Sirainen <tss@iki.fi>
parents:
diff changeset
3 pkglibexec_PROGRAMS = deliver
938f948651f1 Added initial version of Dovecot LDA.
Timo Sirainen <tss@iki.fi>
parents:
diff changeset
4
938f948651f1 Added initial version of Dovecot LDA.
Timo Sirainen <tss@iki.fi>
parents:
diff changeset
5 AM_CPPFLAGS = \
938f948651f1 Added initial version of Dovecot LDA.
Timo Sirainen <tss@iki.fi>
parents:
diff changeset
6 -I$(top_srcdir)/src/lib \
4347
a73d2867f6e1 Moved all the non-Sieve code from dovecot-lda in here and rewrote parts of
Timo Sirainen <tss@iki.fi>
parents: 3199
diff changeset
7 -I$(top_srcdir)/src/lib-dict \
3199
938f948651f1 Added initial version of Dovecot LDA.
Timo Sirainen <tss@iki.fi>
parents:
diff changeset
8 -I$(top_srcdir)/src/lib-mail \
4963
b13c7888563c deliver was treating boolean settings set to "no" as if they were "yes"
Timo Sirainen <tss@iki.fi>
parents: 4891
diff changeset
9 -I$(top_srcdir)/src/lib-settings \
3199
938f948651f1 Added initial version of Dovecot LDA.
Timo Sirainen <tss@iki.fi>
parents:
diff changeset
10 -I$(top_srcdir)/src/lib-storage \
4347
a73d2867f6e1 Moved all the non-Sieve code from dovecot-lda in here and rewrote parts of
Timo Sirainen <tss@iki.fi>
parents: 3199
diff changeset
11 -I$(top_srcdir)/src/lib-storage/index/mbox \
a73d2867f6e1 Moved all the non-Sieve code from dovecot-lda in here and rewrote parts of
Timo Sirainen <tss@iki.fi>
parents: 3199
diff changeset
12 -DSYSCONFDIR=\""$(sysconfdir)"\" \
a73d2867f6e1 Moved all the non-Sieve code from dovecot-lda in here and rewrote parts of
Timo Sirainen <tss@iki.fi>
parents: 3199
diff changeset
13 -DPKG_RUNDIR=\""$(rundir)"\" \
a73d2867f6e1 Moved all the non-Sieve code from dovecot-lda in here and rewrote parts of
Timo Sirainen <tss@iki.fi>
parents: 3199
diff changeset
14 -DMODULEDIR=\""$(moduledir)"\"
a73d2867f6e1 Moved all the non-Sieve code from dovecot-lda in here and rewrote parts of
Timo Sirainen <tss@iki.fi>
parents: 3199
diff changeset
15
4424
b6ece4ed0343 Added -export-dynamic.
Timo Sirainen <tss@iki.fi>
parents: 4347
diff changeset
16 deliver_LDFLAGS = -export-dynamic
b6ece4ed0343 Added -export-dynamic.
Timo Sirainen <tss@iki.fi>
parents: 4347
diff changeset
17
4347
a73d2867f6e1 Moved all the non-Sieve code from dovecot-lda in here and rewrote parts of
Timo Sirainen <tss@iki.fi>
parents: 3199
diff changeset
18 # get some functions included which only plugins use. liblib should probably
a73d2867f6e1 Moved all the non-Sieve code from dovecot-lda in here and rewrote parts of
Timo Sirainen <tss@iki.fi>
parents: 3199
diff changeset
19 # be a shared library so this wouldn't be needed..
a73d2867f6e1 Moved all the non-Sieve code from dovecot-lda in here and rewrote parts of
Timo Sirainen <tss@iki.fi>
parents: 3199
diff changeset
20 unused_objects = \
4793
752c309641db Removed str-sanitize.o from unused_objects list because we do use it
Timo Sirainen <tss@iki.fi>
parents: 4424
diff changeset
21 ../lib/mountpoint.o
3199
938f948651f1 Added initial version of Dovecot LDA.
Timo Sirainen <tss@iki.fi>
parents:
diff changeset
22
938f948651f1 Added initial version of Dovecot LDA.
Timo Sirainen <tss@iki.fi>
parents:
diff changeset
23 libs = \
938f948651f1 Added initial version of Dovecot LDA.
Timo Sirainen <tss@iki.fi>
parents:
diff changeset
24 ../lib-storage/register/libstorage-register.a \
4891
6ab2712f1a93 Only imap binary was actually working.
Timo Sirainen <tss@iki.fi>
parents: 4808
diff changeset
25 ../lib-storage/list/libstorage_list.a \
3199
938f948651f1 Added initial version of Dovecot LDA.
Timo Sirainen <tss@iki.fi>
parents:
diff changeset
26 $(STORAGE_LIBS) \
938f948651f1 Added initial version of Dovecot LDA.
Timo Sirainen <tss@iki.fi>
parents:
diff changeset
27 ../lib-storage/libstorage.a \
938f948651f1 Added initial version of Dovecot LDA.
Timo Sirainen <tss@iki.fi>
parents:
diff changeset
28 ../lib-imap/libimap.a \
938f948651f1 Added initial version of Dovecot LDA.
Timo Sirainen <tss@iki.fi>
parents:
diff changeset
29 ../lib-mail/libmail.a \
4347
a73d2867f6e1 Moved all the non-Sieve code from dovecot-lda in here and rewrote parts of
Timo Sirainen <tss@iki.fi>
parents: 3199
diff changeset
30 ../lib-dict/libdict.a \
3199
938f948651f1 Added initial version of Dovecot LDA.
Timo Sirainen <tss@iki.fi>
parents:
diff changeset
31 ../lib-charset/libcharset.a \
4347
a73d2867f6e1 Moved all the non-Sieve code from dovecot-lda in here and rewrote parts of
Timo Sirainen <tss@iki.fi>
parents: 3199
diff changeset
32 ../lib/liblib.a \
a73d2867f6e1 Moved all the non-Sieve code from dovecot-lda in here and rewrote parts of
Timo Sirainen <tss@iki.fi>
parents: 3199
diff changeset
33 $(unused_objects)
3199
938f948651f1 Added initial version of Dovecot LDA.
Timo Sirainen <tss@iki.fi>
parents:
diff changeset
34
938f948651f1 Added initial version of Dovecot LDA.
Timo Sirainen <tss@iki.fi>
parents:
diff changeset
35 deliver_LDADD = \
938f948651f1 Added initial version of Dovecot LDA.
Timo Sirainen <tss@iki.fi>
parents:
diff changeset
36 $(libs) \
938f948651f1 Added initial version of Dovecot LDA.
Timo Sirainen <tss@iki.fi>
parents:
diff changeset
37 $(LIBICONV) \
938f948651f1 Added initial version of Dovecot LDA.
Timo Sirainen <tss@iki.fi>
parents:
diff changeset
38 $(RAND_LIBS) \
938f948651f1 Added initial version of Dovecot LDA.
Timo Sirainen <tss@iki.fi>
parents:
diff changeset
39 $(MODULE_LIBS)
938f948651f1 Added initial version of Dovecot LDA.
Timo Sirainen <tss@iki.fi>
parents:
diff changeset
40
938f948651f1 Added initial version of Dovecot LDA.
Timo Sirainen <tss@iki.fi>
parents:
diff changeset
41 deliver_DEPENDENCIES = $(libs)
938f948651f1 Added initial version of Dovecot LDA.
Timo Sirainen <tss@iki.fi>
parents:
diff changeset
42
938f948651f1 Added initial version of Dovecot LDA.
Timo Sirainen <tss@iki.fi>
parents:
diff changeset
43 deliver_SOURCES = \
4347
a73d2867f6e1 Moved all the non-Sieve code from dovecot-lda in here and rewrote parts of
Timo Sirainen <tss@iki.fi>
parents: 3199
diff changeset
44 auth-client.c \
a73d2867f6e1 Moved all the non-Sieve code from dovecot-lda in here and rewrote parts of
Timo Sirainen <tss@iki.fi>
parents: 3199
diff changeset
45 deliver.c \
a73d2867f6e1 Moved all the non-Sieve code from dovecot-lda in here and rewrote parts of
Timo Sirainen <tss@iki.fi>
parents: 3199
diff changeset
46 duplicate.c \
a73d2867f6e1 Moved all the non-Sieve code from dovecot-lda in here and rewrote parts of
Timo Sirainen <tss@iki.fi>
parents: 3199
diff changeset
47 mail-send.c \
a73d2867f6e1 Moved all the non-Sieve code from dovecot-lda in here and rewrote parts of
Timo Sirainen <tss@iki.fi>
parents: 3199
diff changeset
48 smtp-client.c
a73d2867f6e1 Moved all the non-Sieve code from dovecot-lda in here and rewrote parts of
Timo Sirainen <tss@iki.fi>
parents: 3199
diff changeset
49
5197
e77e4457d95c Added --with-headers configure option to install .h files.
Timo Sirainen <tss@iki.fi>
parents: 4963
diff changeset
50 headers = \
4347
a73d2867f6e1 Moved all the non-Sieve code from dovecot-lda in here and rewrote parts of
Timo Sirainen <tss@iki.fi>
parents: 3199
diff changeset
51 auth-client.h \
a73d2867f6e1 Moved all the non-Sieve code from dovecot-lda in here and rewrote parts of
Timo Sirainen <tss@iki.fi>
parents: 3199
diff changeset
52 deliver.h \
a73d2867f6e1 Moved all the non-Sieve code from dovecot-lda in here and rewrote parts of
Timo Sirainen <tss@iki.fi>
parents: 3199
diff changeset
53 duplicate.h \
a73d2867f6e1 Moved all the non-Sieve code from dovecot-lda in here and rewrote parts of
Timo Sirainen <tss@iki.fi>
parents: 3199
diff changeset
54 mail-send.h \
a73d2867f6e1 Moved all the non-Sieve code from dovecot-lda in here and rewrote parts of
Timo Sirainen <tss@iki.fi>
parents: 3199
diff changeset
55 smtp-client.h
5197
e77e4457d95c Added --with-headers configure option to install .h files.
Timo Sirainen <tss@iki.fi>
parents: 4963
diff changeset
56
e77e4457d95c Added --with-headers configure option to install .h files.
Timo Sirainen <tss@iki.fi>
parents: 4963
diff changeset
57 if INSTALL_HEADERS
e77e4457d95c Added --with-headers configure option to install .h files.
Timo Sirainen <tss@iki.fi>
parents: 4963
diff changeset
58 pkginc_libdir=$(pkgincludedir)/src/deliver
e77e4457d95c Added --with-headers configure option to install .h files.
Timo Sirainen <tss@iki.fi>
parents: 4963
diff changeset
59 pkginc_lib_HEADERS = $(headers)
e77e4457d95c Added --with-headers configure option to install .h files.
Timo Sirainen <tss@iki.fi>
parents: 4963
diff changeset
60 else
e77e4457d95c Added --with-headers configure option to install .h files.
Timo Sirainen <tss@iki.fi>
parents: 4963
diff changeset
61 noinst_HEADERS = $(headers)
e77e4457d95c Added --with-headers configure option to install .h files.
Timo Sirainen <tss@iki.fi>
parents: 4963
diff changeset
62 endif