endif
SUBDIRS = intl m4 po $(XXXXXXXXXXXX_doc) contrib \
- lib-mime lib-lib lib-crypt lib-hash lib-sys lib-ui \
+ lib-mime lib-lib lib-mx lib-crypt lib-hash lib-sys lib-ui \
pop imap $(NNTP_SUBDIR)
BUILT_SOURCES = keymap_defs.h version.h charset.gperf
bin_PROGRAMS = madmutt madmutt_dotlock pgpringng pgpewrapng smime_keysng
madmutt_SOURCES = $(BUILT_SOURCES) \
- alias.c attach.c base64.c browser.c buffy.c charset.c compress.c commands.c \
+ alias.c attach.c base64.c browser.c buffy.c charset.c commands.c \
compose.c copy.c editmsg.c init.c keymap.c lib.c \
- flags.c from.c handler.c hcache.c headers.c help.c hook.c \
- main.c mbox.c mh.c muttlib.c mutt_idna.c mx.c \
- pager.c pattern.c postpone.c recvattach.c recvcmd.c \
+ flags.c from.c handler.c headers.c help.c hook.c \
+ main.c muttlib.c mutt_idna.c pager.c pattern.c postpone.c recvattach.c recvcmd.c \
score.c send.c sendlib.c sort.c state.c thread.c account.c
madmutt_LDADD = @MUTT_LIB_OBJECTS@ @LIBOBJS@ \
+ -Llib-lib -llib -Llib-mime -lmime -Llib-crypt -lcrypt -Llib-mx -lmx \
-Limap -limap -Lpop -lpop $(LIBNNTP) \
- -Llib-lib -llib -Llib-mime -lmime -Llib-crypt -lcrypt -Llib-hash -lhash \
- -Llib-sys -lsys -Llib-ui -lui \
+ -Llib-hash -lhash -Llib-sys -lsys -Llib-ui -lui \
$(MUTTLIBS) $(INTLLIBS) $(LIBICONV)
madmutt_DEPENDENCIES = @MUTT_LIB_OBJECTS@ @LIBOBJS@ \
$(top_builddir)/lib-crypt/libcrypt.a \
$(top_builddir)/lib-hash/libhash.a \
$(top_builddir)/lib-ui/libui.a \
+ $(top_builddir)/lib-mx/libmx.a \
\
$(top_builddir)/pop/libpop.a \
$(top_builddir)/imap/libimap.a \
EXTRA_DIST = config.rpath COPYRIGHT GPL OPS OPS.MIX TODO \
configure account.h alias.h attach.h recvattach.h handler.h thread.h \
- buffy.h charset.h compress.h copy.h dotlock.h functions.def gen_defs \
+ buffy.h charset.h copy.h dotlock.h functions.def gen_defs \
recvattach.h handler.h thread.h globals.h init.h keymap.h \
- mime.h mutt.h mutt_sasl.h mbox.h mh.h mx.h pager.h protos.h \
+ mime.h mutt.h mutt_sasl.h pager.h protos.h \
sort.h mime.types autogen.sh remailer.c remailer.h browser.h state.h \
lib.h extlib.c pgpewrap.c smime_keys.pl Madmuttrc.head Madmuttrc \
makedoc.c stamp-doc-rc README.SSL depcomp mutt_idna.h mutt_libesmtp.h
#include <lib-lib/lib-lib.h>
#include <lib-sys/unix.h>
-
#include <lib-mime/mime.h>
-
#include <lib-ui/curses.h>
#include <lib-ui/menu.h>
+#include <lib-mx/mx.h>
#include "mutt.h"
#include "handler.h"
#include "keymap.h"
#include "pager.h"
#include "copy.h"
-#include "mx.h"
#include <lib-crypt/crypt.h>
int mutt_get_tmp_attachment (BODY * a)
#include <lib-ui/enter.h>
#include <lib-ui/menu.h>
#include <lib-ui/sidebar.h>
+#include <lib-mx/mx.h>
#include "mutt.h"
-#include "mx.h"
#include "buffy.h"
#include "sort.h"
#include "browser.h"
#include <lib-ui/curses.h>
#include <lib-ui/sidebar.h>
+#include <lib-mx/mx.h>
+#include <lib-mx/mh.h>
#include <imap/imap.h>
#include "mutt.h"
#include "buffy.h"
-#include "mx.h"
-#include "mh.h"
static time_t BuffyTime = 0; /* last time we started checking for mail */
#include <lib-ui/curses.h>
#include <lib-ui/enter.h>
#include <lib-ui/menu.h>
+#include <lib-mx/mx.h>
#include "mutt.h"
#include "alias.h"
#include "recvattach.h"
#include "sort.h"
#include "copy.h"
-#include "mx.h"
#include "pager.h"
#include <lib-crypt/crypt.h>
#include "mutt_idna.h"
#include <lib-ui/curses.h>
#include <lib-ui/enter.h>
#include <lib-ui/menu.h>
+#include <lib-mx/mx.h>
#include "mutt.h"
#include "alias.h"
#include "recvattach.h"
#include "sort.h"
#include "charset.h"
-#include "mx.h"
#include "buffy.h"
#ifdef MIXMASTER
lib-mime/Makefile
lib-crypt/Makefile
lib-hash/Makefile
+ lib-mx/Makefile
lib-sys/Makefile
lib-ui/Makefile
imap/Makefile
#include <lib-lib/lib-lib.h>
#include <lib-mime/mime.h>
+#include <lib-mx/mx.h>
#include "mutt.h"
#include "handler.h"
-#include "mx.h"
#include "copy.h"
#include <lib-crypt/crypt.h>
#include <lib-ui/curses.h>
#include <lib-lib/lib-lib.h>
#include <lib-ui/curses.h>
+#include <lib-mx/mx.h>
#include "mutt.h"
#include "copy.h"
-#include "mx.h"
/*
* return value:
#include <lib-ui/curses.h>
#include <lib-ui/menu.h>
#include <lib-ui/sidebar.h>
+#include <lib-mx/mx.h>
#include "mutt.h"
#include "sort.h"
-#include "mx.h"
#include <imap/imap_private.h>
#include <lib-lib/lib-lib.h>
#include <lib-ui/curses.h>
+#include <lib-mx/mx.h>
+#include <lib-mx/compress.h>
+#include <lib-crypt/crypt.h>
-#include "mutt.h"
#include "alias.h"
-#include "mx.h"
-#include <lib-crypt/crypt.h>
-#include "compress.h"
#define ERROR_STOP 0
* responses */
#include <lib-lib/lib-lib.h>
+#include <lib-mx/mx.h>
#include "mutt.h"
#include "message.h"
-#include "mx.h"
#include "imap_private.h"
#include <ctype.h>
/* Support for IMAP4rev1, with the occasional nod to IMAP 4. */
#include <lib-lib/lib-lib.h>
+#include <lib-mx/mx.h>
#include "mutt.h"
-#include "mx.h"
#include "globals.h"
#include "sort.h"
#include "browser.h"
#ifndef _IMAP_H
#define _IMAP_H 1
+#include <lib-mx/mx.h>
+
#include "account.h"
#include "browser.h"
-#include "mx.h"
extern mx_t const imap_mx;
#include <lib-lib/lib-lib.h>
#include <lib-ui/curses.h>
+#include <lib-mx/mx.h>
+#include <lib-mx/hcache.h>
#include "mutt.h"
#include "imap_private.h"
#include "message.h"
-#include "mx.h"
-#include "hcache.h"
#ifdef HAVE_PGP
#include "pgp.h"
#include <lib-lib/lib-lib.h>
#include <signal.h>
#include <netdb.h>
+#include <lib-mx/mx.h>
#include "mutt.h"
-#include "mx.h" /* for M_IMAP */
#include "imap_private.h"
#include <lib-sys/mutt_ssl.h>
#include <lib-ui/curses.h>
#include <lib-ui/history.h>
+#include <lib-mx/mx.h>
#include "mutt.h"
#include "keymap.h"
#endif
#include "alias.h"
-#include "mx.h"
#include "init.h"
/*
#include <lib-mime/mime.h>
#include <lib-ui/curses.h>
+#include <lib-mx/mx.h>
-#include "mx.h"
#include "alias.h"
#include "handler.h"
#include "copy.h"
#include <lib-ui/curses.h>
#include <lib-ui/enter.h>
#include <lib-ui/menu.h>
+#include <lib-mx/mx.h>
-#include "mx.h"
#include "handler.h"
#include "pgp.h"
#include "copy.h"
--- /dev/null
+noinst_LIBRARIES = libmx.a
+
+libmx_a_SOURCES = mx.h mh.h mbox.h compress.h hcache.h \
+ mx.c mh.c mbox.c compress.c hcache.c
+
+noinst_HEADERS = mx.h
+
+-include ../cflags.mk
*/
#include <lib-lib/lib-lib.h>
+#include <lib-mx/mx.h>
#include "mutt.h"
-#include "mx.h"
#include "curses.h"
#include <imap/imap.h>
#ifdef USE_NNTP
#include <lib-lib/lib-lib.h>
#include <lib-ui/sidebar.h>
+#include <lib-mx/mx.h>
#include <pop/pop.h>
#include "mutt.h"
#include "alias.h"
-#include "mx.h"
#include "sort.h"
#include "recvattach.h"
#include "buffy.h"
-#include "mx.h"
#include "thread.h"
#include "xterm.h"
#include <lib-lib/lib-lib.h>
#include <lib-mime/mime.h>
-
#include <lib-ui/curses.h>
+#include <lib-mx/mx.h>
#include "mutt.h"
#include "alias.h"
#include "charset.h"
#include <lib-crypt/crypt.h>
#include "mutt_idna.h"
-#include "mx.h"
int mutt_is_mail_list (address_t * addr)
{
#include <lib-ui/curses.h>
#include <lib-ui/menu.h>
+#include <lib-mx/mx.h>
#include "mutt.h"
#include "sort.h"
-#include "mx.h"
#include "buffy.h"
#define SW (option(OPTMBOXPANE)?SidebarWidth:0)
#include <sys/utsname.h>
#include <lib-sys/mutt_signal.h>
-
#include <lib-mime/mime.h>
-
#include <lib-ui/curses.h>
+#include <lib-mx/mx.h>
#include "mutt.h"
#include "alias.h"
-#include "mx.h"
#include "buffy.h"
#include "sort.h"
#include <lib-crypt/crypt.h>
#include <utime.h>
#include <lib-mime/mime.h>
-
#include <lib-ui/curses.h>
#include <lib-ui/enter.h>
-
#include <lib-sys/unix.h>
+#include <lib-mx/mx.h>
#include "alias.h"
#include "mutt.h"
-#include "mx.h"
#include "attach.h"
#include "version.h"
#include <lib-mime/mime.h>
#include <lib-ui/curses.h>
+#include <lib-mx/mx.h>
#include "mutt.h"
#include "sort.h"
-#include "mx.h"
#include "nntp.h"
void nntp_add_to_list (NNTP_SERVER * s, NNTP_DATA * d)
#include <lib-mime/mime.h>
#include <lib-ui/curses.h>
#include <lib-ui/sidebar.h>
+#include <lib-mx/mx.h>
#include "mutt.h"
#include "sort.h"
-#include "mx.h"
#include "nntp.h"
#include "buffy.h"
#define _NNTP_H_ 1
#include <lib-sys/mutt_socket.h>
-#include "mx.h"
+#include <lib-mx/mx.h>
extern mx_t const nntp_mx;
#include <lib-ui/enter.h>
#include <lib-ui/menu.h>
#include <lib-ui/sidebar.h>
+#include <lib-mx/mx.h>
#include "mutt.h"
#include "alias.h"
#include "charset.h"
#include "buffy.h"
-#include "mx.h"
#include <imap/imap_private.h>
}
#ifdef USE_NNTP
-#include "mx.h"
-#include "nntp.h"
+#include <nntp/nntp.h>
#endif
-
static int format_line (struct line_t **lineInfo, int n, unsigned char *buf,
int flags, ansi_attr * pa, int cnt,
int *pspace, int *pvch, int *pcol, int *pspecial)
#include <lib-mime/mime.h>
#include <lib-ui/enter.h>
#include <lib-ui/curses.h>
+#include <lib-mx/mx.h>
#include "mutt.h"
#include "alias.h"
#include "handler.h"
-#include "mx.h"
#include "keymap.h"
#include "copy.h"
#include <lib-lib/lib-lib.h>
#include <lib-ui/curses.h>
+#include <lib-mx/mx.h>
#include "mutt.h"
-#include "mx.h"
#include "pop.h"
#include <lib-crypt/crypt.h>
#include <lib-ui/curses.h>
#include <lib-sys/mutt_socket.h>
+#include <lib-mx/mx.h>
-#include "mx.h"
extern mx_t const pop_mx;
#include <lib-lib/lib-lib.h>
#include <lib-hash/hash.h>
+#include <lib-mx/mx.h>
#include "mutt.h"
-#include "mx.h"
#include "pop.h"
#ifdef USE_SASL
*/
#include <lib-lib/lib-lib.h>
+#include <lib-mx/mx.h>
#include "mutt.h"
-#include "mx.h"
#include "pop.h"
#if defined (USE_SSL) || defined (USE_GNUTLS)
# include <lib-sys/mutt_ssl.h>
#include <lib-ui/enter.h>
#include <lib-ui/menu.h>
#include <lib-ui/curses.h>
+#include <lib-mx/mx.h>
#include <lib-sys/unix.h>
#include "handler.h"
#include "sort.h"
#include "thread.h"
-#include "mx.h"
#include <lib-crypt/crypt.h>
#include <imap/imap.h>
#include <lib-ui/curses.h>
#include <lib-ui/enter.h>
#include <lib-ui/menu.h>
+#include <lib-mx/mx.h>
#include <lib-sys/unix.h>
#include "handler.h"
#include "recvattach.h"
#include "attach.h"
-#include "mx.h"
#include "copy.h"
#include <lib-crypt/crypt.h>
#include <lib-ui/curses.h>
#include <lib-ui/enter.h>
#include <lib-ui/menu.h>
+#include <lib-mx/mx.h>
#include "mutt.h"
#include "alias.h"
#include "handler.h"
#include "recvattach.h"
#include "attach.h"
-#include "mx.h"
#include "copy.h"
#include "mutt_idna.h"
#include <lib-sys/unix.h>
#include <lib-ui/curses.h>
#include <lib-ui/enter.h>
+#include <lib-mx/mx.h>
#include "alias.h"
#include "keymap.h"
#include "copy.h"
-#include "mx.h"
#include <lib-crypt/crypt.h>
#include "mutt_idna.h"
#include "attach.h"
#include <lib-sys/mutt_signal.h>
#include <lib-mime/mime.h>
#include <lib-ui/curses.h>
+#include <lib-mx/mx.h>
#include <lib-crypt/crypt.h>
#include "mutt.h"
#include "handler.h"
#include "recvattach.h"
-#include "mx.h"
#include "copy.h"
#include "pager.h"
#include "charset.h"