Makefile.am
2.7 KB
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
pkglibexec_PROGRAMS=\
mailutils-acl\
mailutils-cflags\
mailutils-ldflags\
mailutils-filter\
mailutils-flt2047\
mailutils-info\
mailutils-logger\
mailutils-query\
mailutils-send\
mailutils-smtp\
mailutils-stat\
mailutils-wicket
noinst_HEADERS = mu.h
noinst_LIBRARIES = libmutool.a
libmutool_a_SOURCES = \
getopt.c\
getans.c\
getarg.c\
getyn.c\
shell.c\
util.c\
verbose.c
mailutils_acl_SOURCES = acl.c
mailutils_filter_SOURCES = filter.c
mailutils_flt2047_SOURCES = flt2047.c
mailutils_info_SOURCES = info.c
mailutils_logger_SOURCES = logger.c
mailutils_query_SOURCES = query.c
mailutils_wicket_SOURCES = wicket.c
mailutils_cflags_SOURCES=cflags.c
mailutils_cflags_CPPFLAGS = $(AM_CPPFLAGS)\
-DCOMPILE_FLAGS="\"-I$(includedir)\""
mailutils_ldflags_SOURCES=ldflags.c
mailutils_ldflags_CPPFLAGS = $(AM_CPPFLAGS)\
-DLINK_FLAGS="\"-L$(libdir)\"" \
-DLINK_POSTFLAGS="\"$(MU_LINK_POSTFLAGS)\"" \
-DAUTHLIBS="\"$(MU_AUTHLIBS)\"" \
-DGUILE_LIBS="\"$(GUILE_LIBS)\"" \
-DPYTHON_LIBS="\"$(PYTHON_LIBS)\"" \
-DI18NLIBS="\"$(LIBINTL)\"" \
-DDBMLIBS="\"$(DBMLIBS)\""
if MU_COND_DBM
pkglibexec_PROGRAMS += mailutils-dbm
mailutils_dbm_SOURCES = dbm.c
mailutils_dbm_LDFLAGS = \
${MU_APP_LIBRARIES}\
../../libmu_dbm/libmu_dbm.la\
@DBMLIBS@\
$(MUTOOL_LIBRARIES_TAIL)
endif
if MU_COND_SUPPORT_POP
pkglibexec_PROGRAMS += mailutils-pop
mailutils_pop_SOURCES = pop.c
mailutils_pop_CPPFLAGS = \
$(AM_CPPFLAGS)\
@MU_AUTHINCS@
mailutils_pop_LDADD =\
${MU_APP_LIBRARIES}\
${MU_LIB_POP}\
${MU_LIB_AUTH}\
@MU_AUTHLIBS@\
$(MUTOOL_LIBRARIES_TAIL)
endif
if MU_COND_SUPPORT_IMAP
pkglibexec_PROGRAMS += mailutils-imap
mailutils_imap_SOURCES = imap.c
mailutils_imap_CPPFLAGS = \
$(AM_CPPFLAGS)\
@MU_AUTHINCS@
mailutils_imap_LDADD =\
${MU_APP_LIBRARIES}\
${MU_LIB_IMAP}\
${MU_LIB_AUTH}\
@MU_AUTHLIBS@\
$(MUTOOL_LIBRARIES_TAIL)
endif
mailutils_send_SOURCES = send.c
mailutils_send_CPPFLAGS = \
$(AM_CPPFLAGS)\
@MU_AUTHINCS@
mailutils_send_LDADD = \
${MU_APP_LIBRARIES}\
${MU_LIB_MAILER}\
${MU_LIB_AUTH}\
@MU_AUTHLIBS@\
$(MUTOOL_LIBRARIES_TAIL)
mailutils_stat_SOURCES = stat.c
mailutils_stat_LDADD = \
${MU_APP_LIBRARIES}\
${MU_LIB_MBOX}\
${MU_LIB_IMAP}\
${MU_LIB_POP}\
${MU_LIB_NNTP}\
${MU_LIB_MH}\
${MU_LIB_MAILDIR}\
${MU_LIB_AUTH}\
@MU_AUTHLIBS@\
$(MUTOOL_LIBRARIES_TAIL)
mailutils_smtp_SOURCES = smtp.c
mailutils_smtp_CPPFLAGS = \
$(AM_CPPFLAGS)\
@MU_AUTHINCS@
mailutils_smtp_LDADD = \
${MU_APP_LIBRARIES}\
${MU_LIB_MAILER}\
${MU_LIB_AUTH}\
@MU_AUTHLIBS@\
$(MUTOOL_LIBRARIES_TAIL)
MUTOOL_LIBRARIES_TAIL = \
${MU_APP_LIBRARIES}\
./libmutool.a\
${MU_LIB_MAILUTILS}\
@READLINE_LIBS@\
@MU_COMMON_LIBRARIES@
LDADD = ${MU_APP_LIBRARIES} $(MUTOOL_LIBRARIES_TAIL)
AM_CPPFLAGS = \
@MU_APP_COMMON_INCLUDES@