1 # Makefile.in generated by automake 1.9.3 from Makefile.am.
4 # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
5 # 2003, 2004 Free Software Foundation, Inc.
6 # This Makefile.in is free software; the Free Software Foundation
7 # gives unlimited permission to copy and/or distribute it,
8 # with or without modifications, as long as this notice is preserved.
10 # This program is distributed in the hope that it will be useful,
11 # but WITHOUT ANY WARRANTY, to the extent permitted by law; without
12 # even the implied warranty of MERCHANTABILITY or FITNESS FOR A
17 SOURCES = $(abook_SOURCES)
20 top_srcdir = @top_srcdir@
22 pkgdatadir = $(datadir)/@PACKAGE@
23 pkglibdir = $(libdir)/@PACKAGE@
24 pkgincludedir = $(includedir)/@PACKAGE@
26 am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
28 install_sh_DATA = $(install_sh) -c -m 644
29 install_sh_PROGRAM = $(install_sh) -c
30 install_sh_SCRIPT = $(install_sh) -c
31 INSTALL_HEADER = $(INSTALL_DATA)
32 transform = $(program_transform_name)
39 build_triplet = @build@
41 bin_PROGRAMS = abook$(EXEEXT)
42 DIST_COMMON = README $(am__configure_deps) $(srcdir)/Makefile.am \
43 $(srcdir)/Makefile.in $(srcdir)/abook.spec.in \
44 $(srcdir)/config.h.in $(top_srcdir)/configure \
45 $(top_srcdir)/intl/Makefile.in ABOUT-NLS AUTHORS COPYING \
46 ChangeLog INSTALL NEWS THANKS TODO config.guess config.rpath \
47 config.sub depcomp install-sh missing mkinstalldirs
49 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
50 am__aclocal_m4_deps = $(top_srcdir)/m4/codeset.m4 \
51 $(top_srcdir)/m4/gettext.m4 $(top_srcdir)/m4/glibc2.m4 \
52 $(top_srcdir)/m4/glibc21.m4 $(top_srcdir)/m4/iconv.m4 \
53 $(top_srcdir)/m4/intdiv0.m4 $(top_srcdir)/m4/intmax.m4 \
54 $(top_srcdir)/m4/inttypes-pri.m4 $(top_srcdir)/m4/inttypes.m4 \
55 $(top_srcdir)/m4/inttypes_h.m4 $(top_srcdir)/m4/lcmessage.m4 \
56 $(top_srcdir)/m4/lib-ld.m4 $(top_srcdir)/m4/lib-link.m4 \
57 $(top_srcdir)/m4/lib-prefix.m4 $(top_srcdir)/m4/longdouble.m4 \
58 $(top_srcdir)/m4/longlong.m4 $(top_srcdir)/m4/nls.m4 \
59 $(top_srcdir)/m4/po.m4 $(top_srcdir)/m4/printf-posix.m4 \
60 $(top_srcdir)/m4/progtest.m4 $(top_srcdir)/m4/signed.m4 \
61 $(top_srcdir)/m4/size_max.m4 $(top_srcdir)/m4/stdint_h.m4 \
62 $(top_srcdir)/m4/uintmax_t.m4 $(top_srcdir)/m4/ulonglong.m4 \
63 $(top_srcdir)/m4/wchar_t.m4 $(top_srcdir)/m4/wint_t.m4 \
64 $(top_srcdir)/m4/xsize.m4 $(top_srcdir)/acinclude.m4 \
65 $(top_srcdir)/configure.in
66 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
68 am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \
69 configure.lineno configure.status.lineno
70 mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
71 CONFIG_HEADER = config.h
72 CONFIG_CLEAN_FILES = abook.spec intl/Makefile
73 am__installdirs = "$(DESTDIR)$(bindir)"
74 binPROGRAMS_INSTALL = $(INSTALL_PROGRAM)
75 PROGRAMS = $(bin_PROGRAMS)
76 am_abook_OBJECTS = abook.$(OBJEXT) database.$(OBJEXT) filter.$(OBJEXT) \
77 list.$(OBJEXT) misc.$(OBJEXT) options.$(OBJEXT) edit.$(OBJEXT) \
78 ldif.$(OBJEXT) ui.$(OBJEXT) getname.$(OBJEXT) getopt.$(OBJEXT) \
79 getopt1.$(OBJEXT) gettext.$(OBJEXT) abook_rl.$(OBJEXT) \
80 mbswidth.$(OBJEXT) xmalloc.$(OBJEXT)
81 abook_OBJECTS = $(am_abook_OBJECTS)
83 DEFAULT_INCLUDES = -I. -I$(srcdir) -I.
84 depcomp = $(SHELL) $(top_srcdir)/depcomp
85 am__depfiles_maybe = depfiles
86 COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
87 $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
89 LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
90 SOURCES = $(abook_SOURCES)
91 DIST_SOURCES = $(abook_SOURCES)
92 RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \
93 html-recursive info-recursive install-data-recursive \
94 install-exec-recursive install-info-recursive \
95 install-recursive installcheck-recursive installdirs-recursive \
96 pdf-recursive ps-recursive uninstall-info-recursive \
100 DIST_SUBDIRS = $(SUBDIRS)
101 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
102 distdir = $(PACKAGE)-$(VERSION)
103 top_distdir = $(distdir)
104 am__remove_distdir = \
105 { test ! -d $(distdir) \
106 || { find $(distdir) -type d ! -perm -200 -exec chmod u+w {} ';' \
107 && rm -fr $(distdir); }; }
108 DIST_ARCHIVES = $(distdir).tar.gz
110 distuninstallcheck_listfiles = find . -type f -print
111 distcleancheck_listfiles = find . -type f -print
114 AMDEP_FALSE = @AMDEP_FALSE@
115 AMDEP_TRUE = @AMDEP_TRUE@
117 AUTOCONF = @AUTOCONF@
118 AUTOHEADER = @AUTOHEADER@
119 AUTOMAKE = @AUTOMAKE@
121 BUILD_INCLUDED_LIBINTL = @BUILD_INCLUDED_LIBINTL@
122 CATOBJEXT = @CATOBJEXT@
124 CCDEPMODE = @CCDEPMODE@
127 CPPFLAGS = @CPPFLAGS@
128 CYGPATH_W = @CYGPATH_W@
129 DATADIRNAME = @DATADIRNAME@
141 HAVE_ASPRINTF = @HAVE_ASPRINTF@
142 HAVE_POSIX_PRINTF = @HAVE_POSIX_PRINTF@
143 HAVE_SNPRINTF = @HAVE_SNPRINTF@
144 HAVE_WPRINTF = @HAVE_WPRINTF@
145 INSTALL_DATA = @INSTALL_DATA@
146 INSTALL_PROGRAM = @INSTALL_PROGRAM@
147 INSTALL_SCRIPT = @INSTALL_SCRIPT@
148 INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
149 INSTOBJEXT = @INSTOBJEXT@
150 INTLBISON = @INTLBISON@
151 INTLLIBS = @INTLLIBS@
152 INTLOBJS = @INTLOBJS@
153 INTL_LIBTOOL_SUFFIX_PREFIX = @INTL_LIBTOOL_SUFFIX_PREFIX@
154 INTL_MACOSX_LIBS = @INTL_MACOSX_LIBS@
156 LIBICONV = @LIBICONV@
160 LTLIBICONV = @LTLIBICONV@
161 LTLIBINTL = @LTLIBINTL@
162 LTLIBOBJS = @LTLIBOBJS@
163 MAKEINFO = @MAKEINFO@
164 MKINSTALLDIRS = @MKINSTALLDIRS@
166 MSGMERGE = @MSGMERGE@
169 PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
170 PACKAGE_NAME = @PACKAGE_NAME@
171 PACKAGE_STRING = @PACKAGE_STRING@
172 PACKAGE_TARNAME = @PACKAGE_TARNAME@
173 PACKAGE_VERSION = @PACKAGE_VERSION@
174 PATH_SEPARATOR = @PATH_SEPARATOR@
177 SET_MAKE = @SET_MAKE@
181 USE_INCLUDED_INTL_H_FALSE = @USE_INCLUDED_INTL_H_FALSE@
182 USE_INCLUDED_INTL_H_TRUE = @USE_INCLUDED_INTL_H_TRUE@
183 USE_INCLUDED_LIBINTL = @USE_INCLUDED_LIBINTL@
186 XGETTEXT = @XGETTEXT@
187 ac_ct_CC = @ac_ct_CC@
188 ac_ct_RANLIB = @ac_ct_RANLIB@
189 ac_ct_STRIP = @ac_ct_STRIP@
190 am__fastdepCC_FALSE = @am__fastdepCC_FALSE@
191 am__fastdepCC_TRUE = @am__fastdepCC_TRUE@
192 am__include = @am__include@
193 am__leading_dot = @am__leading_dot@
194 am__quote = @am__quote@
196 am__untar = @am__untar@
199 build_alias = @build_alias@
200 build_cpu = @build_cpu@
201 build_os = @build_os@
202 build_vendor = @build_vendor@
204 exec_prefix = @exec_prefix@
206 host_alias = @host_alias@
207 host_cpu = @host_cpu@
209 host_vendor = @host_vendor@
210 includedir = @includedir@
212 install_sh = @install_sh@
214 libexecdir = @libexecdir@
215 localedir = @localedir@
216 localstatedir = @localstatedir@
219 oldincludedir = @oldincludedir@
221 program_transform_name = @program_transform_name@
223 sharedstatedir = @sharedstatedir@
224 sysconfdir = @sysconfdir@
225 target_alias = @target_alias@
226 abook_SOURCES = abook.c database.c filter.c list.c misc.c \
227 options.c edit.c ldif.c ui.c getname.c \
228 getopt.c getopt1.c gettext.c abook_rl.c mbswidth.c \
230 abook.h database.h filter.h list.h misc.h help.h \
231 options.h edit.h ldif.h abook_curses.h ui.h getname.h \
232 getopt.h gettext.h abook_rl.h mbswidth.h \
235 EXTRA_DIST = config.rpath ANNOUNCE BUGS FAQ abook.1 abookrc.5 sample.abookrc \
236 abook.spec contrib doc/HOWTO.translating_abook
238 abook_LDADD = @LIBINTL@
240 ACLOCAL_AMFLAGS = -I m4
241 @USE_INCLUDED_INTL_H_TRUE@AM_CPPFLAGS = -Iintl
243 $(MAKE) $(AM_MAKEFLAGS) all-recursive
246 .SUFFIXES: .c .o .obj
249 $(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps)
251 case '$(am__configure_deps)' in \
253 echo ' cd $(srcdir) && $(AUTOMAKE) --gnu '; \
254 cd $(srcdir) && $(AUTOMAKE) --gnu \
259 echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu Makefile'; \
260 cd $(top_srcdir) && \
261 $(AUTOMAKE) --gnu Makefile
263 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
266 echo ' $(SHELL) ./config.status'; \
267 $(SHELL) ./config.status;; \
269 echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe)'; \
270 cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe);; \
273 $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
274 $(SHELL) ./config.status --recheck
276 $(top_srcdir)/configure: $(am__configure_deps)
277 cd $(srcdir) && $(AUTOCONF)
278 $(ACLOCAL_M4): $(am__aclocal_m4_deps)
279 cd $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
282 @if test ! -f $@; then \
287 stamp-h1: $(srcdir)/config.h.in $(top_builddir)/config.status
289 cd $(top_builddir) && $(SHELL) ./config.status config.h
290 $(srcdir)/config.h.in: $(am__configure_deps)
291 cd $(top_srcdir) && $(AUTOHEADER)
296 -rm -f config.h stamp-h1
297 abook.spec: $(top_builddir)/config.status $(srcdir)/abook.spec.in
298 cd $(top_builddir) && $(SHELL) ./config.status $@
299 intl/Makefile: $(top_builddir)/config.status $(top_srcdir)/intl/Makefile.in
300 cd $(top_builddir) && $(SHELL) ./config.status $@
301 install-binPROGRAMS: $(bin_PROGRAMS)
303 test -z "$(bindir)" || $(mkdir_p) "$(DESTDIR)$(bindir)"
304 @list='$(bin_PROGRAMS)'; for p in $$list; do \
305 p1=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
308 f=`echo "$$p1" | sed 's,^.*/,,;$(transform);s/$$/$(EXEEXT)/'`; \
309 echo " $(INSTALL_PROGRAM_ENV) $(binPROGRAMS_INSTALL) '$$p' '$(DESTDIR)$(bindir)/$$f'"; \
310 $(INSTALL_PROGRAM_ENV) $(binPROGRAMS_INSTALL) "$$p" "$(DESTDIR)$(bindir)/$$f" || exit 1; \
314 uninstall-binPROGRAMS:
316 @list='$(bin_PROGRAMS)'; for p in $$list; do \
317 f=`echo "$$p" | sed 's,^.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \
318 echo " rm -f '$(DESTDIR)$(bindir)/$$f'"; \
319 rm -f "$(DESTDIR)$(bindir)/$$f"; \
323 -test -z "$(bin_PROGRAMS)" || rm -f $(bin_PROGRAMS)
324 abook$(EXEEXT): $(abook_OBJECTS) $(abook_DEPENDENCIES)
325 @rm -f abook$(EXEEXT)
326 $(LINK) $(abook_LDFLAGS) $(abook_OBJECTS) $(abook_LDADD) $(LIBS)
334 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/abook.Po@am__quote@
335 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/abook_rl.Po@am__quote@
336 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/database.Po@am__quote@
337 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/edit.Po@am__quote@
338 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/filter.Po@am__quote@
339 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/getname.Po@am__quote@
340 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/getopt.Po@am__quote@
341 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/getopt1.Po@am__quote@
342 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/gettext.Po@am__quote@
343 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ldif.Po@am__quote@
344 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/list.Po@am__quote@
345 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/mbswidth.Po@am__quote@
346 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/misc.Po@am__quote@
347 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/options.Po@am__quote@
348 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ui.Po@am__quote@
349 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/xmalloc.Po@am__quote@
352 @am__fastdepCC_TRUE@ if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ $<; \
353 @am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi
354 @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
355 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
356 @am__fastdepCC_FALSE@ $(COMPILE) -c $<
359 @am__fastdepCC_TRUE@ if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ `$(CYGPATH_W) '$<'`; \
360 @am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi
361 @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
362 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
363 @am__fastdepCC_FALSE@ $(COMPILE) -c `$(CYGPATH_W) '$<'`
366 # This directory's subdirectories are mostly independent; you can cd
367 # into them and run `make' without going through this Makefile.
368 # To change the values of `make' variables: instead of editing Makefiles,
369 # (1) if the variable is set in `config.status', edit `config.status'
370 # (which will cause the Makefiles to be regenerated when you run `make');
371 # (2) otherwise, pass the desired values on the `make' command line.
372 $(RECURSIVE_TARGETS):
373 @set fnord $$MAKEFLAGS; amf=$$2; \
375 target=`echo $@ | sed s/-recursive//`; \
376 list='$(SUBDIRS)'; for subdir in $$list; do \
377 echo "Making $$target in $$subdir"; \
378 if test "$$subdir" = "."; then \
380 local_target="$$target-am"; \
382 local_target="$$target"; \
384 (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
385 || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
387 if test "$$dot_seen" = "no"; then \
388 $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
391 mostlyclean-recursive clean-recursive distclean-recursive \
392 maintainer-clean-recursive:
393 @set fnord $$MAKEFLAGS; amf=$$2; \
396 distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
397 *) list='$(SUBDIRS)' ;; \
399 rev=''; for subdir in $$list; do \
400 if test "$$subdir" = "."; then :; else \
401 rev="$$subdir $$rev"; \
405 target=`echo $@ | sed s/-recursive//`; \
406 for subdir in $$rev; do \
407 echo "Making $$target in $$subdir"; \
408 if test "$$subdir" = "."; then \
409 local_target="$$target-am"; \
411 local_target="$$target"; \
413 (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
414 || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
415 done && test -z "$$fail"
417 list='$(SUBDIRS)'; for subdir in $$list; do \
418 test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
421 list='$(SUBDIRS)'; for subdir in $$list; do \
422 test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
425 ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
426 list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
427 unique=`for i in $$list; do \
428 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
430 $(AWK) ' { files[$$0] = 1; } \
431 END { for (i in files) print i; }'`; \
435 TAGS: tags-recursive $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \
436 $(TAGS_FILES) $(LISP)
439 if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \
440 include_option=--etags-include; \
443 include_option=--include; \
446 list='$(SUBDIRS)'; for subdir in $$list; do \
447 if test "$$subdir" = .; then :; else \
448 test ! -f $$subdir/TAGS || \
449 tags="$$tags $$include_option=$$here/$$subdir/TAGS"; \
452 list='$(SOURCES) $(HEADERS) config.h.in $(LISP) $(TAGS_FILES)'; \
453 unique=`for i in $$list; do \
454 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
456 $(AWK) ' { files[$$0] = 1; } \
457 END { for (i in files) print i; }'`; \
458 if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \
459 test -n "$$unique" || unique=$$empty_fix; \
460 $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
464 CTAGS: ctags-recursive $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \
465 $(TAGS_FILES) $(LISP)
468 list='$(SOURCES) $(HEADERS) config.h.in $(LISP) $(TAGS_FILES)'; \
469 unique=`for i in $$list; do \
470 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
472 $(AWK) ' { files[$$0] = 1; } \
473 END { for (i in files) print i; }'`; \
474 test -z "$(CTAGS_ARGS)$$tags$$unique" \
475 || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
479 here=`$(am__cd) $(top_builddir) && pwd` \
480 && cd $(top_srcdir) \
481 && gtags -i $(GTAGS_ARGS) $$here
484 -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
486 distdir: $(DISTFILES)
487 $(am__remove_distdir)
489 $(mkdir_p) $(distdir)/. $(distdir)/doc $(distdir)/intl $(distdir)/m4 $(distdir)/po
490 @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
491 topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
492 list='$(DISTFILES)'; for file in $$list; do \
494 $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \
495 $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \
497 if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
498 dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
499 if test "$$dir" != "$$file" && test "$$dir" != "."; then \
501 $(mkdir_p) "$(distdir)$$dir"; \
505 if test -d $$d/$$file; then \
506 if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
507 cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
509 cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
511 test -f $(distdir)/$$file \
512 || cp -p $$d/$$file $(distdir)/$$file \
516 list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
517 if test "$$subdir" = .; then :; else \
518 test -d "$(distdir)/$$subdir" \
519 || $(mkdir_p) "$(distdir)/$$subdir" \
521 distdir=`$(am__cd) $(distdir) && pwd`; \
522 top_distdir=`$(am__cd) $(top_distdir) && pwd`; \
524 $(MAKE) $(AM_MAKEFLAGS) \
525 top_distdir="$$top_distdir" \
526 distdir="$$distdir/$$subdir" \
531 -find $(distdir) -type d ! -perm -777 -exec chmod a+rwx {} \; -o \
532 ! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \
533 ! -type d ! -perm -400 -exec chmod a+r {} \; -o \
534 ! -type d ! -perm -444 -exec $(SHELL) $(install_sh) -c -m a+r {} {} \; \
535 || chmod -R a+r $(distdir)
537 tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
538 $(am__remove_distdir)
541 tardir=$(distdir) && $(am__tar) | bzip2 -9 -c >$(distdir).tar.bz2
542 $(am__remove_distdir)
545 tardir=$(distdir) && $(am__tar) | compress -c >$(distdir).tar.Z
546 $(am__remove_distdir)
549 shar $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).shar.gz
550 $(am__remove_distdir)
553 -rm -f $(distdir).zip
554 zip -rq $(distdir).zip $(distdir)
555 $(am__remove_distdir)
557 dist dist-all: distdir
558 tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
559 $(am__remove_distdir)
561 # This target untars the dist file and tries a VPATH configuration. Then
562 # it guarantees that the distribution is self-contained by making another
565 case '$(DIST_ARCHIVES)' in \
567 GZIP=$(GZIP_ENV) gunzip -c $(distdir).tar.gz | $(am__untar) ;;\
569 bunzip2 -c $(distdir).tar.bz2 | $(am__untar) ;;\
571 uncompress -c $(distdir).tar.Z | $(am__untar) ;;\
573 GZIP=$(GZIP_ENV) gunzip -c $(distdir).shar.gz | unshar ;;\
575 unzip $(distdir).zip ;;\
577 chmod -R a-w $(distdir); chmod a+w $(distdir)
578 mkdir $(distdir)/_build
579 mkdir $(distdir)/_inst
581 dc_install_base=`$(am__cd) $(distdir)/_inst && pwd | sed -e 's,^[^:\\/]:[\\/],/,'` \
582 && dc_destdir="$${TMPDIR-/tmp}/am-dc-$$$$/" \
583 && cd $(distdir)/_build \
584 && ../configure --srcdir=.. --prefix="$$dc_install_base" \
585 --with-included-gettext \
586 $(DISTCHECK_CONFIGURE_FLAGS) \
587 && $(MAKE) $(AM_MAKEFLAGS) \
588 && $(MAKE) $(AM_MAKEFLAGS) dvi \
589 && $(MAKE) $(AM_MAKEFLAGS) check \
590 && $(MAKE) $(AM_MAKEFLAGS) install \
591 && $(MAKE) $(AM_MAKEFLAGS) installcheck \
592 && $(MAKE) $(AM_MAKEFLAGS) uninstall \
593 && $(MAKE) $(AM_MAKEFLAGS) distuninstallcheck_dir="$$dc_install_base" \
595 && chmod -R a-w "$$dc_install_base" \
597 (cd ../.. && umask 077 && mkdir "$$dc_destdir") \
598 && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" install \
599 && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" uninstall \
600 && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" \
601 distuninstallcheck_dir="$$dc_destdir" distuninstallcheck; \
602 } || { rm -rf "$$dc_destdir"; exit 1; }) \
603 && rm -rf "$$dc_destdir" \
604 && $(MAKE) $(AM_MAKEFLAGS) dist \
605 && rm -rf $(DIST_ARCHIVES) \
606 && $(MAKE) $(AM_MAKEFLAGS) distcleancheck
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 '1{h;s/./=/g;p;x;}' -e '$${p;x;}'
612 @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)"; \
618 $(distuninstallcheck_listfiles) ; \
620 distcleancheck: distclean
621 @if test '$(srcdir)' = . ; then \
622 echo "ERROR: distcleancheck can only run from a VPATH build" ; \
625 @test `$(distcleancheck_listfiles) | wc -l` -eq 0 \
626 || { echo "ERROR: files left in build directory after distclean:" ; \
627 $(distcleancheck_listfiles) ; \
630 check: check-recursive
631 all-am: Makefile $(PROGRAMS) config.h
632 installdirs: installdirs-recursive
634 for dir in "$(DESTDIR)$(bindir)"; do \
635 test -z "$$dir" || $(mkdir_p) "$$dir"; \
637 install: install-recursive
638 install-exec: install-exec-recursive
639 install-data: install-data-recursive
640 uninstall: uninstall-recursive
643 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
645 installcheck: installcheck-recursive
647 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
648 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
649 `test -z '$(STRIP)' || \
650 echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
656 -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
658 maintainer-clean-generic:
659 @echo "This command is intended for maintainers to use"
660 @echo "it deletes files that may require special tools to rebuild."
661 clean: clean-recursive
663 clean-am: clean-binPROGRAMS clean-generic mostlyclean-am
665 distclean: distclean-recursive
666 -rm -f $(am__CONFIG_DISTCLEAN_FILES)
669 distclean-am: clean-am distclean-compile distclean-generic \
670 distclean-hdr distclean-tags
682 install-data-am: install-data-local
684 install-exec-am: install-binPROGRAMS
686 install-info: install-info-recursive
692 maintainer-clean: maintainer-clean-recursive
693 -rm -f $(am__CONFIG_DISTCLEAN_FILES)
694 -rm -rf $(top_srcdir)/autom4te.cache
697 maintainer-clean-am: distclean-am maintainer-clean-generic
699 mostlyclean: mostlyclean-recursive
701 mostlyclean-am: mostlyclean-compile mostlyclean-generic
711 uninstall-am: uninstall-binPROGRAMS uninstall-info-am uninstall-local
713 uninstall-info: uninstall-info-recursive
715 .PHONY: $(RECURSIVE_TARGETS) CTAGS GTAGS all all-am am--refresh check \
716 check-am clean clean-binPROGRAMS clean-generic clean-recursive \
717 ctags ctags-recursive dist dist-all dist-bzip2 dist-gzip \
718 dist-shar dist-tarZ dist-zip distcheck distclean \
719 distclean-compile distclean-generic distclean-hdr \
720 distclean-recursive distclean-tags distcleancheck distdir \
721 distuninstallcheck dvi dvi-am html html-am info info-am \
722 install install-am install-binPROGRAMS install-data \
723 install-data-am install-data-local install-exec \
724 install-exec-am install-info install-info-am install-man \
725 install-strip installcheck installcheck-am installdirs \
726 installdirs-am maintainer-clean maintainer-clean-generic \
727 maintainer-clean-recursive mostlyclean mostlyclean-compile \
728 mostlyclean-generic mostlyclean-recursive pdf pdf-am ps ps-am \
729 tags tags-recursive uninstall uninstall-am \
730 uninstall-binPROGRAMS uninstall-info-am uninstall-local
734 $(mkinstalldirs) $(DESTDIR)$(mandir)/man1 $(DESTDIR)$(mandir)/man5
735 $(INSTALL_DATA) $(srcdir)/abook.1 $(DESTDIR)$(mandir)/man1/
736 $(INSTALL_DATA) $(srcdir)/abookrc.5 $(DESTDIR)$(mandir)/man5/
739 -rm -f $(DESTDIR)$(mandir)/man1/abook.1
740 -rm -f $(DESTDIR)$(mandir)/man5/abookrc.5
741 # Tell versions [3.59,3.63) of GNU make to not export all variables.
742 # Otherwise a system limit (for SysV at least) may be exceeded.