summaryrefslogtreecommitdiffabout
path: root/libmailutils/Makefile.am
authorSergey Poznyakoff <gray@gnu.org.ua>2010-10-09 10:06:58 (GMT)
committer Sergey Poznyakoff <gray@gnu.org.ua>2010-10-09 10:26:18 (GMT)
commitf3188dcc18d8de1192c87e7e0284800e9488b976 (patch) (unidiff)
treefed11275f4d8bbc28d8eb2239d93ddcba89fcb84 /libmailutils/Makefile.am
parent37d7cd77d34cd4bf8d267b3010d923845fe74308 (diff)
downloadmailutils-f3188dcc18d8de1192c87e7e0284800e9488b976.tar.gz
mailutils-f3188dcc18d8de1192c87e7e0284800e9488b976.tar.bz2
Reorganize libmailutils directory structure.
* configure.ac (AC_CONFIG_FILES): Add libmailutils/ subdirs. * include/mailutils/Makefile.am: Update references to libmailutils. * po/POTFILES.in: Likewise. * libmailutils/.gitignore: Update. * libmailutils/Makefile.am: Use convenience libraries in subdirs. * libmailutils/string/Makefile.am: New file. * libmailutils/cstrcasecmp.c: Move to libmailutils/string. * libmailutils/cstrlower.c: Likewise. * libmailutils/cstrupper.c: Likewise. * libmailutils/strltrim.c: Likewise. * libmailutils/strskip.c: Likewise. * libmailutils/stripws.c: Likewise. * libmailutils/strrtrim.c: Likewise. * libmailutils/asnprintf.c: Likewise. * libmailutils/asprintf.c: Likewise. * libmailutils/muctype.c: Likewise. * libmailutils/vasnprintf.c: Likewise. * libmailutils/mkfilename.c: Likewise. * libmailutils/stream/Makefile.am: New file. * libmailutils/dbgstream.c: Move to libmailutils/stream. * libmailutils/file_stream.c: Likewise. * libmailutils/fltstream.c: Likewise. * libmailutils/iostream.c: Likewise. * libmailutils/mapfile_stream.c: Likewise. * libmailutils/memory_stream.c: Likewise. * libmailutils/message_stream.c: Likewise. * libmailutils/prog_stream.c: Likewise. * libmailutils/rdcache_stream.c: Likewise. * libmailutils/socket_stream.c: Likewise. * libmailutils/stdio_stream.c: Likewise. * libmailutils/stream.c: Likewise. * libmailutils/stream_printf.c: Likewise. * libmailutils/stream_vprintf.c: Likewise. * libmailutils/streamcpy.c: Likewise. * libmailutils/streamref.c: Likewise. * libmailutils/tcp.c: Likewise. * libmailutils/temp_file_stream.c: Likewise. * libmailutils/xscript-stream.c * libmailutils/cfg/Makefile.am: New file. * libmailutils/cfg/.gitignore: New file. * libmailutils/cfg_driver.c: Move to libmailutils/cfg/driver.c. * libmailutils/cfg_format.c: Move to libmailutils/cfg/format.c. * libmailutils/cfg_lexer.l: Move to libmailutils/cfg/lexer.l. * libmailutils/cfg_parser.y: Move to libmailutils/cfg/parser.y. * libmailutils/gocs.c: Move to libmailutils/cfg/gocs.c. * libmailutils/diag/Makefile.am: New file. * libmailutils/diag/.gitignore: New file. * libmailutils/debug.c: Move to libmailutils/diag. * libmailutils/diag.c: Likewise. * libmailutils/gdebug.c: Likewise. * libmailutils/errors: Likewise. * libmailutils/muerrno.cin: Likewise. * libmailutils/syslog.c: Likewise. * libmailutils/dbgstderr.c: Likewise. * libmailutils/dbgsyslog.c: Likewise. * libmailutils/address/Makefile.am: New file. * libmailutils/address.c: Move to libmailutils/address. * libmailutils/parse822.c: Likewise. * libmailutils/mailbox/Makefile.am: New file. * libmailutils/mailbox.c: Move to libmailutils/mailbox. * libmailutils/mbx_default.c: Likewise. * libmailutils/mbxitr.c: Likewise. * libmailutils/attribute.c: Likewise. * libmailutils/body.c: Likewise. * libmailutils/envelope.c: Likewise. * libmailutils/folder.c: Likewise. * libmailutils/hdritr.c: Likewise. * libmailutils/header.c: Likewise. * libmailutils/message.c: Likewise. * libmailutils/msgscan.c: Likewise. * libmailutils/mailer/Makefile.am: New file. * libmailutils/mailer.c: Move to libmailutils/mailer. * libmailutils/progmailer.c: Likewise. * libmailutils/mime/Makefile.am: New file. * libmailutils/attachment.c: Move to libmailutils/mime. * libmailutils/mime.c: Likewise. * libmailutils/mimehdr.c: Likewise. * libmailutils/server/Makefile.am: New file. * libmailutils/acl.c: Move to libmailutils/server. * libmailutils/server.c: Likewise. * libmailutils/msrv.c: Likewise. * libmailutils/ipsrv.c: Likewise. * libmailutils/auth/Makefile.am: New file. * libmailutils/auth.c: Move to libmailutils/auth. * libmailutils/mu_auth.c: Likewise. * libmailutils/system.c: Likewise. * libmailutils/base/Makefile.am: New file. * libmailutils/base/.gitignore: New file. * libmailutils/alloc.c: Move to libmailutils/base. * libmailutils/amd.c: Likewise. * libmailutils/argcv.c: Likewise. * libmailutils/assoc.c: Likewise. * libmailutils/daemon.c: Likewise. * libmailutils/date.c: Likewise. * libmailutils/fgetpwent.c: Likewise. * libmailutils/freeitem.c: Likewise. * libmailutils/getpass.c: Likewise. * libmailutils/iterator.c: Likewise. * libmailutils/kwd.c: Likewise. * libmailutils/list.c: Likewise. * libmailutils/listlist.c: Likewise. * libmailutils/locale.c: Likewise. * libmailutils/locker.c: Likewise. * libmailutils/mailcap.c: Likewise. * libmailutils/md5.c: Likewise. * libmailutils/monitor.c: Likewise. * libmailutils/munre.c: Likewise. * libmailutils/mutil.c: Likewise. * libmailutils/nls.c: Likewise. * libmailutils/nullrec.c: Likewise. * libmailutils/observer.c: Likewise. * libmailutils/opool.c: Likewise. * libmailutils/parsedate.y: Likewise. * libmailutils/permstr.c: Likewise. * libmailutils/property.c: Likewise. * libmailutils/registrar.c: Likewise. * libmailutils/refcount.c: Likewise. * libmailutils/rfc2047.c: Likewise. * libmailutils/sha1.c: Likewise. * libmailutils/secret.c: Likewise. * libmailutils/ticket.c: Likewise. * libmailutils/url.c: Likewise. * libmailutils/vartab.c: Likewise. * libmailutils/version.c: Likewise. * libmailutils/wicket.c: Likewise.
Diffstat (limited to 'libmailutils/Makefile.am') (more/less context) (ignore whitespace changes)
-rw-r--r--libmailutils/Makefile.am218
1 files changed, 36 insertions, 182 deletions
diff --git a/libmailutils/Makefile.am b/libmailutils/Makefile.am
index 07a0a4e..f13085f 100644
--- a/libmailutils/Makefile.am
+++ b/libmailutils/Makefile.am
@@ -1,188 +1,42 @@
1## Process this file with GNU Automake to create Makefile.in 1# GNU Mailutils -- a suite of utilities for electronic mail
2 2# Copyright (C) 2000, 2001, 2002, 2004, 2005, 2006, 2007, 2008, 2009,
3## Copyright (C) 2000, 2001, 2002, 2004, 2005, 2006, 2007, 2008, 2009, 3# 2010 Free Software Foundation, Inc.
4## 2010 Free Software Foundation, Inc. 4#
5## 5# This library is free software; you can redistribute it and/or
6## GNU Mailutils is free software; you can redistribute it and/or 6# modify it under the terms of the GNU Lesser General Public
7## modify it under the terms of the GNU General Public License as 7# License as published by the Free Software Foundation; either
8## published by the Free Software Foundation; either version 3, or (at 8# version 3 of the License, or (at your option) any later version.
9## your option) any later version. 9#
10## 10# This library is distributed in the hope that it will be useful,
11## This program is distributed in the hope that it will be useful, but 11# but WITHOUT ANY WARRANTY; without even the implied warranty of
12## WITHOUT ANY WARRANTY; without even the implied warranty of 12# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 13# Lesser General Public License for more details.
14## General Public License for more details. 14#
15## 15# You should have received a copy of the GNU Lesser General
16## You should have received a copy of the GNU General Public License 16# Public License along with this library. If not, see
17## along with this program; if not, write to the Free Software 17# <http://www.gnu.org/licenses/>.
18## Foundation, Inc. 51 Franklin Street, Fifth Floor, Boston, MA 18
19## 02110-1301 USA 19SUBDIRS = auth base address cfg diag filter mailbox mailer mime\
20 20 server string stream . tests
21INCLUDES = @MU_LIB_COMMON_INCLUDES@ -I${top_srcdir}/libmailutils
22
23YLWRAP = $(SHELL) $(mu_aux_dir)/gylwrap
24AM_YFLAGS=-vt
25AM_LFLAGS=-dvp
26
27SUBDIRS = . tests
28 21
29lib_LTLIBRARIES = libmailutils.la 22lib_LTLIBRARIES = libmailutils.la
30 23
31localedir = $(datadir)/locale 24libmailutils_la_SOURCES =
32AM_CPPFLAGS = \ 25
33 -DSYSCONFDIR=\"$(sysconfdir)\"\ 26libmailutils_la_LIBADD = \
34 -DSITE_VIRTUAL_PWDDIR=\"@SITE_VIRTUAL_PWDDIR@\"\ 27 @MU_COMMON_LIBRARIES@\
35 -DLOCALEDIR=\"$(localedir)\" 28 auth/libauth.la\
36 29 base/libbase.la\
37EXTRA_DIST = \ 30 address/libaddress.la\
38 errors\ 31 cfg/libcfg.la\
39 muerrno.cin\ 32 diag/libdiag.la\
40 parsedate.y\ 33 filter/libfilter.la\
41 fgetpwent.c\ 34 mailbox/libmailbox.la\
42 cfg_lexer.l\ 35 mailer/libmailer.la\
43 cfg_parser.y\ 36 mime/libmime.la\
44 cfg_parser.h 37 server/libserver.la\
45 38 string/libstring.la\
46libmailutils_la_SOURCES = \ 39 stream/libstream.la
47 acl.c\
48 address.c\
49 alloc.c\
50 amd.c\
51 argcv.c\
52 asnprintf.c\
53 asprintf.c\
54 assoc.c\
55 attachment.c\
56 attribute.c\
57 auth.c\
58 base64.c\
59 binflt.c\
60 body.c\
61 cstrcasecmp.c\
62 cfg_driver.c\
63 cfg_format.c\
64 cfg_lexer.c\
65 cfg_parser.c\
66 crlfdot.c\
67 crlfflt.c\
68 cstrlower.c\
69 cstrupper.c\
70 daemon.c\
71 date.c\
72 dbgstderr.c\
73 dbgstream.c\
74 dbgsyslog.c\
75 debug.c\
76 diag.c\
77 dot.c\
78 envelope.c\
79 fgetpwent.c\
80 file_stream.c\
81 filter.c\
82 filter_iconv.c\
83 fltstream.c\
84 folder.c\
85 freeitem.c\
86 fromflt.c\
87 gdebug.c\
88 getpass.c\
89 gocs.c\
90 hdritr.c\
91 header.c\
92 iostream.c\
93 iterator.c\
94 ipsrv.c\
95 kwd.c\
96 linelenflt.c\
97 list.c\
98 listlist.c\
99 locale.c\
100 locker.c\
101 mailbox.c\
102 mailcap.c\
103 mailer.c\
104 mapfile_stream.c\
105 mbx_default.c\
106 mbxitr.c\
107 md5.c\
108 message.c\
109 memory_stream.c\
110 message_stream.c\
111 mime.c\
112 mimehdr.c\
113 mkfilename.c\
114 monitor.c\
115 msgscan.c\
116 msrv.c\
117 mu_auth.c\
118 muctype.c\
119 munre.c\
120 mutil.c\
121 muerror.c\
122 muerrno.c\
123 nls.c\
124 nullrec.c\
125 observer.c\
126 opool.c\
127 parse822.c\
128 parsedate.c\
129 permstr.c\
130 progmailer.c\
131 prog_stream.c\
132 property.c\
133 qpflt.c\
134 rdcache_stream.c\
135 registrar.c\
136 refcount.c\
137 rfc2047.c\
138 sha1.c\
139 secret.c\
140 server.c\
141 socket_stream.c\
142 stdio_stream.c\
143 stream.c\
144 stream_printf.c\
145 stream_vprintf.c\
146 streamcpy.c\
147 streamref.c\
148 strltrim.c\
149 strskip.c\
150 stripws.c\
151 strrtrim.c\
152 syslog.c\
153 system.c\
154 temp_file_stream.c\
155 ticket.c\
156 tcp.c\
157 url.c\
158 vartab.c\
159 vasnprintf.c\
160 version.c\
161 wicket.c\
162 xscript-stream.c
163
164BUILT_SOURCES = parsedate.c muerrno.c cfg_parser.c cfg_parser.h cfg_lexer.c
165MOSTLYCLEANFILES=
166
167parsedate.c: $(srcdir)/parsedate.y
168 $(YLWRAP) "$(YACC) $(AM_YFLAGS)" $< \
169 y.tab.c parsedate.c y.output parsedate.y.output \
170 -- -yy pd_yy
171
172cfg_parser.c cfg_parser.h: $(srcdir)/cfg_parser.y
173 $(YLWRAP) "$(YACC) $(AM_YFLAGS) -d" $< \
174 y.tab.c cfg_parser.c y.tab.h cfg_parser.h \
175 y.output cfg_parser.y.output \
176 -- -yy mu_cfg_yy
177
178cfg_lexer.c: $(srcdir)/cfg_lexer.l cfg_parser.h
179 $(YLWRAP) "$(LEX) $(AM_LFLAGS) $(LFLAGS)" \
180 $(srcdir)/cfg_lexer.l lex.yy.c cfg_lexer.c \
181 -- -yy mu_cfg_yy
182
183muerrno.c: errors muerrno.cin
184 $(AWK) -f $(mu_aux_dir)/generr.awk $^ > $@
185 40
186libmailutils_la_LIBADD = @MU_COMMON_LIBRARIES@
187libmailutils_la_LDFLAGS = -version-info @VI_CURRENT@:@VI_REVISION@:@VI_AGE@ 41libmailutils_la_LDFLAGS = -version-info @VI_CURRENT@:@VI_REVISION@:@VI_AGE@
188 42

Return to:

Send suggestions and report system problems to the System administrator.