masqmail

view Makefile.in @ 202:5cecc214afc9

added docs/howto-static-linking
author meillo@marmaro.de
date Fri, 16 Jul 2010 14:43:55 +0200
parents 89f951be358f
children 7b70bf4f1f42
line source
1 # Makefile.in generated by automake 1.11.1 from Makefile.am.
2 # @configure_input@
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.
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.
16 @SET_MAKE@
17 VPATH = @srcdir@
18 pkgdatadir = $(datadir)/@PACKAGE@
19 pkgincludedir = $(includedir)/@PACKAGE@
20 pkglibdir = $(libdir)/@PACKAGE@
21 pkglibexecdir = $(libexecdir)/@PACKAGE@
22 am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
23 install_sh_DATA = $(install_sh) -c -m 644
24 install_sh_PROGRAM = $(install_sh) -c
25 install_sh_SCRIPT = $(install_sh) -c
26 INSTALL_HEADER = $(INSTALL_DATA)
27 transform = $(program_transform_name)
28 NORMAL_INSTALL = :
29 PRE_INSTALL = :
30 POST_INSTALL = :
31 NORMAL_UNINSTALL = :
32 PRE_UNINSTALL = :
33 POST_UNINSTALL = :
34 subdir = .
35 DIST_COMMON = README $(am__configure_deps) $(srcdir)/Makefile.am \
36 $(srcdir)/Makefile.in $(srcdir)/config.h.in \
37 $(top_srcdir)/configure AUTHORS COPYING ChangeLog INSTALL NEWS \
38 THANKS TODO acconfig.h config.guess config.sub depcomp \
39 install-sh missing mkinstalldirs
40 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
41 am__aclocal_m4_deps = $(top_srcdir)/configure.ac
42 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
43 $(ACLOCAL_M4)
44 am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \
45 configure.lineno config.status.lineno
46 mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
47 CONFIG_HEADER = config.h
48 CONFIG_CLEAN_FILES =
49 CONFIG_CLEAN_VPATH_FILES =
50 SOURCES =
51 DIST_SOURCES =
52 RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \
53 html-recursive info-recursive install-data-recursive \
54 install-dvi-recursive install-exec-recursive \
55 install-html-recursive install-info-recursive \
56 install-pdf-recursive install-ps-recursive install-recursive \
57 installcheck-recursive installdirs-recursive pdf-recursive \
58 ps-recursive uninstall-recursive
59 RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \
60 distclean-recursive maintainer-clean-recursive
61 AM_RECURSIVE_TARGETS = $(RECURSIVE_TARGETS:-recursive=) \
62 $(RECURSIVE_CLEAN_TARGETS:-recursive=) tags TAGS ctags CTAGS \
63 distdir dist dist-all distcheck
64 ETAGS = etags
65 CTAGS = ctags
66 DIST_SUBDIRS = $(SUBDIRS)
67 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
68 distdir = $(PACKAGE)-$(VERSION)
69 top_distdir = $(distdir)
70 am__remove_distdir = \
71 { test ! -d "$(distdir)" \
72 || { find "$(distdir)" -type d ! -perm -200 -exec chmod u+w {} ';' \
73 && rm -fr "$(distdir)"; }; }
74 am__relativize = \
75 dir0=`pwd`; \
76 sed_first='s,^\([^/]*\)/.*$$,\1,'; \
77 sed_rest='s,^[^/]*/*,,'; \
78 sed_last='s,^.*/\([^/]*\)$$,\1,'; \
79 sed_butlast='s,/*[^/]*$$,,'; \
80 while test -n "$$dir1"; do \
81 first=`echo "$$dir1" | sed -e "$$sed_first"`; \
82 if test "$$first" != "."; then \
83 if test "$$first" = ".."; then \
84 dir2=`echo "$$dir0" | sed -e "$$sed_last"`/"$$dir2"; \
85 dir0=`echo "$$dir0" | sed -e "$$sed_butlast"`; \
86 else \
87 first2=`echo "$$dir2" | sed -e "$$sed_first"`; \
88 if test "$$first2" = "$$first"; then \
89 dir2=`echo "$$dir2" | sed -e "$$sed_rest"`; \
90 else \
91 dir2="../$$dir2"; \
92 fi; \
93 dir0="$$dir0"/"$$first"; \
94 fi; \
95 fi; \
96 dir1=`echo "$$dir1" | sed -e "$$sed_rest"`; \
97 done; \
98 reldir="$$dir2"
99 DIST_ARCHIVES = $(distdir).tar.gz
100 GZIP_ENV = --best
101 distuninstallcheck_listfiles = find . -type f -print
102 distcleancheck_listfiles = find . -type f -print
103 ACLOCAL = @ACLOCAL@
104 AMTAR = @AMTAR@
105 AUTOCONF = @AUTOCONF@
106 AUTOHEADER = @AUTOHEADER@
107 AUTOMAKE = @AUTOMAKE@
108 AWK = @AWK@
109 BASE64_LIBS = @BASE64_LIBS@
110 CC = @CC@
111 CCDEPMODE = @CCDEPMODE@
112 CFLAGS = @CFLAGS@
113 CPP = @CPP@
114 CPPFLAGS = @CPPFLAGS@
115 CYGPATH_W = @CYGPATH_W@
116 DEFS = @DEFS@
117 DEPDIR = @DEPDIR@
118 ECHO_C = @ECHO_C@
119 ECHO_N = @ECHO_N@
120 ECHO_T = @ECHO_T@
121 EGREP = @EGREP@
122 EXEEXT = @EXEEXT@
123 GLIB_CFLAGS = @GLIB_CFLAGS@
124 GLIB_LIBS = @GLIB_LIBS@
125 GREP = @GREP@
126 IDENT_LIBS = @IDENT_LIBS@
127 INSTALL = @INSTALL@
128 INSTALL_DATA = @INSTALL_DATA@
129 INSTALL_PROGRAM = @INSTALL_PROGRAM@
130 INSTALL_SCRIPT = @INSTALL_SCRIPT@
131 INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
132 LDFLAGS = @LDFLAGS@
133 LIBOBJS = @LIBOBJS@
134 LIBS = @LIBS@
135 LOCKFILE_LIBS = @LOCKFILE_LIBS@
136 LTLIBOBJS = @LTLIBOBJS@
137 MAKEINFO = @MAKEINFO@
138 MD5_LIBS = @MD5_LIBS@
139 MKDIR_P = @MKDIR_P@
140 OBJEXT = @OBJEXT@
141 PACKAGE = @PACKAGE@
142 PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
143 PACKAGE_NAME = @PACKAGE_NAME@
144 PACKAGE_STRING = @PACKAGE_STRING@
145 PACKAGE_TARNAME = @PACKAGE_TARNAME@
146 PACKAGE_URL = @PACKAGE_URL@
147 PACKAGE_VERSION = @PACKAGE_VERSION@
148 PATH_SEPARATOR = @PATH_SEPARATOR@
149 PKG_CONFIG = @PKG_CONFIG@
150 PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@
151 PKG_CONFIG_PATH = @PKG_CONFIG_PATH@
152 RANLIB = @RANLIB@
153 RESOLV_LIBS = @RESOLV_LIBS@
154 SET_MAKE = @SET_MAKE@
155 SHELL = @SHELL@
156 STRIP = @STRIP@
157 USE_LIBLOCKFILE = @USE_LIBLOCKFILE@
158 VERSION = @VERSION@
159 abs_builddir = @abs_builddir@
160 abs_srcdir = @abs_srcdir@
161 abs_top_builddir = @abs_top_builddir@
162 abs_top_srcdir = @abs_top_srcdir@
163 ac_ct_CC = @ac_ct_CC@
164 am__include = @am__include@
165 am__leading_dot = @am__leading_dot@
166 am__quote = @am__quote@
167 am__tar = @am__tar@
168 am__untar = @am__untar@
169 bindir = @bindir@
170 build_alias = @build_alias@
171 builddir = @builddir@
172 datadir = @datadir@
173 datarootdir = @datarootdir@
174 docdir = @docdir@
175 dvidir = @dvidir@
176 exec_prefix = @exec_prefix@
177 has_ident = @has_ident@
178 host_alias = @host_alias@
179 htmldir = @htmldir@
180 includedir = @includedir@
181 infodir = @infodir@
182 install_sh = @install_sh@
183 libdir = @libdir@
184 libexecdir = @libexecdir@
185 localedir = @localedir@
186 localstatedir = @localstatedir@
187 mandir = @mandir@
188 mkdir_p = @mkdir_p@
189 oldincludedir = @oldincludedir@
190 pdfdir = @pdfdir@
191 prefix = @prefix@
192 program_transform_name = @program_transform_name@
193 psdir = @psdir@
194 sbindir = @sbindir@
195 sharedstatedir = @sharedstatedir@
196 srcdir = @srcdir@
197 sysconfdir = @sysconfdir@
198 target_alias = @target_alias@
199 top_build_prefix = @top_build_prefix@
200 top_builddir = @top_builddir@
201 top_srcdir = @top_srcdir@
202 with_confdir = @with_confdir@
203 with_group = @with_group@
204 with_logdir = @with_logdir@
205 with_spooldir = @with_spooldir@
206 with_user = @with_user@
207 EXTRA_DIST = examples docs man tpl misc
208 SUBDIRS = src man
209 all: config.h
210 $(MAKE) $(AM_MAKEFLAGS) all-recursive
212 .SUFFIXES:
213 am--refresh:
214 @:
215 $(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps)
216 @for dep in $?; do \
217 case '$(am__configure_deps)' in \
218 *$$dep*) \
219 echo ' cd $(srcdir) && $(AUTOMAKE) --gnu'; \
220 $(am__cd) $(srcdir) && $(AUTOMAKE) --gnu \
221 && exit 0; \
222 exit 1;; \
223 esac; \
224 done; \
225 echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu Makefile'; \
226 $(am__cd) $(top_srcdir) && \
227 $(AUTOMAKE) --gnu Makefile
228 .PRECIOUS: Makefile
229 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
230 @case '$?' in \
231 *config.status*) \
232 echo ' $(SHELL) ./config.status'; \
233 $(SHELL) ./config.status;; \
234 *) \
235 echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe)'; \
236 cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe);; \
237 esac;
239 $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
240 $(SHELL) ./config.status --recheck
242 $(top_srcdir)/configure: $(am__configure_deps)
243 $(am__cd) $(srcdir) && $(AUTOCONF)
244 $(ACLOCAL_M4): $(am__aclocal_m4_deps)
245 $(am__cd) $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
246 $(am__aclocal_m4_deps):
248 config.h: stamp-h1
249 @if test ! -f $@; then \
250 rm -f stamp-h1; \
251 $(MAKE) $(AM_MAKEFLAGS) stamp-h1; \
252 else :; fi
254 stamp-h1: $(srcdir)/config.h.in $(top_builddir)/config.status
255 @rm -f stamp-h1
256 cd $(top_builddir) && $(SHELL) ./config.status config.h
257 $(srcdir)/config.h.in: $(am__configure_deps) $(top_srcdir)/acconfig.h
258 ($(am__cd) $(top_srcdir) && $(AUTOHEADER))
259 rm -f stamp-h1
260 touch $@
262 distclean-hdr:
263 -rm -f config.h stamp-h1
265 # This directory's subdirectories are mostly independent; you can cd
266 # into them and run `make' without going through this Makefile.
267 # To change the values of `make' variables: instead of editing Makefiles,
268 # (1) if the variable is set in `config.status', edit `config.status'
269 # (which will cause the Makefiles to be regenerated when you run `make');
270 # (2) otherwise, pass the desired values on the `make' command line.
271 $(RECURSIVE_TARGETS):
272 @fail= failcom='exit 1'; \
273 for f in x $$MAKEFLAGS; do \
274 case $$f in \
275 *=* | --[!k]*);; \
276 *k*) failcom='fail=yes';; \
277 esac; \
278 done; \
279 dot_seen=no; \
280 target=`echo $@ | sed s/-recursive//`; \
281 list='$(SUBDIRS)'; for subdir in $$list; do \
282 echo "Making $$target in $$subdir"; \
283 if test "$$subdir" = "."; then \
284 dot_seen=yes; \
285 local_target="$$target-am"; \
286 else \
287 local_target="$$target"; \
288 fi; \
289 ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
290 || eval $$failcom; \
291 done; \
292 if test "$$dot_seen" = "no"; then \
293 $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
294 fi; test -z "$$fail"
296 $(RECURSIVE_CLEAN_TARGETS):
297 @fail= failcom='exit 1'; \
298 for f in x $$MAKEFLAGS; do \
299 case $$f in \
300 *=* | --[!k]*);; \
301 *k*) failcom='fail=yes';; \
302 esac; \
303 done; \
304 dot_seen=no; \
305 case "$@" in \
306 distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
307 *) list='$(SUBDIRS)' ;; \
308 esac; \
309 rev=''; for subdir in $$list; do \
310 if test "$$subdir" = "."; then :; else \
311 rev="$$subdir $$rev"; \
312 fi; \
313 done; \
314 rev="$$rev ."; \
315 target=`echo $@ | sed s/-recursive//`; \
316 for subdir in $$rev; do \
317 echo "Making $$target in $$subdir"; \
318 if test "$$subdir" = "."; then \
319 local_target="$$target-am"; \
320 else \
321 local_target="$$target"; \
322 fi; \
323 ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
324 || eval $$failcom; \
325 done && test -z "$$fail"
326 tags-recursive:
327 list='$(SUBDIRS)'; for subdir in $$list; do \
328 test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
329 done
330 ctags-recursive:
331 list='$(SUBDIRS)'; for subdir in $$list; do \
332 test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
333 done
335 ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
336 list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
337 unique=`for i in $$list; do \
338 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
339 done | \
340 $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
341 END { if (nonempty) { for (i in files) print i; }; }'`; \
342 mkid -fID $$unique
343 tags: TAGS
345 TAGS: tags-recursive $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \
346 $(TAGS_FILES) $(LISP)
347 set x; \
348 here=`pwd`; \
349 if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \
350 include_option=--etags-include; \
351 empty_fix=.; \
352 else \
353 include_option=--include; \
354 empty_fix=; \
355 fi; \
356 list='$(SUBDIRS)'; for subdir in $$list; do \
357 if test "$$subdir" = .; then :; else \
358 test ! -f $$subdir/TAGS || \
359 set "$$@" "$$include_option=$$here/$$subdir/TAGS"; \
360 fi; \
361 done; \
362 list='$(SOURCES) $(HEADERS) config.h.in $(LISP) $(TAGS_FILES)'; \
363 unique=`for i in $$list; do \
364 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
365 done | \
366 $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
367 END { if (nonempty) { for (i in files) print i; }; }'`; \
368 shift; \
369 if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
370 test -n "$$unique" || unique=$$empty_fix; \
371 if test $$# -gt 0; then \
372 $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
373 "$$@" $$unique; \
374 else \
375 $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
376 $$unique; \
377 fi; \
378 fi
379 ctags: CTAGS
380 CTAGS: ctags-recursive $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \
381 $(TAGS_FILES) $(LISP)
382 list='$(SOURCES) $(HEADERS) config.h.in $(LISP) $(TAGS_FILES)'; \
383 unique=`for i in $$list; do \
384 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
385 done | \
386 $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
387 END { if (nonempty) { for (i in files) print i; }; }'`; \
388 test -z "$(CTAGS_ARGS)$$unique" \
389 || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
390 $$unique
392 GTAGS:
393 here=`$(am__cd) $(top_builddir) && pwd` \
394 && $(am__cd) $(top_srcdir) \
395 && gtags -i $(GTAGS_ARGS) "$$here"
397 distclean-tags:
398 -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
400 distdir: $(DISTFILES)
401 $(am__remove_distdir)
402 test -d "$(distdir)" || mkdir "$(distdir)"
403 @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
404 topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
405 list='$(DISTFILES)'; \
406 dist_files=`for file in $$list; do echo $$file; done | \
407 sed -e "s|^$$srcdirstrip/||;t" \
408 -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
409 case $$dist_files in \
410 */*) $(MKDIR_P) `echo "$$dist_files" | \
411 sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
412 sort -u` ;; \
413 esac; \
414 for file in $$dist_files; do \
415 if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
416 if test -d $$d/$$file; then \
417 dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
418 if test -d "$(distdir)/$$file"; then \
419 find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
420 fi; \
421 if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
422 cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
423 find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
424 fi; \
425 cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
426 else \
427 test -f "$(distdir)/$$file" \
428 || cp -p $$d/$$file "$(distdir)/$$file" \
429 || exit 1; \
430 fi; \
431 done
432 @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
433 if test "$$subdir" = .; then :; else \
434 test -d "$(distdir)/$$subdir" \
435 || $(MKDIR_P) "$(distdir)/$$subdir" \
436 || exit 1; \
437 fi; \
438 done
439 @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
440 if test "$$subdir" = .; then :; else \
441 dir1=$$subdir; dir2="$(distdir)/$$subdir"; \
442 $(am__relativize); \
443 new_distdir=$$reldir; \
444 dir1=$$subdir; dir2="$(top_distdir)"; \
445 $(am__relativize); \
446 new_top_distdir=$$reldir; \
447 echo " (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir="$$new_top_distdir" distdir="$$new_distdir" \\"; \
448 echo " am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)"; \
449 ($(am__cd) $$subdir && \
450 $(MAKE) $(AM_MAKEFLAGS) \
451 top_distdir="$$new_top_distdir" \
452 distdir="$$new_distdir" \
453 am__remove_distdir=: \
454 am__skip_length_check=: \
455 am__skip_mode_fix=: \
456 distdir) \
457 || exit 1; \
458 fi; \
459 done
460 -test -n "$(am__skip_mode_fix)" \
461 || find "$(distdir)" -type d ! -perm -755 \
462 -exec chmod u+rwx,go+rx {} \; -o \
463 ! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \
464 ! -type d ! -perm -400 -exec chmod a+r {} \; -o \
465 ! -type d ! -perm -444 -exec $(install_sh) -c -m a+r {} {} \; \
466 || chmod -R a+r "$(distdir)"
467 dist-gzip: distdir
468 tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
469 $(am__remove_distdir)
471 dist-bzip2: distdir
472 tardir=$(distdir) && $(am__tar) | bzip2 -9 -c >$(distdir).tar.bz2
473 $(am__remove_distdir)
475 dist-lzma: distdir
476 tardir=$(distdir) && $(am__tar) | lzma -9 -c >$(distdir).tar.lzma
477 $(am__remove_distdir)
479 dist-xz: distdir
480 tardir=$(distdir) && $(am__tar) | xz -c >$(distdir).tar.xz
481 $(am__remove_distdir)
483 dist-tarZ: distdir
484 tardir=$(distdir) && $(am__tar) | compress -c >$(distdir).tar.Z
485 $(am__remove_distdir)
487 dist-shar: distdir
488 shar $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).shar.gz
489 $(am__remove_distdir)
491 dist-zip: distdir
492 -rm -f $(distdir).zip
493 zip -rq $(distdir).zip $(distdir)
494 $(am__remove_distdir)
496 dist dist-all: distdir
497 tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
498 $(am__remove_distdir)
500 # This target untars the dist file and tries a VPATH configuration. Then
501 # it guarantees that the distribution is self-contained by making another
502 # tarfile.
503 distcheck: dist
504 case '$(DIST_ARCHIVES)' in \
505 *.tar.gz*) \
506 GZIP=$(GZIP_ENV) gzip -dc $(distdir).tar.gz | $(am__untar) ;;\
507 *.tar.bz2*) \
508 bzip2 -dc $(distdir).tar.bz2 | $(am__untar) ;;\
509 *.tar.lzma*) \
510 lzma -dc $(distdir).tar.lzma | $(am__untar) ;;\
511 *.tar.xz*) \
512 xz -dc $(distdir).tar.xz | $(am__untar) ;;\
513 *.tar.Z*) \
514 uncompress -c $(distdir).tar.Z | $(am__untar) ;;\
515 *.shar.gz*) \
516 GZIP=$(GZIP_ENV) gzip -dc $(distdir).shar.gz | unshar ;;\
517 *.zip*) \
518 unzip $(distdir).zip ;;\
519 esac
520 chmod -R a-w $(distdir); chmod a+w $(distdir)
521 mkdir $(distdir)/_build
522 mkdir $(distdir)/_inst
523 chmod a-w $(distdir)
524 test -d $(distdir)/_build || exit 0; \
525 dc_install_base=`$(am__cd) $(distdir)/_inst && pwd | sed -e 's,^[^:\\/]:[\\/],/,'` \
526 && dc_destdir="$${TMPDIR-/tmp}/am-dc-$$$$/" \
527 && am__cwd=`pwd` \
528 && $(am__cd) $(distdir)/_build \
529 && ../configure --srcdir=.. --prefix="$$dc_install_base" \
530 $(DISTCHECK_CONFIGURE_FLAGS) \
531 && $(MAKE) $(AM_MAKEFLAGS) \
532 && $(MAKE) $(AM_MAKEFLAGS) dvi \
533 && $(MAKE) $(AM_MAKEFLAGS) check \
534 && $(MAKE) $(AM_MAKEFLAGS) install \
535 && $(MAKE) $(AM_MAKEFLAGS) installcheck \
536 && $(MAKE) $(AM_MAKEFLAGS) uninstall \
537 && $(MAKE) $(AM_MAKEFLAGS) distuninstallcheck_dir="$$dc_install_base" \
538 distuninstallcheck \
539 && chmod -R a-w "$$dc_install_base" \
540 && ({ \
541 (cd ../.. && umask 077 && mkdir "$$dc_destdir") \
542 && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" install \
543 && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" uninstall \
544 && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" \
545 distuninstallcheck_dir="$$dc_destdir" distuninstallcheck; \
546 } || { rm -rf "$$dc_destdir"; exit 1; }) \
547 && rm -rf "$$dc_destdir" \
548 && $(MAKE) $(AM_MAKEFLAGS) dist \
549 && rm -rf $(DIST_ARCHIVES) \
550 && $(MAKE) $(AM_MAKEFLAGS) distcleancheck \
551 && cd "$$am__cwd" \
552 || exit 1
553 $(am__remove_distdir)
554 @(echo "$(distdir) archives ready for distribution: "; \
555 list='$(DIST_ARCHIVES)'; for i in $$list; do echo $$i; done) | \
556 sed -e 1h -e 1s/./=/g -e 1p -e 1x -e '$$p' -e '$$x'
557 distuninstallcheck:
558 @$(am__cd) '$(distuninstallcheck_dir)' \
559 && test `$(distuninstallcheck_listfiles) | wc -l` -le 1 \
560 || { echo "ERROR: files left after uninstall:" ; \
561 if test -n "$(DESTDIR)"; then \
562 echo " (check DESTDIR support)"; \
563 fi ; \
564 $(distuninstallcheck_listfiles) ; \
565 exit 1; } >&2
566 distcleancheck: distclean
567 @if test '$(srcdir)' = . ; then \
568 echo "ERROR: distcleancheck can only run from a VPATH build" ; \
569 exit 1 ; \
570 fi
571 @test `$(distcleancheck_listfiles) | wc -l` -eq 0 \
572 || { echo "ERROR: files left in build directory after distclean:" ; \
573 $(distcleancheck_listfiles) ; \
574 exit 1; } >&2
575 check-am: all-am
576 check: check-recursive
577 all-am: Makefile config.h
578 installdirs: installdirs-recursive
579 installdirs-am:
580 install: install-recursive
581 install-exec: install-exec-recursive
582 install-data: install-data-recursive
583 uninstall: uninstall-recursive
585 install-am: all-am
586 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
588 installcheck: installcheck-recursive
589 install-strip:
590 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
591 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
592 `test -z '$(STRIP)' || \
593 echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
594 mostlyclean-generic:
596 clean-generic:
598 distclean-generic:
599 -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
600 -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
602 maintainer-clean-generic:
603 @echo "This command is intended for maintainers to use"
604 @echo "it deletes files that may require special tools to rebuild."
605 clean: clean-recursive
607 clean-am: clean-generic mostlyclean-am
609 distclean: distclean-recursive
610 -rm -f $(am__CONFIG_DISTCLEAN_FILES)
611 -rm -f Makefile
612 distclean-am: clean-am distclean-generic distclean-hdr distclean-tags
614 dvi: dvi-recursive
616 dvi-am:
618 html: html-recursive
620 html-am:
622 info: info-recursive
624 info-am:
626 install-data-am: install-data-local
628 install-dvi: install-dvi-recursive
630 install-dvi-am:
632 install-exec-am:
634 install-html: install-html-recursive
636 install-html-am:
638 install-info: install-info-recursive
640 install-info-am:
642 install-man:
644 install-pdf: install-pdf-recursive
646 install-pdf-am:
648 install-ps: install-ps-recursive
650 install-ps-am:
652 installcheck-am:
654 maintainer-clean: maintainer-clean-recursive
655 -rm -f $(am__CONFIG_DISTCLEAN_FILES)
656 -rm -rf $(top_srcdir)/autom4te.cache
657 -rm -f Makefile
658 maintainer-clean-am: distclean-am maintainer-clean-generic
660 mostlyclean: mostlyclean-recursive
662 mostlyclean-am: mostlyclean-generic
664 pdf: pdf-recursive
666 pdf-am:
668 ps: ps-recursive
670 ps-am:
672 uninstall-am: uninstall-local
674 .MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) all \
675 ctags-recursive install-am install-strip tags-recursive
677 .PHONY: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) CTAGS GTAGS \
678 all all-am am--refresh check check-am clean clean-generic \
679 ctags ctags-recursive dist dist-all dist-bzip2 dist-gzip \
680 dist-lzma dist-shar dist-tarZ dist-xz dist-zip distcheck \
681 distclean distclean-generic distclean-hdr distclean-tags \
682 distcleancheck distdir distuninstallcheck dvi dvi-am html \
683 html-am info info-am install install-am install-data \
684 install-data-am install-data-local install-dvi install-dvi-am \
685 install-exec install-exec-am install-html install-html-am \
686 install-info install-info-am install-man install-pdf \
687 install-pdf-am install-ps install-ps-am install-strip \
688 installcheck installcheck-am installdirs installdirs-am \
689 maintainer-clean maintainer-clean-generic mostlyclean \
690 mostlyclean-generic pdf pdf-am ps ps-am tags tags-recursive \
691 uninstall uninstall-am uninstall-local
694 install-data-local: log_dir spool_dir uid_bit conf_dir tpl_dir run_dir doc_dir rmail
696 uninstall-local: rm-rmail rm-doc_dir rm-tpl_dir rm-conf_dir rm-run_dir rm-spool_dir rm-log_dir
698 conf_dir:
699 install -d $(DESTDIR)@with_confdir@
701 rm-conf_dir:
702 rmdir $(DESTDIR)@with_confdir@ # removes only if empty
704 tpl_dir:
705 install -d $(DESTDIR)@datadir@/masqmail/tpl
706 cp tpl/* $(DESTDIR)@datadir@/masqmail/tpl
707 chmod 644 $(DESTDIR)@datadir@/masqmail/tpl/*
709 rm-tpl_dir:
710 rm -rf $(DESTDIR)@datadir@/masqmail/
712 doc_dir:
713 install -d $(DESTDIR)@docdir@
714 cp -r docs $(DESTDIR)@docdir@
715 cp -r examples $(DESTDIR)@docdir@
716 cp ChangeLog NEWS AUTHORS COPYING README TODO $(DESTDIR)@docdir@
718 rm-doc_dir:
719 cd $(DESTDIR)@docdir@ && ( \
720 rm -rf docs examples ; \
721 rm -f ChangeLog NEWS AUTHORS COPYING README TODO ; \
722 )
723 rmdir $(DESTDIR)@docdir@
725 run_dir:
726 install -d -o @with_user@ -g @with_group@ $(DESTDIR)/var/run/masqmail
728 rm-run_dir:
729 rm -rf $(DESTDIR)/var/run/masqmail
731 log_dir:
732 install -d -o @with_user@ -g @with_group@ $(DESTDIR)@with_logdir@
734 rm-log_dir:
735 rmdir $(DESTDIR)@with_logdir@ # removes only if empty
737 spool_dir:
738 install -d -o @with_user@ -g @with_group@ $(DESTDIR)@with_spooldir@
739 install -d -o @with_user@ -g @with_group@ $(DESTDIR)@with_spooldir@/lock
740 install -d -o @with_user@ -g @with_group@ $(DESTDIR)@with_spooldir@/input
742 rm-spool_dir:
743 : # removal fails if the dirs are non-empty
744 : # this prevents losing spooled files
745 rmdir $(DESTDIR)@with_spooldir@/lock
746 rmdir $(DESTDIR)@with_spooldir@/input
747 rmdir $(DESTDIR)@with_spooldir@
749 rmail:
750 [ -d "$(DESTDIR)@prefix@/sbin" ] || mkdir -p "$(DESTDIR)@prefix@/sbin"
751 sed '/^SENDMAIL/s,/usr/sbin/sendmail,$(DESTDIR)@prefix@/sbin/masqmail,'\
752 contrib/rmail >$(DESTDIR)@prefix@/sbin/rmail
753 chmod 755 $(DESTDIR)@prefix@/sbin/rmail
755 rm-rmail:
756 rm -f $(DESTDIR)@prefix@/sbin/rmail
758 uid_bit: $(DESTDIR)@prefix@/sbin/masqmail
759 chmod u+s $(DESTDIR)@prefix@/sbin/masqmail
761 # Tell versions [3.59,3.63) of GNU make to not export all variables.
762 # Otherwise a system limit (for SysV at least) may be exceeded.
763 .NOEXPORT: