Blame view

mailbox/Makefile.am 3.32 KB
1 2
## Process this file with GNU Automake to create Makefile.in

3 4
##   Copyright (C) 2000, 2001, 2002, 2004, 2005, 2006, 2007, 2008, 2009,
##   2010 Free Software Foundation, Inc.
5
##
6
##   GNU Mailutils is free software; you can redistribute it and/or
7
##   modify it under the terms of the GNU General Public License as
8
##   published by the Free Software Foundation; either version 3, or (at
9 10 11 12 13 14 15 16 17
##   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
18 19
##   Foundation, Inc. 51 Franklin Street, Fifth Floor, Boston, MA
##   02110-1301 USA
Wojciech Polak authored
20

21
INCLUDES = @MU_LIB_COMMON_INCLUDES@
22

23
YLWRAP = $(SHELL) $(mu_aux_dir)/gylwrap
Sergey Poznyakoff authored
24
AM_YFLAGS=-vt
25
AM_LFLAGS=-dvp
26

27
SUBDIRS = testsuite 
28

29
lib_LTLIBRARIES = libmailutils.la
30

31
localedir = $(datadir)/locale
32
AM_CPPFLAGS = \
33
 -DSYSCONFDIR=\"$(sysconfdir)\"\
34 35
 -DSITE_VIRTUAL_PWDDIR=\"@SITE_VIRTUAL_PWDDIR@\"\
 -DLOCALEDIR=\"$(localedir)\"
36

37 38 39 40 41 42 43
EXTRA_DIST = \
 errors\
 muerrno.cin\
 parsedate.y\
 fgetpwent.c\
 cfg_lexer.l\
 cfg_parser.y\
44
 cfg_parser.h
Sergey Poznyakoff authored
45

46
libmailutils_la_SOURCES = \
47
 acl.c\
48
 address.c\
49
 alloc.c\
50 51
 amd.c\
 argcv.c\
52 53
 asnprintf.c\
 asprintf.c\
54 55 56 57
 assoc.c\
 attachment.c\
 attribute.c\
 auth.c\
58
 base64.c\
59
 body.c\
60 61 62 63 64 65 66
 cstrcasecmp.c\
 cfg_driver.c\
 cfg_format.c\
 cfg_lexer.c\
 cfg_parser.c\
 cstrlower.c\
 cstrupper.c\
67 68
 daemon.c\
 date.c\
Sergey Poznyakoff authored
69 70
 dbgstderr.c\
 dbgsyslog.c\
71
 debug.c\
72
 diag.c\
73
 envelope.c\
74
 fgetpwent.c\
75 76 77 78 79 80
 file_stream.c\
 filter.c\
 filter_iconv.c\
 filter_rfc822.c\
 filter_trans.c\
 folder.c\
81
 freeitem.c\
82
 gdebug.c\
83
 gocs.c\
Sergey Poznyakoff authored
84
 hdritr.c\
85 86
 header.c\
 iterator.c\
Sergey Poznyakoff authored
87
 ipsrv.c\
88
 kwd.c\
89
 list.c\
90
 listlist.c\
91 92 93 94 95 96 97
 locale.c\
 locker.c\
 mailbox.c\
 mailcap.c\
 mailer.c\
 mapfile_stream.c\
 mbx_default.c\
98
 md5.c\
99 100 101 102
 message.c\
 memory_stream.c\
 message_stream.c\
 mime.c\
103
 mkfilename.c\
104
 monitor.c\
105
 msrv.c\
106
 mu_auth.c\
107
 muctype.c\
108 109 110 111 112 113
 munre.c\
 mutil.c\
 muerror.c\
 muerrno.c\
 nls.c\
 observer.c\
114
 opool.c\
115 116
 parse822.c\
 parsedate.c\
117
 permstr.c\
118
 progmailer.c\
119 120 121 122
 property.c\
 registrar.c\
 refcount.c\
 rfc2047.c\
123
 sha1.c\
124
 secret.c\
125
 server.c\
126 127
 socket_stream.c\
 stream.c\
128 129
 strltrim.c\
 strskip.c\
130
 stripws.c\
131
 strrtrim.c\
132 133 134
 syslog.c\
 system.c\
 ticket.c\
135
 tcp.c\
136
 url.c\
137
 vartab.c\
138
 vasnprintf.c\
139
 version.c\
140 141
 wicket.c
 
142
BUILT_SOURCES = parsedate.c muerrno.c cfg_parser.c cfg_parser.h cfg_lexer.c
Sergey Poznyakoff authored
143
MOSTLYCLEANFILES=
Sergey Poznyakoff authored
144 145 146 147 148 149

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

150
cfg_parser.c cfg_parser.h: $(srcdir)/cfg_parser.y
151 152 153 154 155
	$(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

156 157 158 159 160
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

Sergey Poznyakoff authored
161
muerrno.c: errors muerrno.cin
162
	$(AWK) -f $(mu_aux_dir)/generr.awk $^ > $@
Sergey Poznyakoff authored
163

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