1# Makefile.in generated by automake 1.11.1 from Makefile.am.
2# @configure_input@
3
4# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
5# 2003, 2004, 2005, 2006, 2007, 2008, 2009  Free Software Foundation,
6# Inc.
7# This Makefile.in is free software; the Free Software Foundation
8# gives unlimited permission to copy and/or distribute it,
9# with or without modifications, as long as this notice is preserved.
10
11# This program is distributed in the hope that it will be useful,
12# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
13# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
14# PARTICULAR PURPOSE.
15
16@SET_MAKE@
17
18# $Id: Makefile.am,v 1.94 2010/01/09 21:13:40 mrsam Exp $
19#
20# Copyright 1998 - 2009 Double Precision, Inc.  See COPYING for
21# distribution information.
22VPATH = @srcdir@
23pkgdatadir = $(datadir)/@PACKAGE@
24pkgincludedir = $(includedir)/@PACKAGE@
25pkglibdir = $(libdir)/@PACKAGE@
26pkglibexecdir = $(libexecdir)/@PACKAGE@
27am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
28install_sh_DATA = $(install_sh) -c -m 644
29install_sh_PROGRAM = $(install_sh) -c
30install_sh_SCRIPT = $(install_sh) -c
31INSTALL_HEADER = $(INSTALL_DATA)
32transform = $(program_transform_name)
33NORMAL_INSTALL = :
34PRE_INSTALL = :
35POST_INSTALL = :
36NORMAL_UNINSTALL = :
37PRE_UNINSTALL = :
38POST_UNINSTALL = :
39build_triplet = @build@
40host_triplet = @host@
41subdir = .
42DIST_COMMON = README $(am__configure_deps) $(srcdir)/Makefile.am \
43	$(srcdir)/Makefile.in $(srcdir)/courier.lpspec.in \
44	$(srcdir)/courier.spec.in $(srcdir)/courier.sysvinit.in \
45	$(srcdir)/dbobj.config.in $(srcdir)/dbobj.h.in \
46	$(top_srcdir)/configure AUTHORS COPYING ChangeLog INSTALL NEWS \
47	TODO config.guess config.rpath config.sub depcomp install-sh \
48	ltmain.sh missing
49ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
50am__aclocal_m4_deps = $(top_srcdir)/configure.in
51am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
52	$(ACLOCAL_M4)
53am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \
54 configure.lineno config.status.lineno
55mkinstalldirs = $(install_sh) -d
56CONFIG_CLEAN_FILES = courier.spec courier.lpspec dbobj.h dbobj.config \
57	courier.sysvinit
58CONFIG_CLEAN_VPATH_FILES =
59SOURCES =
60DIST_SOURCES =
61RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \
62	html-recursive info-recursive install-data-recursive \
63	install-dvi-recursive install-exec-recursive \
64	install-html-recursive install-info-recursive \
65	install-pdf-recursive install-ps-recursive install-recursive \
66	installcheck-recursive installdirs-recursive pdf-recursive \
67	ps-recursive uninstall-recursive
68RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive	\
69  distclean-recursive maintainer-clean-recursive
70AM_RECURSIVE_TARGETS = $(RECURSIVE_TARGETS:-recursive=) \
71	$(RECURSIVE_CLEAN_TARGETS:-recursive=) tags TAGS ctags CTAGS \
72	distdir dist dist-all distcheck
73ETAGS = etags
74CTAGS = ctags
75DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
76distdir = $(PACKAGE)-$(VERSION)
77top_distdir = $(distdir)
78am__remove_distdir = \
79  { test ! -d "$(distdir)" \
80    || { find "$(distdir)" -type d ! -perm -200 -exec chmod u+w {} ';' \
81         && rm -fr "$(distdir)"; }; }
82am__relativize = \
83  dir0=`pwd`; \
84  sed_first='s,^\([^/]*\)/.*$$,\1,'; \
85  sed_rest='s,^[^/]*/*,,'; \
86  sed_last='s,^.*/\([^/]*\)$$,\1,'; \
87  sed_butlast='s,/*[^/]*$$,,'; \
88  while test -n "$$dir1"; do \
89    first=`echo "$$dir1" | sed -e "$$sed_first"`; \
90    if test "$$first" != "."; then \
91      if test "$$first" = ".."; then \
92        dir2=`echo "$$dir0" | sed -e "$$sed_last"`/"$$dir2"; \
93        dir0=`echo "$$dir0" | sed -e "$$sed_butlast"`; \
94      else \
95        first2=`echo "$$dir2" | sed -e "$$sed_first"`; \
96        if test "$$first2" = "$$first"; then \
97          dir2=`echo "$$dir2" | sed -e "$$sed_rest"`; \
98        else \
99          dir2="../$$dir2"; \
100        fi; \
101        dir0="$$dir0"/"$$first"; \
102      fi; \
103    fi; \
104    dir1=`echo "$$dir1" | sed -e "$$sed_rest"`; \
105  done; \
106  reldir="$$dir2"
107DIST_ARCHIVES = $(distdir).tar.gz $(distdir).tar.bz2
108GZIP_ENV = --best
109distuninstallcheck_listfiles = find . -type f -print
110distcleancheck_listfiles = find . -type f -print
111ACLOCAL = @ACLOCAL@
112AMTAR = @AMTAR@
113AR = @AR@
114AUTOCONF = @AUTOCONF@
115AUTOHEADER = @AUTOHEADER@
116AUTOMAKE = @AUTOMAKE@
117AWK = @AWK@
118CC = @CC@
119CCDEPMODE = @CCDEPMODE@
120CFLAGS = @CFLAGS@
121COURIERAUTHCONFIG = @COURIERAUTHCONFIG@
122CPP = @CPP@
123CPPFLAGS = @CPPFLAGS@
124CXX = @CXX@
125CXXCPP = @CXXCPP@
126CXXDEPMODE = @CXXDEPMODE@
127CXXFLAGS = @CXXFLAGS@
128CYGPATH_W = @CYGPATH_W@
129DBSUBDIR = @DBSUBDIR@
130DEFS = @DEFS@
131DEPDIR = @DEPDIR@
132DSYMUTIL = @DSYMUTIL@
133DUMPBIN = @DUMPBIN@
134ECHO_C = @ECHO_C@
135ECHO_N = @ECHO_N@
136ECHO_T = @ECHO_T@
137EGREP = @EGREP@
138EXEEXT = @EXEEXT@
139FGREP = @FGREP@
140GPG = @GPG@
141GREP = @GREP@
142INSTALL = @INSTALL@
143INSTALL_DATA = @INSTALL_DATA@
144INSTALL_PROGRAM = @INSTALL_PROGRAM@
145INSTALL_SCRIPT = @INSTALL_SCRIPT@
146INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
147LD = @LD@
148LDFLAGS = @LDFLAGS@
149LIBDB = @LIBDB@
150LIBGDBM = @LIBGDBM@
151LIBOBJS = @LIBOBJS@
152LIBS = @LIBS@
153LIBTOOL = @LIBTOOL@
154LIPO = @LIPO@
155LN_S = @LN_S@
156LTLIBOBJS = @LTLIBOBJS@
157MAKEINFO = @MAKEINFO@
158MKDIR_P = @MKDIR_P@
159NM = @NM@
160NMEDIT = @NMEDIT@
161OBJDUMP = @OBJDUMP@
162OBJEXT = @OBJEXT@
163OTOOL = @OTOOL@
164OTOOL64 = @OTOOL64@
165PACKAGE = @PACKAGE@
166PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
167PACKAGE_NAME = @PACKAGE_NAME@
168PACKAGE_STRING = @PACKAGE_STRING@
169PACKAGE_TARNAME = @PACKAGE_TARNAME@
170PACKAGE_URL = @PACKAGE_URL@
171PACKAGE_VERSION = @PACKAGE_VERSION@
172PATH_SEPARATOR = @PATH_SEPARATOR@
173RANLIB = @RANLIB@
174REPOSITORY = @REPOSITORY@
175SED = @SED@
176SETENV = @SETENV@
177SET_MAKE = @SET_MAKE@
178SHELL = @SHELL@
179STRIP = @STRIP@
180SYSCONFTOOL = @SYSCONFTOOL@
181SYSCONFTOOL_PERL = @SYSCONFTOOL_PERL@
182USE_DB = @USE_DB@
183USE_GDBM = @USE_GDBM@
184VERSION = @VERSION@
185abs_builddir = @abs_builddir@
186abs_srcdir = @abs_srcdir@
187abs_top_builddir = @abs_top_builddir@
188abs_top_srcdir = @abs_top_srcdir@
189ac_ct_CC = @ac_ct_CC@
190ac_ct_CXX = @ac_ct_CXX@
191ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
192am__include = @am__include@
193am__leading_dot = @am__leading_dot@
194am__quote = @am__quote@
195am__tar = @am__tar@
196am__untar = @am__untar@
197bindir = @bindir@
198build = @build@
199build_alias = @build_alias@
200build_cpu = @build_cpu@
201build_os = @build_os@
202build_vendor = @build_vendor@
203builddir = @builddir@
204datadir = @datadir@
205datarootdir = @datarootdir@
206dblibrary = @dblibrary@
207docdir = @docdir@
208dvidir = @dvidir@
209exec_prefix = @exec_prefix@
210host = @host@
211host_alias = @host_alias@
212host_cpu = @host_cpu@
213host_os = @host_os@
214host_vendor = @host_vendor@
215htmldir = @htmldir@
216includedir = @includedir@
217infodir = @infodir@
218install_sh = @install_sh@
219libdir = @libdir@
220libexecdir = @libexecdir@
221localedir = @localedir@
222localstatedir = @localstatedir@
223mailgid = @mailgid@
224mailgroup = @mailgroup@
225mailuid = @mailuid@
226mailuser = @mailuser@
227mandir = @mandir@
228mkdir_p = @mkdir_p@
229oldincludedir = @oldincludedir@
230pdfdir = @pdfdir@
231prefix = @prefix@
232program_transform_name = @program_transform_name@
233psdir = @psdir@
234sbindir = @sbindir@
235sharedstatedir = @sharedstatedir@
236srcdir = @srcdir@
237subdirs = @subdirs@
238sysconfdir = @sysconfdir@
239target_alias = @target_alias@
240top_build_prefix = @top_build_prefix@
241top_builddir = @top_builddir@
242top_srcdir = @top_srcdir@
243AUTOMAKE_OPTIONS = dist-bzip2
244SUBDIRS = afx @DBSUBDIR@ numlib soxwrap md5 sha1 libhmac random128 unicode \
245	rfc822 rfc1035 rfc2045 liblock maildir waitlib tcpd \
246	threadlib makedat rootcerts imap maildrop cgi http11 ldapaddressbook \
247	gpglib pcp webmail webadmin courier
248
249DIST_SUBDIRS = afx gdbmobj bdbobj numlib soxwrap md5 sha1 libhmac random128 unicode \
250	rfc822 rfc1035 rfc2045 liblock maildir waitlib tcpd \
251	threadlib makedat rootcerts imap maildrop cgi http11 ldapaddressbook \
252	gpglib pcp webmail webadmin courier
253
254HTML2TXT = links -dump -no-numbering -no-references
255EXTRA_DIST = BENCHMARKS sysconftool ChangeLog.2001 \
256	COPYING.GPL NEWS.html pgpkeys.txt config.rpath
257
258DISTCLEANFILES = version configure.args
259all: all-recursive
260
261.SUFFIXES:
262am--refresh:
263	@:
264$(srcdir)/Makefile.in:  $(srcdir)/Makefile.am  $(am__configure_deps)
265	@for dep in $?; do \
266	  case '$(am__configure_deps)' in \
267	    *$$dep*) \
268	      echo ' cd $(srcdir) && $(AUTOMAKE) --foreign'; \
269	      $(am__cd) $(srcdir) && $(AUTOMAKE) --foreign \
270		&& exit 0; \
271	      exit 1;; \
272	  esac; \
273	done; \
274	echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign Makefile'; \
275	$(am__cd) $(top_srcdir) && \
276	  $(AUTOMAKE) --foreign Makefile
277.PRECIOUS: Makefile
278Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
279	@case '$?' in \
280	  *config.status*) \
281	    echo ' $(SHELL) ./config.status'; \
282	    $(SHELL) ./config.status;; \
283	  *) \
284	    echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe)'; \
285	    cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe);; \
286	esac;
287
288$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
289	$(SHELL) ./config.status --recheck
290
291$(top_srcdir)/configure:  $(am__configure_deps)
292	$(am__cd) $(srcdir) && $(AUTOCONF)
293$(ACLOCAL_M4):  $(am__aclocal_m4_deps)
294	$(am__cd) $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
295$(am__aclocal_m4_deps):
296courier.spec: $(top_builddir)/config.status $(srcdir)/courier.spec.in
297	cd $(top_builddir) && $(SHELL) ./config.status $@
298courier.lpspec: $(top_builddir)/config.status $(srcdir)/courier.lpspec.in
299	cd $(top_builddir) && $(SHELL) ./config.status $@
300dbobj.h: $(top_builddir)/config.status $(srcdir)/dbobj.h.in
301	cd $(top_builddir) && $(SHELL) ./config.status $@
302dbobj.config: $(top_builddir)/config.status $(srcdir)/dbobj.config.in
303	cd $(top_builddir) && $(SHELL) ./config.status $@
304courier.sysvinit: $(top_builddir)/config.status $(srcdir)/courier.sysvinit.in
305	cd $(top_builddir) && $(SHELL) ./config.status $@
306
307mostlyclean-libtool:
308	-rm -f *.lo
309
310clean-libtool:
311	-rm -rf .libs _libs
312
313distclean-libtool:
314	-rm -f libtool config.lt
315
316# This directory's subdirectories are mostly independent; you can cd
317# into them and run `make' without going through this Makefile.
318# To change the values of `make' variables: instead of editing Makefiles,
319# (1) if the variable is set in `config.status', edit `config.status'
320#     (which will cause the Makefiles to be regenerated when you run `make');
321# (2) otherwise, pass the desired values on the `make' command line.
322$(RECURSIVE_TARGETS):
323	@fail= failcom='exit 1'; \
324	for f in x $$MAKEFLAGS; do \
325	  case $$f in \
326	    *=* | --[!k]*);; \
327	    *k*) failcom='fail=yes';; \
328	  esac; \
329	done; \
330	dot_seen=no; \
331	target=`echo $@ | sed s/-recursive//`; \
332	list='$(SUBDIRS)'; for subdir in $$list; do \
333	  echo "Making $$target in $$subdir"; \
334	  if test "$$subdir" = "."; then \
335	    dot_seen=yes; \
336	    local_target="$$target-am"; \
337	  else \
338	    local_target="$$target"; \
339	  fi; \
340	  ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
341	  || eval $$failcom; \
342	done; \
343	if test "$$dot_seen" = "no"; then \
344	  $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
345	fi; test -z "$$fail"
346
347$(RECURSIVE_CLEAN_TARGETS):
348	@fail= failcom='exit 1'; \
349	for f in x $$MAKEFLAGS; do \
350	  case $$f in \
351	    *=* | --[!k]*);; \
352	    *k*) failcom='fail=yes';; \
353	  esac; \
354	done; \
355	dot_seen=no; \
356	case "$@" in \
357	  distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
358	  *) list='$(SUBDIRS)' ;; \
359	esac; \
360	rev=''; for subdir in $$list; do \
361	  if test "$$subdir" = "."; then :; else \
362	    rev="$$subdir $$rev"; \
363	  fi; \
364	done; \
365	rev="$$rev ."; \
366	target=`echo $@ | sed s/-recursive//`; \
367	for subdir in $$rev; do \
368	  echo "Making $$target in $$subdir"; \
369	  if test "$$subdir" = "."; then \
370	    local_target="$$target-am"; \
371	  else \
372	    local_target="$$target"; \
373	  fi; \
374	  ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
375	  || eval $$failcom; \
376	done && test -z "$$fail"
377tags-recursive:
378	list='$(SUBDIRS)'; for subdir in $$list; do \
379	  test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
380	done
381ctags-recursive:
382	list='$(SUBDIRS)'; for subdir in $$list; do \
383	  test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
384	done
385
386ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
387	list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
388	unique=`for i in $$list; do \
389	    if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
390	  done | \
391	  $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
392	      END { if (nonempty) { for (i in files) print i; }; }'`; \
393	mkid -fID $$unique
394tags: TAGS
395
396TAGS: tags-recursive $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
397		$(TAGS_FILES) $(LISP)
398	set x; \
399	here=`pwd`; \
400	if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \
401	  include_option=--etags-include; \
402	  empty_fix=.; \
403	else \
404	  include_option=--include; \
405	  empty_fix=; \
406	fi; \
407	list='$(SUBDIRS)'; for subdir in $$list; do \
408	  if test "$$subdir" = .; then :; else \
409	    test ! -f $$subdir/TAGS || \
410	      set "$$@" "$$include_option=$$here/$$subdir/TAGS"; \
411	  fi; \
412	done; \
413	list='$(SOURCES) $(HEADERS)  $(LISP) $(TAGS_FILES)'; \
414	unique=`for i in $$list; do \
415	    if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
416	  done | \
417	  $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
418	      END { if (nonempty) { for (i in files) print i; }; }'`; \
419	shift; \
420	if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
421	  test -n "$$unique" || unique=$$empty_fix; \
422	  if test $$# -gt 0; then \
423	    $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
424	      "$$@" $$unique; \
425	  else \
426	    $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
427	      $$unique; \
428	  fi; \
429	fi
430ctags: CTAGS
431CTAGS: ctags-recursive $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
432		$(TAGS_FILES) $(LISP)
433	list='$(SOURCES) $(HEADERS)  $(LISP) $(TAGS_FILES)'; \
434	unique=`for i in $$list; do \
435	    if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
436	  done | \
437	  $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
438	      END { if (nonempty) { for (i in files) print i; }; }'`; \
439	test -z "$(CTAGS_ARGS)$$unique" \
440	  || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
441	     $$unique
442
443GTAGS:
444	here=`$(am__cd) $(top_builddir) && pwd` \
445	  && $(am__cd) $(top_srcdir) \
446	  && gtags -i $(GTAGS_ARGS) "$$here"
447
448distclean-tags:
449	-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
450
451distdir: $(DISTFILES)
452	$(am__remove_distdir)
453	test -d "$(distdir)" || mkdir "$(distdir)"
454	@srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
455	topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
456	list='$(DISTFILES)'; \
457	  dist_files=`for file in $$list; do echo $$file; done | \
458	  sed -e "s|^$$srcdirstrip/||;t" \
459	      -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
460	case $$dist_files in \
461	  */*) $(MKDIR_P) `echo "$$dist_files" | \
462			   sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
463			   sort -u` ;; \
464	esac; \
465	for file in $$dist_files; do \
466	  if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
467	  if test -d $$d/$$file; then \
468	    dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
469	    if test -d "$(distdir)/$$file"; then \
470	      find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
471	    fi; \
472	    if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
473	      cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
474	      find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
475	    fi; \
476	    cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
477	  else \
478	    test -f "$(distdir)/$$file" \
479	    || cp -p $$d/$$file "$(distdir)/$$file" \
480	    || exit 1; \
481	  fi; \
482	done
483	@list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
484	  if test "$$subdir" = .; then :; else \
485	    test -d "$(distdir)/$$subdir" \
486	    || $(MKDIR_P) "$(distdir)/$$subdir" \
487	    || exit 1; \
488	  fi; \
489	done
490	@list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
491	  if test "$$subdir" = .; then :; else \
492	    dir1=$$subdir; dir2="$(distdir)/$$subdir"; \
493	    $(am__relativize); \
494	    new_distdir=$$reldir; \
495	    dir1=$$subdir; dir2="$(top_distdir)"; \
496	    $(am__relativize); \
497	    new_top_distdir=$$reldir; \
498	    echo " (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir="$$new_top_distdir" distdir="$$new_distdir" \\"; \
499	    echo "     am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)"; \
500	    ($(am__cd) $$subdir && \
501	      $(MAKE) $(AM_MAKEFLAGS) \
502	        top_distdir="$$new_top_distdir" \
503	        distdir="$$new_distdir" \
504		am__remove_distdir=: \
505		am__skip_length_check=: \
506		am__skip_mode_fix=: \
507	        distdir) \
508	      || exit 1; \
509	  fi; \
510	done
511	$(MAKE) $(AM_MAKEFLAGS) \
512	  top_distdir="$(top_distdir)" distdir="$(distdir)" \
513	  dist-hook
514	-test -n "$(am__skip_mode_fix)" \
515	|| find "$(distdir)" -type d ! -perm -755 \
516		-exec chmod u+rwx,go+rx {} \; -o \
517	  ! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \
518	  ! -type d ! -perm -400 -exec chmod a+r {} \; -o \
519	  ! -type d ! -perm -444 -exec $(install_sh) -c -m a+r {} {} \; \
520	|| chmod -R a+r "$(distdir)"
521dist-gzip: distdir
522	tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
523	$(am__remove_distdir)
524dist-bzip2: distdir
525	tardir=$(distdir) && $(am__tar) | bzip2 -9 -c >$(distdir).tar.bz2
526	$(am__remove_distdir)
527
528dist-lzma: distdir
529	tardir=$(distdir) && $(am__tar) | lzma -9 -c >$(distdir).tar.lzma
530	$(am__remove_distdir)
531
532dist-xz: distdir
533	tardir=$(distdir) && $(am__tar) | xz -c >$(distdir).tar.xz
534	$(am__remove_distdir)
535
536dist-tarZ: distdir
537	tardir=$(distdir) && $(am__tar) | compress -c >$(distdir).tar.Z
538	$(am__remove_distdir)
539
540dist-shar: distdir
541	shar $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).shar.gz
542	$(am__remove_distdir)
543
544dist-zip: distdir
545	-rm -f $(distdir).zip
546	zip -rq $(distdir).zip $(distdir)
547	$(am__remove_distdir)
548
549dist dist-all: distdir
550	tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
551	tardir=$(distdir) && $(am__tar) | bzip2 -9 -c >$(distdir).tar.bz2
552	$(am__remove_distdir)
553
554# This target untars the dist file and tries a VPATH configuration.  Then
555# it guarantees that the distribution is self-contained by making another
556# tarfile.
557distcheck: dist
558	case '$(DIST_ARCHIVES)' in \
559	*.tar.gz*) \
560	  GZIP=$(GZIP_ENV) gzip -dc $(distdir).tar.gz | $(am__untar) ;;\
561	*.tar.bz2*) \
562	  bzip2 -dc $(distdir).tar.bz2 | $(am__untar) ;;\
563	*.tar.lzma*) \
564	  lzma -dc $(distdir).tar.lzma | $(am__untar) ;;\
565	*.tar.xz*) \
566	  xz -dc $(distdir).tar.xz | $(am__untar) ;;\
567	*.tar.Z*) \
568	  uncompress -c $(distdir).tar.Z | $(am__untar) ;;\
569	*.shar.gz*) \
570	  GZIP=$(GZIP_ENV) gzip -dc $(distdir).shar.gz | unshar ;;\
571	*.zip*) \
572	  unzip $(distdir).zip ;;\
573	esac
574	chmod -R a-w $(distdir); chmod a+w $(distdir)
575	mkdir $(distdir)/_build
576	mkdir $(distdir)/_inst
577	chmod a-w $(distdir)
578	test -d $(distdir)/_build || exit 0; \
579	dc_install_base=`$(am__cd) $(distdir)/_inst && pwd | sed -e 's,^[^:\\/]:[\\/],/,'` \
580	  && dc_destdir="$${TMPDIR-/tmp}/am-dc-$$$$/" \
581	  && am__cwd=`pwd` \
582	  && $(am__cd) $(distdir)/_build \
583	  && ../configure --srcdir=.. --prefix="$$dc_install_base" \
584	    $(DISTCHECK_CONFIGURE_FLAGS) \
585	  && $(MAKE) $(AM_MAKEFLAGS) \
586	  && $(MAKE) $(AM_MAKEFLAGS) dvi \
587	  && $(MAKE) $(AM_MAKEFLAGS) check \
588	  && $(MAKE) $(AM_MAKEFLAGS) install \
589	  && $(MAKE) $(AM_MAKEFLAGS) installcheck \
590	  && $(MAKE) $(AM_MAKEFLAGS) uninstall \
591	  && $(MAKE) $(AM_MAKEFLAGS) distuninstallcheck_dir="$$dc_install_base" \
592	        distuninstallcheck \
593	  && chmod -R a-w "$$dc_install_base" \
594	  && ({ \
595	       (cd ../.. && umask 077 && mkdir "$$dc_destdir") \
596	       && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" install \
597	       && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" uninstall \
598	       && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" \
599	            distuninstallcheck_dir="$$dc_destdir" distuninstallcheck; \
600	      } || { rm -rf "$$dc_destdir"; exit 1; }) \
601	  && rm -rf "$$dc_destdir" \
602	  && $(MAKE) $(AM_MAKEFLAGS) dist \
603	  && rm -rf $(DIST_ARCHIVES) \
604	  && $(MAKE) $(AM_MAKEFLAGS) distcleancheck \
605	  && cd "$$am__cwd" \
606	  || exit 1
607	$(am__remove_distdir)
608	@(echo "$(distdir) archives ready for distribution: "; \
609	  list='$(DIST_ARCHIVES)'; for i in $$list; do echo $$i; done) | \
610	  sed -e 1h -e 1s/./=/g -e 1p -e 1x -e '$$p' -e '$$x'
611distuninstallcheck:
612	@$(am__cd) '$(distuninstallcheck_dir)' \
613	&& test `$(distuninstallcheck_listfiles) | wc -l` -le 1 \
614	   || { echo "ERROR: files left after uninstall:" ; \
615	        if test -n "$(DESTDIR)"; then \
616	          echo "  (check DESTDIR support)"; \
617	        fi ; \
618	        $(distuninstallcheck_listfiles) ; \
619	        exit 1; } >&2
620distcleancheck: distclean
621	@if test '$(srcdir)' = . ; then \
622	  echo "ERROR: distcleancheck can only run from a VPATH build" ; \
623	  exit 1 ; \
624	fi
625	@test `$(distcleancheck_listfiles) | wc -l` -eq 0 \
626	  || { echo "ERROR: files left in build directory after distclean:" ; \
627	       $(distcleancheck_listfiles) ; \
628	       exit 1; } >&2
629check-am: all-am
630check: check-recursive
631all-am: Makefile
632installdirs: installdirs-recursive
633installdirs-am:
634install: install-recursive
635install-exec: install-exec-recursive
636install-data: install-data-recursive
637uninstall: uninstall-recursive
638
639install-am: all-am
640	@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
641
642installcheck: installcheck-recursive
643install-strip:
644	$(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
645	  install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
646	  `test -z '$(STRIP)' || \
647	    echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
648mostlyclean-generic:
649
650clean-generic:
651
652distclean-generic:
653	-test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
654	-test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
655	-test -z "$(DISTCLEANFILES)" || rm -f $(DISTCLEANFILES)
656
657maintainer-clean-generic:
658	@echo "This command is intended for maintainers to use"
659	@echo "it deletes files that may require special tools to rebuild."
660clean: clean-recursive
661
662clean-am: clean-generic clean-libtool mostlyclean-am
663
664distclean: distclean-recursive
665	-rm -f $(am__CONFIG_DISTCLEAN_FILES)
666	-rm -f Makefile
667distclean-am: clean-am distclean-generic distclean-libtool \
668	distclean-tags
669
670dvi: dvi-recursive
671
672dvi-am:
673
674html: html-recursive
675
676html-am:
677
678info: info-recursive
679
680info-am:
681
682install-data-am: install-data-local
683
684install-dvi: install-dvi-recursive
685
686install-dvi-am:
687
688install-exec-am:
689
690install-html: install-html-recursive
691
692install-html-am:
693
694install-info: install-info-recursive
695
696install-info-am:
697
698install-man:
699
700install-pdf: install-pdf-recursive
701
702install-pdf-am:
703
704install-ps: install-ps-recursive
705
706install-ps-am:
707
708installcheck-am:
709
710maintainer-clean: maintainer-clean-recursive
711	-rm -f $(am__CONFIG_DISTCLEAN_FILES)
712	-rm -rf $(top_srcdir)/autom4te.cache
713	-rm -f Makefile
714maintainer-clean-am: distclean-am maintainer-clean-generic
715
716mostlyclean: mostlyclean-recursive
717
718mostlyclean-am: mostlyclean-generic mostlyclean-libtool
719
720pdf: pdf-recursive
721
722pdf-am:
723
724ps: ps-recursive
725
726ps-am:
727
728uninstall-am:
729
730.MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) ctags-recursive \
731	install-am install-strip tags-recursive
732
733.PHONY: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) CTAGS GTAGS \
734	all all-am am--refresh check check-am clean clean-generic \
735	clean-libtool ctags ctags-recursive dist dist-all dist-bzip2 \
736	dist-gzip dist-hook dist-lzma dist-shar dist-tarZ dist-xz \
737	dist-zip distcheck distclean distclean-generic \
738	distclean-libtool distclean-tags distcleancheck distdir \
739	distuninstallcheck dvi dvi-am html html-am info info-am \
740	install install-am install-data install-data-am \
741	install-data-local install-dvi install-dvi-am install-exec \
742	install-exec-am install-html install-html-am install-info \
743	install-info-am install-man install-pdf install-pdf-am \
744	install-ps install-ps-am install-strip installcheck \
745	installcheck-am installdirs installdirs-am maintainer-clean \
746	maintainer-clean-generic mostlyclean mostlyclean-generic \
747	mostlyclean-libtool pdf pdf-am ps ps-am tags tags-recursive \
748	uninstall uninstall-am
749
750
751@SET_MAKE@
752
753INSTALL: courier/doc/install.html
754	rm -f INSTALL
755	$(HTML2TXT) courier/doc/install.html >INSTALL
756
757NEWS: NEWS.html
758	$(HTML2TXT) NEWS.html >NEWS
759#
760# install-perms creates permissions.dat, listing all files and directories,
761# and their corresponding permissions.  This is used to build an RPM.
762#
763
764install-perms:
765	@$(MAKE) install-perms-recursive
766	@$(MAKE) install-perms-local
767
768install-perms-recursive:
769	@>permissions.dat
770	@SUBDIRS="$(SUBDIRS)" ; for f in $$SUBDIRS ; do ( cd $$f && $(MAKE) $(AM_MAKEFLAGS) install-perms ) ; cat /dev/null >>$$f/permissions.dat ; done
771	@SUBDIRS="$(SUBDIRS)" ; for f in $$SUBDIRS ; do  cat $$f/permissions.dat >>permissions.dat ; done
772
773install-perms-local:
774
775install-data-local:
776	cd courier && $(MAKE) -$(MAKEFLAGS) DESTDIR=$(DESTDIR) install-permissions
777	@cat webmail/sqwebmail.msg
778	@echo "Do not forget to run make install-configure"
779
780install-recursive: install-check-umask
781
782install-check-umask:
783	@test `umask | sed 's/^0*//'` = 22 && exit 0; \
784	test "$$INSTALL_IGNORE_UMASK" = 1 && exit 0; \
785	echo "ERROR: your umask MUST be 022."; \
786	echo "Change your umask to 022, then";\
787	echo "rerun (g)make install." ; exit 1
788
789all-recursive: all-make-check
790
791all-make-check:
792	$(MAKE) all-gmake-check FOO=BAR
793
794all-gmake-check:
795	@test "$(FOO)" = "BAR" && exit 0 ; echo "" ; \
796		echo "ERROR: Something's wrong.  If you're using xBSD, you must use gmake" ; \
797		echo "instead of make, as you were told by the INSTALL file (you did read the" ; \
798		echo "INSTALL file, did you?)" ; echo "" ; exit 1
799
800#
801# For maintainer's use only
802#
803
804dist-hook:
805	test -f $(srcdir)/rpm.release && cp $(srcdir)/rpm.release $(distdir) ; \
806		exit 0
807	$(MAKE) -$(MAKEFLAGS) courier.spec courier.lpspec
808	cp courier.spec courier.lpspec $(distdir)
809
810release: dist
811
812distrelease:
813	umask 022; $(MAKE) distcheck
814	$(MAKE) rpm
815	socksify cvs commit
816	socksify cvs tag -d courier-latest
817	socksify cvs tag courier-latest
818	$(MAKE)
819	$(MAKE)
820	rm -f INSTALL courier.spec courier.lpspec
821	$(MAKE) INSTALL courier.spec courier.lpspec
822	$(MAKE) dist
823
824rpm: rpm-build
825
826rpm-build:
827	$(MAKE) bump.rpm.release
828	$(MAKE) dist
829	$(MAKE) dorpm
830
831lpm: lpm-build
832
833lpm-build:
834	$(MAKE) bump.rpm.release
835	$(MAKE) dist
836	rm -rf lpm
837	mkdir lpm
838	lpbuild `test "@REPOSITORY@" == "" || echo --define "repository=1"` --srcbuild -o lpm @PACKAGE@-@VERSION@.tar.bz2
839
840publish: publish-@REPOSITORY@
841
842publish-dev:
843	$(MAKE) dopublish SUBDIR=dev
844
845publish-prod:
846	$(MAKE) dopublish SUBDIR=prod
847
848dopublish:
849	lpbuild --resign lpm/*
850	rm -rf lpmtmp
851	mkdir lpmtmp
852	ln lpm/* lpmtmp
853	rm -f lpmtmp/*debuginfo*
854	mv lpmtmp/*.src.lp repository-$(SUBDIR)/`lpm -q --distribution`/sources
855	mv lpmtmp/*.lp repository-$(SUBDIR)/`lpm -q --distribution`/packages
856	rm -rf lpmtmp
857	ls -t repository-$(SUBDIR)/`lpm -q --distribution`/sources | tail -n +6 | xargs -r -n 1 lpm --erase repository-$(SUBDIR)
858	lpm --sync repository-$(SUBDIR)
859	rsync -a -v --delete-after repository-$(SUBDIR)/`lpm -q --distribution`/. headache:lpmtool.com/www/repositories/$(SUBDIR)/courier/`lpm -q --distribution`
860
861dorpm:
862	rm -rf rpm/BUILD/*
863	rm -f rpm/RPMS/*/*
864	rm -f rpm/SOURCES/*
865	rm -f rpm/SPECS/*
866	rm -f rpm/SRPMS/*
867	rpmbuild -ta --clean \
868		--define "_topdir `pwd`/rpm" \
869		--define '_rpmdir %{_topdir}/RPMS' \
870		--define '_srcrpmdir %{_topdir}/SRPMS' \
871		--define '_sourcedir %{_topdir}/SOURCES' \
872		--define '_specdir %{_topdir}/SPECS' \
873		--define '_builddir %{_topdir}/BUILD' \
874		--define '_build_name_fmt %%{ARCH}/%%{NAME}-%%{VERSION}-%%{RELEASE}.%%{ARCH}.rpm' \
875		--define '_tmppath %{_var}/tmp' \
876		--define '__spec_prep_pre %{___build_pre}' \
877		$(RPMFLAGS) @PACKAGE@-@VERSION@.tar.bz2
878
879bump.rpm.release: courier.spec courier.lpspec
880	VERSION="x"; \
881	test -f $(srcdir)/rpm.release && . $(srcdir)/rpm.release; \
882	NEXT_RELEASE=0; \
883	test "$$VERSION" = "@VERSION@" && NEXT_RELEASE="$$RELEASE"; \
884	RELEASE=`expr $$NEXT_RELEASE + 1`; \
885	echo "VERSION=@VERSION@" >$(srcdir)/rpm.release; \
886	echo "RELEASE=$$RELEASE" >>$(srcdir)/rpm.release; \
887	sed 's/^Release: .*/Release: '$$RELEASE'%{?dist}%{courier_release}/' \
888		<courier.spec >courier.spec.new; \
889	mv courier.spec.new courier.spec; \
890	sed 's/^Release: .*/Release: '$$RELEASE'/' \
891		<courier.lpspec >courier.lpspec.new; \
892	mv courier.lpspec.new courier.lpspec
893
894install-configure:
895	@$(MAKE) install-perms
896	@SYSCONFTOOL@ `awk ' $$5 == "config" && $$1 ~ /\.dist$$/ { print $$1 }' <permissions.dat`
897
898install-webadmin-password:
899	@stty -echo ; echo -n "Password: " ; read P; stty echo ; echo "" ; echo $$P >@sysconfdir@/webadmin/password && chown @mailuser@ @sysconfdir@/webadmin/password && chgrp @mailgroup@ @sysconfdir@/webadmin/password && chmod 400 @sysconfdir@/webadmin/password
900
901upload-beta:
902	test -z "$(SFPASSWD)" && exit 1; exit 0
903	rm -f @PACKAGE@-@VERSION@.tar.bz2.sig; gpg --detach-sign --default-key mrsam@courier-mta.com @PACKAGE@-@VERSION@.tar.bz2; test -f @PACKAGE@-@VERSION@.tar.bz2.sig || exit 1
904	socksify ssh grace.speakeasy.net echo @PACKAGE@-@VERSION@.tar.bz2 `ls -l @PACKAGE@-@VERSION@.tar.bz2 | awk ' { print $$5 } '` \>courier-mta.org/@PACKAGE@.beta
905	../sftools/release.pl mrsam $(SFPASSWD) courier courier-devel `echo @VERSION@|sed 's/.*\(........\)/\1/'` @PACKAGE@-@VERSION@.tar.bz2 @PACKAGE@-@VERSION@.tar.bz2.sig
906
907upload-dist:
908	test -z "$(SFPASSWD)" && exit 1; exit 0
909	rm -f @PACKAGE@-@VERSION@.tar.bz2.sig; gpg --detach-sign --default-key mrsam@courier-mta.com @PACKAGE@-@VERSION@.tar.bz2; test -f @PACKAGE@-@VERSION@.tar.bz2.sig || exit 1
910	socksify cvs tag -F -r courier-latest \
911               `echo courier-@VERSION@ | tr '.' '-'`
912	socksify ../sftools/release.pl mrsam $(SFPASSWD) courier courier @VERSION@ @PACKAGE@-@VERSION@.tar.bz2 @PACKAGE@-@VERSION@.tar.bz2.sig
913	socksify ssh grace.speakeasy.net rm -f courier-mta.org/courier.beta
914
915# Tell versions [3.59,3.63) of GNU make to not export all variables.
916# Otherwise a system limit (for SysV at least) may be exceeded.
917.NOEXPORT:
918