# Makefile.in generated automatically by automake 1.3 from Makefile.am

# Copyright (C) 1994, 1995, 1996, 1997, 1998 Free Software Foundation, Inc.
# This Makefile.in is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
# with or without modifications, as long as this notice is preserved.

# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
# PARTICULAR PURPOSE.

# $Id: Makefile.am,v 2.1.4.3 1999/03/03 19:44:21 roessler Exp $


SHELL = /bin/sh

srcdir = @srcdir@
top_srcdir = @top_srcdir@
VPATH = @srcdir@
prefix = @prefix@
exec_prefix = @exec_prefix@

bindir = @bindir@
sbindir = @sbindir@
libexecdir = @libexecdir@
datadir = @datadir@
sysconfdir = @sysconfdir@
sharedstatedir = @sharedstatedir@
localstatedir = @localstatedir@
libdir = @libdir@
infodir = @infodir@
mandir = @mandir@
includedir = @includedir@
oldincludedir = /usr/include

DISTDIR =

pkgdatadir = $(datadir)/@PACKAGE@
pkglibdir = $(libdir)/@PACKAGE@
pkgincludedir = $(includedir)/@PACKAGE@

top_builddir = .

ACLOCAL = @ACLOCAL@
AUTOCONF = @AUTOCONF@
AUTOMAKE = @AUTOMAKE@
AUTOHEADER = @AUTOHEADER@

INSTALL = @INSTALL@
INSTALL_PROGRAM = @INSTALL_PROGRAM@
INSTALL_DATA = @INSTALL_DATA@
INSTALL_SCRIPT = @INSTALL_SCRIPT@
transform = @program_transform_name@

NORMAL_INSTALL = :
PRE_INSTALL = :
POST_INSTALL = :
NORMAL_UNINSTALL = :
PRE_UNINSTALL = :
POST_UNINSTALL = :
host_alias = @host_alias@
host_triplet = @host@
CATALOGS = @CATALOGS@
CATOBJEXT = @CATOBJEXT@
CC = @CC@
DATADIRNAME = @DATADIRNAME@
DOTLOCK_GROUP = @DOTLOCK_GROUP@
DOTLOCK_PERMISSION = @DOTLOCK_PERMISSION@
DOTLOCK_TARGET = @DOTLOCK_TARGET@
GENCAT = @GENCAT@
GMOFILES = @GMOFILES@
GMSGFMT = @GMSGFMT@
GPG = @GPG@
GT_NO = @GT_NO@
GT_YES = @GT_YES@
INCLUDE_LOCALE_H = @INCLUDE_LOCALE_H@
INSTOBJEXT = @INSTOBJEXT@
INTLDEPS = @INTLDEPS@
INTLLIBS = @INTLLIBS@
INTLOBJS = @INTLOBJS@
ISPELL = @ISPELL@
MAKEINFO = @MAKEINFO@
MKINSTALLDIRS = @MKINSTALLDIRS@
MSGFMT = @MSGFMT@
MUTTLOCALEDIR = @MUTTLOCALEDIR@
MUTT_LIB_OBJECTS = @MUTT_LIB_OBJECTS@
PACKAGE = @PACKAGE@
PGP = @PGP@
PGPK = @PGPK@
POFILES = @POFILES@
POSUB = @POSUB@
RANLIB = @RANLIB@
SENDMAIL = @SENDMAIL@
SUBVERSION = @SUBVERSION@
USE_INCLUDED_LIBINTL = @USE_INCLUDED_LIBINTL@
USE_NLS = @USE_NLS@
VERSION = @VERSION@
docdir = @docdir@
l = @l@
libdir = @libdir@
sharedir = @sharedir@

AUTOMAKE_OPTIONS = foreign
EXTRA_PROGRAMS = mutt_dotlock

bin_PROGRAMS = mutt @DOTLOCK_TARGET@
mutt_SOURCES =	addrbook.c alias.c attach.c browser.c buffy.c color.c \
	commands.c complete.c compose.c copy.c curs_lib.c curs_main.c date.c \
	edit.c enter.c flags.c init.c filter.c from.c getdomain.c \
	handler.c hash.c hdrline.c headers.c help.c hook.c keymap.c \
	main.c mbox.c menu.c mh.c mx.c pager.c parse.c pattern.c \
	postpone.c query.c recvattach.c rfc822.c \
	rfc1524.c rfc2047.c score.c send.c sendlib.c signal.c sort.c \
	status.c system.c thread.c charset.c history.c lib.c

mutt_LDADD = @MUTT_LIB_OBJECTS@ @LIBOBJS@ $(INTLLIBS) 
mutt_DEPENDENCIES = @MUTT_LIB_OBJECTS@ @LIBOBJS@ $(INTLDEPS)

DEFS=-DSHAREDIR=\"$(sharedir)\" -DSYSCONFDIR=\"$(sysconfdir)\"	\
	-DHAVE_CONFIG_H=1
INCLUDES=-I. -I$(includedir)

non_us_sources = pgp.c pgpinvoke.c pgpkey.c pgppubring.c sha1dgst.c \
	gnupgparse.c sha.h sha_locl.h \
	doc/language.txt doc/language50.txt OPS.PGP doc/PGP-Notes

EXTRA_mutt_SOURCES = pgp.c pgpinvoke.c pgpkey.c pgppubring.c sha1dgst.c \
	gnupgparse.c resize.c dotlock.c pop.c imap.c socket.c

EXTRA_DIST = COPYRIGHT GPL OPS OPS.PGP TODO configure acconfig.h attach.h \
	buffy.h charset.h config.h copy.h dotlock.h functions.h gen_defs \
	globals.h hash.h history.h imap.h init.h keymap.h \
	mailbox.h mapping.h mime.h mutt.h mutt_curses.h mutt_menu.h  \
	mutt_regex.h mutt_socket.h mx.h pager.h parse.h pgp.h protos.h  \
	reldate.h rfc1524.h rfc2047.h rfc822.h sha.h sha_locl.h	\
	sort.h mime.types VERSION prepare _regex.h README.SECURITY

BUILT_SOURCES = mutt_dotlock.c keymap_defs.h

mutt_dotlock_SOURCES = mutt_dotlock.c
mutt_dotlock_LDADD = @LIBOBJS@
mutt_dotlock_DEPENDENCIES = @LIBOBJS@

CLEANFILES = mutt_dotlock.c

ACLOCAL_AMFLAGS = -I m4

LDADD = @LIBOBJS@ @INTLLIBS@

SUBDIRS = doc intl m4 po contrib charsets

OPS=$(srcdir)/OPS $(srcdir)/OPS.PGP
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
CONFIG_HEADER = config.h
CONFIG_CLEAN_FILES =  Muttrc
PROGRAMS =  $(bin_PROGRAMS)

CPPFLAGS = @CPPFLAGS@
LDFLAGS = @LDFLAGS@
LIBS = @LIBS@
mutt_dotlock_OBJECTS =  mutt_dotlock.o
mutt_dotlock_LDFLAGS = 
mutt_OBJECTS =  addrbook.o alias.o attach.o browser.o buffy.o color.o \
commands.o complete.o compose.o copy.o curs_lib.o curs_main.o date.o \
edit.o enter.o flags.o init.o filter.o from.o getdomain.o handler.o \
hash.o hdrline.o headers.o help.o hook.o keymap.o main.o mbox.o menu.o \
mh.o mx.o pager.o parse.o pattern.o postpone.o query.o recvattach.o \
rfc822.o rfc1524.o rfc2047.o score.o send.o sendlib.o signal.o sort.o \
status.o system.o thread.o charset.o history.o lib.o
mutt_LDFLAGS = 
CFLAGS = @CFLAGS@
COMPILE = $(CC) $(DEFS) $(INCLUDES) $(CPPFLAGS) $(CFLAGS)
LINK = $(CC) $(CFLAGS) $(LDFLAGS) -o $@
DIST_COMMON =  README ABOUT-NLS ChangeLog INSTALL Makefile.am \
Makefile.in Muttrc.in NEWS TODO acconfig.h aclocal.m4 config.guess \
config.h.in config.sub configure configure.in install-sh missing \
mkinstalldirs regex.c snprintf.c stamp-h.in strcasecmp.c


DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)

TAR = tar
GZIP = --best
SOURCES = $(mutt_dotlock_SOURCES) $(mutt_SOURCES) $(EXTRA_mutt_SOURCES)
OBJECTS = $(mutt_dotlock_OBJECTS) $(mutt_OBJECTS)

all: all-recursive-am all-am

.SUFFIXES:
.SUFFIXES: .S .c .o .s
$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
	cd $(top_srcdir) && $(AUTOMAKE) --foreign --include-deps Makefile

Makefile: $(srcdir)/Makefile.in  $(top_builddir)/config.status
	cd $(top_builddir) \
	  && CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status

$(ACLOCAL_M4):  configure.in  m4/gettext.m4 m4/lcmessage.m4 \
		m4/progtest.m4
	cd $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)

config.status: $(srcdir)/configure
	$(SHELL) ./config.status --recheck
$(srcdir)/configure: $(srcdir)/configure.in $(ACLOCAL_M4) $(CONFIGURE_DEPENDENCIES)
	cd $(srcdir) && $(AUTOCONF)

config.h: stamp-h
	@:
stamp-h: $(srcdir)/config.h.in $(top_builddir)/config.status
	cd $(top_builddir) \
	  && CONFIG_FILES= CONFIG_HEADERS=config.h \
	     $(SHELL) ./config.status
	@echo timestamp > stamp-h
$(srcdir)/config.h.in: $(srcdir)/stamp-h.in
$(srcdir)/stamp-h.in: $(top_srcdir)/configure.in $(ACLOCAL_M4) acconfig.h
	cd $(top_srcdir) && $(AUTOHEADER)
	@echo timestamp > $(srcdir)/stamp-h.in

mostlyclean-hdr:

clean-hdr:

distclean-hdr:
	-rm -f config.h

maintainer-clean-hdr:
Muttrc: $(top_builddir)/config.status Muttrc.in
	cd $(top_builddir) && CONFIG_FILES=$@ CONFIG_HEADERS= ./config.status

mostlyclean-binPROGRAMS:

clean-binPROGRAMS:
	-test -z "$(bin_PROGRAMS)" || rm -f $(bin_PROGRAMS)

distclean-binPROGRAMS:

maintainer-clean-binPROGRAMS:

install-binPROGRAMS: $(bin_PROGRAMS)
	@$(NORMAL_INSTALL)
	$(mkinstalldirs) $(DESTDIR)$(bindir)
	@list='$(bin_PROGRAMS)'; for p in $$list; do \
	  if test -f $$p; then \
	    echo "  $(INSTALL_PROGRAM) $$p $(DESTDIR)$(bindir)/`echo $$p|sed '$(transform)'`"; \
	     $(INSTALL_PROGRAM) $$p $(DESTDIR)$(bindir)/`echo $$p|sed '$(transform)'`; \
	  else :; fi; \
	done

uninstall-binPROGRAMS:
	@$(NORMAL_UNINSTALL)
	list='$(bin_PROGRAMS)'; for p in $$list; do \
	  rm -f $(DESTDIR)$(bindir)/`echo $$p|sed '$(transform)'`; \
	done

.c.o:
	$(COMPILE) -c $<

.s.o:
	$(COMPILE) -c $<

.S.o:
	$(COMPILE) -c $<

mostlyclean-compile:
	-rm -f *.o core *.core

clean-compile:

distclean-compile:
	-rm -f *.tab.c

maintainer-clean-compile:

mutt_dotlock: $(mutt_dotlock_OBJECTS) $(mutt_dotlock_DEPENDENCIES)
	@rm -f mutt_dotlock
	$(LINK) $(mutt_dotlock_LDFLAGS) $(mutt_dotlock_OBJECTS) $(mutt_dotlock_LDADD) $(LIBS)

mutt: $(mutt_OBJECTS) $(mutt_DEPENDENCIES)
	@rm -f mutt
	$(LINK) $(mutt_LDFLAGS) $(mutt_OBJECTS) $(mutt_LDADD) $(LIBS)

# This directory's subdirectories are mostly independent; you can cd
# into them and run `make' without going through this Makefile.
# To change the values of `make' variables: instead of editing Makefiles,
# (1) if the variable is set in `config.status', edit `config.status'
#     (which will cause the Makefiles to be regenerated when you run `make');
# (2) otherwise, pass the desired values on the `make' command line.

@SET_MAKE@

all-recursive install-data-recursive install-exec-recursive \
installdirs-recursive install-recursive uninstall-recursive  \
check-recursive installcheck-recursive info-recursive dvi-recursive:
	@set fnord $(MAKEFLAGS); amf=$$2; \
	list='$(SUBDIRS)'; for subdir in $$list; do \
	  target=`echo $@ | sed s/-recursive//`; \
	  echo "Making $$target in $$subdir"; \
	  (cd $$subdir && $(MAKE) $$target) \
	   || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
	done && test -z "$$fail"

mostlyclean-recursive clean-recursive distclean-recursive \
maintainer-clean-recursive:
	@set fnord $(MAKEFLAGS); amf=$$2; \
	rev=''; list='$(SUBDIRS)'; for subdir in $$list; do \
	  rev="$$subdir $$rev"; \
	done; \
	for subdir in $$rev; do \
	  target=`echo $@ | sed s/-recursive//`; \
	  echo "Making $$target in $$subdir"; \
	  (cd $$subdir && $(MAKE) $$target) \
	   || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
	done && test -z "$$fail"
tags-recursive:
	list='$(SUBDIRS)'; for subdir in $$list; do \
	  (cd $$subdir && $(MAKE) tags); \
	done

tags: TAGS

ID: $(HEADERS) $(SOURCES) $(LISP)
	here=`pwd` && cd $(srcdir) \
	  && mkid -f$$here/ID $(SOURCES) $(HEADERS) $(LISP)

TAGS: tags-recursive $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) $(LISP)
	tags=; \
	here=`pwd`; \
	list='$(SUBDIRS)'; for subdir in $$list; do \
	  test -f $$subdir/TAGS && tags="$$tags -i $$here/$$subdir/TAGS"; \
	done; \
	list='$(SOURCES) $(HEADERS)'; \
	unique=`for i in $$list; do echo $$i; done | \
	  awk '    { files[$$0] = 1; } \
	       END { for (i in files) print i; }'`; \
	test -z "$(ETAGS_ARGS)config.h.in$$unique$(LISP)$$tags" \
	  || (cd $(srcdir) && etags $(ETAGS_ARGS) $$tags config.h.in $$unique $(LISP) -o $$here/TAGS)

mostlyclean-tags:

clean-tags:

distclean-tags:
	-rm -f TAGS ID

maintainer-clean-tags:

distdir = $(PACKAGE)-$(VERSION)
top_distdir = $(distdir)

# This target untars the dist file and tries a VPATH configuration.  Then
# it guarantees that the distribution is self-contained by making another
# tarfile.
distcheck: dist
	-rm -rf $(distdir)
	GZIP=$(GZIP) $(TAR) zxf $(distdir).tar.gz
	mkdir $(distdir)/=build
	mkdir $(distdir)/=inst
	dc_install_base=`cd $(distdir)/=inst && pwd`; \
	cd $(distdir)/=build \
	  && ../configure --with-included-gettext --srcdir=.. --prefix=$$dc_install_base \
	  && $(MAKE) \
	  && $(MAKE) dvi \
	  && $(MAKE) check \
	  && $(MAKE) install \
	  && $(MAKE) installcheck \
	  && $(MAKE) dist
	-rm -rf $(distdir)
	@echo "========================"; \
	echo "$(distdir).tar.gz is ready for distribution"; \
	echo "========================"
dist: distdir
	-chmod -R a+r $(distdir)
	GZIP=$(GZIP) $(TAR) chozf $(distdir).tar.gz $(distdir)
	-rm -rf $(distdir)
dist-all: distdir
	-chmod -R a+r $(distdir)
	GZIP=$(GZIP) $(TAR) chozf $(distdir).tar.gz $(distdir)
	-rm -rf $(distdir)
distdir: $(DISTFILES)
	-rm -rf $(distdir)
	mkdir $(distdir)
	-chmod 777 $(distdir)
	@for file in $(DISTFILES); do \
	  d=$(srcdir); \
	  test -f $(distdir)/$$file \
	  || ln $$d/$$file $(distdir)/$$file 2> /dev/null \
	  || cp -p $$d/$$file $(distdir)/$$file; \
	done
	for subdir in $(SUBDIRS); do \
	  test -d $(distdir)/$$subdir \
	  || mkdir $(distdir)/$$subdir \
	  || exit 1; \
	  chmod 777 $(distdir)/$$subdir; \
	  (cd $$subdir && $(MAKE) top_distdir=../$(distdir) distdir=../$(distdir)/$$subdir distdir) \
	    || exit 1; \
	done
	$(MAKE) top_distdir="$(top_distdir)" distdir="$(distdir)" dist-hook
addrbook.o: addrbook.c mutt.h config.h rfc822.h hash.h mutt_regex.h \
	protos.h globals.h mutt_menu.h keymap.h keymap_defs.h mapping.h \
	sort.h
alias.o: alias.c mutt.h config.h rfc822.h hash.h mutt_regex.h protos.h \
	globals.h mutt_curses.h
attach.o: attach.c mutt.h config.h rfc822.h hash.h mutt_regex.h protos.h \
	globals.h mutt_menu.h keymap.h keymap_defs.h mutt_curses.h \
	rfc1524.h mime.h pager.h mailbox.h copy.h mx.h pgp.h
browser.o: browser.c mutt.h config.h rfc822.h hash.h mutt_regex.h \
	protos.h globals.h mutt_curses.h mutt_menu.h keymap.h \
	keymap_defs.h buffy.h mapping.h sort.h mailbox.h
buffy.o: buffy.c mutt.h config.h rfc822.h hash.h mutt_regex.h protos.h \
	globals.h buffy.h mx.h mailbox.h
charset.o: charset.c mutt.h config.h rfc822.h hash.h mutt_regex.h \
	protos.h globals.h charset.h
color.o: color.c mutt.h config.h rfc822.h hash.h mutt_regex.h protos.h \
	globals.h mutt_curses.h mapping.h
commands.o: commands.c mutt.h config.h rfc822.h hash.h mutt_regex.h \
	protos.h globals.h mutt_curses.h mutt_menu.h keymap.h \
	keymap_defs.h mime.h sort.h mailbox.h copy.h mx.h pager.h pgp.h
complete.o: complete.c mutt.h config.h rfc822.h hash.h mutt_regex.h \
	protos.h globals.h
compose.o: compose.c mutt.h config.h rfc822.h hash.h mutt_regex.h \
	protos.h globals.h mutt_curses.h mutt_menu.h keymap.h \
	keymap_defs.h rfc1524.h mime.h attach.h mapping.h mailbox.h \
	sort.h pgp.h
copy.o: copy.c mutt.h config.h rfc822.h hash.h mutt_regex.h protos.h \
	globals.h mailbox.h mx.h copy.h rfc2047.h parse.h mime.h pgp.h
curs_lib.o: curs_lib.c mutt.h config.h rfc822.h hash.h mutt_regex.h \
	protos.h globals.h mutt_menu.h keymap.h keymap_defs.h \
	mutt_curses.h pager.h
curs_main.o: curs_main.c mutt.h config.h rfc822.h hash.h mutt_regex.h \
	protos.h globals.h mutt_curses.h mutt_menu.h keymap.h \
	keymap_defs.h mailbox.h mapping.h sort.h buffy.h pgp.h
date.o: date.c mutt.h config.h rfc822.h hash.h mutt_regex.h protos.h \
	globals.h
edit.o: edit.c mutt.h config.h rfc822.h hash.h mutt_regex.h protos.h \
	globals.h mutt_curses.h
enter.o: enter.c mutt.h config.h rfc822.h hash.h mutt_regex.h protos.h \
	globals.h mutt_menu.h keymap.h keymap_defs.h mutt_curses.h \
	history.h
filter.o: filter.c mutt.h config.h rfc822.h hash.h mutt_regex.h protos.h \
	globals.h
flags.o: flags.c mutt.h config.h rfc822.h hash.h mutt_regex.h protos.h \
	globals.h mutt_curses.h sort.h mx.h
from.o: from.c mutt.h config.h rfc822.h hash.h mutt_regex.h protos.h \
	globals.h
getdomain.o: getdomain.c mutt.h config.h rfc822.h hash.h mutt_regex.h \
	protos.h globals.h
gnupgparse.o: gnupgparse.c mutt.h config.h rfc822.h hash.h mutt_regex.h \
	protos.h globals.h pgp.h
handler.o: handler.c mutt.h config.h rfc822.h hash.h mutt_regex.h \
	protos.h globals.h mutt_curses.h rfc1524.h keymap.h \
	keymap_defs.h mime.h copy.h charset.h pgp.h
hash.o: hash.c mutt.h config.h rfc822.h hash.h mutt_regex.h protos.h \
	globals.h
hdrline.o: hdrline.c mutt.h config.h rfc822.h hash.h mutt_regex.h \
	protos.h globals.h mutt_curses.h sort.h pgp.h
headers.o: headers.c mutt.h config.h rfc822.h hash.h mutt_regex.h \
	protos.h globals.h pgp.h
help.o: help.c mutt.h config.h rfc822.h hash.h mutt_regex.h protos.h \
	globals.h mutt_curses.h keymap.h keymap_defs.h pager.h \
	mapping.h
history.o: history.c mutt.h config.h rfc822.h hash.h mutt_regex.h \
	protos.h globals.h history.h
hook.o: hook.c mutt.h config.h rfc822.h hash.h mutt_regex.h protos.h \
	globals.h
init.o: init.c mutt.h config.h rfc822.h hash.h mutt_regex.h protos.h \
	globals.h mapping.h mutt_curses.h history.h keymap.h \
	keymap_defs.h pgp.h mx.h init.h sort.h buffy.h mailbox.h
keymap.o: keymap.c mutt.h config.h rfc822.h hash.h mutt_regex.h protos.h \
	globals.h mutt_menu.h keymap.h keymap_defs.h mutt_curses.h \
	mapping.h functions.h
lib.o: lib.c mutt.h config.h rfc822.h hash.h mutt_regex.h protos.h \
	globals.h mutt_curses.h mime.h mailbox.h mx.h pgp.h
main.o: main.c mutt.h config.h rfc822.h hash.h mutt_regex.h protos.h \
	globals.h mx.h buffy.h sort.h pgp.h mutt_curses.h keymap.h \
	keymap_defs.h mailbox.h reldate.h
mbox.o: mbox.c mutt.h config.h rfc822.h hash.h mutt_regex.h protos.h \
	globals.h mailbox.h mx.h sort.h copy.h
menu.o: menu.c mutt.h config.h rfc822.h hash.h mutt_regex.h protos.h \
	globals.h mutt_curses.h mutt_menu.h keymap.h keymap_defs.h
mh.o: mh.c mutt.h config.h rfc822.h hash.h mutt_regex.h protos.h \
	globals.h mx.h mailbox.h copy.h buffy.h sort.h
mutt_dotlock.o: mutt_dotlock.c dotlock.h config.h reldate.h
mx.o: mx.c mutt.h config.h rfc822.h hash.h mutt_regex.h protos.h \
	globals.h mx.h rfc2047.h sort.h mailbox.h copy.h keymap.h \
	keymap_defs.h pgp.h dotlock.h
pager.o: pager.c mutt.h config.h rfc822.h hash.h mutt_regex.h protos.h \
	globals.h mutt_curses.h keymap.h keymap_defs.h mutt_menu.h \
	mapping.h sort.h pager.h attach.h pgp.h
parse.o: parse.c mutt.h config.h rfc822.h hash.h mutt_regex.h protos.h \
	globals.h mailbox.h mime.h rfc2047.h pgp.h
pattern.o: pattern.c mutt.h config.h rfc822.h hash.h mutt_regex.h \
	protos.h globals.h mapping.h keymap.h keymap_defs.h mailbox.h \
	copy.h pgp.h
pgpinvoke.o: pgpinvoke.c mutt.h config.h rfc822.h hash.h mutt_regex.h \
	protos.h globals.h pgp.h
pgpkey.o: pgpkey.c mutt.h config.h rfc822.h hash.h mutt_regex.h protos.h \
	globals.h mutt_curses.h mutt_menu.h keymap.h keymap_defs.h \
	mime.h pgp.h pager.h
pgp.o: pgp.c mutt.h config.h rfc822.h hash.h mutt_regex.h protos.h \
	globals.h mutt_curses.h pgp.h mime.h parse.h
pgppubring.o: pgppubring.c sha.h mutt.h config.h rfc822.h hash.h \
	mutt_regex.h protos.h globals.h pgp.h charset.h
postpone.o: postpone.c mutt.h config.h rfc822.h hash.h mutt_regex.h \
	protos.h globals.h mutt_menu.h keymap.h keymap_defs.h rfc1524.h \
	mime.h mailbox.h mapping.h pgp.h
query.o: query.c mutt.h config.h rfc822.h hash.h mutt_regex.h protos.h \
	globals.h mutt_menu.h keymap.h keymap_defs.h mapping.h sort.h
recvattach.o: recvattach.c mutt.h config.h rfc822.h hash.h mutt_regex.h \
	protos.h globals.h mutt_curses.h mutt_menu.h keymap.h \
	keymap_defs.h rfc1524.h mime.h mailbox.h attach.h mapping.h \
	mx.h copy.h pgp.h
resize.o: resize.c mutt.h config.h rfc822.h hash.h mutt_regex.h protos.h \
	globals.h mutt_curses.h
rfc1524.o: rfc1524.c mutt.h config.h rfc822.h hash.h mutt_regex.h \
	protos.h globals.h rfc1524.h
rfc2047.o: rfc2047.c mutt.h config.h rfc822.h hash.h mutt_regex.h \
	protos.h globals.h mime.h charset.h rfc2047.h
rfc822.o: rfc822.c mutt.h config.h rfc822.h hash.h mutt_regex.h protos.h \
	globals.h
score.o: score.c mutt.h config.h rfc822.h hash.h mutt_regex.h protos.h \
	globals.h sort.h
sendlib.o: sendlib.c mutt.h config.h rfc822.h hash.h mutt_regex.h \
	protos.h globals.h mutt_curses.h rfc2047.h mx.h mime.h \
	mailbox.h copy.h charset.h pgp.h
send.o: send.c mutt.h config.h rfc822.h hash.h mutt_regex.h protos.h \
	globals.h mutt_curses.h rfc2047.h keymap.h keymap_defs.h mime.h \
	mailbox.h copy.h mx.h pgp.h
sha1dgst.o: sha1dgst.c sha.h sha_locl.h
signal.o: signal.c mutt.h config.h rfc822.h hash.h mutt_regex.h protos.h \
	globals.h mutt_curses.h
sort.o: sort.c mutt.h config.h rfc822.h hash.h mutt_regex.h protos.h \
	globals.h sort.h
status.o: status.c mutt.h config.h rfc822.h hash.h mutt_regex.h protos.h \
	globals.h mutt_menu.h keymap.h keymap_defs.h mutt_curses.h \
	sort.h mapping.h
system.o: system.c mutt.h config.h rfc822.h hash.h mutt_regex.h protos.h \
	globals.h
thread.o: thread.c mutt.h config.h rfc822.h hash.h mutt_regex.h protos.h \
	globals.h sort.h

info: info-recursive
dvi: dvi-recursive
check: all-am
	$(MAKE) check-recursive
installcheck: installcheck-recursive
all-recursive-am: config.h
	$(MAKE) all-recursive

all-am: Makefile $(PROGRAMS) config.h

install-exec-am: install-binPROGRAMS install-exec-local

install-data-am: install-data-local

uninstall-am: uninstall-binPROGRAMS

install-exec: install-exec-recursive install-exec-am
	@$(NORMAL_INSTALL)

install-data: install-data-recursive install-data-am
	@$(NORMAL_INSTALL)

install: install-recursive install-exec-am install-data-am
	@:

uninstall: uninstall-recursive uninstall-am

install-strip:
	$(MAKE) INSTALL_PROGRAM='$(INSTALL_PROGRAM) -s' INSTALL_SCRIPT='$(INSTALL_PROGRAM)' install
installdirs: installdirs-recursive
	$(mkinstalldirs)  $(DATADIR)$(bindir)


mostlyclean-generic:
	-test -z "$(MOSTLYCLEANFILES)" || rm -f $(MOSTLYCLEANFILES)

clean-generic:
	-test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)

distclean-generic:
	-rm -f Makefile $(DISTCLEANFILES)
	-rm -f config.cache config.log stamp-h stamp-h[0-9]*
	-test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)

maintainer-clean-generic:
	-test -z "$(MAINTAINERCLEANFILES)" || rm -f $(MAINTAINERCLEANFILES)
	-test -z "$(BUILT_SOURCES)" || rm -f $(BUILT_SOURCES)
mostlyclean-am:  mostlyclean-hdr mostlyclean-binPROGRAMS \
		mostlyclean-compile mostlyclean-tags \
		mostlyclean-generic

clean-am:  clean-hdr clean-binPROGRAMS clean-compile clean-tags \
		clean-generic mostlyclean-am

distclean-am:  distclean-hdr distclean-binPROGRAMS distclean-compile \
		distclean-tags distclean-generic clean-am

maintainer-clean-am:  maintainer-clean-hdr maintainer-clean-binPROGRAMS \
		maintainer-clean-compile maintainer-clean-tags \
		maintainer-clean-generic distclean-am

mostlyclean:  mostlyclean-recursive mostlyclean-am

clean:  clean-recursive clean-am

distclean:  distclean-recursive distclean-am
	-rm -f config.status

maintainer-clean:  maintainer-clean-recursive maintainer-clean-am
	@echo "This command is intended for maintainers to use;"
	@echo "it deletes files that may require special tools to rebuild."
	-rm -f config.status

.PHONY: mostlyclean-hdr distclean-hdr clean-hdr maintainer-clean-hdr \
mostlyclean-binPROGRAMS distclean-binPROGRAMS clean-binPROGRAMS \
maintainer-clean-binPROGRAMS uninstall-binPROGRAMS install-binPROGRAMS \
mostlyclean-compile distclean-compile clean-compile \
maintainer-clean-compile install-data-recursive \
uninstall-data-recursive install-exec-recursive \
uninstall-exec-recursive installdirs-recursive uninstalldirs-recursive \
all-recursive check-recursive installcheck-recursive info-recursive \
dvi-recursive mostlyclean-recursive distclean-recursive clean-recursive \
maintainer-clean-recursive tags tags-recursive mostlyclean-tags \
distclean-tags clean-tags maintainer-clean-tags distdir info dvi \
installcheck all-recursive-am all-am install-exec-am install-data-am \
uninstall-am install-exec install-data install uninstall all \
installdirs mostlyclean-generic distclean-generic clean-generic \
maintainer-clean-generic clean mostlyclean distclean maintainer-clean


mutt_dotlock.c: dotlock.c
	cp $(srcdir)/dotlock.c mutt_dotlock.c

keymap_defs.h: $(OPS) $(srcdir)/gen_defs
	$(srcdir)/gen_defs $(OPS) > keymap_defs.h

reldate:
	echo 'const char *ReleaseDate = "'`date +%Y-%m-%d`'";' > $(srcdir)/reldate.h

install-exec-local:
	if test -f $(DESTDIR)$(bindir)/mutt.dotlock && test -f $(DESTDIR)$(bindir)/mutt_dotlock ; then	\
		rm -f $(DESTDIR)$(bindir)/mutt.dotlock ;		\
		ln -sf $(DESTDIR)$(bindir)/mutt_dotlock $(DESTDIR)$(bindir)/mutt.dotlock ; \
	fi
	if test -f $(bindir)/mutt_dotlock && test x@DOTLOCK_GROUP@ != x ; then \
		chgrp @DOTLOCK_GROUP@ $(DESTDIR)$(bindir)/mutt_dotlock ; \
		chmod @DOTLOCK_PERMISSION@  $(DESTDIR)$(bindir)/mutt_dotlock ; \
	fi

install-data-local:
	$(srcdir)/mkinstalldirs $(DESTDIR)$(sharedir)
	$(srcdir)/mkinstalldirs $(DESTDIR)$(sysconfdir)
	-if [ -f $(DESTDIR)$(sharedir)/Muttrc ] ; then \
		mv $(DESTDIR)$(sharedir)/Muttrc $(DESTDIR)$(sysconfdir) ; \
	elif [ -f $(DESTDIR)$(sharedir)/../Muttrc ] ; then \
	 	mv $(DESTDIR)$(sharedir)/../Muttrc $(DESTDIR)$(sysconfdir) ; \
	elif [ ! -f $(DESTDIR)$(sysconfdir)/Muttrc ] ; then \
		$(INSTALL) -m 644 $(srcdir)/Muttrc $(DESTDIR)$(sysconfdir) ; \
	fi
	-if [ ! -f $(DESTDIR)$(sysconfdir)/mime.types ]; then \
		$(INSTALL) -m 644 $(srcdir)/mime.types $(DESTDIR)$(sysconfdir); \
	fi

# Don't make this one ChangeLog - it's intended to be
# used manually.

changelog:
	rcs2log | cat - ChangeLog > ChangeLog.$$$$ && mv ChangeLog.$$$$ ChangeLog
	$(VISUAL) ChangeLog

dist-hook:
	-for file in $(BUILT_SOURCES) ; do rm -f $(distdir)/$$file ; done
	-rm -f $(distdir)/config.h

us-distdir: distdir dist-hook
	mv $(distdir) $(distdir)-us
	find $(distdir)-us -type f -print | while read f ; do 		\
		cp $$f `dirname $$f`/_`basename $$f`.$$$$ &&   		\
		rm $$f && mv `dirname $$f`/_`basename $$f`.$$$$ $$f ;	\
	done

us-dist: us-distdir
	for file in $(distdir)-us/*.c $(distdir)-us/*.h ; do \
		$(srcdir)/reap.pl _PGPPATH < $$file > $$file.n && rm $$file && mv $$file.n $$file ; \
	done
	for file in $(non_us_sources) ; do \
		echo "/* This file is only available in the international mutt version */" \
			> $(distdir)-us/$$file ; \
	done
	echo "This version of mutt may be exported from the US.">  $(distdir)-us/EXPORTABLE
	-chmod -R a+r $(distdir)-us
	GZIP=$(GZIP) $(TAR) chozf $(distdir)-us.tar.gz $(distdir)-us
	-rm -rf $(distdir)-us

# Tell versions [3.59,3.63) of GNU make to not export all variables.
# Otherwise a system limit (for SysV at least) may be exceeded.
.NOEXPORT:
