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

# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
# 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 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@

#
# Copyright 1998 - 2011 Double Precision, Inc.  See COPYING for
# distribution information.
#
# The correct ownership and permissions of installed files is set by
# setperms.sh.  To prevent even the slightest chance of a security breach,
# we'll install with all group and world permissions OFF, and let setperms.sh
# fix it.  configure.in changes the INSTALL macro for us.



VPATH = @srcdir@
pkgdatadir = $(datadir)/@PACKAGE@
pkgincludedir = $(includedir)/@PACKAGE@
pkglibdir = $(libdir)/@PACKAGE@
am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
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 = :
build_triplet = @build@
host_triplet = @host@
target_triplet = @target@
pkglibexec_PROGRAMS = aliasexp$(EXEEXT) aliascombine$(EXEEXT) \
	aliascreate$(EXEEXT) sqwebmaild$(EXEEXT) submit$(EXEEXT) \
	@EXTRAPKGLIB@ $(am__empty)
webmail_PROGRAMS = webmail$(EXEEXT) webmlm$(EXEEXT)
EXTRA_PROGRAMS = courierldapaliasd$(EXEEXT)
bin_PROGRAMS = cancelmsg$(EXEEXT) mailq$(EXEEXT) sendmail$(EXEEXT) \
	testmxlookup$(EXEEXT) dotforward$(EXEEXT) couriermlm$(EXEEXT) \
	webmlmd$(EXEEXT) courier-config$(EXEEXT) @couriertls@ \
	@EXTRABIN@ $(am__empty)
sbin_PROGRAMS = courier$(EXEEXT) showconfig$(EXEEXT) \
	showmodules$(EXEEXT) aliaslookup$(EXEEXT) @COURIERLDAPALIASD@ \
	@EXTRASBIN@ $(am__empty)
cmdlib_PROGRAMS = submitmkdir$(EXEEXT) courierd$(EXEEXT) @EXTRACMDLIB@
subdir = .
DIST_COMMON = $(am__configure_deps) $(srcdir)/../config.guess \
	$(srcdir)/../config.sub $(srcdir)/../depcomp \
	$(srcdir)/../install-sh $(srcdir)/../ltmain.sh \
	$(srcdir)/../missing $(srcdir)/Makefile.am \
	$(srcdir)/Makefile.in $(srcdir)/config.h.in \
	$(srcdir)/courier.h.in $(srcdir)/courierctl.start.in \
	$(srcdir)/courierd.dist.in \
	$(srcdir)/dot-qmail-to-dot-courier.pl.in \
	$(srcdir)/imapd-ssl.rc.in $(srcdir)/imapd.rc.in \
	$(srcdir)/makealiases.in $(srcdir)/makehosteddomains.in \
	$(srcdir)/mkmodules.sh.in $(srcdir)/perftest1.in \
	$(srcdir)/perms.sh.in $(srcdir)/pop3d-ssl.in \
	$(srcdir)/pop3d.in $(srcdir)/setperms.sh.in \
	$(srcdir)/webmaild.in $(srcdir)/webmlmd.rc.in \
	$(srcdir)/webmlmrc.dist.in $(top_srcdir)/configure
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
am__aclocal_m4_deps = $(top_srcdir)/configure.in
am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
	$(ACLOCAL_M4)
am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \
 configure.lineno config.status.lineno
mkinstalldirs = $(install_sh) -d
CONFIG_HEADER = config.h
CONFIG_CLEAN_FILES = courier.h courierctl.start courierd.dist \
	dot-qmail-to-dot-courier.pl pop3d pop3d-ssl imapd.rc \
	imapd-ssl.rc makealiases makehosteddomains mkmodules.sh \
	perms.sh setperms.sh perftest1 webmaild webmlmrc.dist \
	webmlmd.rc
CONFIG_CLEAN_VPATH_FILES =
am__installdirs = "$(DESTDIR)$(bindir)" "$(DESTDIR)$(cmdlibdir)" \
	"$(DESTDIR)$(pkglibexecdir)" "$(DESTDIR)$(sbindir)" \
	"$(DESTDIR)$(webmaildir)" "$(DESTDIR)$(bindir)" \
	"$(DESTDIR)$(databindir)" "$(DESTDIR)$(sbindir)" \
	"$(DESTDIR)$(mlmdatadir)" "$(DESTDIR)$(sysconfdir)"
PROGRAMS = $(bin_PROGRAMS) $(cmdlib_PROGRAMS) $(pkglibexec_PROGRAMS) \
	$(sbin_PROGRAMS) $(webmail_PROGRAMS)
am_aliascombine_OBJECTS = cppmain.$(OBJEXT) aliascombine.$(OBJEXT)
aliascombine_OBJECTS = $(am_aliascombine_OBJECTS)
am_aliascreate_OBJECTS = cppmain.$(OBJEXT) aliascreate.$(OBJEXT)
aliascreate_OBJECTS = $(am_aliascreate_OBJECTS)
am_aliasexp_OBJECTS = cppmain.$(OBJEXT) aliasexp.$(OBJEXT)
aliasexp_OBJECTS = $(am_aliasexp_OBJECTS)
am__DEPENDENCIES_1 = libs/libmodule.la `cat modules.lst.la` \
	libs/libcommon.la libs/libcourier.la ../rfc822/librfc822.la \
	../numlib/libnumlib.la ../unicode/libunicode.la
aliasexp_LINK = $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) \
	$(LIBTOOLFLAGS) --mode=link $(CXXLD) $(AM_CXXFLAGS) \
	$(CXXFLAGS) $(aliasexp_LDFLAGS) $(LDFLAGS) -o $@
am_aliaslookup_OBJECTS = aliaslookup.$(OBJEXT) ldapaliasdrc.$(OBJEXT)
aliaslookup_OBJECTS = $(am_aliaslookup_OBJECTS)
am_cancelmsg_OBJECTS = cancelmsg.$(OBJEXT)
cancelmsg_OBJECTS = $(am_cancelmsg_OBJECTS)
am_courier_OBJECTS = courier.$(OBJEXT) courier2.$(OBJEXT)
courier_OBJECTS = $(am_courier_OBJECTS)
am_courier_config_OBJECTS = courier-config.$(OBJEXT)
courier_config_OBJECTS = $(am_courier_config_OBJECTS)
courier_config_LDADD = $(LDADD)
am_courierd_OBJECTS = cddrvinfo.$(OBJEXT) cddlvrhost.$(OBJEXT) \
	cddelinfo.$(OBJEXT) cdmsgq.$(OBJEXT) cdmsgq2.$(OBJEXT) \
	cdmsgq3.$(OBJEXT) cdpendelinfo.$(OBJEXT) cdrcptinfo.$(OBJEXT) \
	courierdb.$(OBJEXT) courierd.$(OBJEXT)
courierd_OBJECTS = $(am_courierd_OBJECTS)
am__DEPENDENCIES_2 =
courierd_LINK = $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) \
	$(LIBTOOLFLAGS) --mode=link $(CXXLD) $(AM_CXXFLAGS) \
	$(CXXFLAGS) $(courierd_LDFLAGS) $(LDFLAGS) -o $@
am_courierldapaliasd_OBJECTS = ldapaliasd.$(OBJEXT) \
	ldapaliasdrc.$(OBJEXT)
courierldapaliasd_OBJECTS = $(am_courierldapaliasd_OBJECTS)
courierldapaliasd_LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) \
	$(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
	$(courierldapaliasd_LDFLAGS) $(LDFLAGS) -o $@
am_couriermlm_OBJECTS = cmlm.$(OBJEXT) cmlm2.$(OBJEXT) cmlm3.$(OBJEXT) \
	cmlmarchive.$(OBJEXT) cmlmbounce.$(OBJEXT) \
	cmlmcleanup.$(OBJEXT) cmlmcmdmisc.$(OBJEXT) \
	cmlmdigest.$(OBJEXT) cmlmfetch.$(OBJEXT) \
	cmlmmoderate.$(OBJEXT) cmlmstartmail.$(OBJEXT) \
	cmlmsublist.$(OBJEXT) cmlmsubunsub.$(OBJEXT) \
	cmlmsubunsubmsg.$(OBJEXT)
couriermlm_OBJECTS = $(am_couriermlm_OBJECTS)
am__DEPENDENCIES_3 = ../afx/libafx.a ../rfc822/librfc822.la \
	../liblock/liblock.la ../random128/librandom128.la \
	../md5/libmd5.la ../numlib/libnumlib.la \
	../unicode/libunicode.la
am_dotforward_OBJECTS = dotforward.$(OBJEXT)
dotforward_OBJECTS = $(am_dotforward_OBJECTS)
am__DEPENDENCIES_4 = ../rfc822/librfc822.la libs/libcourier.la \
	../unicode/libunicode.la
am_mailq_OBJECTS = mailq.$(OBJEXT)
mailq_OBJECTS = $(am_mailq_OBJECTS)
am_sendmail_OBJECTS = sendmail.$(OBJEXT) \
	sendmail-esmtpd-wrapper.$(OBJEXT)
sendmail_OBJECTS = $(am_sendmail_OBJECTS)
am_showconfig_OBJECTS = cppmain.$(OBJEXT) showconfig.$(OBJEXT)
showconfig_OBJECTS = $(am_showconfig_OBJECTS)
showconfig_LINK = $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) \
	$(LIBTOOLFLAGS) --mode=link $(CXXLD) $(AM_CXXFLAGS) \
	$(CXXFLAGS) $(showconfig_LDFLAGS) $(LDFLAGS) -o $@
am_showmodules_OBJECTS = cppmain.$(OBJEXT) showmodules.$(OBJEXT)
showmodules_OBJECTS = $(am_showmodules_OBJECTS)
showmodules_LINK = $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) \
	$(LIBTOOLFLAGS) --mode=link $(CXXLD) $(AM_CXXFLAGS) \
	$(CXXFLAGS) $(showmodules_LDFLAGS) $(LDFLAGS) -o $@
am_sqwebmaild_OBJECTS =
sqwebmaild_OBJECTS = $(am_sqwebmaild_OBJECTS)
sqwebmaild_LDADD = $(LDADD)
am_submit_OBJECTS = bofh.$(OBJEXT) cppmain.$(OBJEXT) submit.$(OBJEXT) \
	submit2.$(OBJEXT) submit3.$(OBJEXT) cdfilters.$(OBJEXT) \
	ldapaliasdrc.$(OBJEXT)
submit_OBJECTS = $(am_submit_OBJECTS)
submit_LINK = $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
	--mode=link $(CXXLD) $(AM_CXXFLAGS) $(CXXFLAGS) \
	$(submit_LDFLAGS) $(LDFLAGS) -o $@
am_submitmkdir_OBJECTS = submitmkdir.$(OBJEXT)
submitmkdir_OBJECTS = $(am_submitmkdir_OBJECTS)
am_testmxlookup_OBJECTS = testmxlookup.$(OBJEXT)
testmxlookup_OBJECTS = $(am_testmxlookup_OBJECTS)
am_webmail_OBJECTS =
webmail_OBJECTS = $(am_webmail_OBJECTS)
webmail_LDADD = $(LDADD)
am_webmlm_OBJECTS = webmlm.$(OBJEXT)
webmlm_OBJECTS = $(am_webmlm_OBJECTS)
am_webmlmd_OBJECTS = webmlmd.$(OBJEXT) webmlmdcmlm.$(OBJEXT) \
	webmlmddirs.$(OBJEXT) webmlmdhandlers.$(OBJEXT) \
	webmlmdmod.$(OBJEXT) webmlmdsublist.$(OBJEXT) cmlm2.$(OBJEXT) \
	cmlmsublist.$(OBJEXT)
webmlmd_OBJECTS = $(am_webmlmd_OBJECTS)
am__DEPENDENCIES_5 = ../webmail/libwebmail.la ../cgi/libcgi.la \
	../rfc2045/librfc2045.la ../rfc822/librfc822.la \
	../numlib/libnumlib.la ../liblock/liblock.la \
	../unicode/libunicode.la
am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
am__vpath_adj = case $$p in \
    $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
    *) f=$$p;; \
  esac;
am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`;
am__install_max = 40
am__nobase_strip_setup = \
  srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'`
am__nobase_strip = \
  for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||"
am__nobase_list = $(am__nobase_strip_setup); \
  for p in $$list; do echo "$$p $$p"; done | \
  sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \
  $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \
    if (++n[$$2] == $(am__install_max)) \
      { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \
    END { for (dir in files) print dir, files[dir] }'
am__base_list = \
  sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \
  sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g'
am__uninstall_files_from_dir = { \
  test -z "$$files" \
    || { test ! -d "$$dir" && test ! -f "$$dir" && test ! -r "$$dir"; } \
    || { echo " ( cd '$$dir' && rm -f" $$files ")"; \
         $(am__cd) "$$dir" && rm -f $$files; }; \
  }
SCRIPTS = $(bin_SCRIPTS) $(databin_SCRIPTS) $(sbin_SCRIPTS)
DEFAULT_INCLUDES = -I.@am__isrc@
depcomp = $(SHELL) $(top_srcdir)/../depcomp
am__depfiles_maybe = depfiles
am__mv = mv -f
CXXCOMPILE = $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
	$(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS)
LTCXXCOMPILE = $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
	--mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
	$(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS)
CXXLD = $(CXX)
CXXLINK = $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
	--mode=link $(CXXLD) $(AM_CXXFLAGS) $(CXXFLAGS) $(AM_LDFLAGS) \
	$(LDFLAGS) -o $@
COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
	$(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
LTCOMPILE = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
	--mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
	$(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
CCLD = $(CC)
LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
	--mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) \
	$(LDFLAGS) -o $@
SOURCES = $(aliascombine_SOURCES) $(aliascreate_SOURCES) \
	$(aliasexp_SOURCES) $(aliaslookup_SOURCES) \
	$(cancelmsg_SOURCES) $(courier_SOURCES) \
	$(courier_config_SOURCES) $(courierd_SOURCES) \
	$(courierldapaliasd_SOURCES) $(couriermlm_SOURCES) \
	$(dotforward_SOURCES) $(mailq_SOURCES) $(sendmail_SOURCES) \
	$(showconfig_SOURCES) $(showmodules_SOURCES) \
	$(sqwebmaild_SOURCES) $(submit_SOURCES) $(submitmkdir_SOURCES) \
	$(testmxlookup_SOURCES) $(webmail_SOURCES) $(webmlm_SOURCES) \
	$(webmlmd_SOURCES)
DIST_SOURCES = $(aliascombine_SOURCES) $(aliascreate_SOURCES) \
	$(aliasexp_SOURCES) $(aliaslookup_SOURCES) \
	$(cancelmsg_SOURCES) $(courier_SOURCES) \
	$(courier_config_SOURCES) $(courierd_SOURCES) \
	$(courierldapaliasd_SOURCES) $(couriermlm_SOURCES) \
	$(dotforward_SOURCES) $(mailq_SOURCES) $(sendmail_SOURCES) \
	$(showconfig_SOURCES) $(showmodules_SOURCES) \
	$(sqwebmaild_SOURCES) $(submit_SOURCES) $(submitmkdir_SOURCES) \
	$(testmxlookup_SOURCES) $(webmail_SOURCES) $(webmlm_SOURCES) \
	$(webmlmd_SOURCES)
RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \
	html-recursive info-recursive install-data-recursive \
	install-dvi-recursive install-exec-recursive \
	install-html-recursive install-info-recursive \
	install-pdf-recursive install-ps-recursive install-recursive \
	installcheck-recursive installdirs-recursive pdf-recursive \
	ps-recursive uninstall-recursive
DATA = $(mlmdata_DATA) $(sysconf_DATA)
RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive	\
  distclean-recursive maintainer-clean-recursive
AM_RECURSIVE_TARGETS = $(RECURSIVE_TARGETS:-recursive=) \
	$(RECURSIVE_CLEAN_TARGETS:-recursive=) tags TAGS ctags CTAGS \
	distdir dist dist-all distcheck
ETAGS = etags
CTAGS = ctags
DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
distdir = $(PACKAGE)-$(VERSION)
top_distdir = $(distdir)
am__remove_distdir = \
  if test -d "$(distdir)"; then \
    find "$(distdir)" -type d ! -perm -200 -exec chmod u+w {} ';' \
      && rm -rf "$(distdir)" \
      || { sleep 5 && rm -rf "$(distdir)"; }; \
  else :; fi
am__relativize = \
  dir0=`pwd`; \
  sed_first='s,^\([^/]*\)/.*$$,\1,'; \
  sed_rest='s,^[^/]*/*,,'; \
  sed_last='s,^.*/\([^/]*\)$$,\1,'; \
  sed_butlast='s,/*[^/]*$$,,'; \
  while test -n "$$dir1"; do \
    first=`echo "$$dir1" | sed -e "$$sed_first"`; \
    if test "$$first" != "."; then \
      if test "$$first" = ".."; then \
        dir2=`echo "$$dir0" | sed -e "$$sed_last"`/"$$dir2"; \
        dir0=`echo "$$dir0" | sed -e "$$sed_butlast"`; \
      else \
        first2=`echo "$$dir2" | sed -e "$$sed_first"`; \
        if test "$$first2" = "$$first"; then \
          dir2=`echo "$$dir2" | sed -e "$$sed_rest"`; \
        else \
          dir2="../$$dir2"; \
        fi; \
        dir0="$$dir0"/"$$first"; \
      fi; \
    fi; \
    dir1=`echo "$$dir1" | sed -e "$$sed_rest"`; \
  done; \
  reldir="$$dir2"
DIST_ARCHIVES = $(distdir).tar.gz
GZIP_ENV = --best
distuninstallcheck_listfiles = find . -type f -print
am__distuninstallcheck_listfiles = $(distuninstallcheck_listfiles) \
  | sed 's|^\./|$(prefix)/|' | grep -v '$(infodir)/dir$$'
distcleancheck_listfiles = find . -type f -print
pkglibexecdir = $(libexecdir)/courier
ACLOCAL = @ACLOCAL@
AMTAR = @AMTAR@
AR = @AR@
AUTOCONF = @AUTOCONF@
AUTOHEADER = @AUTOHEADER@
AUTOMAKE = @AUTOMAKE@
AWK = @AWK@
CAT = @CAT@
CC = @CC@
CCDEPMODE = @CCDEPMODE@
CFLAGS = @CFLAGS@
COPYRIGHT = @COPYRIGHT@
COURIERAUTHCONFIG = @COURIERAUTHCONFIG@
COURIERLDAPALIASD = @COURIERLDAPALIASD@
CPP = @CPP@
CPPFLAGS = @CPPFLAGS@
CXX = @CXX@
CXXCPP = @CXXCPP@
CXXDEPMODE = @CXXDEPMODE@
CXXFLAGS = @CXXFLAGS@
CYGPATH_W = @CYGPATH_W@
DEBUGLIB = @DEBUGLIB@
DEFS = @DEFS@
DEPDIR = @DEPDIR@
DLLTOOL = @DLLTOOL@
DSYMUTIL = @DSYMUTIL@
DUMPBIN = @DUMPBIN@
ECHO_C = @ECHO_C@
ECHO_N = @ECHO_N@
ECHO_T = @ECHO_T@
EGREP = @EGREP@
EXEEXT = @EXEEXT@
EXTRABIN = @EXTRABIN@
EXTRACMDLIB = @EXTRACMDLIB@
EXTRAPKGLIB = @EXTRAPKGLIB@
EXTRASBIN = @EXTRASBIN@
EXTRAWEBMAIL = @EXTRAWEBMAIL@
FGREP = @FGREP@
GREP = @GREP@
HAVE_LDAP = @HAVE_LDAP@
INIT_LOCALE = @INIT_LOCALE@
INSTALL = @INSTALL@
INSTALL_DATA = @INSTALL_DATA@
INSTALL_PROGRAM = @INSTALL_PROGRAM@
INSTALL_SCRIPT = @INSTALL_SCRIPT@
INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
LD = @LD@
LDAPALIASRC = @LDAPALIASRC@
LDAPLIBS = @LDAPLIBS@
LDFLAGS = @LDFLAGS@
LIBOBJS = @LIBOBJS@
LIBS = @LIBS@
LIBTOOL = @LIBTOOL@
LIPO = @LIPO@
LN_S = @LN_S@
LTLIBOBJS = @LTLIBOBJS@
MAILDROP = @MAILDROP@
MAKEINFO = @MAKEINFO@
MANIFEST_TOOL = @MANIFEST_TOOL@
MKDIR_P = @MKDIR_P@
MODE = @MODE@
NETLIBS = @NETLIBS@
NM = @NM@
NMEDIT = @NMEDIT@
OBJDUMP = @OBJDUMP@
OBJEXT = @OBJEXT@
OTOOL = @OTOOL@
OTOOL64 = @OTOOL64@
PACKAGE = @PACKAGE@
PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
PACKAGE_NAME = @PACKAGE_NAME@
PACKAGE_STRING = @PACKAGE_STRING@
PACKAGE_TARNAME = @PACKAGE_TARNAME@
PACKAGE_URL = @PACKAGE_URL@
PACKAGE_VERSION = @PACKAGE_VERSION@
PATH_SEPARATOR = @PATH_SEPARATOR@
PERL = @PERL@
PROCMAIL = @PROCMAIL@
RANLIB = @RANLIB@
SBINSCRIPTS = @SBINSCRIPTS@
SED = @SED@
SETENV = @SETENV@
SET_MAKE = @SET_MAKE@
SHELL = @SHELL@
SHELLPATH = @SHELLPATH@
SORT = @SORT@
STRIP = @STRIP@
ULIMIT = @ULIMIT@
VERSION = @VERSION@
abs_builddir = @abs_builddir@
abs_srcdir = @abs_srcdir@
abs_top_builddir = @abs_top_builddir@
abs_top_srcdir = @abs_top_srcdir@
ac_ct_AR = @ac_ct_AR@
ac_ct_CC = @ac_ct_CC@
ac_ct_CXX = @ac_ct_CXX@
ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
am__include = @am__include@
am__leading_dot = @am__leading_dot@
am__quote = @am__quote@
am__tar = @am__tar@
am__untar = @am__untar@
bindir = @bindir@
build = @build@
build_alias = @build_alias@
build_cpu = @build_cpu@
build_os = @build_os@
build_vendor = @build_vendor@
builddir = @builddir@
cacerts = @cacerts@
courierlogger = @courierlogger@
couriertls = @couriertls@
datadir = @datadir@
datarootdir = @datarootdir@
dblibrary = @dblibrary@
dirlist = @dirlist@
distdirlist = @distdirlist@
docdir = @docdir@
dvidir = @dvidir@
exec_prefix = @exec_prefix@
host = @host@
host_alias = @host_alias@
host_cpu = @host_cpu@
host_os = @host_os@
host_vendor = @host_vendor@
htmldir = @htmldir@
includedir = @includedir@
infodir = @infodir@
install_sh = @install_sh@
libdir = @libdir@
libexecdir = @libexecdir@
localedir = @localedir@
localstatedir = @localstatedir@
mailgid = @mailgid@
mailgroup = @mailgroup@
mailuid = @mailuid@
mailuser = @mailuser@
mandir = @mandir@
mkdir_p = @mkdir_p@
oldincludedir = @oldincludedir@
pdfdir = @pdfdir@
prefix = @prefix@
program_transform_name = @program_transform_name@
psdir = @psdir@
sbindir = @sbindir@
sharedstatedir = @sharedstatedir@
srcdir = @srcdir@
subdirs = @subdirs@
sysconfdir = @sysconfdir@
target = @target@
target_alias = @target_alias@
target_cpu = @target_cpu@
target_os = @target_os@
target_vendor = @target_vendor@
testmode = @testmode@
top_build_prefix = @top_build_prefix@
top_builddir = @top_builddir@
top_srcdir = @top_srcdir@
transport = @transport@
CLEANFILES = $(BUILT_SOURCES) modules.lst.la makedat \
	mkimapdcert mkpop3dcert webgpg modules.ctl \
	pop3d.authpam imapd.authpam webmail.authpam imapd.cnf pop3d.cnf \
	imapd.dist imapd-ssl.dist pop3d.dist pop3d-ssl.dist \
	qutoawarnmsg.example quotawarnmsg.example \
	sharedindexsplit sharedindexinstall permissions.dat

DISTCLEANFILES = uidgid
BUILT_SOURCES = prefix.h exec_prefix.h sysconfdir.h localstatedir.h \
	libexecdir.h bindir.h sbindir.h datadir.h filtersocketdir.h \
	uidgid.h configargs.h sort.h webmlmdhandlerslist.H
extrapkglib = makedatprog courierpop3login pcpd
webmaildir = $(libexecdir)/courier/webmail
webmail_SOURCES = 
sqwebmaild_SOURCES = 

# Don't forget to change perms.sh.in, if webmailimagedir moves.
webmailimagedir = $(datadir)/sqwebmail/images
extrabin = maildrop lockmail reformail reformime mailbot mimegpg \
	imapd makemime deliverquota maildirmake maildiracl maildirkw

bin_SCRIPTS = webmlmd.rc
extrasbin = couriertcpd$(EXEEXT)
sbinscripts = sharedindexsplit sharedindexinstall webmaild
sbin_SCRIPTS = @SBINSCRIPTS@
EXTRA_SCRIPTS = 
sysconf_DATA = pop3d.authpam imapd.authpam webmail.authpam imapd.cnf pop3d.cnf \
	courierd.dist @LDAPALIASRC@ \
	imapd.dist imapd-ssl.dist pop3d.dist pop3d-ssl.dist \
	quotawarnmsg.example webmlmrc.dist

databindir = $(datadir)
databin_SCRIPTS = courierctl.start makedat makealiases makehosteddomains \
	pop3d pop3d-ssl	mkimapdcert mkpop3dcert

mlmdatadir = $(datadir)/couriermlm
mlmdata_DATA = \
	adminrequest.tmpl \
	confsubj.tmpl \
	digestsubj.tmpl \
	fetchsubj.tmpl \
	fetch.tmpl \
	help.tmpl \
	idxheader2html.tmpl \
	idxheaderhtml.tmpl \
	idxheadertxt.tmpl \
	idxsubject.tmpl \
	modrejbody.tmpl \
	modrejheader.tmpl \
	modsubject.tmpl \
	modtext2.tmpl \
	modtext.tmpl \
	sub2.tmpl \
	sub3.tmpl \
	sub4.tmpl \
	sub5.tmpl \
	suback.tmpl \
	subjrequest.tmpl \
	subreportfooter.tmpl \
	subreporthdr1.tmpl \
	subreporthdr2.tmpl \
	subreporthdr3.tmpl \
	subreporthdr.tmpl \
	sub.tmpl \
	unsub2.tmpl \
	unsub3.tmpl \
	unsub.tmpl \
	warn1headers.tmpl \
	warn1text2.tmpl \
	warn1text.tmpl \
	warn2msg.tmpl \
	webmlm.tmpl \
\
	style.css.tmpl \
	webmlmconfirm.html \
	webmlmerror.tmpl.html \
	webmlmidx.html \
	webmlmlistadmin.tmpl.html \
	webmlmlistadminmod.tmpl.html \
	webmlmlistadminpw.tmpl.html \
	webmlmlistindex.tmpl.html \
	webmlmnotprocessed.html \
	webmlmpleasewait.tmpl.html \
	webmlmprocessed.html \
	webmlmrequestreceived.tmpl.html \
	webmlmsubinfo.tmpl.html \
	webmlmsublist.tmpl.html \
	webmlm.tmpl.html

extracmdlib = courierpop3d imaplogin
cmdlibdir = @libexecdir@/courier

# Subdirectories
SUBDIRS = libs filters doc webadmin @dirlist@
DIST_SUBDIRS = libs filters doc webadmin @distdirlist@

############################################################################
#
# Compile a list of core libraries.
#
############################################################################

# These are all the dependencies
COURIERDEPENDENCIES = libs/libmodule.la ../rfc822/librfc822.la libs/libcommon.la \
	libs/libcourier.la \
	modules.lst.la @dblibrary@ \
	../numlib/libnumlib.la \
	../unicode/libunicode.la

COURIERLDADD = libs/libmodule.la `cat modules.lst.la` \
	libs/libcommon.la \
	libs/libcourier.la \
	../rfc822/librfc822.la @dblibrary@ ../numlib/libnumlib.la \
	../unicode/libunicode.la


# showmodules utility - shows module configuration
showmodules_SOURCES = cppmain.C showmodules.C
showmodules_DEPENDENCIES = $(COURIERDEPENDENCIES) ../tcpd/libspipe.la ../soxwrap/libsoxwrap.a ../soxwrap/soxlibs.dep
showmodules_LDADD = $(COURIERLDADD) ../tcpd/libspipe.la ../soxwrap/libsoxwrap.a `cat ../soxwrap/soxlibs.dep` -lcourierauth
showmodules_LDFLAGS = `@COURIERAUTHCONFIG@ --ldflags`

# showconfig utility - shows configuration
showconfig_SOURCES = cppmain.C showconfig.C
showconfig_DEPENDENCIES = $(COURIERDEPENDENCIES) module.esmtp/esmtpconfig.o
showconfig_LDADD = $(COURIERLDADD) module.esmtp/esmtpconfig.o
showconfig_LDFLAGS = $(COURIERLDFLAGS)

# submit - message submission
submit_SOURCES = bofh.c bofh.h cppmain.C submit.h submit.C submit2.C submit3.C \
	cdfilters.C cdfilters.h ldapaliasdrc.h ldapaliasdrc.c

submit_DEPENDENCIES = ../rfc1035/librfc1035.a \
	../rfc2045/librfc2045.la \
	$(COURIERDEPENDENCIES) \
	../afx/libafx.a \
	../tcpd/libspipe.la \
	../md5/libmd5.la ../random128/librandom128.la \
	../soxwrap/libsoxwrap.a \
	../soxwrap/soxlibs.dep

submit_LDADD = ../rfc1035/librfc1035.a \
	../rfc2045/librfc2045.la \
	$(COURIERLDADD) \
	../tcpd/libspipe.la \
	../md5/libmd5.la ../random128/librandom128.la \
	../soxwrap/libsoxwrap.a \
	../unicode/libunicode.la \
	`cat ../soxwrap/soxlibs.dep` \
	../afx/libafx.a @NETLIBS@ -lcourierauth

submit_LDFLAGS = `@COURIERAUTHCONFIG@ --ldflags`

# aliaslook - resolve aliases
aliaslookup_SOURCES = aliaslookup.C ldapaliasdrc.c
aliaslookup_DEPENDENCIES = libs/libcommon.la libs/libcourier.la ../afx/libafx.a
aliaslookup_LDADD = libs/libcommon.la libs/libcourier.la ../afx/libafx.a\
	@dblibrary@ @NETLIBS@


# ldapaliasd - resolve aliases via LDAP
courierldapaliasd_SOURCES = ldapaliasd.c ldapaliasdrc.h ldapaliasdrc.c
courierldapaliasd_DEPENDENCIES = ../liblock/liblock.la ../numlib/libnumlib.la
courierldapaliasd_LDADD = ../liblock/liblock.la ../numlib/libnumlib.la \
	-lcourierauthcommon @LDAPLIBS@ @NETLIBS@

courierldapaliasd_LDFLAGS = `@COURIERAUTHCONFIG@ --ldflags`

# submitmkdir - create subdirectory in tmp for submit (needs +s privs)
submitmkdir_SOURCES = submitmkdir.c
submitmkdir_DEPENDENCIES = libs/libcourier.la
submitmkdir_LDADD = libs/libcourier.la

# sendmail - sendmail wrapper for submit (needs +g privs)
sendmail_SOURCES = sendmail.c sendmail-esmtpd-wrapper.c
sendmail_DEPENDENCIES = libs/libcommon.la libs/libcourier.la ../rfc822/librfc822.la\
	../numlib/libnumlib.la ../unicode/libunicode.la

sendmail_LDADD = $(sendmail_DEPENDENCIES)

# testmxlookup - look up MX records
testmxlookup_SOURCES = testmxlookup.c
testmxlookup_DEPENDENCIES = ../rfc1035/librfc1035.a ../soxwrap/libsoxwrap.a ../soxwrap/soxlibs.dep libs/libcourier.la \
	../md5/libmd5.la ../random128/librandom128.la

testmxlookup_LDADD = ../rfc1035/librfc1035.a ../soxwrap/libsoxwrap.a `cat ../soxwrap/soxlibs.dep` libs/libcourier.la \
	../md5/libmd5.la ../random128/librandom128.la \
	@dblibrary@ @NETLIBS@


# aliasexp - first step in building an alias list, normalize alias file
aliasexp_SOURCES = cppmain.C aliasexp.C
aliasexp_DEPENDENCIES = $(COURIERDEPENDENCIES) ../tcpd/libspipe.la ../soxwrap/libsoxwrap.a ../soxwrap/soxlibs.dep ../afx/libafx.a
aliasexp_LDADD = $(COURIERLDADD) ../tcpd/libspipe.la ../soxwrap/libsoxwrap.a `cat ../soxwrap/soxlibs.dep` ../afx/libafx.a -lcourierauth
aliasexp_LDFLAGS = `@COURIERAUTHCONFIG@ --ldflags`

# aliascombine - Merge alias specifications
aliascombine_SOURCES = cppmain.C aliascombine.C
aliascombine_DEPENDENCIES = @dblibrary@ libs/libcommon.la libs/libcourier.la ../afx/libafx.a ../numlib/libnumlib.la
aliascombine_LDADD = @dblibrary@ libs/libcommon.la libs/libcourier.la ../afx/libafx.a ../numlib/libnumlib.la

# aliascreate - create GDBM alias database
aliascreate_SOURCES = cppmain.C aliascreate.C
aliascreate_DEPENDENCIES = libs/libcommon.la libs/libcourier.la @dblibrary@ ../afx/libafx.a
aliascreate_LDADD = libs/libcommon.la libs/libcourier.la @dblibrary@ ../afx/libafx.a

# mailq - show mail queue
mailq_SOURCES = mailq.c
mailq_DEPENDENCIES = libs/libcommon.la libs/libcourier.la ../numlib/libnumlib.la
mailq_LDADD = libs/libcommon.la libs/libcourier.la ../numlib/libnumlib.la

# courierd
courierd_SOURCES = cddrvinfo.C cddrvinfo.h\
	cddlvrhost.C cddlvrhost.h\
	cddelinfo.C cddelinfo.h\
	cdmsgq.C cdmsgq.h cdmsgq2.C cdmsgq3.C \
	cdpendelinfo.C cdpendelinfo.h\
	cdrcptinfo.C cdrcptinfo.h\
	courierdb.C courierd.C courierd.h mydirent.h

courierd_DEPENDENCIES = $(COURIERDEPENDENCIES) ../afx/libafx.a ../liblock/liblock.la ../tcpd/libspipe.la ../soxwrap/libsoxwrap.a ../soxwrap/soxlibs.dep
courierd_LDADD = $(COURIERLDADD) ../afx/libafx.a ../liblock/liblock.la ../tcpd/libspipe.la ../soxwrap/libsoxwrap.a `cat ../soxwrap/soxlibs.dep` $(DEBUGLIB) -lcourierauth
courierd_LDFLAGS = `@COURIERAUTHCONFIG@ --ldflags`

# couriermlm
couriermlm_SOURCES = cmlm.C cmlm.h cmlm2.C cmlm3.C cmlmarchive.C cmlmarchive.h \
	cmlmbounce.C cmlmbounce.h cmlmcleanup.C cmlmcleanup.h cmlmcmdmisc.C \
	cmlmcmdmisc.h cmlmdigest.C cmlmfetch.C cmlmfetch.h cmlmmoderate.C \
	cmlmmoderate.h cmlmstartmail.C cmlmstartmail.h cmlmsublist.C \
	cmlmsublist.h cmlmsubunsub.C cmlmsubunsub.h cmlmsubunsubmsg.C \
	cmlmsubunsubmsg.h

couriermlm_DEPENDENCIES = ../afx/libafx.a ../rfc822/librfc822.la \
	../liblock/liblock.la ../random128/librandom128.la ../md5/libmd5.la \
	../numlib/libnumlib.la ../unicode/libunicode.la @dblibrary@

couriermlm_LDADD = $(couriermlm_DEPENDENCIES)

# webmlm
webmlm_SOURCES = webmlm.c
webmlm_DEPENDENCIES = ../cgi/libcgi.la
webmlm_LDADD = $(webmlm_DEPENDENCIES) @NETLIBS@

# webmlmd
webmlmd_SOURCES = webmlmd.C webmlmd.H \
		webmlmdcmlm.C webmlmdcmlm.H \
		webmlmddirs.C webmlmddirs.H \
		webmlmdhandlers.C webmlmdhandlers.H webmlmdhandlerslist.H \
\
		webmlmdmod.C \
		webmlmdsublist.C \
		cmlm2.C cmlmsublist.C

webmlmd_DEPENDENCIES = ../webmail/libwebmail.la \
			../cgi/libcgi.la ../rfc2045/librfc2045.la \
			../rfc822/librfc822.la ../numlib/libnumlib.la \
			../liblock/liblock.la \
			../unicode/libunicode.la @dblibrary@

webmlmd_LDADD = $(webmlmd_DEPENDENCIES) @NETLIBS@

# dotforward
dotforward_SOURCES = dotforward.c
dotforward_DEPENDENCIES = ../rfc822/librfc822.la libs/libcourier.la \
			../unicode/libunicode.la @dblibrary@

dotforward_LDADD = $(dotforward_DEPENDENCIES)

# courier - start, stop, restart courier
courier_SOURCES = courier.c courier2.C
courier_DEPENDENCIES = libs/libcommon.la libs/libcourier.la ../liblock/liblock.la \
		../numlib/libnumlib.la

courier_LDADD = $(courier_DEPENDENCIES)
cancelmsg_SOURCES = cancelmsg.c
cancelmsg_DEPENDENCIES = libs/libcommon.la libs/libcourier.la ../numlib/libnumlib.la
cancelmsg_LDADD = $(cancelmsg_DEPENDENCIES)

# courier-config
courier_config_SOURCES = courier-config.c
EXTRA_DIST = testsuite.alias testsuite.alias1.in testsuite.alias2.in \
		aliases.config smtpaccess.config \
		dotforward.tst dotforward.tst.chk \
		webmaild.in ldapaliasrc.dist \
		$(mlmdata_DATA)

filtersocketdir = $(localstatedir)/filters
allfiltersocketdir = $(localstatedir)/allfilters
all: $(BUILT_SOURCES) config.h
	$(MAKE) $(AM_MAKEFLAGS) all-recursive

.SUFFIXES:
.SUFFIXES: .C .c .lo .o .obj
am--refresh: Makefile
	@:
$(srcdir)/Makefile.in:  $(srcdir)/Makefile.am  $(am__configure_deps)
	@for dep in $?; do \
	  case '$(am__configure_deps)' in \
	    *$$dep*) \
	      echo ' cd $(srcdir) && $(AUTOMAKE) --foreign'; \
	      $(am__cd) $(srcdir) && $(AUTOMAKE) --foreign \
		&& exit 0; \
	      exit 1;; \
	  esac; \
	done; \
	echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign Makefile'; \
	$(am__cd) $(top_srcdir) && \
	  $(AUTOMAKE) --foreign 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)
	$(am__cd) $(srcdir) && $(AUTOCONF)
$(ACLOCAL_M4):  $(am__aclocal_m4_deps)
	$(am__cd) $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
$(am__aclocal_m4_deps):

config.h: stamp-h1
	@if test ! -f $@; then rm -f stamp-h1; else :; fi
	@if test ! -f $@; then $(MAKE) $(AM_MAKEFLAGS) stamp-h1; else :; fi

stamp-h1: $(srcdir)/config.h.in $(top_builddir)/config.status
	@rm -f stamp-h1
	cd $(top_builddir) && $(SHELL) ./config.status config.h
$(srcdir)/config.h.in:  $(am__configure_deps) 
	($(am__cd) $(top_srcdir) && $(AUTOHEADER))
	rm -f stamp-h1
	touch $@

distclean-hdr:
	-rm -f config.h stamp-h1
courier.h: $(top_builddir)/config.status $(srcdir)/courier.h.in
	cd $(top_builddir) && $(SHELL) ./config.status $@
courierctl.start: $(top_builddir)/config.status $(srcdir)/courierctl.start.in
	cd $(top_builddir) && $(SHELL) ./config.status $@
courierd.dist: $(top_builddir)/config.status $(srcdir)/courierd.dist.in
	cd $(top_builddir) && $(SHELL) ./config.status $@
dot-qmail-to-dot-courier.pl: $(top_builddir)/config.status $(srcdir)/dot-qmail-to-dot-courier.pl.in
	cd $(top_builddir) && $(SHELL) ./config.status $@
pop3d: $(top_builddir)/config.status $(srcdir)/pop3d.in
	cd $(top_builddir) && $(SHELL) ./config.status $@
pop3d-ssl: $(top_builddir)/config.status $(srcdir)/pop3d-ssl.in
	cd $(top_builddir) && $(SHELL) ./config.status $@
imapd.rc: $(top_builddir)/config.status $(srcdir)/imapd.rc.in
	cd $(top_builddir) && $(SHELL) ./config.status $@
imapd-ssl.rc: $(top_builddir)/config.status $(srcdir)/imapd-ssl.rc.in
	cd $(top_builddir) && $(SHELL) ./config.status $@
makealiases: $(top_builddir)/config.status $(srcdir)/makealiases.in
	cd $(top_builddir) && $(SHELL) ./config.status $@
makehosteddomains: $(top_builddir)/config.status $(srcdir)/makehosteddomains.in
	cd $(top_builddir) && $(SHELL) ./config.status $@
mkmodules.sh: $(top_builddir)/config.status $(srcdir)/mkmodules.sh.in
	cd $(top_builddir) && $(SHELL) ./config.status $@
perms.sh: $(top_builddir)/config.status $(srcdir)/perms.sh.in
	cd $(top_builddir) && $(SHELL) ./config.status $@
setperms.sh: $(top_builddir)/config.status $(srcdir)/setperms.sh.in
	cd $(top_builddir) && $(SHELL) ./config.status $@
perftest1: $(top_builddir)/config.status $(srcdir)/perftest1.in
	cd $(top_builddir) && $(SHELL) ./config.status $@
webmaild: $(top_builddir)/config.status $(srcdir)/webmaild.in
	cd $(top_builddir) && $(SHELL) ./config.status $@
webmlmrc.dist: $(top_builddir)/config.status $(srcdir)/webmlmrc.dist.in
	cd $(top_builddir) && $(SHELL) ./config.status $@
webmlmd.rc: $(top_builddir)/config.status $(srcdir)/webmlmd.rc.in
	cd $(top_builddir) && $(SHELL) ./config.status $@
install-binPROGRAMS: $(bin_PROGRAMS)
	@$(NORMAL_INSTALL)
	test -z "$(bindir)" || $(MKDIR_P) "$(DESTDIR)$(bindir)"
	@list='$(bin_PROGRAMS)'; test -n "$(bindir)" || list=; \
	for p in $$list; do echo "$$p $$p"; done | \
	sed 's/$(EXEEXT)$$//' | \
	while read p p1; do if test -f $$p || test -f $$p1; \
	  then echo "$$p"; echo "$$p"; else :; fi; \
	done | \
	sed -e 'p;s,.*/,,;n;h' -e 's|.*|.|' \
	    -e 'p;x;s,.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/' | \
	sed 'N;N;N;s,\n, ,g' | \
	$(AWK) 'BEGIN { files["."] = ""; dirs["."] = 1 } \
	  { d=$$3; if (dirs[d] != 1) { print "d", d; dirs[d] = 1 } \
	    if ($$2 == $$4) files[d] = files[d] " " $$1; \
	    else { print "f", $$3 "/" $$4, $$1; } } \
	  END { for (d in files) print "f", d, files[d] }' | \
	while read type dir files; do \
	    if test "$$dir" = .; then dir=; else dir=/$$dir; fi; \
	    test -z "$$files" || { \
	    echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL_PROGRAM) $$files '$(DESTDIR)$(bindir)$$dir'"; \
	    $(INSTALL_PROGRAM_ENV) $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL_PROGRAM) $$files "$(DESTDIR)$(bindir)$$dir" || exit $$?; \
	    } \
	; done

uninstall-binPROGRAMS:
	@$(NORMAL_UNINSTALL)
	@list='$(bin_PROGRAMS)'; test -n "$(bindir)" || list=; \
	files=`for p in $$list; do echo "$$p"; done | \
	  sed -e 'h;s,^.*/,,;s/$(EXEEXT)$$//;$(transform)' \
	      -e 's/$$/$(EXEEXT)/' `; \
	test -n "$$list" || exit 0; \
	echo " ( cd '$(DESTDIR)$(bindir)' && rm -f" $$files ")"; \
	cd "$(DESTDIR)$(bindir)" && rm -f $$files

clean-binPROGRAMS:
	@list='$(bin_PROGRAMS)'; test -n "$$list" || exit 0; \
	echo " rm -f" $$list; \
	rm -f $$list || exit $$?; \
	test -n "$(EXEEXT)" || exit 0; \
	list=`for p in $$list; do echo "$$p"; done | sed 's/$(EXEEXT)$$//'`; \
	echo " rm -f" $$list; \
	rm -f $$list
install-cmdlibPROGRAMS: $(cmdlib_PROGRAMS)
	@$(NORMAL_INSTALL)
	test -z "$(cmdlibdir)" || $(MKDIR_P) "$(DESTDIR)$(cmdlibdir)"
	@list='$(cmdlib_PROGRAMS)'; test -n "$(cmdlibdir)" || list=; \
	for p in $$list; do echo "$$p $$p"; done | \
	sed 's/$(EXEEXT)$$//' | \
	while read p p1; do if test -f $$p || test -f $$p1; \
	  then echo "$$p"; echo "$$p"; else :; fi; \
	done | \
	sed -e 'p;s,.*/,,;n;h' -e 's|.*|.|' \
	    -e 'p;x;s,.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/' | \
	sed 'N;N;N;s,\n, ,g' | \
	$(AWK) 'BEGIN { files["."] = ""; dirs["."] = 1 } \
	  { d=$$3; if (dirs[d] != 1) { print "d", d; dirs[d] = 1 } \
	    if ($$2 == $$4) files[d] = files[d] " " $$1; \
	    else { print "f", $$3 "/" $$4, $$1; } } \
	  END { for (d in files) print "f", d, files[d] }' | \
	while read type dir files; do \
	    if test "$$dir" = .; then dir=; else dir=/$$dir; fi; \
	    test -z "$$files" || { \
	    echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL_PROGRAM) $$files '$(DESTDIR)$(cmdlibdir)$$dir'"; \
	    $(INSTALL_PROGRAM_ENV) $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL_PROGRAM) $$files "$(DESTDIR)$(cmdlibdir)$$dir" || exit $$?; \
	    } \
	; done

uninstall-cmdlibPROGRAMS:
	@$(NORMAL_UNINSTALL)
	@list='$(cmdlib_PROGRAMS)'; test -n "$(cmdlibdir)" || list=; \
	files=`for p in $$list; do echo "$$p"; done | \
	  sed -e 'h;s,^.*/,,;s/$(EXEEXT)$$//;$(transform)' \
	      -e 's/$$/$(EXEEXT)/' `; \
	test -n "$$list" || exit 0; \
	echo " ( cd '$(DESTDIR)$(cmdlibdir)' && rm -f" $$files ")"; \
	cd "$(DESTDIR)$(cmdlibdir)" && rm -f $$files

clean-cmdlibPROGRAMS:
	@list='$(cmdlib_PROGRAMS)'; test -n "$$list" || exit 0; \
	echo " rm -f" $$list; \
	rm -f $$list || exit $$?; \
	test -n "$(EXEEXT)" || exit 0; \
	list=`for p in $$list; do echo "$$p"; done | sed 's/$(EXEEXT)$$//'`; \
	echo " rm -f" $$list; \
	rm -f $$list
install-pkglibexecPROGRAMS: $(pkglibexec_PROGRAMS)
	@$(NORMAL_INSTALL)
	test -z "$(pkglibexecdir)" || $(MKDIR_P) "$(DESTDIR)$(pkglibexecdir)"
	@list='$(pkglibexec_PROGRAMS)'; test -n "$(pkglibexecdir)" || list=; \
	for p in $$list; do echo "$$p $$p"; done | \
	sed 's/$(EXEEXT)$$//' | \
	while read p p1; do if test -f $$p || test -f $$p1; \
	  then echo "$$p"; echo "$$p"; else :; fi; \
	done | \
	sed -e 'p;s,.*/,,;n;h' -e 's|.*|.|' \
	    -e 'p;x;s,.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/' | \
	sed 'N;N;N;s,\n, ,g' | \
	$(AWK) 'BEGIN { files["."] = ""; dirs["."] = 1 } \
	  { d=$$3; if (dirs[d] != 1) { print "d", d; dirs[d] = 1 } \
	    if ($$2 == $$4) files[d] = files[d] " " $$1; \
	    else { print "f", $$3 "/" $$4, $$1; } } \
	  END { for (d in files) print "f", d, files[d] }' | \
	while read type dir files; do \
	    if test "$$dir" = .; then dir=; else dir=/$$dir; fi; \
	    test -z "$$files" || { \
	    echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL_PROGRAM) $$files '$(DESTDIR)$(pkglibexecdir)$$dir'"; \
	    $(INSTALL_PROGRAM_ENV) $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL_PROGRAM) $$files "$(DESTDIR)$(pkglibexecdir)$$dir" || exit $$?; \
	    } \
	; done

uninstall-pkglibexecPROGRAMS:
	@$(NORMAL_UNINSTALL)
	@list='$(pkglibexec_PROGRAMS)'; test -n "$(pkglibexecdir)" || list=; \
	files=`for p in $$list; do echo "$$p"; done | \
	  sed -e 'h;s,^.*/,,;s/$(EXEEXT)$$//;$(transform)' \
	      -e 's/$$/$(EXEEXT)/' `; \
	test -n "$$list" || exit 0; \
	echo " ( cd '$(DESTDIR)$(pkglibexecdir)' && rm -f" $$files ")"; \
	cd "$(DESTDIR)$(pkglibexecdir)" && rm -f $$files

clean-pkglibexecPROGRAMS:
	@list='$(pkglibexec_PROGRAMS)'; test -n "$$list" || exit 0; \
	echo " rm -f" $$list; \
	rm -f $$list || exit $$?; \
	test -n "$(EXEEXT)" || exit 0; \
	list=`for p in $$list; do echo "$$p"; done | sed 's/$(EXEEXT)$$//'`; \
	echo " rm -f" $$list; \
	rm -f $$list
install-sbinPROGRAMS: $(sbin_PROGRAMS)
	@$(NORMAL_INSTALL)
	test -z "$(sbindir)" || $(MKDIR_P) "$(DESTDIR)$(sbindir)"
	@list='$(sbin_PROGRAMS)'; test -n "$(sbindir)" || list=; \
	for p in $$list; do echo "$$p $$p"; done | \
	sed 's/$(EXEEXT)$$//' | \
	while read p p1; do if test -f $$p || test -f $$p1; \
	  then echo "$$p"; echo "$$p"; else :; fi; \
	done | \
	sed -e 'p;s,.*/,,;n;h' -e 's|.*|.|' \
	    -e 'p;x;s,.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/' | \
	sed 'N;N;N;s,\n, ,g' | \
	$(AWK) 'BEGIN { files["."] = ""; dirs["."] = 1 } \
	  { d=$$3; if (dirs[d] != 1) { print "d", d; dirs[d] = 1 } \
	    if ($$2 == $$4) files[d] = files[d] " " $$1; \
	    else { print "f", $$3 "/" $$4, $$1; } } \
	  END { for (d in files) print "f", d, files[d] }' | \
	while read type dir files; do \
	    if test "$$dir" = .; then dir=; else dir=/$$dir; fi; \
	    test -z "$$files" || { \
	    echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL_PROGRAM) $$files '$(DESTDIR)$(sbindir)$$dir'"; \
	    $(INSTALL_PROGRAM_ENV) $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL_PROGRAM) $$files "$(DESTDIR)$(sbindir)$$dir" || exit $$?; \
	    } \
	; done

uninstall-sbinPROGRAMS:
	@$(NORMAL_UNINSTALL)
	@list='$(sbin_PROGRAMS)'; test -n "$(sbindir)" || list=; \
	files=`for p in $$list; do echo "$$p"; done | \
	  sed -e 'h;s,^.*/,,;s/$(EXEEXT)$$//;$(transform)' \
	      -e 's/$$/$(EXEEXT)/' `; \
	test -n "$$list" || exit 0; \
	echo " ( cd '$(DESTDIR)$(sbindir)' && rm -f" $$files ")"; \
	cd "$(DESTDIR)$(sbindir)" && rm -f $$files

clean-sbinPROGRAMS:
	@list='$(sbin_PROGRAMS)'; test -n "$$list" || exit 0; \
	echo " rm -f" $$list; \
	rm -f $$list || exit $$?; \
	test -n "$(EXEEXT)" || exit 0; \
	list=`for p in $$list; do echo "$$p"; done | sed 's/$(EXEEXT)$$//'`; \
	echo " rm -f" $$list; \
	rm -f $$list
install-webmailPROGRAMS: $(webmail_PROGRAMS)
	@$(NORMAL_INSTALL)
	test -z "$(webmaildir)" || $(MKDIR_P) "$(DESTDIR)$(webmaildir)"
	@list='$(webmail_PROGRAMS)'; test -n "$(webmaildir)" || list=; \
	for p in $$list; do echo "$$p $$p"; done | \
	sed 's/$(EXEEXT)$$//' | \
	while read p p1; do if test -f $$p || test -f $$p1; \
	  then echo "$$p"; echo "$$p"; else :; fi; \
	done | \
	sed -e 'p;s,.*/,,;n;h' -e 's|.*|.|' \
	    -e 'p;x;s,.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/' | \
	sed 'N;N;N;s,\n, ,g' | \
	$(AWK) 'BEGIN { files["."] = ""; dirs["."] = 1 } \
	  { d=$$3; if (dirs[d] != 1) { print "d", d; dirs[d] = 1 } \
	    if ($$2 == $$4) files[d] = files[d] " " $$1; \
	    else { print "f", $$3 "/" $$4, $$1; } } \
	  END { for (d in files) print "f", d, files[d] }' | \
	while read type dir files; do \
	    if test "$$dir" = .; then dir=; else dir=/$$dir; fi; \
	    test -z "$$files" || { \
	    echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL_PROGRAM) $$files '$(DESTDIR)$(webmaildir)$$dir'"; \
	    $(INSTALL_PROGRAM_ENV) $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL_PROGRAM) $$files "$(DESTDIR)$(webmaildir)$$dir" || exit $$?; \
	    } \
	; done

uninstall-webmailPROGRAMS:
	@$(NORMAL_UNINSTALL)
	@list='$(webmail_PROGRAMS)'; test -n "$(webmaildir)" || list=; \
	files=`for p in $$list; do echo "$$p"; done | \
	  sed -e 'h;s,^.*/,,;s/$(EXEEXT)$$//;$(transform)' \
	      -e 's/$$/$(EXEEXT)/' `; \
	test -n "$$list" || exit 0; \
	echo " ( cd '$(DESTDIR)$(webmaildir)' && rm -f" $$files ")"; \
	cd "$(DESTDIR)$(webmaildir)" && rm -f $$files

clean-webmailPROGRAMS:
	@list='$(webmail_PROGRAMS)'; test -n "$$list" || exit 0; \
	echo " rm -f" $$list; \
	rm -f $$list || exit $$?; \
	test -n "$(EXEEXT)" || exit 0; \
	list=`for p in $$list; do echo "$$p"; done | sed 's/$(EXEEXT)$$//'`; \
	echo " rm -f" $$list; \
	rm -f $$list
aliascombine$(EXEEXT): $(aliascombine_OBJECTS) $(aliascombine_DEPENDENCIES) $(EXTRA_aliascombine_DEPENDENCIES) 
	@rm -f aliascombine$(EXEEXT)
	$(CXXLINK) $(aliascombine_OBJECTS) $(aliascombine_LDADD) $(LIBS)
aliascreate$(EXEEXT): $(aliascreate_OBJECTS) $(aliascreate_DEPENDENCIES) $(EXTRA_aliascreate_DEPENDENCIES) 
	@rm -f aliascreate$(EXEEXT)
	$(CXXLINK) $(aliascreate_OBJECTS) $(aliascreate_LDADD) $(LIBS)
aliasexp$(EXEEXT): $(aliasexp_OBJECTS) $(aliasexp_DEPENDENCIES) $(EXTRA_aliasexp_DEPENDENCIES) 
	@rm -f aliasexp$(EXEEXT)
	$(aliasexp_LINK) $(aliasexp_OBJECTS) $(aliasexp_LDADD) $(LIBS)
aliaslookup$(EXEEXT): $(aliaslookup_OBJECTS) $(aliaslookup_DEPENDENCIES) $(EXTRA_aliaslookup_DEPENDENCIES) 
	@rm -f aliaslookup$(EXEEXT)
	$(CXXLINK) $(aliaslookup_OBJECTS) $(aliaslookup_LDADD) $(LIBS)
cancelmsg$(EXEEXT): $(cancelmsg_OBJECTS) $(cancelmsg_DEPENDENCIES) $(EXTRA_cancelmsg_DEPENDENCIES) 
	@rm -f cancelmsg$(EXEEXT)
	$(LINK) $(cancelmsg_OBJECTS) $(cancelmsg_LDADD) $(LIBS)
courier$(EXEEXT): $(courier_OBJECTS) $(courier_DEPENDENCIES) $(EXTRA_courier_DEPENDENCIES) 
	@rm -f courier$(EXEEXT)
	$(CXXLINK) $(courier_OBJECTS) $(courier_LDADD) $(LIBS)
courier-config$(EXEEXT): $(courier_config_OBJECTS) $(courier_config_DEPENDENCIES) $(EXTRA_courier_config_DEPENDENCIES) 
	@rm -f courier-config$(EXEEXT)
	$(LINK) $(courier_config_OBJECTS) $(courier_config_LDADD) $(LIBS)
courierd$(EXEEXT): $(courierd_OBJECTS) $(courierd_DEPENDENCIES) $(EXTRA_courierd_DEPENDENCIES) 
	@rm -f courierd$(EXEEXT)
	$(courierd_LINK) $(courierd_OBJECTS) $(courierd_LDADD) $(LIBS)
courierldapaliasd$(EXEEXT): $(courierldapaliasd_OBJECTS) $(courierldapaliasd_DEPENDENCIES) $(EXTRA_courierldapaliasd_DEPENDENCIES) 
	@rm -f courierldapaliasd$(EXEEXT)
	$(courierldapaliasd_LINK) $(courierldapaliasd_OBJECTS) $(courierldapaliasd_LDADD) $(LIBS)
couriermlm$(EXEEXT): $(couriermlm_OBJECTS) $(couriermlm_DEPENDENCIES) $(EXTRA_couriermlm_DEPENDENCIES) 
	@rm -f couriermlm$(EXEEXT)
	$(CXXLINK) $(couriermlm_OBJECTS) $(couriermlm_LDADD) $(LIBS)
dotforward$(EXEEXT): $(dotforward_OBJECTS) $(dotforward_DEPENDENCIES) $(EXTRA_dotforward_DEPENDENCIES) 
	@rm -f dotforward$(EXEEXT)
	$(LINK) $(dotforward_OBJECTS) $(dotforward_LDADD) $(LIBS)
mailq$(EXEEXT): $(mailq_OBJECTS) $(mailq_DEPENDENCIES) $(EXTRA_mailq_DEPENDENCIES) 
	@rm -f mailq$(EXEEXT)
	$(LINK) $(mailq_OBJECTS) $(mailq_LDADD) $(LIBS)
sendmail$(EXEEXT): $(sendmail_OBJECTS) $(sendmail_DEPENDENCIES) $(EXTRA_sendmail_DEPENDENCIES) 
	@rm -f sendmail$(EXEEXT)
	$(LINK) $(sendmail_OBJECTS) $(sendmail_LDADD) $(LIBS)
showconfig$(EXEEXT): $(showconfig_OBJECTS) $(showconfig_DEPENDENCIES) $(EXTRA_showconfig_DEPENDENCIES) 
	@rm -f showconfig$(EXEEXT)
	$(showconfig_LINK) $(showconfig_OBJECTS) $(showconfig_LDADD) $(LIBS)
showmodules$(EXEEXT): $(showmodules_OBJECTS) $(showmodules_DEPENDENCIES) $(EXTRA_showmodules_DEPENDENCIES) 
	@rm -f showmodules$(EXEEXT)
	$(showmodules_LINK) $(showmodules_OBJECTS) $(showmodules_LDADD) $(LIBS)
submit$(EXEEXT): $(submit_OBJECTS) $(submit_DEPENDENCIES) $(EXTRA_submit_DEPENDENCIES) 
	@rm -f submit$(EXEEXT)
	$(submit_LINK) $(submit_OBJECTS) $(submit_LDADD) $(LIBS)
submitmkdir$(EXEEXT): $(submitmkdir_OBJECTS) $(submitmkdir_DEPENDENCIES) $(EXTRA_submitmkdir_DEPENDENCIES) 
	@rm -f submitmkdir$(EXEEXT)
	$(LINK) $(submitmkdir_OBJECTS) $(submitmkdir_LDADD) $(LIBS)
testmxlookup$(EXEEXT): $(testmxlookup_OBJECTS) $(testmxlookup_DEPENDENCIES) $(EXTRA_testmxlookup_DEPENDENCIES) 
	@rm -f testmxlookup$(EXEEXT)
	$(LINK) $(testmxlookup_OBJECTS) $(testmxlookup_LDADD) $(LIBS)
webmlm$(EXEEXT): $(webmlm_OBJECTS) $(webmlm_DEPENDENCIES) $(EXTRA_webmlm_DEPENDENCIES) 
	@rm -f webmlm$(EXEEXT)
	$(LINK) $(webmlm_OBJECTS) $(webmlm_LDADD) $(LIBS)
webmlmd$(EXEEXT): $(webmlmd_OBJECTS) $(webmlmd_DEPENDENCIES) $(EXTRA_webmlmd_DEPENDENCIES) 
	@rm -f webmlmd$(EXEEXT)
	$(CXXLINK) $(webmlmd_OBJECTS) $(webmlmd_LDADD) $(LIBS)
install-binSCRIPTS: $(bin_SCRIPTS)
	@$(NORMAL_INSTALL)
	test -z "$(bindir)" || $(MKDIR_P) "$(DESTDIR)$(bindir)"
	@list='$(bin_SCRIPTS)'; test -n "$(bindir)" || list=; \
	for p in $$list; do \
	  if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
	  if test -f "$$d$$p"; then echo "$$d$$p"; echo "$$p"; else :; fi; \
	done | \
	sed -e 'p;s,.*/,,;n' \
	    -e 'h;s|.*|.|' \
	    -e 'p;x;s,.*/,,;$(transform)' | sed 'N;N;N;s,\n, ,g' | \
	$(AWK) 'BEGIN { files["."] = ""; dirs["."] = 1; } \
	  { d=$$3; if (dirs[d] != 1) { print "d", d; dirs[d] = 1 } \
	    if ($$2 == $$4) { files[d] = files[d] " " $$1; \
	      if (++n[d] == $(am__install_max)) { \
		print "f", d, files[d]; n[d] = 0; files[d] = "" } } \
	    else { print "f", d "/" $$4, $$1 } } \
	  END { for (d in files) print "f", d, files[d] }' | \
	while read type dir files; do \
	     if test "$$dir" = .; then dir=; else dir=/$$dir; fi; \
	     test -z "$$files" || { \
	       echo " $(INSTALL_SCRIPT) $$files '$(DESTDIR)$(bindir)$$dir'"; \
	       $(INSTALL_SCRIPT) $$files "$(DESTDIR)$(bindir)$$dir" || exit $$?; \
	     } \
	; done

uninstall-binSCRIPTS:
	@$(NORMAL_UNINSTALL)
	@list='$(bin_SCRIPTS)'; test -n "$(bindir)" || exit 0; \
	files=`for p in $$list; do echo "$$p"; done | \
	       sed -e 's,.*/,,;$(transform)'`; \
	dir='$(DESTDIR)$(bindir)'; $(am__uninstall_files_from_dir)
install-databinSCRIPTS: $(databin_SCRIPTS)
	@$(NORMAL_INSTALL)
	test -z "$(databindir)" || $(MKDIR_P) "$(DESTDIR)$(databindir)"
	@list='$(databin_SCRIPTS)'; test -n "$(databindir)" || list=; \
	for p in $$list; do \
	  if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
	  if test -f "$$d$$p"; then echo "$$d$$p"; echo "$$p"; else :; fi; \
	done | \
	sed -e 'p;s,.*/,,;n' \
	    -e 'h;s|.*|.|' \
	    -e 'p;x;s,.*/,,;$(transform)' | sed 'N;N;N;s,\n, ,g' | \
	$(AWK) 'BEGIN { files["."] = ""; dirs["."] = 1; } \
	  { d=$$3; if (dirs[d] != 1) { print "d", d; dirs[d] = 1 } \
	    if ($$2 == $$4) { files[d] = files[d] " " $$1; \
	      if (++n[d] == $(am__install_max)) { \
		print "f", d, files[d]; n[d] = 0; files[d] = "" } } \
	    else { print "f", d "/" $$4, $$1 } } \
	  END { for (d in files) print "f", d, files[d] }' | \
	while read type dir files; do \
	     if test "$$dir" = .; then dir=; else dir=/$$dir; fi; \
	     test -z "$$files" || { \
	       echo " $(INSTALL_SCRIPT) $$files '$(DESTDIR)$(databindir)$$dir'"; \
	       $(INSTALL_SCRIPT) $$files "$(DESTDIR)$(databindir)$$dir" || exit $$?; \
	     } \
	; done

uninstall-databinSCRIPTS:
	@$(NORMAL_UNINSTALL)
	@list='$(databin_SCRIPTS)'; test -n "$(databindir)" || exit 0; \
	files=`for p in $$list; do echo "$$p"; done | \
	       sed -e 's,.*/,,;$(transform)'`; \
	dir='$(DESTDIR)$(databindir)'; $(am__uninstall_files_from_dir)
install-sbinSCRIPTS: $(sbin_SCRIPTS)
	@$(NORMAL_INSTALL)
	test -z "$(sbindir)" || $(MKDIR_P) "$(DESTDIR)$(sbindir)"
	@list='$(sbin_SCRIPTS)'; test -n "$(sbindir)" || list=; \
	for p in $$list; do \
	  if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
	  if test -f "$$d$$p"; then echo "$$d$$p"; echo "$$p"; else :; fi; \
	done | \
	sed -e 'p;s,.*/,,;n' \
	    -e 'h;s|.*|.|' \
	    -e 'p;x;s,.*/,,;$(transform)' | sed 'N;N;N;s,\n, ,g' | \
	$(AWK) 'BEGIN { files["."] = ""; dirs["."] = 1; } \
	  { d=$$3; if (dirs[d] != 1) { print "d", d; dirs[d] = 1 } \
	    if ($$2 == $$4) { files[d] = files[d] " " $$1; \
	      if (++n[d] == $(am__install_max)) { \
		print "f", d, files[d]; n[d] = 0; files[d] = "" } } \
	    else { print "f", d "/" $$4, $$1 } } \
	  END { for (d in files) print "f", d, files[d] }' | \
	while read type dir files; do \
	     if test "$$dir" = .; then dir=; else dir=/$$dir; fi; \
	     test -z "$$files" || { \
	       echo " $(INSTALL_SCRIPT) $$files '$(DESTDIR)$(sbindir)$$dir'"; \
	       $(INSTALL_SCRIPT) $$files "$(DESTDIR)$(sbindir)$$dir" || exit $$?; \
	     } \
	; done

uninstall-sbinSCRIPTS:
	@$(NORMAL_UNINSTALL)
	@list='$(sbin_SCRIPTS)'; test -n "$(sbindir)" || exit 0; \
	files=`for p in $$list; do echo "$$p"; done | \
	       sed -e 's,.*/,,;$(transform)'`; \
	dir='$(DESTDIR)$(sbindir)'; $(am__uninstall_files_from_dir)

mostlyclean-compile:
	-rm -f *.$(OBJEXT)

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

@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/aliascombine.Po@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/aliascreate.Po@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/aliasexp.Po@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/aliaslookup.Po@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/bofh.Po@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/cancelmsg.Po@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/cddelinfo.Po@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/cddlvrhost.Po@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/cddrvinfo.Po@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/cdfilters.Po@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/cdmsgq.Po@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/cdmsgq2.Po@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/cdmsgq3.Po@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/cdpendelinfo.Po@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/cdrcptinfo.Po@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/cmlm.Po@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/cmlm2.Po@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/cmlm3.Po@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/cmlmarchive.Po@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/cmlmbounce.Po@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/cmlmcleanup.Po@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/cmlmcmdmisc.Po@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/cmlmdigest.Po@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/cmlmfetch.Po@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/cmlmmoderate.Po@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/cmlmstartmail.Po@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/cmlmsublist.Po@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/cmlmsubunsub.Po@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/cmlmsubunsubmsg.Po@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/courier-config.Po@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/courier.Po@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/courier2.Po@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/courierd.Po@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/courierdb.Po@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/cppmain.Po@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/dotforward.Po@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ldapaliasd.Po@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ldapaliasdrc.Po@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/mailq.Po@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/sendmail-esmtpd-wrapper.Po@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/sendmail.Po@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/showconfig.Po@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/showmodules.Po@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/submit.Po@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/submit2.Po@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/submit3.Po@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/submitmkdir.Po@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/testmxlookup.Po@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/webmlm.Po@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/webmlmd.Po@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/webmlmdcmlm.Po@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/webmlmddirs.Po@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/webmlmdhandlers.Po@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/webmlmdmod.Po@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/webmlmdsublist.Po@am__quote@

.C.o:
@am__fastdepCXX_TRUE@	$(CXXCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
@am__fastdepCXX_TRUE@	$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
@AMDEP_TRUE@@am__fastdepCXX_FALSE@	source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
@AMDEP_TRUE@@am__fastdepCXX_FALSE@	DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
@am__fastdepCXX_FALSE@	$(CXXCOMPILE) -c -o $@ $<

.C.obj:
@am__fastdepCXX_TRUE@	$(CXXCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'`
@am__fastdepCXX_TRUE@	$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
@AMDEP_TRUE@@am__fastdepCXX_FALSE@	source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
@AMDEP_TRUE@@am__fastdepCXX_FALSE@	DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
@am__fastdepCXX_FALSE@	$(CXXCOMPILE) -c -o $@ `$(CYGPATH_W) '$<'`

.C.lo:
@am__fastdepCXX_TRUE@	$(LTCXXCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
@am__fastdepCXX_TRUE@	$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Plo
@AMDEP_TRUE@@am__fastdepCXX_FALSE@	source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@
@AMDEP_TRUE@@am__fastdepCXX_FALSE@	DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
@am__fastdepCXX_FALSE@	$(LTCXXCOMPILE) -c -o $@ $<

.c.o:
@am__fastdepCC_TRUE@	$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
@am__fastdepCC_TRUE@	$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
@AMDEP_TRUE@@am__fastdepCC_FALSE@	source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
@AMDEP_TRUE@@am__fastdepCC_FALSE@	DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
@am__fastdepCC_FALSE@	$(COMPILE) -c $<

.c.obj:
@am__fastdepCC_TRUE@	$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'`
@am__fastdepCC_TRUE@	$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
@AMDEP_TRUE@@am__fastdepCC_FALSE@	source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
@AMDEP_TRUE@@am__fastdepCC_FALSE@	DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
@am__fastdepCC_FALSE@	$(COMPILE) -c `$(CYGPATH_W) '$<'`

.c.lo:
@am__fastdepCC_TRUE@	$(LTCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
@am__fastdepCC_TRUE@	$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Plo
@AMDEP_TRUE@@am__fastdepCC_FALSE@	source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@
@AMDEP_TRUE@@am__fastdepCC_FALSE@	DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
@am__fastdepCC_FALSE@	$(LTCOMPILE) -c -o $@ $<

mostlyclean-libtool:
	-rm -f *.lo

clean-libtool:
	-rm -rf .libs _libs

distclean-libtool:
	-rm -f libtool config.lt
install-mlmdataDATA: $(mlmdata_DATA)
	@$(NORMAL_INSTALL)
	test -z "$(mlmdatadir)" || $(MKDIR_P) "$(DESTDIR)$(mlmdatadir)"
	@list='$(mlmdata_DATA)'; test -n "$(mlmdatadir)" || list=; \
	for p in $$list; do \
	  if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
	  echo "$$d$$p"; \
	done | $(am__base_list) | \
	while read files; do \
	  echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(mlmdatadir)'"; \
	  $(INSTALL_DATA) $$files "$(DESTDIR)$(mlmdatadir)" || exit $$?; \
	done

uninstall-mlmdataDATA:
	@$(NORMAL_UNINSTALL)
	@list='$(mlmdata_DATA)'; test -n "$(mlmdatadir)" || list=; \
	files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
	dir='$(DESTDIR)$(mlmdatadir)'; $(am__uninstall_files_from_dir)
install-sysconfDATA: $(sysconf_DATA)
	@$(NORMAL_INSTALL)
	test -z "$(sysconfdir)" || $(MKDIR_P) "$(DESTDIR)$(sysconfdir)"
	@list='$(sysconf_DATA)'; test -n "$(sysconfdir)" || list=; \
	for p in $$list; do \
	  if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
	  echo "$$d$$p"; \
	done | $(am__base_list) | \
	while read files; do \
	  echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(sysconfdir)'"; \
	  $(INSTALL_DATA) $$files "$(DESTDIR)$(sysconfdir)" || exit $$?; \
	done

uninstall-sysconfDATA:
	@$(NORMAL_UNINSTALL)
	@list='$(sysconf_DATA)'; test -n "$(sysconfdir)" || list=; \
	files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
	dir='$(DESTDIR)$(sysconfdir)'; $(am__uninstall_files_from_dir)

# 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.
$(RECURSIVE_TARGETS):
	@fail= failcom='exit 1'; \
	for f in x $$MAKEFLAGS; do \
	  case $$f in \
	    *=* | --[!k]*);; \
	    *k*) failcom='fail=yes';; \
	  esac; \
	done; \
	dot_seen=no; \
	target=`echo $@ | sed s/-recursive//`; \
	list='$(SUBDIRS)'; for subdir in $$list; do \
	  echo "Making $$target in $$subdir"; \
	  if test "$$subdir" = "."; then \
	    dot_seen=yes; \
	    local_target="$$target-am"; \
	  else \
	    local_target="$$target"; \
	  fi; \
	  ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
	  || eval $$failcom; \
	done; \
	if test "$$dot_seen" = "no"; then \
	  $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
	fi; test -z "$$fail"

$(RECURSIVE_CLEAN_TARGETS):
	@fail= failcom='exit 1'; \
	for f in x $$MAKEFLAGS; do \
	  case $$f in \
	    *=* | --[!k]*);; \
	    *k*) failcom='fail=yes';; \
	  esac; \
	done; \
	dot_seen=no; \
	case "$@" in \
	  distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
	  *) list='$(SUBDIRS)' ;; \
	esac; \
	rev=''; for subdir in $$list; do \
	  if test "$$subdir" = "."; then :; else \
	    rev="$$subdir $$rev"; \
	  fi; \
	done; \
	rev="$$rev ."; \
	target=`echo $@ | sed s/-recursive//`; \
	for subdir in $$rev; do \
	  echo "Making $$target in $$subdir"; \
	  if test "$$subdir" = "."; then \
	    local_target="$$target-am"; \
	  else \
	    local_target="$$target"; \
	  fi; \
	  ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
	  || eval $$failcom; \
	done && test -z "$$fail"
tags-recursive:
	list='$(SUBDIRS)'; for subdir in $$list; do \
	  test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
	done
ctags-recursive:
	list='$(SUBDIRS)'; for subdir in $$list; do \
	  test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
	done

ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
	list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
	unique=`for i in $$list; do \
	    if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
	  done | \
	  $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
	      END { if (nonempty) { for (i in files) print i; }; }'`; \
	mkid -fID $$unique
tags: TAGS

TAGS: tags-recursive $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \
		$(TAGS_FILES) $(LISP)
	set x; \
	here=`pwd`; \
	if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \
	  include_option=--etags-include; \
	  empty_fix=.; \
	else \
	  include_option=--include; \
	  empty_fix=; \
	fi; \
	list='$(SUBDIRS)'; for subdir in $$list; do \
	  if test "$$subdir" = .; then :; else \
	    test ! -f $$subdir/TAGS || \
	      set "$$@" "$$include_option=$$here/$$subdir/TAGS"; \
	  fi; \
	done; \
	list='$(SOURCES) $(HEADERS) config.h.in $(LISP) $(TAGS_FILES)'; \
	unique=`for i in $$list; do \
	    if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
	  done | \
	  $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
	      END { if (nonempty) { for (i in files) print i; }; }'`; \
	shift; \
	if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
	  test -n "$$unique" || unique=$$empty_fix; \
	  if test $$# -gt 0; then \
	    $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
	      "$$@" $$unique; \
	  else \
	    $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
	      $$unique; \
	  fi; \
	fi
ctags: CTAGS
CTAGS: ctags-recursive $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \
		$(TAGS_FILES) $(LISP)
	list='$(SOURCES) $(HEADERS) config.h.in $(LISP) $(TAGS_FILES)'; \
	unique=`for i in $$list; do \
	    if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
	  done | \
	  $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
	      END { if (nonempty) { for (i in files) print i; }; }'`; \
	test -z "$(CTAGS_ARGS)$$unique" \
	  || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
	     $$unique

GTAGS:
	here=`$(am__cd) $(top_builddir) && pwd` \
	  && $(am__cd) $(top_srcdir) \
	  && gtags -i $(GTAGS_ARGS) "$$here"

distclean-tags:
	-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags

distdir: $(DISTFILES)
	$(am__remove_distdir)
	test -d "$(distdir)" || mkdir "$(distdir)"
	@srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
	topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
	list='$(DISTFILES)'; \
	  dist_files=`for file in $$list; do echo $$file; done | \
	  sed -e "s|^$$srcdirstrip/||;t" \
	      -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
	case $$dist_files in \
	  */*) $(MKDIR_P) `echo "$$dist_files" | \
			   sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
			   sort -u` ;; \
	esac; \
	for file in $$dist_files; do \
	  if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
	  if test -d $$d/$$file; then \
	    dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
	    if test -d "$(distdir)/$$file"; then \
	      find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
	    fi; \
	    if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
	      cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
	      find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
	    fi; \
	    cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
	  else \
	    test -f "$(distdir)/$$file" \
	    || cp -p $$d/$$file "$(distdir)/$$file" \
	    || exit 1; \
	  fi; \
	done
	@list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
	  if test "$$subdir" = .; then :; else \
	    test -d "$(distdir)/$$subdir" \
	    || $(MKDIR_P) "$(distdir)/$$subdir" \
	    || exit 1; \
	  fi; \
	done
	@list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
	  if test "$$subdir" = .; then :; else \
	    dir1=$$subdir; dir2="$(distdir)/$$subdir"; \
	    $(am__relativize); \
	    new_distdir=$$reldir; \
	    dir1=$$subdir; dir2="$(top_distdir)"; \
	    $(am__relativize); \
	    new_top_distdir=$$reldir; \
	    echo " (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir="$$new_top_distdir" distdir="$$new_distdir" \\"; \
	    echo "     am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)"; \
	    ($(am__cd) $$subdir && \
	      $(MAKE) $(AM_MAKEFLAGS) \
	        top_distdir="$$new_top_distdir" \
	        distdir="$$new_distdir" \
		am__remove_distdir=: \
		am__skip_length_check=: \
		am__skip_mode_fix=: \
	        distdir) \
	      || exit 1; \
	  fi; \
	done
	$(MAKE) $(AM_MAKEFLAGS) \
	  top_distdir="$(top_distdir)" distdir="$(distdir)" \
	  dist-hook
	-test -n "$(am__skip_mode_fix)" \
	|| find "$(distdir)" -type d ! -perm -755 \
		-exec chmod u+rwx,go+rx {} \; -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 $(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=$${BZIP2--9} bzip2 -c >$(distdir).tar.bz2
	$(am__remove_distdir)

dist-lzip: distdir
	tardir=$(distdir) && $(am__tar) | lzip -c $${LZIP_OPT--9} >$(distdir).tar.lz
	$(am__remove_distdir)

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

dist-xz: distdir
	tardir=$(distdir) && $(am__tar) | XZ_OPT=$${XZ_OPT--e} xz -c >$(distdir).tar.xz
	$(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) gzip -dc $(distdir).tar.gz | $(am__untar) ;;\
	*.tar.bz2*) \
	  bzip2 -dc $(distdir).tar.bz2 | $(am__untar) ;;\
	*.tar.lzma*) \
	  lzma -dc $(distdir).tar.lzma | $(am__untar) ;;\
	*.tar.lz*) \
	  lzip -dc $(distdir).tar.lz | $(am__untar) ;;\
	*.tar.xz*) \
	  xz -dc $(distdir).tar.xz | $(am__untar) ;;\
	*.tar.Z*) \
	  uncompress -c $(distdir).tar.Z | $(am__untar) ;;\
	*.shar.gz*) \
	  GZIP=$(GZIP_ENV) gzip -dc $(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)
	test -d $(distdir)/_build || exit 0; \
	dc_install_base=`$(am__cd) $(distdir)/_inst && pwd | sed -e 's,^[^:\\/]:[\\/],/,'` \
	  && dc_destdir="$${TMPDIR-/tmp}/am-dc-$$$$/" \
	  && am__cwd=`pwd` \
	  && $(am__cd) $(distdir)/_build \
	  && ../configure --srcdir=.. --prefix="$$dc_install_base" \
	    $(AM_DISTCHECK_CONFIGURE_FLAGS) \
	    $(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 \
	  && cd "$$am__cwd" \
	  || exit 1
	$(am__remove_distdir)
	@(echo "$(distdir) archives ready for distribution: "; \
	  list='$(DIST_ARCHIVES)'; for i in $$list; do echo $$i; done) | \
	  sed -e 1h -e 1s/./=/g -e 1p -e 1x -e '$$p' -e '$$x'
distuninstallcheck:
	@test -n '$(distuninstallcheck_dir)' || { \
	  echo 'ERROR: trying to run $@ with an empty' \
	       '$$(distuninstallcheck_dir)' >&2; \
	  exit 1; \
	}; \
	$(am__cd) '$(distuninstallcheck_dir)' || { \
	  echo 'ERROR: cannot chdir into $(distuninstallcheck_dir)' >&2; \
	  exit 1; \
	}; \
	test `$(am__distuninstallcheck_listfiles) | wc -l` -eq 0 \
	   || { 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-recursive
all-am: Makefile $(PROGRAMS) $(SCRIPTS) $(DATA) config.h
installdirs: installdirs-recursive
installdirs-am:
	for dir in "$(DESTDIR)$(bindir)" "$(DESTDIR)$(cmdlibdir)" "$(DESTDIR)$(pkglibexecdir)" "$(DESTDIR)$(sbindir)" "$(DESTDIR)$(webmaildir)" "$(DESTDIR)$(bindir)" "$(DESTDIR)$(databindir)" "$(DESTDIR)$(sbindir)" "$(DESTDIR)$(mlmdatadir)" "$(DESTDIR)$(sysconfdir)"; do \
	  test -z "$$dir" || $(MKDIR_P) "$$dir"; \
	done
install: $(BUILT_SOURCES)
	$(MAKE) $(AM_MAKEFLAGS) install-recursive
install-exec: install-exec-recursive
install-data: install-data-recursive
uninstall: uninstall-recursive

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

installcheck: installcheck-recursive
install-strip:
	if test -z '$(STRIP)'; then \
	  $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
	    install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
	      install; \
	else \
	  $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
	    install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
	    "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \
	fi
mostlyclean-generic:

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

distclean-generic:
	-test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
	-test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
	-test -z "$(DISTCLEANFILES)" || rm -f $(DISTCLEANFILES)

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-recursive

clean-am: clean-binPROGRAMS clean-cmdlibPROGRAMS clean-generic \
	clean-libtool clean-pkglibexecPROGRAMS clean-sbinPROGRAMS \
	clean-webmailPROGRAMS mostlyclean-am

distclean: distclean-recursive
	-rm -f $(am__CONFIG_DISTCLEAN_FILES)
	-rm -rf ./$(DEPDIR)
	-rm -f Makefile
distclean-am: clean-am distclean-compile distclean-generic \
	distclean-hdr distclean-libtool distclean-tags

dvi: dvi-recursive

dvi-am:

html: html-recursive

html-am:

info: info-recursive

info-am:

install-data-am: install-cmdlibPROGRAMS install-databinSCRIPTS \
	install-mlmdataDATA install-webmailPROGRAMS
	@$(NORMAL_INSTALL)
	$(MAKE) $(AM_MAKEFLAGS) install-data-hook
install-dvi: install-dvi-recursive

install-dvi-am:

install-exec-am: install-binPROGRAMS install-binSCRIPTS \
	install-pkglibexecPROGRAMS install-sbinPROGRAMS \
	install-sbinSCRIPTS install-sysconfDATA
	@$(NORMAL_INSTALL)
	$(MAKE) $(AM_MAKEFLAGS) install-exec-hook
install-html: install-html-recursive

install-html-am:

install-info: install-info-recursive

install-info-am:

install-man:

install-pdf: install-pdf-recursive

install-pdf-am:

install-ps: install-ps-recursive

install-ps-am:

installcheck-am:

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

mostlyclean: mostlyclean-recursive

mostlyclean-am: mostlyclean-compile mostlyclean-generic \
	mostlyclean-libtool

pdf: pdf-recursive

pdf-am:

ps: ps-recursive

ps-am:

uninstall-am: uninstall-binPROGRAMS uninstall-binSCRIPTS \
	uninstall-cmdlibPROGRAMS uninstall-databinSCRIPTS \
	uninstall-local uninstall-mlmdataDATA \
	uninstall-pkglibexecPROGRAMS uninstall-sbinPROGRAMS \
	uninstall-sbinSCRIPTS uninstall-sysconfDATA \
	uninstall-webmailPROGRAMS

.MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) all check \
	ctags-recursive install install-am install-data-am \
	install-exec-am install-strip tags-recursive

.PHONY: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) CTAGS GTAGS \
	all all-am am--refresh check check-am clean clean-binPROGRAMS \
	clean-cmdlibPROGRAMS clean-generic clean-libtool \
	clean-pkglibexecPROGRAMS clean-sbinPROGRAMS \
	clean-webmailPROGRAMS ctags ctags-recursive dist dist-all \
	dist-bzip2 dist-gzip dist-hook dist-lzip dist-lzma dist-shar \
	dist-tarZ dist-xz dist-zip distcheck distclean \
	distclean-compile distclean-generic distclean-hdr \
	distclean-libtool distclean-tags distcleancheck distdir \
	distuninstallcheck dvi dvi-am html html-am info info-am \
	install install-am install-binPROGRAMS install-binSCRIPTS \
	install-cmdlibPROGRAMS install-data install-data-am \
	install-data-hook install-databinSCRIPTS install-dvi \
	install-dvi-am install-exec install-exec-am install-exec-hook \
	install-html install-html-am install-info install-info-am \
	install-man install-mlmdataDATA install-pdf install-pdf-am \
	install-pkglibexecPROGRAMS install-ps install-ps-am \
	install-sbinPROGRAMS install-sbinSCRIPTS install-strip \
	install-sysconfDATA install-webmailPROGRAMS installcheck \
	installcheck-am installdirs installdirs-am maintainer-clean \
	maintainer-clean-generic mostlyclean mostlyclean-compile \
	mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
	tags tags-recursive uninstall uninstall-am \
	uninstall-binPROGRAMS uninstall-binSCRIPTS \
	uninstall-cmdlibPROGRAMS uninstall-databinSCRIPTS \
	uninstall-local uninstall-mlmdataDATA \
	uninstall-pkglibexecPROGRAMS uninstall-sbinPROGRAMS \
	uninstall-sbinSCRIPTS uninstall-sysconfDATA \
	uninstall-webmailPROGRAMS


@SET_MAKE@

modules.lst.la: create-modules.lst
	@:

create-modules.lst:
	@chmod +x mkmodules.sh		# autoconf sucks
	@./mkmodules.sh @dirlist@

# makedat - generic GDBM file create tool

makedatprog$(EXEEXT): ../makedat/makedatprog$(EXEEXT)
	cp -f ../makedat/makedatprog$(EXEEXT) .

makedat: ../makedat/makedat
	cp -f ../makedat/makedat .

# maildirmake - create a maildir

maildirmake$(EXEEXT): ../maildir/maildirmake$(EXEEXT)
	cp -f ../maildir/maildirmake$(EXEEXT) .

maildiracl$(EXEEXT): ../maildir/maildiracl$(EXEEXT)
	cp -f ../maildir/maildiracl$(EXEEXT) .

# maildirkw - set maildir keywords

maildirkw$(EXEEXT): ../maildir/maildirkw$(EXEEXT)
	cp -f ../maildir/maildirkw$(EXEEXT) .

# pop3d - Maildir POP3 server.

courierpop3d$(EXEEXT): ../imap/pop3d$(EXEEXT)
	cp -f ../imap/pop3d$(EXEEXT) courierpop3d$(EXEEXT)

# tcpd

couriertcpd$(EXEEXT): ../tcpd/couriertcpd$(EXEEXT)
	cp -f ../tcpd/couriertcpd$(EXEEXT) .

couriertls$(EXEEXT): ../tcpd/couriertls$(EXEEXT)
	cp -f ../tcpd/couriertls$(EXEEXT) .

# pop3 login

courierpop3login$(EXEEXT): ../imap/pop3login$(EXEEXT)
	cp -f ../imap/pop3login$(EXEEXT) courierpop3login$(EXEEXT)

sort.h:
	echo '#define SORT "$(SORT)"' >sort.h

webmlmdhandlerslist.H: update-handler-list

.PHONY: update-handler-list

update-handler-list:
	cat $(srcdir)/webmlmd*C | sed -n '/^HANDLER(/'p >webmlmdhandlerslist.H.tmp
	cmp -s webmlmdhandlerslist.H.tmp webmlmdhandlerslist.H || mv -f webmlmdhandlerslist.H.tmp webmlmdhandlerslist.H
	rm -f webmlmdhandlerslist.H.tmp

sharedindexsplit: ../maildir/sharedindexsplit
	cp -f ../maildir/sharedindexsplit .

sharedindexinstall: ../maildir/sharedindexinstall
	cp -f ../maildir/sharedindexinstall .

uidgid.h: config.status
	echo "#define MAILUSER \"$(mailuser)\"" >uidgid.h
	echo "#define MAILGROUP \"$(mailgroup)\"" >>uidgid.h
	echo "#define MAILUID $(mailuid)" >>uidgid.h
	echo "#define MAILGID $(mailgid)" >>uidgid.h

configargs.h: ../configure.args
	echo "#define CONFIGURE_ARGS \"`cat ../configure.args`\"" >configargs.h

prefix.h: config.status
	echo "#define PREFIX \"$(prefix)\"" >prefix.h

exec_prefix.h: config.status
	echo "#define EXEC_PREFIX \"$(exec_prefix)\"" >exec_prefix.h

sysconfdir.h: config.status
	echo "#define SYSCONFDIR \"$(sysconfdir)\"" >sysconfdir.h

localstatedir.h: config.status
	echo "#define LOCALSTATEDIR \"$(localstatedir)\"" >localstatedir.h

libexecdir.h: config.status
	echo "#define LIBEXECDIR \"$(libexecdir)\"" >libexecdir.h

bindir.h: config.status
	echo "#define BINDIR \"$(bindir)\"" >bindir.h

mkimapdcert: ../imap/mkimapdcert
	cp -f ../imap/mkimapdcert .

mkpop3dcert: ../imap/mkpop3dcert
	cp -f ../imap/mkpop3dcert .

imapd.cnf: ../imap/imapd.cnf
	cp -f ../imap/imapd.cnf .

pop3d.cnf: ../imap/pop3d.cnf
	cp -f ../imap/pop3d.cnf .

imapd.dist: ../imap/imapd.dist
	cp -f ../imap/imapd.dist .

imapd-ssl.dist: ../imap/imapd-ssl.dist
	cp -f ../imap/imapd-ssl.dist .

pop3d.dist: ../imap/pop3d.dist
	cp -f ../imap/pop3d.dist .

pop3d-ssl.dist: ../imap/pop3d-ssl.dist
	cp -f ../imap/pop3d-ssl.dist .

quotawarnmsg.example: ../maildir/quotawarnmsg
	cp -f $(srcdir)/../maildir/quotawarnmsg quotawarnmsg.example

filtersocketdir.h: config.status
	echo '#define FILTERSOCKETDIR "$(filtersocketdir)"' >filtersocketdir.h
	echo '#define ALLFILTERSOCKETDIR "$(allfiltersocketdir)"' >>filtersocketdir.h

sbindir.h: config.status
	echo "#define SBINDIR \"$(sbindir)\"" >sbindir.h

datadir.h: config.status
	echo "#define DATADIR \"$(datadir)\"" >datadir.h

#
# modules.lst should contain a list of additional static libraries that
# any program that uses rewriting should link with.
#
# We want to always execute the mkmodules.sh script, but only relink if
# modules.lst is modified.
#

# Copy over imap

imapd$(EXEEXT): ../imap/imapd$(EXEEXT)
	cp -f ../imap/imapd$(EXEEXT) .

imaplogin$(EXEEXT): ../imap/imaplogin$(EXEEXT)
	cp -f ../imap/imaplogin$(EXEEXT) .

pop3d.authpam: ../imap/pop3d.pam
	cp -f ../imap/pop3d.pam pop3d.authpam

imapd.authpam: ../imap/imapd.pam
	cp -f ../imap/imapd.pam imapd.authpam

webmail.authpam: ../webmail/webmail.authpam
	cp -f ../webmail/webmail.authpam .

# pcpd - groupware calendaring daemon

pcpd$(EXEEXT): ../pcp/pcpd$(EXEEXT)
	cp -f ../pcp/pcpd$(EXEEXT) .

# Copy over maildrop

maildrop$(EXEEXT): ../maildrop/maildrop$(EXEEXT)
	cp -f ../maildrop/maildrop$(EXEEXT) .

lockmail$(EXEEXT): ../liblock/lockmail$(EXEEXT)
	cp -f ../liblock/lockmail .

reformail$(EXEEXT): ../maildrop/reformail$(EXEEXT)
	cp -f ../maildrop/reformail$(EXEEXT) .

mailbot$(EXEEXT): ../maildrop/mailbot$(EXEEXT)
	cp -f ../maildrop/mailbot$(EXEEXT) .

reformime$(EXEEXT): ../rfc2045/reformime$(EXEEXT)
	cp -f ../rfc2045/reformime$(EXEEXT) .

mimegpg$(EXEEXT): ../gpglib/mimegpg$(EXEEXT)
	cp -f ../gpglib/mimegpg$(EXEEXT) .

makemime$(EXEEXT): ../rfc2045/makemime$(EXEEXT)
	cp -f ../rfc2045/makemime$(EXEEXT) .

../webmail/sqwebmail$(EXEEXT):
	:

 ../webmail/sqwebmaild$(EXEEXT):
	:

webmail$(EXEEXT): ../webmail/sqwebmail$(EXEEXT)
	cp -f ../webmail/sqwebmail$(EXEEXT) webmail$(EXEEXT)

sqwebmaild$(EXEEXT): ../webmail/sqwebmaild$(EXEEXT)
	cp -f ../webmail/sqwebmaild$(EXEEXT) sqwebmaild$(EXEEXT)

deliverquota$(EXEEXT): ../maildir/deliverquota$(EXEEXT)
	cp -f ../maildir/deliverquota$(EXEEXT) deliverquota$(EXEEXT)

dist-hook:
	rm -f $(distdir)/lcrwstatic.h

install-exec-hook:
	for d in $(bindir) $(sbindir) $(libexecdir) $(libexecdir)/courier \
		$(sysconfdir)/filters \
		$(localstatedir) $(localstatedir)/tmp\
		$(webmaildir)\
		$(localstatedir)/track\
		$(localstatedir)/msgs $(localstatedir)/msgq ; do \
			$(mkinstalldirs) $(DESTDIR)$$d || :; done
	$(INSTALL_SCRIPT) imapd.rc $(DESTDIR)$(datadir)/imapd
	$(INSTALL_SCRIPT) imapd-ssl.rc $(DESTDIR)$(datadir)/imapd-ssl
	rm -f $(DESTDIR)$(sbindir)/imapd
	$(LN_S) $(datadir)/imapd $(DESTDIR)$(sbindir)/imapd
	rm -f $(DESTDIR)$(sbindir)/imapd-ssl
	$(LN_S) $(datadir)/imapd-ssl $(DESTDIR)$(sbindir)/imapd-ssl
	rm -f $(DESTDIR)$(sbindir)/mkimapdcert
	$(LN_S) $(datadir)/mkimapdcert $(DESTDIR)$(sbindir)/mkimapdcert
	rm -f $(DESTDIR)$(sbindir)/mkpop3dcert
	$(LN_S) $(datadir)/mkpop3dcert $(DESTDIR)$(sbindir)/mkpop3dcert
	rm -f $(DESTDIR)$(bindir)/makedat
	$(LN_S) $(datadir)/makedat $(DESTDIR)$(bindir)/makedat
	for f in makealiases makehosteddomains pop3d pop3d-ssl \
		; do rm -f $(DESTDIR)$(sbindir)/$$f ; \
		$(LN_S) $(datadir)/$$f $(DESTDIR)$(sbindir)/$$f ; done
	rm -f $(DESTDIR)$(sbindir)/webgpg ; $(LN_S) $(datadir)/sqwebmail/webgpg $(DESTDIR)$(sbindir)/webgpg
	$(INSTALL_PROGRAM) ../webadmin/webadmin $(DESTDIR)$(webmaildir)/webadmin
	mkdir -p $(DESTDIR)$(sysconfdir)/shared
	chmod 755 $(DESTDIR)$(sysconfdir)/shared
	mkdir -p $(DESTDIR)$(sysconfdir)/shared.tmp
	chmod 755 $(DESTDIR)$(sysconfdir)/shared.tmp

install-data-hook:
	-$(mkinstalldirs) $(DESTDIR)$(sysconfdir)/aliases
	-$(mkinstalldirs) $(DESTDIR)$(sysconfdir)/smtpaccess
	-$(mkinstalldirs) $(DESTDIR)$(sysconfdir)/aliasdir
	echo @MAILDROP@ >$(DESTDIR)$(sysconfdir)/maildrop
	test -f $(DESTDIR)$(sysconfdir)/enablefiltering && exit 0; \
		echo esmtp >$(DESTDIR)$(sysconfdir)/enablefiltering
	test -f $(DESTDIR)$(sysconfdir)/aliases/system && exit 0; \
		$(INSTALL_DATA) $(srcdir)/aliases.config \
			$(DESTDIR)$(sysconfdir)/aliases/system
	test -f $(DESTDIR)$(sysconfdir)/smtpaccess/default && exit 0; \
		$(INSTALL_DATA) $(srcdir)/smtpaccess.config \
			$(DESTDIR)$(sysconfdir)/smtpaccess/default
	rm -f $(DESTDIR)$(bindir)/rmail
	$(LN_S) sendmail $(DESTDIR)$(bindir)/rmail
	-$(mkinstalldirs) $(DESTDIR)@mandir@/man8
	-$(mkinstalldirs) $(DESTDIR)$(webmailimagedir)
	for f in `cat ../webmail/images/filelist` ; do \
		$(INSTALL_DATA) $(srcdir)/../webmail/images/$$f \
			$(DESTDIR)$(webmailimagedir) ; done

install-permissions: perms.sh
	@chmod +x perms.sh setperms.sh
	@MAKE=$(MAKE) ./setperms.sh "$(DESTDIR)"

uninstall-local:
	rm -f $(DESTDIR)$(bindir)/makedat
	for f in makealiases makehosteddomains webgpg pop3d pop3d-ssl \
		; do rm -f $(DESTDIR)$(sbindir)/$$f \
		; done
	rm -f $(DESTDIR)$(sysconfdir)/aliases/system
	rm -f $(DESTDIR)$(sysconfdir)/smtpaccess/default
	rm -f $(DESTDIR)$(bindir)/rmail
	rm -f $(DESTDIR)$(sbindir)/imapd
	rm -f $(DESTDIR)$(sbindir)/imapd-ssl
	rm -f $(DESTDIR)$(datadir)/imapd
	rm -f $(DESTDIR)$(datadir)/imapd-ssl
	rm -f $(DESTDIR)$(sbindir)/mkimapdcert
	rm -f $(DESTDIR)$(sbindir)/mkpop3dcert
	rm -f $(DESTDIR)$(sysconfdir)/maildrop
	rm -f $(DESTDIR)$(sysconfdir)/enablefiltering
	for f in `cat ../webmail/images/filelist` ; do \
		rm -f $(DESTDIR)$(webmailimagedir)/$$f ; done
	rm -f $(DESTDIR)$(webmaildir)/webadmin

install-perms:
	@$(MAKE) install-perms-recursive
	@$(MAKE) install-perms-local

install-perms-recursive:
	@>permissions.dat
	@SUBDIRS="$(SUBDIRS)" ; for f in $$SUBDIRS ; do ( cd $$f && $(MAKE) $(AM_MAKEFLAGS) install-perms ) ; cat /dev/null >>$$f/permissions.dat ; cat $$f/permissions.dat >>permissions.dat ; done

install-perms-local:
	@chmod +x perms.sh
	@./perms.sh >>permissions.dat
#
# Lame regression test.
#
check-am:
	./aliascreate -tmp=./testsuite.tmp -dump=1 <$(srcdir)/testsuite.alias1.in | sed '/^$$/d' | sort | cmp -s $(srcdir)/testsuite.alias -
	./aliascreate -tmp=./testsuite.tmp -dump=1 <$(srcdir)/testsuite.alias2.in | sed '/^$$/d' | sort | cmp -s $(srcdir)/testsuite.alias -
	$(srcdir)/dotforward.tst | cmp -s $(srcdir)/dotforward.tst.chk -

# 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:
