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.
Showing
138 changed files
with
517 additions
and
245 deletions
... | @@ -14,12 +14,11 @@ dnl MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ... | @@ -14,12 +14,11 @@ dnl MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
14 | dnl GNU General Public License for more details. | 14 | dnl GNU General Public License for more details. |
15 | dnl | 15 | dnl |
16 | dnl You should have received a copy of the GNU General Public License along | 16 | dnl You should have received a copy of the GNU General Public License along |
17 | dnl with GNU Mailutils; if not, write to the Free Software Foundation, | 17 | dnl with GNU Mailutils. If not, see <http://www.gnu.org/licenses/>. |
18 | dnl Inc. 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | ||
19 | 18 | ||
20 | AC_PREREQ(2.63) | 19 | AC_PREREQ(2.63) |
21 | AC_INIT([GNU Mailutils], [2.2.90], [bug-mailutils@gnu.org], [mailutils]) | 20 | AC_INIT([GNU Mailutils], [2.2.90], [bug-mailutils@gnu.org], [mailutils]) |
22 | AC_CONFIG_SRCDIR([libmailutils/mailbox.c]) | 21 | AC_CONFIG_SRCDIR([libmailutils/mailbox/mailbox.c]) |
23 | AC_CONFIG_AUX_DIR([build-aux]) | 22 | AC_CONFIG_AUX_DIR([build-aux]) |
24 | AM_INIT_AUTOMAKE([gnits 1.11 dist-bzip2 dist-xz std-options silent-rules]) | 23 | AM_INIT_AUTOMAKE([gnits 1.11 dist-bzip2 dist-xz std-options silent-rules]) |
25 | AC_CONFIG_HEADERS([config.h]) | 24 | AC_CONFIG_HEADERS([config.h]) |
... | @@ -1377,6 +1376,18 @@ AC_CONFIG_FILES([ | ... | @@ -1377,6 +1376,18 @@ AC_CONFIG_FILES([ |
1377 | maidag/Makefile | 1376 | maidag/Makefile |
1378 | mail/Makefile | 1377 | mail/Makefile |
1379 | mail/testsuite/Makefile | 1378 | mail/testsuite/Makefile |
1379 | libmailutils/auth/Makefile | ||
1380 | libmailutils/base/Makefile | ||
1381 | libmailutils/address/Makefile | ||
1382 | libmailutils/cfg/Makefile | ||
1383 | libmailutils/diag/Makefile | ||
1384 | libmailutils/filter/Makefile | ||
1385 | libmailutils/mailbox/Makefile | ||
1386 | libmailutils/mailer/Makefile | ||
1387 | libmailutils/mime/Makefile | ||
1388 | libmailutils/server/Makefile | ||
1389 | libmailutils/string/Makefile | ||
1390 | libmailutils/stream/Makefile | ||
1380 | libmailutils/Makefile | 1391 | libmailutils/Makefile |
1381 | messages/Makefile | 1392 | messages/Makefile |
1382 | mh/Makefile | 1393 | mh/Makefile | ... | ... |
... | @@ -20,7 +20,7 @@ | ... | @@ -20,7 +20,7 @@ |
20 | 20 | ||
21 | BUILT_SOURCES=errno.h debug.h | 21 | BUILT_SOURCES=errno.h debug.h |
22 | EXTRA_DIST=errno.hin debug.hm4 types.hin | 22 | EXTRA_DIST=errno.hin debug.hm4 types.hin |
23 | errno.h: $(top_srcdir)/libmailutils/errors errno.hin | 23 | errno.h: $(top_srcdir)/libmailutils/diag/errors errno.hin |
24 | $(AM_V_GEN)$(AWK) -f $(mu_aux_dir)/generr.awk $^ > $@ | 24 | $(AM_V_GEN)$(AWK) -f $(mu_aux_dir)/generr.awk $^ > $@ |
25 | 25 | ||
26 | debug.h: $(mu_aux_dir)/debugdef.m4 debug.hm4 | 26 | debug.h: $(mu_aux_dir)/debugdef.m4 debug.hm4 | ... | ... |
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 | 19 | SUBDIRS = auth base address cfg diag filter mailbox mailer mime\ |
20 | 20 | server string stream . tests | |
21 | INCLUDES = @MU_LIB_COMMON_INCLUDES@ -I${top_srcdir}/libmailutils | ||
22 | |||
23 | YLWRAP = $(SHELL) $(mu_aux_dir)/gylwrap | ||
24 | AM_YFLAGS=-vt | ||
25 | AM_LFLAGS=-dvp | ||
26 | |||
27 | SUBDIRS = . tests | ||
28 | 21 | ||
29 | lib_LTLIBRARIES = libmailutils.la | 22 | lib_LTLIBRARIES = libmailutils.la |
30 | 23 | ||
31 | localedir = $(datadir)/locale | 24 | libmailutils_la_SOURCES = |
32 | AM_CPPFLAGS = \ | 25 | |
33 | -DSYSCONFDIR=\"$(sysconfdir)\"\ | 26 | libmailutils_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\ | |
37 | EXTRA_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\ | |
46 | libmailutils_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 | |||
164 | BUILT_SOURCES = parsedate.c muerrno.c cfg_parser.c cfg_parser.h cfg_lexer.c | ||
165 | MOSTLYCLEANFILES= | ||
166 | |||
167 | parsedate.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 | |||
172 | cfg_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 | |||
178 | cfg_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 | |||
183 | muerrno.c: errors muerrno.cin | ||
184 | $(AWK) -f $(mu_aux_dir)/generr.awk $^ > $@ | ||
185 | 40 | ||
186 | libmailutils_la_LIBADD = @MU_COMMON_LIBRARIES@ | ||
187 | libmailutils_la_LDFLAGS = -version-info @VI_CURRENT@:@VI_REVISION@:@VI_AGE@ | 41 | libmailutils_la_LDFLAGS = -version-info @VI_CURRENT@:@VI_REVISION@:@VI_AGE@ |
188 | 42 | ... | ... |
libmailutils/address/Makefile.am
0 → 100644
1 | # GNU Mailutils -- a suite of utilities for electronic mail | ||
2 | # Copyright (C) 2010 Free Software Foundation, Inc. | ||
3 | # | ||
4 | # This library is free software; you can redistribute it and/or | ||
5 | # modify it under the terms of the GNU Lesser General Public | ||
6 | # License as published by the Free Software Foundation; either | ||
7 | # version 3 of the License, or (at your option) any later version. | ||
8 | # | ||
9 | # This library is distributed in the hope that it will be useful, | ||
10 | # but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
11 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | ||
12 | # Lesser General Public License for more details. | ||
13 | # | ||
14 | # You should have received a copy of the GNU Lesser General | ||
15 | # Public License along with this library. If not, see | ||
16 | # <http://www.gnu.org/licenses/>. | ||
17 | |||
18 | noinst_LTLIBRARIES = libaddress.la | ||
19 | |||
20 | libaddress_la_SOURCES = \ | ||
21 | address.c\ | ||
22 | parse822.c | ||
23 | |||
24 | INCLUDES = @MU_LIB_COMMON_INCLUDES@ -I/libmailutils |
libmailutils/auth/Makefile.am
0 → 100644
1 | # GNU Mailutils -- a suite of utilities for electronic mail | ||
2 | # Copyright (C) 2010 Free Software Foundation, Inc. | ||
3 | # | ||
4 | # This library is free software; you can redistribute it and/or | ||
5 | # modify it under the terms of the GNU Lesser General Public | ||
6 | # License as published by the Free Software Foundation; either | ||
7 | # version 3 of the License, or (at your option) any later version. | ||
8 | # | ||
9 | # This library is distributed in the hope that it will be useful, | ||
10 | # but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
11 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | ||
12 | # Lesser General Public License for more details. | ||
13 | # | ||
14 | # You should have received a copy of the GNU Lesser General | ||
15 | # Public License along with this library. If not, see | ||
16 | # <http://www.gnu.org/licenses/>. | ||
17 | |||
18 | noinst_LTLIBRARIES = libauth.la | ||
19 | |||
20 | libauth_la_SOURCES = \ | ||
21 | auth.c\ | ||
22 | mu_auth.c\ | ||
23 | system.c | ||
24 | |||
25 | INCLUDES = @MU_LIB_COMMON_INCLUDES@ -I/libmailutils |
libmailutils/base/.gitignore
0 → 100644
1 | parsedate.c |
libmailutils/base/Makefile.am
0 → 100644
1 | # GNU Mailutils -- a suite of utilities for electronic mail | ||
2 | # Copyright (C) 2010 Free Software Foundation, Inc. | ||
3 | # | ||
4 | # This library is free software; you can redistribute it and/or | ||
5 | # modify it under the terms of the GNU Lesser General Public | ||
6 | # License as published by the Free Software Foundation; either | ||
7 | # version 3 of the License, or (at your option) any later version. | ||
8 | # | ||
9 | # This library is distributed in the hope that it will be useful, | ||
10 | # but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
11 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | ||
12 | # Lesser General Public License for more details. | ||
13 | # | ||
14 | # You should have received a copy of the GNU Lesser General | ||
15 | # Public License along with this library. If not, see | ||
16 | # <http://www.gnu.org/licenses/>. | ||
17 | |||
18 | noinst_LTLIBRARIES = libbase.la | ||
19 | |||
20 | libbase_la_SOURCES = \ | ||
21 | alloc.c\ | ||
22 | amd.c\ | ||
23 | argcv.c\ | ||
24 | assoc.c\ | ||
25 | daemon.c\ | ||
26 | date.c\ | ||
27 | fgetpwent.c\ | ||
28 | freeitem.c\ | ||
29 | getpass.c\ | ||
30 | iterator.c\ | ||
31 | kwd.c\ | ||
32 | list.c\ | ||
33 | listlist.c\ | ||
34 | locale.c\ | ||
35 | locker.c\ | ||
36 | mailcap.c\ | ||
37 | md5.c\ | ||
38 | monitor.c\ | ||
39 | munre.c\ | ||
40 | mutil.c\ | ||
41 | nls.c\ | ||
42 | nullrec.c\ | ||
43 | observer.c\ | ||
44 | opool.c\ | ||
45 | parsedate.c\ | ||
46 | permstr.c\ | ||
47 | property.c\ | ||
48 | registrar.c\ | ||
49 | refcount.c\ | ||
50 | rfc2047.c\ | ||
51 | sha1.c\ | ||
52 | secret.c\ | ||
53 | ticket.c\ | ||
54 | url.c\ | ||
55 | vartab.c\ | ||
56 | version.c\ | ||
57 | wicket.c | ||
58 | |||
59 | localedir = $(datadir)/locale | ||
60 | AM_CPPFLAGS = \ | ||
61 | -DSYSCONFDIR=\"$(sysconfdir)\"\ | ||
62 | -DSITE_VIRTUAL_PWDDIR=\"@SITE_VIRTUAL_PWDDIR@\"\ | ||
63 | -DLOCALEDIR=\"$(localedir)\" | ||
64 | |||
65 | INCLUDES = @MU_LIB_COMMON_INCLUDES@ -I/libmailutils | ||
66 | |||
67 | YLWRAP = $(SHELL) $(mu_aux_dir)/gylwrap | ||
68 | AM_YFLAGS=-vt | ||
69 | AM_LFLAGS=-dvp | ||
70 | |||
71 | EXTRA_DIST = parsedate.y | ||
72 | |||
73 | BUILT_SOURCES = parsedate.c | ||
74 | |||
75 | parsedate.c: $(srcdir)/parsedate.y | ||
76 | $(YLWRAP) "$(YACC) $(AM_YFLAGS)" $< \ | ||
77 | y.tab.c parsedate.c y.output parsedate.y.output \ | ||
78 | -- -yy pd_yy | ||
79 | |||
80 |
File moved
File moved
File moved
File moved
File moved
libmailutils/cfg/.gitignore
0 → 100644
libmailutils/cfg/Makefile.am
0 → 100644
1 | # GNU Mailutils -- a suite of utilities for electronic mail | ||
2 | # Copyright (C) 2010 Free Software Foundation, Inc. | ||
3 | # | ||
4 | # This library is free software; you can redistribute it and/or | ||
5 | # modify it under the terms of the GNU Lesser General Public | ||
6 | # License as published by the Free Software Foundation; either | ||
7 | # version 3 of the License, or (at your option) any later version. | ||
8 | # | ||
9 | # This library is distributed in the hope that it will be useful, | ||
10 | # but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
11 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | ||
12 | # Lesser General Public License for more details. | ||
13 | # | ||
14 | # You should have received a copy of the GNU Lesser General | ||
15 | # Public License along with this library. If not, see | ||
16 | # <http://www.gnu.org/licenses/>. | ||
17 | |||
18 | noinst_LTLIBRARIES = libcfg.la | ||
19 | |||
20 | libcfg_la_SOURCES = \ | ||
21 | driver.c\ | ||
22 | format.c\ | ||
23 | lexer.c\ | ||
24 | parser.c\ | ||
25 | gocs.c | ||
26 | |||
27 | localedir = $(datadir)/locale | ||
28 | AM_CPPFLAGS = \ | ||
29 | -DSYSCONFDIR=\"$(sysconfdir)\"\ | ||
30 | -DLOCALEDIR=\"$(localedir)\" | ||
31 | |||
32 | INCLUDES = @MU_LIB_COMMON_INCLUDES@ -I/libmailutils | ||
33 | |||
34 | EXTRA_DIST = \ | ||
35 | lexer.l\ | ||
36 | parser.y\ | ||
37 | parser.h | ||
38 | |||
39 | BUILT_SOURCES = parser.c parser.h lexer.c | ||
40 | |||
41 | YLWRAP = $(SHELL) $(mu_aux_dir)/gylwrap | ||
42 | AM_YFLAGS=-vt | ||
43 | AM_LFLAGS=-dvp | ||
44 | |||
45 | parser.c parser.h: $(srcdir)/parser.y | ||
46 | $(YLWRAP) "$(YACC) $(AM_YFLAGS) -d" $< \ | ||
47 | y.tab.c parser.c y.tab.h parser.h \ | ||
48 | y.output parser.y.output \ | ||
49 | -- -yy mu_cfg_yy | ||
50 | |||
51 | lexer.c: $(srcdir)/lexer.l parser.h | ||
52 | $(YLWRAP) "$(LEX) $(AM_LFLAGS) $(LFLAGS)" \ | ||
53 | $(srcdir)/lexer.l lex.yy.c lexer.c \ | ||
54 | -- -yy mu_cfg_yy |
... | @@ -39,7 +39,7 @@ | ... | @@ -39,7 +39,7 @@ |
39 | #include <mailutils/list.h> | 39 | #include <mailutils/list.h> |
40 | #include <mailutils/mutil.h> | 40 | #include <mailutils/mutil.h> |
41 | 41 | ||
42 | #include "cfg_parser.h" | 42 | #include "parser.h" |
43 | 43 | ||
44 | void _mu_line_begin (void); | 44 | void _mu_line_begin (void); |
45 | void _mu_line_add (char *text, size_t len); | 45 | void _mu_line_add (char *text, size_t len); | ... | ... |
libmailutils/diag/.gitignore
0 → 100644
1 | muerrno.c |
libmailutils/diag/Makefile.am
0 → 100644
1 | # GNU Mailutils -- a suite of utilities for electronic mail | ||
2 | # Copyright (C) 2010 Free Software Foundation, Inc. | ||
3 | # | ||
4 | # This library is free software; you can redistribute it and/or | ||
5 | # modify it under the terms of the GNU Lesser General Public | ||
6 | # License as published by the Free Software Foundation; either | ||
7 | # version 3 of the License, or (at your option) any later version. | ||
8 | # | ||
9 | # This library is distributed in the hope that it will be useful, | ||
10 | # but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
11 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | ||
12 | # Lesser General Public License for more details. | ||
13 | # | ||
14 | # You should have received a copy of the GNU Lesser General | ||
15 | # Public License along with this library. If not, see | ||
16 | # <http://www.gnu.org/licenses/>. | ||
17 | |||
18 | noinst_LTLIBRARIES = libdiag.la | ||
19 | |||
20 | libdiag_la_SOURCES = \ | ||
21 | debug.c\ | ||
22 | diag.c\ | ||
23 | gdebug.c\ | ||
24 | muerror.c\ | ||
25 | muerrno.c\ | ||
26 | syslog.c\ | ||
27 | dbgstderr.c\ | ||
28 | dbgsyslog.c | ||
29 | |||
30 | INCLUDES = @MU_LIB_COMMON_INCLUDES@ -I/libmailutils | ||
31 | |||
32 | EXTRA_DIST = \ | ||
33 | errors\ | ||
34 | muerrno.cin | ||
35 | |||
36 | BUILT_SOURCES = muerrno.c | ||
37 | |||
38 | muerrno.c: errors muerrno.cin | ||
39 | $(AWK) -f $(mu_aux_dir)/generr.awk $^ > $@ | ||
40 | |||
41 | |||
42 |
libmailutils/filter/Makefile.am
0 → 100644
1 | # GNU Mailutils -- a suite of utilities for electronic mail | ||
2 | # Copyright (C) 2010 Free Software Foundation, Inc. | ||
3 | # | ||
4 | # This library is free software; you can redistribute it and/or | ||
5 | # modify it under the terms of the GNU Lesser General Public | ||
6 | # License as published by the Free Software Foundation; either | ||
7 | # version 3 of the License, or (at your option) any later version. | ||
8 | # | ||
9 | # This library is distributed in the hope that it will be useful, | ||
10 | # but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
11 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | ||
12 | # Lesser General Public License for more details. | ||
13 | # | ||
14 | # You should have received a copy of the GNU Lesser General | ||
15 | # Public License along with this library. If not, see | ||
16 | # <http://www.gnu.org/licenses/>. | ||
17 | |||
18 | noinst_LTLIBRARIES = libfilter.la | ||
19 | |||
20 | libfilter_la_SOURCES =\ | ||
21 | base64.c\ | ||
22 | binflt.c\ | ||
23 | crlfdot.c\ | ||
24 | crlfflt.c\ | ||
25 | dot.c\ | ||
26 | filter.c\ | ||
27 | filter_iconv.c\ | ||
28 | fromflt.c\ | ||
29 | linelenflt.c\ | ||
30 | qpflt.c | ||
31 | |||
32 | INCLUDES = @MU_LIB_COMMON_INCLUDES@ -I${top_srcdir}/libmailutils | ||
33 |
libmailutils/mailbox/Makefile.am
0 → 100644
1 | # GNU Mailutils -- a suite of utilities for electronic mail | ||
2 | # Copyright (C) 2010 Free Software Foundation, Inc. | ||
3 | # | ||
4 | # This library is free software; you can redistribute it and/or | ||
5 | # modify it under the terms of the GNU Lesser General Public | ||
6 | # License as published by the Free Software Foundation; either | ||
7 | # version 3 of the License, or (at your option) any later version. | ||
8 | # | ||
9 | # This library is distributed in the hope that it will be useful, | ||
10 | # but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
11 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | ||
12 | # Lesser General Public License for more details. | ||
13 | # | ||
14 | # You should have received a copy of the GNU Lesser General | ||
15 | # Public License along with this library. If not, see | ||
16 | # <http://www.gnu.org/licenses/>. | ||
17 | |||
18 | noinst_LTLIBRARIES = libmailbox.la | ||
19 | |||
20 | libmailbox_la_SOURCES = \ | ||
21 | mailbox.c\ | ||
22 | mbx_default.c\ | ||
23 | mbxitr.c\ | ||
24 | attribute.c\ | ||
25 | body.c\ | ||
26 | envelope.c\ | ||
27 | folder.c\ | ||
28 | hdritr.c\ | ||
29 | header.c\ | ||
30 | message.c\ | ||
31 | msgscan.c | ||
32 | |||
33 | INCLUDES = @MU_LIB_COMMON_INCLUDES@ -I/libmailutils |
libmailutils/mailer/Makefile.am
0 → 100644
1 | # GNU Mailutils -- a suite of utilities for electronic mail | ||
2 | # Copyright (C) 2010 Free Software Foundation, Inc. | ||
3 | # | ||
4 | # This library is free software; you can redistribute it and/or | ||
5 | # modify it under the terms of the GNU Lesser General Public | ||
6 | # License as published by the Free Software Foundation; either | ||
7 | # version 3 of the License, or (at your option) any later version. | ||
8 | # | ||
9 | # This library is distributed in the hope that it will be useful, | ||
10 | # but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
11 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | ||
12 | # Lesser General Public License for more details. | ||
13 | # | ||
14 | # You should have received a copy of the GNU Lesser General | ||
15 | # Public License along with this library. If not, see | ||
16 | # <http://www.gnu.org/licenses/>. | ||
17 | |||
18 | noinst_LTLIBRARIES = libmailer.la | ||
19 | |||
20 | libmailer_la_SOURCES = \ | ||
21 | mailer.c\ | ||
22 | progmailer.c | ||
23 | |||
24 | INCLUDES = @MU_LIB_COMMON_INCLUDES@ -I/libmailutils |
libmailutils/mime/Makefile.am
0 → 100644
1 | # GNU Mailutils -- a suite of utilities for electronic mail | ||
2 | # Copyright (C) 2010 Free Software Foundation, Inc. | ||
3 | # | ||
4 | # This library is free software; you can redistribute it and/or | ||
5 | # modify it under the terms of the GNU Lesser General Public | ||
6 | # License as published by the Free Software Foundation; either | ||
7 | # version 3 of the License, or (at your option) any later version. | ||
8 | # | ||
9 | # This library is distributed in the hope that it will be useful, | ||
10 | # but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
11 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | ||
12 | # Lesser General Public License for more details. | ||
13 | # | ||
14 | # You should have received a copy of the GNU Lesser General | ||
15 | # Public License along with this library. If not, see | ||
16 | # <http://www.gnu.org/licenses/>. | ||
17 | |||
18 | noinst_LTLIBRARIES = libmime.la | ||
19 | |||
20 | libmime_la_SOURCES = \ | ||
21 | attachment.c\ | ||
22 | mime.c\ | ||
23 | mimehdr.c | ||
24 | |||
25 | INCLUDES = @MU_LIB_COMMON_INCLUDES@ -I/libmailutils |
libmailutils/server/Makefile.am
0 → 100644
1 | # GNU Mailutils -- a suite of utilities for electronic mail | ||
2 | # Copyright (C) 2010 Free Software Foundation, Inc. | ||
3 | # | ||
4 | # This library is free software; you can redistribute it and/or | ||
5 | # modify it under the terms of the GNU Lesser General Public | ||
6 | # License as published by the Free Software Foundation; either | ||
7 | # version 3 of the License, or (at your option) any later version. | ||
8 | # | ||
9 | # This library is distributed in the hope that it will be useful, | ||
10 | # but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
11 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | ||
12 | # Lesser General Public License for more details. | ||
13 | # | ||
14 | # You should have received a copy of the GNU Lesser General | ||
15 | # Public License along with this library. If not, see | ||
16 | # <http://www.gnu.org/licenses/>. | ||
17 | |||
18 | noinst_LTLIBRARIES = libserver.la | ||
19 | |||
20 | libserver_la_SOURCES = \ | ||
21 | acl.c\ | ||
22 | server.c\ | ||
23 | msrv.c\ | ||
24 | ipsrv.c | ||
25 | |||
26 | INCLUDES = @MU_LIB_COMMON_INCLUDES@ -I/libmailutils |
libmailutils/size_max.h
deleted
100644 → 0
1 | /* size_max.h -- declare SIZE_MAX through system headers | ||
2 | Copyright (C) 2005, 2006, 2010 Free Software Foundation, Inc. | ||
3 | Written by Simon Josefsson. | ||
4 | |||
5 | This program is free software; you can redistribute it and/or modify | ||
6 | it under the terms of the GNU General Public License as published by | ||
7 | the Free Software Foundation; either version 2, or (at your option) | ||
8 | any later version. | ||
9 | |||
10 | This program is distributed in the hope that it will be useful, | ||
11 | but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
13 | GNU General Public License for more details. | ||
14 | |||
15 | You should have received a copy of the GNU General Public License | ||
16 | along with this program; if not, write to the Free Software Foundation, | ||
17 | Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ | ||
18 | |||
19 | #ifndef GNULIB_SIZE_MAX_H | ||
20 | #define GNULIB_SIZE_MAX_H | ||
21 | |||
22 | /* Get SIZE_MAX declaration on systems like Solaris 7/8/9. */ | ||
23 | # include <limits.h> | ||
24 | /* Get SIZE_MAX declaration on systems like glibc 2. */ | ||
25 | # if HAVE_STDINT_H | ||
26 | # include <stdint.h> | ||
27 | # endif | ||
28 | /* On systems where these include files don't define it, SIZE_MAX is defined | ||
29 | in config.h. */ | ||
30 | |||
31 | #endif /* GNULIB_SIZE_MAX_H */ |
libmailutils/stream/Makefile.am
0 → 100644
1 | # GNU Mailutils -- a suite of utilities for electronic mail | ||
2 | # Copyright (C) 2010 Free Software Foundation, Inc. | ||
3 | # | ||
4 | # This library is free software; you can redistribute it and/or | ||
5 | # modify it under the terms of the GNU Lesser General Public | ||
6 | # License as published by the Free Software Foundation; either | ||
7 | # version 3 of the License, or (at your option) any later version. | ||
8 | # | ||
9 | # This library is distributed in the hope that it will be useful, | ||
10 | # but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
11 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | ||
12 | # Lesser General Public License for more details. | ||
13 | # | ||
14 | # You should have received a copy of the GNU Lesser General | ||
15 | # Public License along with this library. If not, see | ||
16 | # <http://www.gnu.org/licenses/>. | ||
17 | |||
18 | noinst_LTLIBRARIES = libstream.la | ||
19 | |||
20 | libstream_la_SOURCES = \ | ||
21 | dbgstream.c\ | ||
22 | file_stream.c\ | ||
23 | fltstream.c\ | ||
24 | iostream.c\ | ||
25 | mapfile_stream.c\ | ||
26 | memory_stream.c\ | ||
27 | message_stream.c\ | ||
28 | prog_stream.c\ | ||
29 | rdcache_stream.c\ | ||
30 | socket_stream.c\ | ||
31 | stdio_stream.c\ | ||
32 | stream.c\ | ||
33 | stream_printf.c\ | ||
34 | stream_vprintf.c\ | ||
35 | streamcpy.c\ | ||
36 | streamref.c\ | ||
37 | tcp.c\ | ||
38 | temp_file_stream.c\ | ||
39 | xscript-stream.c | ||
40 | |||
41 | INCLUDES = @MU_LIB_COMMON_INCLUDES@ -I/libmailutils |
libmailutils/string/Makefile.am
0 → 100644
1 | # GNU Mailutils -- a suite of utilities for electronic mail | ||
2 | # Copyright (C) 2010 Free Software Foundation, Inc. | ||
3 | # | ||
4 | # This library is free software; you can redistribute it and/or | ||
5 | # modify it under the terms of the GNU Lesser General Public | ||
6 | # License as published by the Free Software Foundation; either | ||
7 | # version 3 of the License, or (at your option) any later version. | ||
8 | # | ||
9 | # This library is distributed in the hope that it will be useful, | ||
10 | # but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
11 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | ||
12 | # Lesser General Public License for more details. | ||
13 | # | ||
14 | # You should have received a copy of the GNU Lesser General | ||
15 | # Public License along with this library. If not, see | ||
16 | # <http://www.gnu.org/licenses/>. | ||
17 | |||
18 | noinst_LTLIBRARIES = libstring.la | ||
19 | |||
20 | libstring_la_SOURCES = \ | ||
21 | cstrcasecmp.c\ | ||
22 | cstrlower.c\ | ||
23 | cstrupper.c\ | ||
24 | strltrim.c\ | ||
25 | strskip.c\ | ||
26 | stripws.c\ | ||
27 | strrtrim.c\ | ||
28 | asnprintf.c\ | ||
29 | asprintf.c\ | ||
30 | muctype.c\ | ||
31 | vasnprintf.c\ | ||
32 | mkfilename.c | ||
33 | |||
34 | INCLUDES = @MU_LIB_COMMON_INCLUDES@ -I/libmailutils |
... | @@ -120,25 +120,25 @@ mail/unalias.c | ... | @@ -120,25 +120,25 @@ mail/unalias.c |
120 | mail/util.c | 120 | mail/util.c |
121 | mail/z.c | 121 | mail/z.c |
122 | 122 | ||
123 | libmailutils/cfg_driver.c | 123 | libmailutils/cfg/driver.c |
124 | libmailutils/cfg_format.c | 124 | libmailutils/cfg/format.c |
125 | libmailutils/cfg_lexer.l | 125 | libmailutils/cfg/lexer.l |
126 | libmailutils/cfg_parser.y | 126 | libmailutils/cfg/parser.y |
127 | libmailutils/debug.c | 127 | libmailutils/cfg/gocs.c |
128 | libmailutils/diag.c | 128 | libmailutils/diag/debug.c |
129 | libmailutils/errors | 129 | libmailutils/diag/diag.c |
130 | libmailutils/file_stream.c | 130 | libmailutils/diag/errors |
131 | libmailutils/filter_iconv.c | 131 | libmailutils/diag/gdebug.c |
132 | libmailutils/gdebug.c | 132 | libmailutils/stream/file_stream.c |
133 | libmailutils/gocs.c | 133 | libmailutils/filter/filter_iconv.c |
134 | libmailutils/ipsrv.c | 134 | libmailutils/server/ipsrv.c |
135 | libmailutils/message.c | 135 | libmailutils/server/msrv.c |
136 | libmailutils/msrv.c | 136 | libmailutils/mailbox/message.c |
137 | libmailutils/mu_auth.c | 137 | libmailutils/auth/mu_auth.c |
138 | libmailutils/mutil.c | 138 | libmailutils/base/mutil.c |
139 | libmailutils/parsedate.y | 139 | libmailutils/base/parsedate.y |
140 | libmailutils/registrar.c | 140 | libmailutils/base/registrar.c |
141 | libmailutils/version.c | 141 | libmailutils/base/version.c |
142 | 142 | ||
143 | messages/messages.c | 143 | messages/messages.c |
144 | 144 | ... | ... |
-
Please register or sign in to post a comment