# Makefile.in generated by automake 1.9.6 from Makefile.am.
# @configure_input@

# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
# 2003, 2004, 2005  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.

@SET_MAKE@

# Makefile.am for GNU Classpathx JavaMail.
srcdir = @srcdir@
top_srcdir = @top_srcdir@
VPATH = @srcdir@
pkgdatadir = $(datadir)/@PACKAGE@
pkglibdir = $(libdir)/@PACKAGE@
pkgincludedir = $(includedir)/@PACKAGE@
top_builddir = .
am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
INSTALL = @INSTALL@
install_sh_DATA = $(install_sh) -c -m 644
install_sh_PROGRAM = $(install_sh) -c
install_sh_SCRIPT = $(install_sh) -c
INSTALL_HEADER = $(INSTALL_DATA)
transform = $(program_transform_name)
NORMAL_INSTALL = :
PRE_INSTALL = :
POST_INSTALL = :
NORMAL_UNINSTALL = :
PRE_UNINSTALL = :
POST_UNINSTALL = :
subdir = .
DIST_COMMON = README $(am__configure_deps) $(srcdir)/Makefile.am \
	$(srcdir)/Makefile.in $(top_srcdir)/configure AUTHORS COPYING \
	ChangeLog INSTALL NEWS TODO config.guess config.sub install-sh \
	missing mkinstalldirs
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
am__aclocal_m4_deps = $(top_srcdir)/acinclude.m4 \
	$(top_srcdir)/m4/ac_check_class.m4 \
	$(top_srcdir)/m4/ac_check_classpath.m4 \
	$(top_srcdir)/m4/ac_check_rqrd_class.m4 \
	$(top_srcdir)/m4/ac_java_options.m4 \
	$(top_srcdir)/m4/ac_prog_jar.m4 \
	$(top_srcdir)/m4/ac_prog_java.m4 \
	$(top_srcdir)/m4/ac_prog_java_works.m4 \
	$(top_srcdir)/m4/ac_prog_javac.m4 \
	$(top_srcdir)/m4/ac_prog_javac_works.m4 \
	$(top_srcdir)/m4/ac_prog_javadoc.m4 \
	$(top_srcdir)/m4/am_prog_gcj.m4 \
	$(top_srcdir)/m4/gnumail_with_activation_jar.m4 \
	$(top_srcdir)/m4/gnumail_with_inetlib_jar.m4 \
	$(top_srcdir)/m4/gnumail_with_jsse.m4 \
	$(top_srcdir)/configure.ac
am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
	$(ACLOCAL_M4)
am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \
 configure.lineno configure.status.lineno
mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
CONFIG_CLEAN_FILES =
SOURCES =
DIST_SOURCES =
DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
distdir = $(PACKAGE)-$(VERSION)
top_distdir = $(distdir)
am__remove_distdir = \
  { test ! -d $(distdir) \
    || { find $(distdir) -type d ! -perm -200 -exec chmod u+w {} ';' \
         && rm -fr $(distdir); }; }
DIST_ARCHIVES = $(distdir).tar.gz
GZIP_ENV = --best
distuninstallcheck_listfiles = find . -type f -print
distcleancheck_listfiles = find . -type f -print
ACLOCAL = @ACLOCAL@
ACTIVATION_JAR = @ACTIVATION_JAR@
AMTAR = @AMTAR@
AUTOCONF = @AUTOCONF@
AUTOHEADER = @AUTOHEADER@
AUTOMAKE = @AUTOMAKE@
AWK = @AWK@
CYGPATH_W = @CYGPATH_W@
DEFS = @DEFS@
ECHO_C = @ECHO_C@
ECHO_N = @ECHO_N@
ECHO_T = @ECHO_T@
ENABLE_IMAP_FALSE = @ENABLE_IMAP_FALSE@
ENABLE_IMAP_TRUE = @ENABLE_IMAP_TRUE@
ENABLE_MAILDIR_FALSE = @ENABLE_MAILDIR_FALSE@
ENABLE_MAILDIR_TRUE = @ENABLE_MAILDIR_TRUE@
ENABLE_MBOX_FALSE = @ENABLE_MBOX_FALSE@
ENABLE_MBOX_TRUE = @ENABLE_MBOX_TRUE@
ENABLE_NNTP_FALSE = @ENABLE_NNTP_FALSE@
ENABLE_NNTP_TRUE = @ENABLE_NNTP_TRUE@
ENABLE_POP3_FALSE = @ENABLE_POP3_FALSE@
ENABLE_POP3_TRUE = @ENABLE_POP3_TRUE@
ENABLE_SMTP_FALSE = @ENABLE_SMTP_FALSE@
ENABLE_SMTP_TRUE = @ENABLE_SMTP_TRUE@
INETLIB_JAR = @INETLIB_JAR@
INSTALL_DATA = @INSTALL_DATA@
INSTALL_PROGRAM = @INSTALL_PROGRAM@
INSTALL_SCRIPT = @INSTALL_SCRIPT@
INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
JAR = @JAR@
JAVA = @JAVA@
JAVAC = @JAVAC@
JAVACFLAGS = @JAVACFLAGS@
JAVADOC = @JAVADOC@
JAVADOCFLAGS = @JAVADOCFLAGS@
JAVAFLAGS = @JAVAFLAGS@
JAVAPREFIX = @JAVAPREFIX@
JSSE_JAR = @JSSE_JAR@
LIBOBJS = @LIBOBJS@
LIBS = @LIBS@
LTLIBOBJS = @LTLIBOBJS@
MAKEINFO = @MAKEINFO@
PACKAGE = @PACKAGE@
PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
PACKAGE_NAME = @PACKAGE_NAME@
PACKAGE_STRING = @PACKAGE_STRING@
PACKAGE_TARNAME = @PACKAGE_TARNAME@
PACKAGE_VERSION = @PACKAGE_VERSION@
PATH_SEPARATOR = @PATH_SEPARATOR@
SET_MAKE = @SET_MAKE@
SHELL = @SHELL@
STRIP = @STRIP@
VERSION = @VERSION@
ac_ct_STRIP = @ac_ct_STRIP@
am__leading_dot = @am__leading_dot@
am__tar = @am__tar@
am__untar = @am__untar@
bindir = @bindir@
build_alias = @build_alias@
datadir = @datadir@
exec_prefix = @exec_prefix@
host_alias = @host_alias@
includedir = @includedir@
infodir = @infodir@
install_sh = @install_sh@
libdir = @libdir@
libexecdir = @libexecdir@
localstatedir = @localstatedir@
mandir = @mandir@
mkdir_p = @mkdir_p@
oldincludedir = @oldincludedir@
prefix = @prefix@
program_transform_name = @program_transform_name@
sbindir = @sbindir@
sharedstatedir = @sharedstatedir@
sysconfdir = @sysconfdir@
target_alias = @target_alias@
uudecode = @uudecode@
src = @srcdir@/source
dst = classes
doc = @srcdir@/docs
gnumail_jar = gnumail.jar
providers_jar = gnumail-providers.jar

# The java source files that make up the GNU version of the javax.mail API.
gnumail_sources = \
$(src)/javax/mail/Address.java \
$(src)/javax/mail/AuthenticationFailedException.java \
$(src)/javax/mail/Authenticator.java \
$(src)/javax/mail/BodyPart.java \
$(src)/javax/mail/FetchProfile.java \
$(src)/javax/mail/Flags.java \
$(src)/javax/mail/Folder.java \
$(src)/javax/mail/FolderClosedException.java \
$(src)/javax/mail/FolderNotFoundException.java \
$(src)/javax/mail/Header.java \
$(src)/javax/mail/IllegalWriteException.java \
$(src)/javax/mail/Message.java \
$(src)/javax/mail/MessageAware.java \
$(src)/javax/mail/MessageContext.java \
$(src)/javax/mail/MessageRemovedException.java \
$(src)/javax/mail/MessagingException.java \
$(src)/javax/mail/MethodNotSupportedException.java \
$(src)/javax/mail/Multipart.java \
$(src)/javax/mail/MultipartDataSource.java \
$(src)/javax/mail/NoSuchProviderException.java \
$(src)/javax/mail/Part.java \
$(src)/javax/mail/PasswordAuthentication.java \
$(src)/javax/mail/Provider.java \
$(src)/javax/mail/Quota.java \
$(src)/javax/mail/QuotaAwareStore.java \
$(src)/javax/mail/ReadOnlyFolderException.java \
$(src)/javax/mail/SendFailedException.java \
$(src)/javax/mail/Service.java \
$(src)/javax/mail/Session.java \
$(src)/javax/mail/Store.java \
$(src)/javax/mail/StoreClosedException.java \
$(src)/javax/mail/Transport.java \
$(src)/javax/mail/UIDFolder.java \
$(src)/javax/mail/URLName.java \
$(src)/javax/mail/event/ConnectionAdapter.java \
$(src)/javax/mail/event/ConnectionEvent.java \
$(src)/javax/mail/event/ConnectionListener.java \
$(src)/javax/mail/event/FolderAdapter.java \
$(src)/javax/mail/event/FolderEvent.java \
$(src)/javax/mail/event/FolderListener.java \
$(src)/javax/mail/event/MailEvent.java \
$(src)/javax/mail/event/MessageChangedEvent.java \
$(src)/javax/mail/event/MessageChangedListener.java \
$(src)/javax/mail/event/MessageCountAdapter.java \
$(src)/javax/mail/event/MessageCountEvent.java \
$(src)/javax/mail/event/MessageCountListener.java \
$(src)/javax/mail/event/StoreEvent.java \
$(src)/javax/mail/event/StoreListener.java \
$(src)/javax/mail/event/TransportAdapter.java \
$(src)/javax/mail/event/TransportEvent.java \
$(src)/javax/mail/event/TransportListener.java \
$(src)/javax/mail/internet/AddressException.java \
$(src)/javax/mail/internet/ContentDisposition.java \
$(src)/javax/mail/internet/ContentType.java \
$(src)/javax/mail/internet/HeaderTokenizer.java \
$(src)/javax/mail/internet/InternetAddress.java \
$(src)/javax/mail/internet/InternetHeaders.java \
$(src)/javax/mail/internet/MailDateFormat.java \
$(src)/javax/mail/internet/MimeBodyPart.java \
$(src)/javax/mail/internet/MimeMessage.java \
$(src)/javax/mail/internet/MimeMultipart.java \
$(src)/javax/mail/internet/MimePart.java \
$(src)/javax/mail/internet/MimePartDataSource.java \
$(src)/javax/mail/internet/MimeUtility.java \
$(src)/javax/mail/internet/NewsAddress.java \
$(src)/javax/mail/internet/ParameterList.java \
$(src)/javax/mail/internet/ParseException.java \
$(src)/javax/mail/internet/SharedInputStream.java \
$(src)/javax/mail/search/AddressStringTerm.java \
$(src)/javax/mail/search/AddressTerm.java \
$(src)/javax/mail/search/AndTerm.java \
$(src)/javax/mail/search/BodyTerm.java \
$(src)/javax/mail/search/ComparisonTerm.java \
$(src)/javax/mail/search/DateTerm.java \
$(src)/javax/mail/search/FlagTerm.java \
$(src)/javax/mail/search/FromStringTerm.java \
$(src)/javax/mail/search/FromTerm.java \
$(src)/javax/mail/search/HeaderTerm.java \
$(src)/javax/mail/search/IntegerComparisonTerm.java \
$(src)/javax/mail/search/MessageIDTerm.java \
$(src)/javax/mail/search/MessageNumberTerm.java \
$(src)/javax/mail/search/NotTerm.java \
$(src)/javax/mail/search/OrTerm.java \
$(src)/javax/mail/search/ReceivedDateTerm.java \
$(src)/javax/mail/search/RecipientStringTerm.java \
$(src)/javax/mail/search/RecipientTerm.java \
$(src)/javax/mail/search/SearchException.java \
$(src)/javax/mail/search/SearchTerm.java \
$(src)/javax/mail/search/SentDateTerm.java \
$(src)/javax/mail/search/SizeTerm.java \
$(src)/javax/mail/search/StringTerm.java \
$(src)/javax/mail/search/SubjectTerm.java \
$(src)/javax/mail/util/ByteArrayDataSource.java \
$(src)/javax/mail/util/SharedByteArrayInputStream.java \
$(src)/javax/mail/util/SharedFileInputStream.java \
$(src)/gnu/mail/handler/Application.java \
$(src)/gnu/mail/handler/ApplicationOctetStream.java \
$(src)/gnu/mail/handler/Message.java \
$(src)/gnu/mail/handler/MessageRFC822.java \
$(src)/gnu/mail/handler/Multipart.java \
$(src)/gnu/mail/handler/MultipartAlternative.java \
$(src)/gnu/mail/handler/MultipartMixed.java \
$(src)/gnu/mail/handler/MultipartRelated.java \
$(src)/gnu/mail/handler/MultipartSigned.java \
$(src)/gnu/mail/handler/Text.java \
$(src)/gnu/mail/handler/TextHtml.java \
$(src)/gnu/mail/handler/TextPlain.java \
$(src)/gnu/mail/handler/TextXml.java


# Utility and helper classes for the JavaMail API.
util_sources = \
$(src)/gnu/mail/util/BOutputStream.java \
$(src)/gnu/mail/util/Base64InputStream.java \
$(src)/gnu/mail/util/Base64OutputStream.java \
$(src)/gnu/mail/util/MailboxURLConnection.java \
$(src)/gnu/mail/util/QInputStream.java \
$(src)/gnu/mail/util/QOutputStream.java \
$(src)/gnu/mail/util/QPInputStream.java \
$(src)/gnu/mail/util/QPOutputStream.java \
$(src)/gnu/mail/util/RFC2822OutputStream.java \
$(src)/gnu/mail/util/UUInputStream.java \
$(src)/gnu/mail/util/UUOutputStream.java


# Utility and helper classes for the providers.
provider_sources = \
$(src)/gnu/mail/treeutil/StatusEvent.java \
$(src)/gnu/mail/treeutil/StatusListener.java \
$(src)/gnu/mail/treeutil/StatusSource.java \
$(src)/gnu/mail/providers/ReadOnlyMessage.java

@ENABLE_SMTP_FALSE@smtp_sources = 

# The SMTP provider
@ENABLE_SMTP_TRUE@smtp_sources = \
@ENABLE_SMTP_TRUE@$(src)/gnu/mail/providers/smtp/SMTPTransport.java

@ENABLE_IMAP_FALSE@imap_sources = 

# The IMAP provider
@ENABLE_IMAP_TRUE@imap_sources = \
@ENABLE_IMAP_TRUE@$(src)/gnu/mail/providers/imap/ACL.java \
@ENABLE_IMAP_TRUE@$(src)/gnu/mail/providers/imap/IMAPBodyPart.java \
@ENABLE_IMAP_TRUE@$(src)/gnu/mail/providers/imap/IMAPFlags.java \
@ENABLE_IMAP_TRUE@$(src)/gnu/mail/providers/imap/IMAPFolder.java \
@ENABLE_IMAP_TRUE@$(src)/gnu/mail/providers/imap/IMAPMessage.java \
@ENABLE_IMAP_TRUE@$(src)/gnu/mail/providers/imap/IMAPMultipart.java \
@ENABLE_IMAP_TRUE@$(src)/gnu/mail/providers/imap/IMAPMultipartDataSource.java \
@ENABLE_IMAP_TRUE@$(src)/gnu/mail/providers/imap/IMAPStore.java \
@ENABLE_IMAP_TRUE@$(src)/gnu/mail/providers/imap/Rights.java

@ENABLE_POP3_FALSE@pop3_sources = 

# POP3 protocol
@ENABLE_POP3_TRUE@pop3_sources = \
@ENABLE_POP3_TRUE@$(src)/gnu/mail/providers/pop3/POP3Folder.java \
@ENABLE_POP3_TRUE@$(src)/gnu/mail/providers/pop3/POP3Message.java \
@ENABLE_POP3_TRUE@$(src)/gnu/mail/providers/pop3/POP3Store.java

@ENABLE_NNTP_FALSE@nntp_sources = 

# News protocol
@ENABLE_NNTP_TRUE@nntp_sources = \
@ENABLE_NNTP_TRUE@$(src)/gnu/mail/providers/nntp/ListFolderListener.java \
@ENABLE_NNTP_TRUE@$(src)/gnu/mail/providers/nntp/NNTPFolder.java \
@ENABLE_NNTP_TRUE@$(src)/gnu/mail/providers/nntp/NNTPMessage.java \
@ENABLE_NNTP_TRUE@$(src)/gnu/mail/providers/nntp/NNTPRootFolder.java \
@ENABLE_NNTP_TRUE@$(src)/gnu/mail/providers/nntp/NNTPStore.java \
@ENABLE_NNTP_TRUE@$(src)/gnu/mail/providers/nntp/NNTPTransport.java

@ENABLE_MBOX_FALSE@mbox_sources = 

# Mbox provider.
@ENABLE_MBOX_TRUE@mbox_sources = \
@ENABLE_MBOX_TRUE@$(src)/gnu/mail/providers/mbox/MboxFolder.java \
@ENABLE_MBOX_TRUE@$(src)/gnu/mail/providers/mbox/MboxMessage.java \
@ENABLE_MBOX_TRUE@$(src)/gnu/mail/providers/mbox/MboxOutputStream.java \
@ENABLE_MBOX_TRUE@$(src)/gnu/mail/providers/mbox/MboxStore.java

@ENABLE_MAILDIR_FALSE@maildir_sources = 

# Maildir message store provider.
@ENABLE_MAILDIR_TRUE@maildir_sources = \
@ENABLE_MAILDIR_TRUE@$(src)/gnu/mail/providers/maildir/MaildirFolder.java \
@ENABLE_MAILDIR_TRUE@$(src)/gnu/mail/providers/maildir/MaildirMessage.java \
@ENABLE_MAILDIR_TRUE@$(src)/gnu/mail/providers/maildir/MaildirStore.java

@ENABLE_SMTP_FALSE@smtp_package_name = 

# Package names for Javadoc
@ENABLE_SMTP_TRUE@smtp_package_name = gnu.mail.providers.smtp
@ENABLE_IMAP_FALSE@imap_package_name = 
@ENABLE_IMAP_TRUE@imap_package_name = gnu.mail.providers.imap
@ENABLE_POP3_FALSE@pop3_package_name = 
@ENABLE_POP3_TRUE@pop3_package_name = gnu.mail.providers.pop3
@ENABLE_NNTP_FALSE@nntp_package_name = 
@ENABLE_NNTP_TRUE@nntp_package_name = gnu.mail.providers.nntp
@ENABLE_MBOX_FALSE@mbox_package_name = 
@ENABLE_MBOX_TRUE@mbox_package_name = gnu.mail.providers.mbox
@ENABLE_MAILDIR_FALSE@maildir_package_name = 
@ENABLE_MAILDIR_TRUE@maildir_package_name = gnu.mail.providers.maildir
package_names = \
javax.mail \
javax.mail.event \
javax.mail.internet \
javax.mail.search \
$(smtp_package_name) \
$(imap_package_name) \
$(pop3_package_name) \
$(nntp_package_name) \
$(mbox_package_name) \
$(maildir_package_name) \
gnu.mail.util


# The GNU JAF library.
activation_jar = @ACTIVATION_JAR@

# The GNU classpath inetlib library.
inetlib_jar = @INETLIB_JAR@

# The JSSE library.
jsse_jar = @JSSE_JAR@

# The META stuff
gnumail_meta = \
META-INF/COPYING \
META-INF/mime.types \
META-INF/mailcap \
META-INF/javamail.charset.map

providers_meta = \
META-INF/javamail.default.providers \
META-INF/javamail.default.address.map

manifest_mf = @srcdir@/MANIFEST.MF

# Classpaths
classpath = $(src):$(activation_jar):$(inetlib_jar):$(jsse_jar)

# Targets
BUILT_SOURCES = $(gnumail_jar) $(providers_jar)

#�EXTRA_DIST = jarcompiler $(API_JAVASRC) $(GNU_SRC) $(MAIL_META)
gnumail_classes = $(patsubst $(src)/%.java, $(dst)/%.class, $(gnumail_sources))
util_classes = $(patsubst $(src)/%.java, $(dst)/%.class, $(util_sources))
provider_classes = $(patsubst $(src)/%.java, $(dst)/%.class, $(provider_sources))
smtp_classes = $(patsubst $(src)/%.java, $(dst)/%.class, $(smtp_sources))
imap_classes = $(patsubst $(src)/%.java, $(dst)/%.class, $(imap_sources))
pop3_classes = $(patsubst $(src)/%.java, $(dst)/%.class, $(pop3_sources))
nntp_classes = $(patsubst $(src)/%.java, $(dst)/%.class, $(nntp_sources))
mbox_classes = $(patsubst $(src)/%.java, $(dst)/%.class, $(mbox_sources))
maildir_classes = $(patsubst $(src)/%.java, $(dst)/%.class, $(maildir_sources))
all: $(BUILT_SOURCES)
	$(MAKE) $(AM_MAKEFLAGS) all-am

.SUFFIXES:
am--refresh:
	@:
$(srcdir)/Makefile.in:  $(srcdir)/Makefile.am  $(am__configure_deps)
	@for dep in $?; do \
	  case '$(am__configure_deps)' in \
	    *$$dep*) \
	      echo ' cd $(srcdir) && $(AUTOMAKE) --gnu '; \
	      cd $(srcdir) && $(AUTOMAKE) --gnu  \
		&& exit 0; \
	      exit 1;; \
	  esac; \
	done; \
	echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu  Makefile'; \
	cd $(top_srcdir) && \
	  $(AUTOMAKE) --gnu  Makefile
.PRECIOUS: Makefile
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
	@case '$?' in \
	  *config.status*) \
	    echo ' $(SHELL) ./config.status'; \
	    $(SHELL) ./config.status;; \
	  *) \
	    echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe)'; \
	    cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe);; \
	esac;

$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
	$(SHELL) ./config.status --recheck

$(top_srcdir)/configure:  $(am__configure_deps)
	cd $(srcdir) && $(AUTOCONF)
$(ACLOCAL_M4):  $(am__aclocal_m4_deps)
	cd $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
uninstall-info-am:
tags: TAGS
TAGS:

ctags: CTAGS
CTAGS:


distdir: $(DISTFILES)
	$(am__remove_distdir)
	mkdir $(distdir)
	$(mkdir_p) $(distdir)/m4
	@srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
	topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
	list='$(DISTFILES)'; for file in $$list; do \
	  case $$file in \
	    $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \
	    $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \
	  esac; \
	  if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
	  dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
	  if test "$$dir" != "$$file" && test "$$dir" != "."; then \
	    dir="/$$dir"; \
	    $(mkdir_p) "$(distdir)$$dir"; \
	  else \
	    dir=''; \
	  fi; \
	  if test -d $$d/$$file; then \
	    if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
	      cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
	    fi; \
	    cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
	  else \
	    test -f $(distdir)/$$file \
	    || cp -p $$d/$$file $(distdir)/$$file \
	    || exit 1; \
	  fi; \
	done
	-find $(distdir) -type d ! -perm -777 -exec chmod a+rwx {} \; -o \
	  ! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \
	  ! -type d ! -perm -400 -exec chmod a+r {} \; -o \
	  ! -type d ! -perm -444 -exec $(SHELL) $(install_sh) -c -m a+r {} {} \; \
	|| chmod -R a+r $(distdir)
dist-gzip: distdir
	tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
	$(am__remove_distdir)

dist-bzip2: distdir
	tardir=$(distdir) && $(am__tar) | bzip2 -9 -c >$(distdir).tar.bz2
	$(am__remove_distdir)

dist-tarZ: distdir
	tardir=$(distdir) && $(am__tar) | compress -c >$(distdir).tar.Z
	$(am__remove_distdir)

dist-shar: distdir
	shar $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).shar.gz
	$(am__remove_distdir)

dist-zip: distdir
	-rm -f $(distdir).zip
	zip -rq $(distdir).zip $(distdir)
	$(am__remove_distdir)

dist dist-all: distdir
	tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
	$(am__remove_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
	case '$(DIST_ARCHIVES)' in \
	*.tar.gz*) \
	  GZIP=$(GZIP_ENV) gunzip -c $(distdir).tar.gz | $(am__untar) ;;\
	*.tar.bz2*) \
	  bunzip2 -c $(distdir).tar.bz2 | $(am__untar) ;;\
	*.tar.Z*) \
	  uncompress -c $(distdir).tar.Z | $(am__untar) ;;\
	*.shar.gz*) \
	  GZIP=$(GZIP_ENV) gunzip -c $(distdir).shar.gz | unshar ;;\
	*.zip*) \
	  unzip $(distdir).zip ;;\
	esac
	chmod -R a-w $(distdir); chmod a+w $(distdir)
	mkdir $(distdir)/_build
	mkdir $(distdir)/_inst
	chmod a-w $(distdir)
	dc_install_base=`$(am__cd) $(distdir)/_inst && pwd | sed -e 's,^[^:\\/]:[\\/],/,'` \
	  && dc_destdir="$${TMPDIR-/tmp}/am-dc-$$$$/" \
	  && cd $(distdir)/_build \
	  && ../configure --srcdir=.. --prefix="$$dc_install_base" \
	    $(DISTCHECK_CONFIGURE_FLAGS) \
	  && $(MAKE) $(AM_MAKEFLAGS) \
	  && $(MAKE) $(AM_MAKEFLAGS) dvi \
	  && $(MAKE) $(AM_MAKEFLAGS) check \
	  && $(MAKE) $(AM_MAKEFLAGS) install \
	  && $(MAKE) $(AM_MAKEFLAGS) installcheck \
	  && $(MAKE) $(AM_MAKEFLAGS) uninstall \
	  && $(MAKE) $(AM_MAKEFLAGS) distuninstallcheck_dir="$$dc_install_base" \
	        distuninstallcheck \
	  && chmod -R a-w "$$dc_install_base" \
	  && ({ \
	       (cd ../.. && umask 077 && mkdir "$$dc_destdir") \
	       && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" install \
	       && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" uninstall \
	       && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" \
	            distuninstallcheck_dir="$$dc_destdir" distuninstallcheck; \
	      } || { rm -rf "$$dc_destdir"; exit 1; }) \
	  && rm -rf "$$dc_destdir" \
	  && $(MAKE) $(AM_MAKEFLAGS) dist \
	  && rm -rf $(DIST_ARCHIVES) \
	  && $(MAKE) $(AM_MAKEFLAGS) distcleancheck
	$(am__remove_distdir)
	@(echo "$(distdir) archives ready for distribution: "; \
	  list='$(DIST_ARCHIVES)'; for i in $$list; do echo $$i; done) | \
	  sed -e '1{h;s/./=/g;p;x;}' -e '$${p;x;}'
distuninstallcheck:
	@cd $(distuninstallcheck_dir) \
	&& test `$(distuninstallcheck_listfiles) | wc -l` -le 1 \
	   || { echo "ERROR: files left after uninstall:" ; \
	        if test -n "$(DESTDIR)"; then \
	          echo "  (check DESTDIR support)"; \
	        fi ; \
	        $(distuninstallcheck_listfiles) ; \
	        exit 1; } >&2
distcleancheck: distclean
	@if test '$(srcdir)' = . ; then \
	  echo "ERROR: distcleancheck can only run from a VPATH build" ; \
	  exit 1 ; \
	fi
	@test `$(distcleancheck_listfiles) | wc -l` -eq 0 \
	  || { echo "ERROR: files left in build directory after distclean:" ; \
	       $(distcleancheck_listfiles) ; \
	       exit 1; } >&2
check-am: all-am
check: $(BUILT_SOURCES)
	$(MAKE) $(AM_MAKEFLAGS) check-am
all-am: Makefile
installdirs:
install: $(BUILT_SOURCES)
	$(MAKE) $(AM_MAKEFLAGS) install-am
install-exec: install-exec-am
install-data: install-data-am
uninstall: uninstall-am

install-am: all-am
	@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am

installcheck: installcheck-am
install-strip:
	$(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
	  install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
	  `test -z '$(STRIP)' || \
	    echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
mostlyclean-generic:

clean-generic:

distclean-generic:
	-test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)

maintainer-clean-generic:
	@echo "This command is intended for maintainers to use"
	@echo "it deletes files that may require special tools to rebuild."
	-test -z "$(BUILT_SOURCES)" || rm -f $(BUILT_SOURCES)
clean: clean-am

clean-am: clean-generic clean-local mostlyclean-am

distclean: distclean-am
	-rm -f $(am__CONFIG_DISTCLEAN_FILES)
	-rm -f Makefile
distclean-am: clean-am distclean-generic

dvi: dvi-am

dvi-am:

html: html-am

info: info-am

info-am:

install-data-am: install-data-local

install-exec-am:

install-info: install-info-am

install-man:

installcheck-am:

maintainer-clean: maintainer-clean-am
	-rm -f $(am__CONFIG_DISTCLEAN_FILES)
	-rm -rf $(top_srcdir)/autom4te.cache
	-rm -f Makefile
maintainer-clean-am: distclean-am maintainer-clean-generic

mostlyclean: mostlyclean-am

mostlyclean-am: mostlyclean-generic

pdf: pdf-am

pdf-am:

ps: ps-am

ps-am:

uninstall-am: uninstall-info-am

.PHONY: all all-am am--refresh check check-am clean clean-generic \
	clean-local dist dist-all dist-bzip2 dist-gzip dist-shar \
	dist-tarZ dist-zip distcheck distclean distclean-generic \
	distcleancheck distdir distuninstallcheck dvi dvi-am html \
	html-am info info-am install install-am install-data \
	install-data-am install-data-local install-exec \
	install-exec-am install-info install-info-am install-man \
	install-strip installcheck installcheck-am installdirs \
	maintainer-clean maintainer-clean-generic mostlyclean \
	mostlyclean-generic pdf pdf-am ps ps-am uninstall uninstall-am \
	uninstall-info-am


META-INF:
	mkdir -p META-INF

META-INF/COPYING: META-INF @srcdir@/COPYING
	cp @srcdir@/COPYING META-INF/COPYING

META-INF/mime.types: META-INF @srcdir@/mime.types
	cp @srcdir@/mime.types META-INF/mime.types

META-INF/mailcap: META-INF @srcdir@/mailcap
	cp @srcdir@/mailcap META-INF/mailcap

META-INF/javamail.charset.map: META-INF @srcdir@/javamail.charset.map
	cp @srcdir@/javamail.charset.map META-INF/javamail.charset.map

META-INF/javamail.default.providers: META-INF
	echo "# javamail.providers for GNU JavaMail" > javamail.providers
@ENABLE_SMTP_TRUE@	grep "protocol=smtp" @srcdir@/javamail.providers.in >> javamail.providers
@ENABLE_IMAP_TRUE@	grep "protocol=imap" @srcdir@/javamail.providers.in >> javamail.providers
@ENABLE_POP3_TRUE@	grep "protocol=pop3" @srcdir@/javamail.providers.in >> javamail.providers
@ENABLE_NNTP_TRUE@	grep "protocol=nntp" @srcdir@/javamail.providers.in >> javamail.providers
@ENABLE_MBOX_TRUE@	grep "protocol=mbox" @srcdir@/javamail.providers.in >> javamail.providers
@ENABLE_MAILDIR_TRUE@	grep "protocol=maildir" @srcdir@/javamail.providers.in >> javamail.providers
	cp javamail.providers META-INF/javamail.default.providers

META-INF/javamail.default.address.map: META-INF javamail.address.map
	cp javamail.address.map META-INF/javamail.default.address.map

javamail.address.map:
	rm -f javamail.address.map
@ENABLE_SMTP_TRUE@	echo "rfc822=smtp" >> javamail.address.map
@ENABLE_NNTP_TRUE@	echo "news=nntp-post" >> javamail.address.map

$(dst):
	test ! -d $(dst) && mkdir $(dst)

# Jars

$(gnumail_jar): $(dst) $(gnumail_meta) $(gnumail_classes) $(util_classes)
	$(JAR) cfm $(gnumail_jar) $(manifest_mf) \
		$(gnumail_meta) \
		-C $(dst) javax \
		-C $(dst) gnu/mail/handler \
		-C $(dst) gnu/mail/util 

$(providers_jar): $(dst) $(providers_meta) $(provider_classes) $(smtp_classes) \
	$(imap_classes) $(pop3_classes) $(nntp_classes) $(mbox_classes) \
	$(maildir_classes)
	$(JAR) cfm $(providers_jar) $(manifest_mf) \
		$(providers_meta) \
		-C $(dst) gnu/mail/providers \
		-C $(dst) gnu/mail/treeutil

# Compilation

#gnumail: util $(gnumail_classes)

$(gnumail_classes): $(dst)/%.class: $(src)/%.java
	$(JAVAC) $(JAVACFLAGS) -classpath $(classpath) -d $(dst) $<

#util: $(util_classes)

$(util_classes): $(dst)/%.class: $(src)/%.java
	$(JAVAC) $(JAVACFLAGS) -classpath $(classpath) -d $(dst) $<

#provider_util: $(gnumail_jar) $(provider_classes)

$(provider_classes): $(dst)/%.class: $(src)/%.java
	$(JAVAC) $(JAVACFLAGS) -classpath $(classpath) -d $(dst) $<

#smtp: provider_util $(smtp_classes)

$(smtp_classes): $(dst)/%.class: $(src)/%.java
	$(JAVAC) $(JAVACFLAGS) -classpath $(classpath) -d $(dst) $<

#imap: provider_util $(imap_classes)

$(imap_classes): $(dst)/%.class: $(src)/%.java
	$(JAVAC) $(JAVACFLAGS) -classpath $(classpath) -d $(dst) $<

#pop3: provider_util $(pop3_classes)

$(pop3_classes): $(dst)/%.class: $(src)/%.java
	$(JAVAC) $(JAVACFLAGS) -classpath $(classpath) -d $(dst) $<

#nntp: provider_util $(nntp_classes)

$(nntp_classes): $(dst)/%.class: $(src)/%.java
	$(JAVAC) $(JAVACFLAGS) -classpath $(classpath) -d $(dst) $<

#mbox: provider_util $(mbox_classes)

$(mbox_classes): $(dst)/%.class: $(src)/%.java
	$(JAVAC) $(JAVACFLAGS) -classpath $(classpath) -d $(dst) $<

#maildir: provider_util $(maildir_classes)

$(maildir_classes): $(dst)/%.class: $(src)/%.java
	$(JAVAC) $(JAVACFLAGS) -classpath $(classpath) -d $(dst) $<

# Javadoc
javadoc:
	mkdir -p $(doc)
	$(JAVADOC) $(JAVADOCFLAGS) -d $(doc) -sourcepath $(src) \
          -windowtitle "GNU JavaMail API documentation" $(package_names)

# Remove jar files and directories
clean-local:
	rm -f javamail.address.map javamail.providers
	rm -rf $(gnumail_jar) $(providers_jar) META-INF $(dst) $(doc)

install-data-local:
	@srcdir@/mkinstalldirs $(DESTDIR)/$(datadir)/java
	$(INSTALL_DATA) $(gnumail_jar) $(DESTDIR)/$(datadir)/java
	$(INSTALL_DATA) $(providers_jar) $(DESTDIR)/$(datadir)/java

# End of Makefile.am
# 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:
