blob: f35350b9b4c60420dd48c7798f8699d75db9306f (
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
|
##
## src/Makefile.am
##
## This file is part of GNU Anubis.
## Copyright (C) 2001-2020 The Anubis Team.
##
## GNU Anubis 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 3 of the License, or (at your
## option) any later version.
##
## GNU Anubis 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 GNU Anubis. If not, see <http://www.gnu.org/licenses/>.
##
adm_sbin_programs = anubisadm
adm_bin_programs = anubisusr
sbin_PROGRAMS = anubis @ANUBIS_SBIN_ADM@
bin_PROGRAMS = @ANUBIS_BIN_ADM@
EXTRA_PROGRAMS = $(adm_bin_programs) $(adm_sbin_programs)
noinst_LIBRARIES = libanubisdb.a
anubis_LDADD = ./libanubisdb.a $(top_builddir)/lib/libanubis.a\
@LIBINTL@ $(GUILE_LIBS) @LIBGNUTLS_LIBS@ @GSASL_LIBS@
anubis_SOURCES = \
authmode.c \
daemon.c \
env.c \
errs.c \
esmtp.c \
exec.c \
extern.h \
headers.h \
help.c \
ident.c \
log.c \
logport.c\
main.c \
map.c \
mda.c \
message.c \
mime.c \
misc.c \
net.c \
proclist.c \
quit.c \
rcfile.c \
rcfile.h \
rc-gram.y \
rc-gram.h \
rc-lex.l \
regex.c \
socks.c \
transmode.c \
tunnel.c \
xdatabase.c
if GSASL_COND
anubis_SOURCES += gsasl_srv.c
endif
if GPG_COND
anubis_SOURCES += gpg.c
endif
if GUILE_COND
anubis_SOURCES += guile.c
endif
anubisadm_SOURCES = anubisadm.c anubisadm.h adm.c
anubisadm_LDADD = ./libanubisdb.a $(top_builddir)/lib/libanubis.a @LIBINTL@
anubisusr_SOURCES = anubisusr.c anubisusr.h usr.c
anubisusr_LDADD = ./libanubisdb.a $(top_builddir)/lib/libanubis.a @LIBINTL@ @LIBGNUTLS_LIBS@ @GSASL_LIBS@
libanubisdb_a_SOURCES = \
anubisdb.c \
dbtext.c \
list.c \
list.h \
md5.c \
mysql.c \
pgsql.c \
sql.h \
sql.c \
smtprepl.c \
smtprepl.h \
stream.c \
$(TLS_C) \
url.c
if TLS_COND
libanubisdb_a_SOURCES += tls.c
endif
if GSASL_COND
libanubisdb_a_SOURCES += gsasl.c
endif
if GDBM_COND
libanubisdb_a_SOURCES += gdbm.c
endif
AM_YFLAGS = -dtv
AM_LFLAGS = -dvp
EXTRA_DIST = getopt.m4 env.opt
BUILT_SOURCES = env.c
localedir = $(datadir)/locale
DEFS = @DEFS@ -DLOCALEDIR=\"$(localedir)\"
AM_CPPFLAGS = @ADD_INCLUDES@ @GUILE_INCLUDES@ @LIBGNUTLS_INCLUDES@ -I$(top_srcdir)/lib
SUFFIXES=.opt .c
.opt.c:
m4 -s $(top_srcdir)/src/getopt.m4 $< | sed '1d' > $@
FLOWCHART_FILES=$(anubis_SOURCES) $(libanubisdb_a_SOURCES)
flowchart: anubis.cflow
anubis.cflow: $(FLOWCHART_FILES)
CFLOWRC=$(top_srcdir)/build/cflow.rc \
cflow -o$@ --brief -i^s $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
$(CPPFLAGS) `echo $(FLOWCHART_FILES)|sed 's/[^ ]*\.h //g'`
## EOF
|