masqmail
view Makefile.in @ 390:68ae9182059c
Refactoring and code layouting.
author | markus schnalke <meillo@marmaro.de> |
---|---|
date | Sat, 18 Feb 2012 13:50:02 +0100 |
parents | d364fea755b4 |
children | d209b4846f2b |
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 INSTALL = @INSTALL@
127 INSTALL_DATA = @INSTALL_DATA@
128 INSTALL_PROGRAM = @INSTALL_PROGRAM@
129 INSTALL_SCRIPT = @INSTALL_SCRIPT@
130 INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
131 LDFLAGS = @LDFLAGS@
132 LIBOBJS = @LIBOBJS@
133 LIBS = @LIBS@
134 LOCKFILE_LIBS = @LOCKFILE_LIBS@
135 LTLIBOBJS = @LTLIBOBJS@
136 MAKEINFO = @MAKEINFO@
137 MD5_LIBS = @MD5_LIBS@
138 MKDIR_P = @MKDIR_P@
139 OBJEXT = @OBJEXT@
140 PACKAGE = @PACKAGE@
141 PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
142 PACKAGE_NAME = @PACKAGE_NAME@
143 PACKAGE_STRING = @PACKAGE_STRING@
144 PACKAGE_TARNAME = @PACKAGE_TARNAME@
145 PACKAGE_URL = @PACKAGE_URL@
146 PACKAGE_VERSION = @PACKAGE_VERSION@
147 PATH_SEPARATOR = @PATH_SEPARATOR@
148 PKG_CONFIG = @PKG_CONFIG@
149 PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@
150 PKG_CONFIG_PATH = @PKG_CONFIG_PATH@
151 RANLIB = @RANLIB@
152 RESOLV_LIBS = @RESOLV_LIBS@
153 SET_MAKE = @SET_MAKE@
154 SHELL = @SHELL@
155 STRIP = @STRIP@
156 USE_LIBLOCKFILE = @USE_LIBLOCKFILE@
157 VERSION = @VERSION@
158 abs_builddir = @abs_builddir@
159 abs_srcdir = @abs_srcdir@
160 abs_top_builddir = @abs_top_builddir@
161 abs_top_srcdir = @abs_top_srcdir@
162 ac_ct_CC = @ac_ct_CC@
163 am__include = @am__include@
164 am__leading_dot = @am__leading_dot@
165 am__quote = @am__quote@
166 am__tar = @am__tar@
167 am__untar = @am__untar@
168 bindir = @bindir@
169 build_alias = @build_alias@
170 builddir = @builddir@
171 datadir = @datadir@
172 datarootdir = @datarootdir@
173 docdir = @docdir@
174 dvidir = @dvidir@
175 exec_prefix = @exec_prefix@
176 host_alias = @host_alias@
177 htmldir = @htmldir@
178 includedir = @includedir@
179 infodir = @infodir@
180 install_sh = @install_sh@
181 libdir = @libdir@
182 libexecdir = @libexecdir@
183 localedir = @localedir@
184 localstatedir = @localstatedir@
185 mandir = @mandir@
186 mkdir_p = @mkdir_p@
187 oldincludedir = @oldincludedir@
188 pdfdir = @pdfdir@
189 prefix = @prefix@
190 program_transform_name = @program_transform_name@
191 psdir = @psdir@
192 sbindir = @sbindir@
193 sharedstatedir = @sharedstatedir@
194 srcdir = @srcdir@
195 sysconfdir = @sysconfdir@
196 target_alias = @target_alias@
197 top_build_prefix = @top_build_prefix@
198 top_builddir = @top_builddir@
199 top_srcdir = @top_srcdir@
200 with_confdir = @with_confdir@
201 with_group = @with_group@
202 with_logdir = @with_logdir@
203 with_spooldir = @with_spooldir@
204 with_user = @with_user@
205 EXTRA_DIST = examples docs man tpl devel
206 SUBDIRS = src man
207 all: config.h
208 $(MAKE) $(AM_MAKEFLAGS) all-recursive
210 .SUFFIXES:
211 am--refresh:
212 @:
213 $(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps)
214 @for dep in $?; do \
215 case '$(am__configure_deps)' in \
216 *$$dep*) \
217 echo ' cd $(srcdir) && $(AUTOMAKE) --gnu'; \
218 $(am__cd) $(srcdir) && $(AUTOMAKE) --gnu \
219 && exit 0; \
220 exit 1;; \
221 esac; \
222 done; \
223 echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu Makefile'; \
224 $(am__cd) $(top_srcdir) && \
225 $(AUTOMAKE) --gnu Makefile
226 .PRECIOUS: Makefile
227 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
228 @case '$?' in \
229 *config.status*) \
230 echo ' $(SHELL) ./config.status'; \
231 $(SHELL) ./config.status;; \
232 *) \
233 echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe)'; \
234 cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe);; \
235 esac;
237 $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
238 $(SHELL) ./config.status --recheck
240 $(top_srcdir)/configure: $(am__configure_deps)
241 $(am__cd) $(srcdir) && $(AUTOCONF)
242 $(ACLOCAL_M4): $(am__aclocal_m4_deps)
243 $(am__cd) $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
244 $(am__aclocal_m4_deps):
246 config.h: stamp-h1
247 @if test ! -f $@; then \
248 rm -f stamp-h1; \
249 $(MAKE) $(AM_MAKEFLAGS) stamp-h1; \
250 else :; fi
252 stamp-h1: $(srcdir)/config.h.in $(top_builddir)/config.status
253 @rm -f stamp-h1
254 cd $(top_builddir) && $(SHELL) ./config.status config.h
255 $(srcdir)/config.h.in: $(am__configure_deps) $(top_srcdir)/acconfig.h
256 ($(am__cd) $(top_srcdir) && $(AUTOHEADER))
257 rm -f stamp-h1
258 touch $@
260 distclean-hdr:
261 -rm -f config.h stamp-h1
263 # This directory's subdirectories are mostly independent; you can cd
264 # into them and run `make' without going through this Makefile.
265 # To change the values of `make' variables: instead of editing Makefiles,
266 # (1) if the variable is set in `config.status', edit `config.status'
267 # (which will cause the Makefiles to be regenerated when you run `make');
268 # (2) otherwise, pass the desired values on the `make' command line.
269 $(RECURSIVE_TARGETS):
270 @fail= failcom='exit 1'; \
271 for f in x $$MAKEFLAGS; do \
272 case $$f in \
273 *=* | --[!k]*);; \
274 *k*) failcom='fail=yes';; \
275 esac; \
276 done; \
277 dot_seen=no; \
278 target=`echo $@ | sed s/-recursive//`; \
279 list='$(SUBDIRS)'; for subdir in $$list; do \
280 echo "Making $$target in $$subdir"; \
281 if test "$$subdir" = "."; then \
282 dot_seen=yes; \
283 local_target="$$target-am"; \
284 else \
285 local_target="$$target"; \
286 fi; \
287 ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
288 || eval $$failcom; \
289 done; \
290 if test "$$dot_seen" = "no"; then \
291 $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
292 fi; test -z "$$fail"
294 $(RECURSIVE_CLEAN_TARGETS):
295 @fail= failcom='exit 1'; \
296 for f in x $$MAKEFLAGS; do \
297 case $$f in \
298 *=* | --[!k]*);; \
299 *k*) failcom='fail=yes';; \
300 esac; \
301 done; \
302 dot_seen=no; \
303 case "$@" in \
304 distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
305 *) list='$(SUBDIRS)' ;; \
306 esac; \
307 rev=''; for subdir in $$list; do \
308 if test "$$subdir" = "."; then :; else \
309 rev="$$subdir $$rev"; \
310 fi; \
311 done; \
312 rev="$$rev ."; \
313 target=`echo $@ | sed s/-recursive//`; \
314 for subdir in $$rev; do \
315 echo "Making $$target in $$subdir"; \
316 if test "$$subdir" = "."; then \
317 local_target="$$target-am"; \
318 else \
319 local_target="$$target"; \
320 fi; \
321 ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
322 || eval $$failcom; \
323 done && test -z "$$fail"
324 tags-recursive:
325 list='$(SUBDIRS)'; for subdir in $$list; do \
326 test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
327 done
328 ctags-recursive:
329 list='$(SUBDIRS)'; for subdir in $$list; do \
330 test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
331 done
333 ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
334 list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
335 unique=`for i in $$list; do \
336 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
337 done | \
338 $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
339 END { if (nonempty) { for (i in files) print i; }; }'`; \
340 mkid -fID $$unique
341 tags: TAGS
343 TAGS: tags-recursive $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \
344 $(TAGS_FILES) $(LISP)
345 set x; \
346 here=`pwd`; \
347 if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \
348 include_option=--etags-include; \
349 empty_fix=.; \
350 else \
351 include_option=--include; \
352 empty_fix=; \
353 fi; \
354 list='$(SUBDIRS)'; for subdir in $$list; do \
355 if test "$$subdir" = .; then :; else \
356 test ! -f $$subdir/TAGS || \
357 set "$$@" "$$include_option=$$here/$$subdir/TAGS"; \
358 fi; \
359 done; \
360 list='$(SOURCES) $(HEADERS) config.h.in $(LISP) $(TAGS_FILES)'; \
361 unique=`for i in $$list; do \
362 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
363 done | \
364 $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
365 END { if (nonempty) { for (i in files) print i; }; }'`; \
366 shift; \
367 if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
368 test -n "$$unique" || unique=$$empty_fix; \
369 if test $$# -gt 0; then \
370 $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
371 "$$@" $$unique; \
372 else \
373 $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
374 $$unique; \
375 fi; \
376 fi
377 ctags: CTAGS
378 CTAGS: ctags-recursive $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \
379 $(TAGS_FILES) $(LISP)
380 list='$(SOURCES) $(HEADERS) config.h.in $(LISP) $(TAGS_FILES)'; \
381 unique=`for i in $$list; do \
382 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
383 done | \
384 $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
385 END { if (nonempty) { for (i in files) print i; }; }'`; \
386 test -z "$(CTAGS_ARGS)$$unique" \
387 || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
388 $$unique
390 GTAGS:
391 here=`$(am__cd) $(top_builddir) && pwd` \
392 && $(am__cd) $(top_srcdir) \
393 && gtags -i $(GTAGS_ARGS) "$$here"
395 distclean-tags:
396 -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
398 distdir: $(DISTFILES)
399 $(am__remove_distdir)
400 test -d "$(distdir)" || mkdir "$(distdir)"
401 @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
402 topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
403 list='$(DISTFILES)'; \
404 dist_files=`for file in $$list; do echo $$file; done | \
405 sed -e "s|^$$srcdirstrip/||;t" \
406 -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
407 case $$dist_files in \
408 */*) $(MKDIR_P) `echo "$$dist_files" | \
409 sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
410 sort -u` ;; \
411 esac; \
412 for file in $$dist_files; do \
413 if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
414 if test -d $$d/$$file; then \
415 dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
416 if test -d "$(distdir)/$$file"; then \
417 find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
418 fi; \
419 if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
420 cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
421 find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
422 fi; \
423 cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
424 else \
425 test -f "$(distdir)/$$file" \
426 || cp -p $$d/$$file "$(distdir)/$$file" \
427 || exit 1; \
428 fi; \
429 done
430 @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
431 if test "$$subdir" = .; then :; else \
432 test -d "$(distdir)/$$subdir" \
433 || $(MKDIR_P) "$(distdir)/$$subdir" \
434 || exit 1; \
435 fi; \
436 done
437 @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
438 if test "$$subdir" = .; then :; else \
439 dir1=$$subdir; dir2="$(distdir)/$$subdir"; \
440 $(am__relativize); \
441 new_distdir=$$reldir; \
442 dir1=$$subdir; dir2="$(top_distdir)"; \
443 $(am__relativize); \
444 new_top_distdir=$$reldir; \
445 echo " (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir="$$new_top_distdir" distdir="$$new_distdir" \\"; \
446 echo " am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)"; \
447 ($(am__cd) $$subdir && \
448 $(MAKE) $(AM_MAKEFLAGS) \
449 top_distdir="$$new_top_distdir" \
450 distdir="$$new_distdir" \
451 am__remove_distdir=: \
452 am__skip_length_check=: \
453 am__skip_mode_fix=: \
454 distdir) \
455 || exit 1; \
456 fi; \
457 done
458 -test -n "$(am__skip_mode_fix)" \
459 || find "$(distdir)" -type d ! -perm -755 \
460 -exec chmod u+rwx,go+rx {} \; -o \
461 ! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \
462 ! -type d ! -perm -400 -exec chmod a+r {} \; -o \
463 ! -type d ! -perm -444 -exec $(install_sh) -c -m a+r {} {} \; \
464 || chmod -R a+r "$(distdir)"
465 dist-gzip: distdir
466 tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
467 $(am__remove_distdir)
469 dist-bzip2: distdir
470 tardir=$(distdir) && $(am__tar) | bzip2 -9 -c >$(distdir).tar.bz2
471 $(am__remove_distdir)
473 dist-lzma: distdir
474 tardir=$(distdir) && $(am__tar) | lzma -9 -c >$(distdir).tar.lzma
475 $(am__remove_distdir)
477 dist-xz: distdir
478 tardir=$(distdir) && $(am__tar) | xz -c >$(distdir).tar.xz
479 $(am__remove_distdir)
481 dist-tarZ: distdir
482 tardir=$(distdir) && $(am__tar) | compress -c >$(distdir).tar.Z
483 $(am__remove_distdir)
485 dist-shar: distdir
486 shar $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).shar.gz
487 $(am__remove_distdir)
489 dist-zip: distdir
490 -rm -f $(distdir).zip
491 zip -rq $(distdir).zip $(distdir)
492 $(am__remove_distdir)
494 dist dist-all: distdir
495 tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
496 $(am__remove_distdir)
498 # This target untars the dist file and tries a VPATH configuration. Then
499 # it guarantees that the distribution is self-contained by making another
500 # tarfile.
501 distcheck: dist
502 case '$(DIST_ARCHIVES)' in \
503 *.tar.gz*) \
504 GZIP=$(GZIP_ENV) gzip -dc $(distdir).tar.gz | $(am__untar) ;;\
505 *.tar.bz2*) \
506 bzip2 -dc $(distdir).tar.bz2 | $(am__untar) ;;\
507 *.tar.lzma*) \
508 lzma -dc $(distdir).tar.lzma | $(am__untar) ;;\
509 *.tar.xz*) \
510 xz -dc $(distdir).tar.xz | $(am__untar) ;;\
511 *.tar.Z*) \
512 uncompress -c $(distdir).tar.Z | $(am__untar) ;;\
513 *.shar.gz*) \
514 GZIP=$(GZIP_ENV) gzip -dc $(distdir).shar.gz | unshar ;;\
515 *.zip*) \
516 unzip $(distdir).zip ;;\
517 esac
518 chmod -R a-w $(distdir); chmod a+w $(distdir)
519 mkdir $(distdir)/_build
520 mkdir $(distdir)/_inst
521 chmod a-w $(distdir)
522 test -d $(distdir)/_build || exit 0; \
523 dc_install_base=`$(am__cd) $(distdir)/_inst && pwd | sed -e 's,^[^:\\/]:[\\/],/,'` \
524 && dc_destdir="$${TMPDIR-/tmp}/am-dc-$$$$/" \
525 && am__cwd=`pwd` \
526 && $(am__cd) $(distdir)/_build \
527 && ../configure --srcdir=.. --prefix="$$dc_install_base" \
528 $(DISTCHECK_CONFIGURE_FLAGS) \
529 && $(MAKE) $(AM_MAKEFLAGS) \
530 && $(MAKE) $(AM_MAKEFLAGS) dvi \
531 && $(MAKE) $(AM_MAKEFLAGS) check \
532 && $(MAKE) $(AM_MAKEFLAGS) install \
533 && $(MAKE) $(AM_MAKEFLAGS) installcheck \
534 && $(MAKE) $(AM_MAKEFLAGS) uninstall \
535 && $(MAKE) $(AM_MAKEFLAGS) distuninstallcheck_dir="$$dc_install_base" \
536 distuninstallcheck \
537 && chmod -R a-w "$$dc_install_base" \
538 && ({ \
539 (cd ../.. && umask 077 && mkdir "$$dc_destdir") \
540 && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" install \
541 && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" uninstall \
542 && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" \
543 distuninstallcheck_dir="$$dc_destdir" distuninstallcheck; \
544 } || { rm -rf "$$dc_destdir"; exit 1; }) \
545 && rm -rf "$$dc_destdir" \
546 && $(MAKE) $(AM_MAKEFLAGS) dist \
547 && rm -rf $(DIST_ARCHIVES) \
548 && $(MAKE) $(AM_MAKEFLAGS) distcleancheck \
549 && cd "$$am__cwd" \
550 || exit 1
551 $(am__remove_distdir)
552 @(echo "$(distdir) archives ready for distribution: "; \
553 list='$(DIST_ARCHIVES)'; for i in $$list; do echo $$i; done) | \
554 sed -e 1h -e 1s/./=/g -e 1p -e 1x -e '$$p' -e '$$x'
555 distuninstallcheck:
556 @$(am__cd) '$(distuninstallcheck_dir)' \
557 && test `$(distuninstallcheck_listfiles) | wc -l` -le 1 \
558 || { echo "ERROR: files left after uninstall:" ; \
559 if test -n "$(DESTDIR)"; then \
560 echo " (check DESTDIR support)"; \
561 fi ; \
562 $(distuninstallcheck_listfiles) ; \
563 exit 1; } >&2
564 distcleancheck: distclean
565 @if test '$(srcdir)' = . ; then \
566 echo "ERROR: distcleancheck can only run from a VPATH build" ; \
567 exit 1 ; \
568 fi
569 @test `$(distcleancheck_listfiles) | wc -l` -eq 0 \
570 || { echo "ERROR: files left in build directory after distclean:" ; \
571 $(distcleancheck_listfiles) ; \
572 exit 1; } >&2
573 check-am: all-am
574 check: check-recursive
575 all-am: Makefile config.h
576 installdirs: installdirs-recursive
577 installdirs-am:
578 install: install-recursive
579 install-exec: install-exec-recursive
580 install-data: install-data-recursive
581 uninstall: uninstall-recursive
583 install-am: all-am
584 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
586 installcheck: installcheck-recursive
587 install-strip:
588 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
589 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
590 `test -z '$(STRIP)' || \
591 echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
592 mostlyclean-generic:
594 clean-generic:
596 distclean-generic:
597 -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
598 -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
600 maintainer-clean-generic:
601 @echo "This command is intended for maintainers to use"
602 @echo "it deletes files that may require special tools to rebuild."
603 clean: clean-recursive
605 clean-am: clean-generic mostlyclean-am
607 distclean: distclean-recursive
608 -rm -f $(am__CONFIG_DISTCLEAN_FILES)
609 -rm -f Makefile
610 distclean-am: clean-am distclean-generic distclean-hdr distclean-tags
612 dvi: dvi-recursive
614 dvi-am:
616 html: html-recursive
618 html-am:
620 info: info-recursive
622 info-am:
624 install-data-am: install-data-local
626 install-dvi: install-dvi-recursive
628 install-dvi-am:
630 install-exec-am:
632 install-html: install-html-recursive
634 install-html-am:
636 install-info: install-info-recursive
638 install-info-am:
640 install-man:
642 install-pdf: install-pdf-recursive
644 install-pdf-am:
646 install-ps: install-ps-recursive
648 install-ps-am:
650 installcheck-am:
652 maintainer-clean: maintainer-clean-recursive
653 -rm -f $(am__CONFIG_DISTCLEAN_FILES)
654 -rm -rf $(top_srcdir)/autom4te.cache
655 -rm -f Makefile
656 maintainer-clean-am: distclean-am maintainer-clean-generic
658 mostlyclean: mostlyclean-recursive
660 mostlyclean-am: mostlyclean-generic
662 pdf: pdf-recursive
664 pdf-am:
666 ps: ps-recursive
668 ps-am:
670 uninstall-am: uninstall-local
672 .MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) all \
673 ctags-recursive install-am install-strip tags-recursive
675 .PHONY: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) CTAGS GTAGS \
676 all all-am am--refresh check check-am clean clean-generic \
677 ctags ctags-recursive dist dist-all dist-bzip2 dist-gzip \
678 dist-lzma dist-shar dist-tarZ dist-xz dist-zip distcheck \
679 distclean distclean-generic distclean-hdr distclean-tags \
680 distcleancheck distdir distuninstallcheck dvi dvi-am html \
681 html-am info info-am install install-am install-data \
682 install-data-am install-data-local install-dvi install-dvi-am \
683 install-exec install-exec-am install-html install-html-am \
684 install-info install-info-am install-man install-pdf \
685 install-pdf-am install-ps install-ps-am install-strip \
686 installcheck installcheck-am installdirs installdirs-am \
687 maintainer-clean maintainer-clean-generic mostlyclean \
688 mostlyclean-generic pdf pdf-am ps ps-am tags tags-recursive \
689 uninstall uninstall-am uninstall-local
692 install-data-local: log_dir spool_dir uid_bit conf_dir tpl_dir run_dir doc_dir rmail
694 uninstall-local: rm-rmail rm-doc_dir rm-tpl_dir rm-conf_dir rm-run_dir rm-spool_dir rm-log_dir
696 conf_dir:
697 install -d $(DESTDIR)@with_confdir@
699 rm-conf_dir:
700 rmdir $(DESTDIR)@with_confdir@ # removes only if empty
702 tpl_dir:
703 install -d $(DESTDIR)@datadir@/masqmail/tpl
704 cp tpl/* $(DESTDIR)@datadir@/masqmail/tpl
705 chmod 644 $(DESTDIR)@datadir@/masqmail/tpl/*
707 rm-tpl_dir:
708 rm -rf $(DESTDIR)@datadir@/masqmail/
710 doc_dir:
711 install -d $(DESTDIR)@docdir@
712 cp -r docs $(DESTDIR)@docdir@
713 cp -r examples $(DESTDIR)@docdir@
714 cp ChangeLog NEWS AUTHORS COPYING README TODO INSTALL THANKS $(DESTDIR)@docdir@
716 rm-doc_dir:
717 cd $(DESTDIR)@docdir@ && ( \
718 rm -rf docs examples ; \
719 rm -f ChangeLog NEWS AUTHORS COPYING README TODO INSTALL THANKS ; \
720 )
721 rmdir $(DESTDIR)@docdir@
723 run_dir:
724 install -d -o @with_user@ -g @with_group@ $(DESTDIR)/var/run/masqmail
726 rm-run_dir:
727 rm -rf $(DESTDIR)/var/run/masqmail
729 log_dir:
730 install -d -o @with_user@ -g @with_group@ $(DESTDIR)@with_logdir@
732 rm-log_dir:
733 rmdir $(DESTDIR)@with_logdir@ # removes only if empty
735 spool_dir:
736 install -d -o @with_user@ -g @with_group@ $(DESTDIR)@with_spooldir@
737 install -d -o @with_user@ -g @with_group@ $(DESTDIR)@with_spooldir@/lock
738 install -d -o @with_user@ -g @with_group@ $(DESTDIR)@with_spooldir@/input
740 rm-spool_dir:
741 : # removal fails if the dirs are non-empty
742 : # this prevents losing spooled files
743 rmdir $(DESTDIR)@with_spooldir@/lock
744 rmdir $(DESTDIR)@with_spooldir@/input
745 rmdir $(DESTDIR)@with_spooldir@
747 rmail:
748 [ -d "$(DESTDIR)@prefix@/sbin" ] || mkdir -p "$(DESTDIR)@prefix@/sbin"
749 sed '/^SENDMAIL/s,/usr/sbin/sendmail,$(DESTDIR)@prefix@/sbin/masqmail,'\
750 admin/rmail >$(DESTDIR)@prefix@/sbin/rmail
751 chmod 755 $(DESTDIR)@prefix@/sbin/rmail
753 rm-rmail:
754 rm -f $(DESTDIR)@prefix@/sbin/rmail
756 uid_bit: $(DESTDIR)@prefix@/sbin/masqmail
757 chmod u+s $(DESTDIR)@prefix@/sbin/masqmail
759 # Tell versions [3.59,3.63) of GNU make to not export all variables.
760 # Otherwise a system limit (for SysV at least) may be exceeded.
761 .NOEXPORT: