summaryrefslogtreecommitdiff
path: root/mailbox/Makefile.am
blob: 5146528ae9a8ac796a218a1071da81ae621a76d9 (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
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
## Process this file with GNU Automake to create Makefile.in

##   Copyright (C) 2000, 2001, 2002, 2004, 2005, 2006, 2007, 2008, 2009,
##   2010 Free Software Foundation, Inc.
##
##   GNU Mailutils 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, 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. 51 Franklin Street, Fifth Floor, Boston, MA
##   02110-1301 USA

INCLUDES = @MU_LIB_COMMON_INCLUDES@

YLWRAP = $(SHELL) $(mu_aux_dir)/gylwrap
AM_YFLAGS=-vt
AM_LFLAGS=-dvp

SUBDIRS = testsuite 

lib_LTLIBRARIES = libmailutils.la

localedir = $(datadir)/locale
AM_CPPFLAGS = \
 -DSYSCONFDIR=\"$(sysconfdir)\"\
 -DSITE_VIRTUAL_PWDDIR=\"@SITE_VIRTUAL_PWDDIR@\"\
 -DLOCALEDIR=\"$(localedir)\"

EXTRA_DIST = \
 errors\
 muerrno.cin\
 parsedate.y\
 fgetpwent.c\
 cfg_lexer.l\
 cfg_parser.y\
 cfg_parser.h

libmailutils_la_SOURCES = \
 acl.c\
 address.c\
 alloc.c\
 amd.c\
 argcv.c\
 asnprintf.c\
 asprintf.c\
 assoc.c\
 attachment.c\
 attribute.c\
 auth.c\
 base64.c\
 body.c\
 cstrcasecmp.c\
 cfg_driver.c\
 cfg_format.c\
 cfg_lexer.c\
 cfg_parser.c\
 cstrlower.c\
 cstrupper.c\
 daemon.c\
 date.c\
 dbgstderr.c\
 dbgsyslog.c\
 debug.c\
 diag.c\
 envelope.c\
 fgetpwent.c\
 file_stream.c\
 filter.c\
 filter_iconv.c\
 filter_rfc822.c\
 filter_trans.c\
 folder.c\
 freeitem.c\
 gdebug.c\
 gocs.c\
 hdritr.c\
 header.c\
 iterator.c\
 ipsrv.c\
 kwd.c\
 list.c\
 listlist.c\
 locale.c\
 locker.c\
 mailbox.c\
 mailcap.c\
 mailer.c\
 mapfile_stream.c\
 mbx_default.c\
 mbxitr.c\
 md5.c\
 message.c\
 memory_stream.c\
 message_stream.c\
 mime.c\
 mkfilename.c\
 monitor.c\
 msrv.c\
 mu_auth.c\
 muctype.c\
 munre.c\
 mutil.c\
 muerror.c\
 muerrno.c\
 nls.c\
 observer.c\
 opool.c\
 parse822.c\
 parsedate.c\
 permstr.c\
 progmailer.c\
 property.c\
 registrar.c\
 refcount.c\
 rfc2047.c\
 sha1.c\
 secret.c\
 server.c\
 socket_stream.c\
 stream.c\
 strltrim.c\
 strskip.c\
 stripws.c\
 strrtrim.c\
 syslog.c\
 system.c\
 ticket.c\
 tcp.c\
 url.c\
 vartab.c\
 vasnprintf.c\
 version.c\
 wicket.c
 
BUILT_SOURCES = parsedate.c muerrno.c cfg_parser.c cfg_parser.h cfg_lexer.c
MOSTLYCLEANFILES=

parsedate.c: $(srcdir)/parsedate.y
	$(YLWRAP) "$(YACC) $(AM_YFLAGS)" $< \
	          y.tab.c parsedate.c y.output parsedate.y.output \
                  -- -yy pd_yy

cfg_parser.c cfg_parser.h: $(srcdir)/cfg_parser.y
	$(YLWRAP) "$(YACC) $(AM_YFLAGS) -d" $< \
	          y.tab.c cfg_parser.c y.tab.h cfg_parser.h \
                  y.output cfg_parser.y.output \
                  -- -yy mu_cfg_yy

cfg_lexer.c: $(srcdir)/cfg_lexer.l cfg_parser.h
	$(YLWRAP) "$(LEX) $(AM_LFLAGS) $(LFLAGS)" \
                  $(srcdir)/cfg_lexer.l lex.yy.c cfg_lexer.c \
                  -- -yy mu_cfg_yy

muerrno.c: errors muerrno.cin
	$(AWK) -f $(mu_aux_dir)/generr.awk $^ > $@

libmailutils_la_LIBADD = @MU_COMMON_LIBRARIES@
libmailutils_la_LDFLAGS = -version-info @VI_CURRENT@:@VI_REVISION@:@VI_AGE@

Return to:

Send suggestions and report system problems to the System administrator.