blob: 7346b4182d1cbd5ba32e71828d46ca073f4e94a5 (
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
127
128
129
130
131
132
133
134
135
136
|
# Copyright (C) 1999-2004 IC & S dbmail@ic-s.nl
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
# as published by the Free Software Foundation; either
# version 2 of the License, or (at your option) any later
# version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
SUBDIRS = mysql pgsql sqlite auth sort man lib
if SIEVE
SIEVEPROGS = dbmail-sievecmd dbmail-timsieved
endif
bin_PROGRAMS = $(SIEVEPROGS)
sbin_PROGRAMS = dbmail-smtp \
dbmail-pop3d \
dbmail-imapd \
dbmail-util \
dbmail-users \
dbmail-lmtpd
COMMON = dbmail-user.c \
dbmail-message.c \
config.c \
debug.c \
list.c \
dbmd5.c \
md5.c \
db.c \
misc.c \
mime.c \
pidfile.c
SERVER = server.c \
serverchild.c \
pool.c \
dm_cidr.c
DELIVER = pipe.c \
forward.c \
dsn.c
# CFLAGS
#AM_CFLAGS = -fomit-frame-pointer
INCLUDES = -I$(top_srcdir)
dbmail_smtp_SOURCES = main.c
dbmail_smtp_LDADD = libdbmail.la
dbmail_pop3d_SOURCES = pop3.c pop3d.c
dbmail_pop3d_LDADD = libdbmail.la
dbmail_imapd_SOURCES = quota.c imap4.c dm_imaputil.c imapcommands.c memblock.c imapd.c dm_search.c dbmsgbuf.c acl.c dbmail-imapsession.c
dbmail_imapd_LDADD = libdbmail.la
dbmail_util_SOURCES = maintenance.c
dbmail_util_LDADD = libdbmail.la
dbmail_users_SOURCES = user.c
dbmail_users_LDADD = libdbmail.la
dbmail_lmtpd_SOURCES = lmtp.c lmtpd.c
dbmail_lmtpd_LDADD = libdbmail.la
if SIEVE
dbmail_sievecmd_SOURCES = sievecmd.c
dbmail_sievecmd_LDADD = libdbmail.la
dbmail_timsieved_SOURCES = timsieve.c timsieved.c
dbmail_timsieved_LDADD = libdbmail.la
AM_CFLAGS += -DSIEVE
endif
noinst_LTLIBRARIES = libdbmail.la
libdbmail_la_SOURCES = $(COMMON) $(SERVER) $(DELIVER)
libdbmail_la_LIBADD = @SQLLTLIB@ @SORTLTLIB@ @AUTHLTLIB@ @INIPARSERLTLIB@
if WITHCHECK
TESTS=check_dbmail_common \
check_dbmail_server \
check_dbmail_deliver \
check_dbmail_imapd \
check_dbmail_message \
check_dbmail_mailbox \
check_dbmail_user \
check_dbmail_util
noinst_PROGRAMS=$(TESTS)
check_dbmail_user_SOURCES=check_dbmail_user.c
check_dbmail_user_LDADD=@CHECK_LIBS@ libdbmail.la
check_dbmail_user_INCLUDES=@CHECK_CFLAGS@
check_dbmail_util_SOURCES=check_dbmail_util.c
check_dbmail_util_LDADD=@CHECK_LIBS@ libdbmail.la
check_dbmail_util_INCLUDES=@CHECK_CFLAGS@
check_dbmail_common_SOURCES=check_dbmail_common.c
check_dbmail_common_LDADD=@CHECK_LIBS@ libdbmail.la
check_dbmail_common_INCLUDES=@CHECK_CFLAGS@
check_dbmail_server_SOURCES=check_dbmail_server.c
check_dbmail_server_LDADD=@CHECK_LIBS@ libdbmail.la
check_dbmail_server_INCLUDES=@CHECK_CFLAGS@
check_dbmail_deliver_SOURCES=check_dbmail_deliver.c
check_dbmail_deliver_LDADD=@CHECK_LIBS@ libdbmail.la
check_dbmail_deliver_INCLUDES=@CHECK_CFLAGS@
check_dbmail_message_SOURCES=check_dbmail_message.c
check_dbmail_message_LDADD=@CHECK_LIBS@ libdbmail.la
check_dbmail_message_INCLUDES=@CHECK_CFLAGS@
check_dbmail_mailbox_SOURCES=check_dbmail_mailbox.c
check_dbmail_mailbox_LDADD=@CHECK_LIBS@ libdbmail.la
check_dbmail_mailbox_INCLUDES=@CHECK_CFLAGS@
check_dbmail_imapd_SOURCES=quota.c imap4.c dm_imaputil.c imapcommands.c memblock.c dm_search.c dbmsgbuf.c acl.c dbmail-imapsession.c check_dbmail_imapd.c
check_dbmail_imapd_LDADD=@CHECK_LIBS@ libdbmail.la
check_dbmail_imapd_INCLUDES=@CHECK_CFLAGS@
endif
|