1 # Makefile.in generated by automake 1.9.6 from Makefile.am.
4 # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
5 # 2003, 2004, 2005 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
18 top_srcdir = @top_srcdir@
20 pkgdatadir = $(datadir)/@PACKAGE@
21 pkglibdir = $(libdir)/@PACKAGE@
22 pkgincludedir = $(includedir)/@PACKAGE@
24 am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
26 install_sh_DATA = $(install_sh) -c -m 644
27 install_sh_PROGRAM = $(install_sh) -c
28 install_sh_SCRIPT = $(install_sh) -c
29 INSTALL_HEADER = $(INSTALL_DATA)
30 transform = $(program_transform_name)
37 build_triplet = @build@
39 bin_PROGRAMS = abook$(EXEEXT)
40 DIST_COMMON = README $(am__configure_deps) $(srcdir)/Makefile.am \
41 $(srcdir)/Makefile.in $(srcdir)/abook.spec.in \
42 $(srcdir)/config.h.in $(top_srcdir)/configure \
43 $(top_srcdir)/intl/Makefile.in ABOUT-NLS AUTHORS COPYING \
44 ChangeLog INSTALL NEWS THANKS TODO config.guess config.rpath \
45 config.sub depcomp install-sh missing mkinstalldirs
47 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
48 am__aclocal_m4_deps = $(top_srcdir)/m4/codeset.m4 \
49 $(top_srcdir)/m4/gettext.m4 $(top_srcdir)/m4/glibc2.m4 \
50 $(top_srcdir)/m4/glibc21.m4 $(top_srcdir)/m4/iconv.m4 \
51 $(top_srcdir)/m4/intdiv0.m4 $(top_srcdir)/m4/intmax.m4 \
52 $(top_srcdir)/m4/inttypes-pri.m4 $(top_srcdir)/m4/inttypes.m4 \
53 $(top_srcdir)/m4/inttypes_h.m4 $(top_srcdir)/m4/lcmessage.m4 \
54 $(top_srcdir)/m4/lib-ld.m4 $(top_srcdir)/m4/lib-link.m4 \
55 $(top_srcdir)/m4/lib-prefix.m4 $(top_srcdir)/m4/longdouble.m4 \
56 $(top_srcdir)/m4/longlong.m4 $(top_srcdir)/m4/nls.m4 \
57 $(top_srcdir)/m4/po.m4 $(top_srcdir)/m4/printf-posix.m4 \
58 $(top_srcdir)/m4/progtest.m4 $(top_srcdir)/m4/signed.m4 \
59 $(top_srcdir)/m4/size_max.m4 $(top_srcdir)/m4/stdint_h.m4 \
60 $(top_srcdir)/m4/uintmax_t.m4 $(top_srcdir)/m4/ulonglong.m4 \
61 $(top_srcdir)/m4/wchar_t.m4 $(top_srcdir)/m4/wint_t.m4 \
62 $(top_srcdir)/m4/xsize.m4 $(top_srcdir)/acinclude.m4 \
63 $(top_srcdir)/configure.in
64 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
66 am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \
67 configure.lineno configure.status.lineno
68 mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
69 CONFIG_HEADER = config.h
70 CONFIG_CLEAN_FILES = abook.spec intl/Makefile
71 am__installdirs = "$(DESTDIR)$(bindir)"
72 binPROGRAMS_INSTALL = $(INSTALL_PROGRAM)
73 PROGRAMS = $(bin_PROGRAMS)
74 am_abook_OBJECTS = abook.$(OBJEXT) abook_rl.$(OBJEXT) \
75 database.$(OBJEXT) edit.$(OBJEXT) filter.$(OBJEXT) \
76 getname.$(OBJEXT) getopt.$(OBJEXT) getopt1.$(OBJEXT) \
77 gettext.$(OBJEXT) ldif.$(OBJEXT) list.$(OBJEXT) \
78 mbswidth.$(OBJEXT) misc.$(OBJEXT) options.$(OBJEXT) \
79 ui.$(OBJEXT) views.$(OBJEXT) xmalloc.$(OBJEXT)
80 abook_OBJECTS = $(am_abook_OBJECTS)
82 DEFAULT_INCLUDES = -I. -I$(srcdir) -I.
83 depcomp = $(SHELL) $(top_srcdir)/depcomp
84 am__depfiles_maybe = depfiles
85 COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
86 $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
88 LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
89 SOURCES = $(abook_SOURCES)
90 DIST_SOURCES = $(abook_SOURCES)
91 RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \
92 html-recursive info-recursive install-data-recursive \
93 install-exec-recursive install-info-recursive \
94 install-recursive installcheck-recursive installdirs-recursive \
95 pdf-recursive ps-recursive uninstall-info-recursive \
99 DIST_SUBDIRS = $(SUBDIRS)
100 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
101 distdir = $(PACKAGE)-$(VERSION)
102 top_distdir = $(distdir)
103 am__remove_distdir = \
104 { test ! -d $(distdir) \
105 || { find $(distdir) -type d ! -perm -200 -exec chmod u+w {} ';' \
106 && rm -fr $(distdir); }; }
107 DIST_ARCHIVES = $(distdir).tar.gz
109 distuninstallcheck_listfiles = find . -type f -print
110 distcleancheck_listfiles = find . -type f -print
113 AMDEP_FALSE = @AMDEP_FALSE@
114 AMDEP_TRUE = @AMDEP_TRUE@
116 AUTOCONF = @AUTOCONF@
117 AUTOHEADER = @AUTOHEADER@
118 AUTOMAKE = @AUTOMAKE@
120 BUILD_INCLUDED_LIBINTL = @BUILD_INCLUDED_LIBINTL@
121 CATOBJEXT = @CATOBJEXT@
123 CCDEPMODE = @CCDEPMODE@
126 CPPFLAGS = @CPPFLAGS@
127 CYGPATH_W = @CYGPATH_W@
128 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 am__fastdepCC_FALSE = @am__fastdepCC_FALSE@
189 am__fastdepCC_TRUE = @am__fastdepCC_TRUE@
190 am__include = @am__include@
191 am__leading_dot = @am__leading_dot@
192 am__quote = @am__quote@
194 am__untar = @am__untar@
197 build_alias = @build_alias@
198 build_cpu = @build_cpu@
199 build_os = @build_os@
200 build_vendor = @build_vendor@
202 datarootdir = @datarootdir@
205 exec_prefix = @exec_prefix@
207 host_alias = @host_alias@
208 host_cpu = @host_cpu@
210 host_vendor = @host_vendor@
212 includedir = @includedir@
214 install_sh = @install_sh@
216 libexecdir = @libexecdir@
217 localedir = @localedir@
218 localstatedir = @localstatedir@
221 oldincludedir = @oldincludedir@
224 program_transform_name = @program_transform_name@
227 sharedstatedir = @sharedstatedir@
228 sysconfdir = @sysconfdir@
229 target_alias = @target_alias@
230 abook_SOURCES = abook.c abook_rl.c database.c edit.c \
231 filter.c getname.c getopt.c getopt1.c gettext.c \
232 ldif.c list.c mbswidth.c misc.c options.c \
233 ui.c views.c xmalloc.c \
235 abook.h abook_curses.h abook_rl.h database.h edit.h \
236 filter.h getname.h getopt.h gettext.h \
237 help.h list.h ldif.h mbswidth.h misc.h options.h \
238 ui.h views.h xmalloc.h
240 EXTRA_DIST = config.rpath ANNOUNCE BUGS FAQ abook.1 abookrc.5 sample.abookrc \
241 abook.spec contrib doc/HOWTO.translating_abook
243 abook_LDADD = @LIBINTL@
245 ACLOCAL_AMFLAGS = -I m4
246 @USE_INCLUDED_INTL_H_TRUE@AM_CPPFLAGS = -Iintl
248 $(MAKE) $(AM_MAKEFLAGS) all-recursive
251 .SUFFIXES: .c .o .obj
254 $(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps)
256 case '$(am__configure_deps)' in \
258 echo ' cd $(srcdir) && $(AUTOMAKE) --gnu '; \
259 cd $(srcdir) && $(AUTOMAKE) --gnu \
264 echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu Makefile'; \
265 cd $(top_srcdir) && \
266 $(AUTOMAKE) --gnu Makefile
268 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
271 echo ' $(SHELL) ./config.status'; \
272 $(SHELL) ./config.status;; \
274 echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe)'; \
275 cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe);; \
278 $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
279 $(SHELL) ./config.status --recheck
281 $(top_srcdir)/configure: $(am__configure_deps)
282 cd $(srcdir) && $(AUTOCONF)
283 $(ACLOCAL_M4): $(am__aclocal_m4_deps)
284 cd $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
287 @if test ! -f $@; then \
292 stamp-h1: $(srcdir)/config.h.in $(top_builddir)/config.status
294 cd $(top_builddir) && $(SHELL) ./config.status config.h
295 $(srcdir)/config.h.in: $(am__configure_deps)
296 cd $(top_srcdir) && $(AUTOHEADER)
301 -rm -f config.h stamp-h1
302 abook.spec: $(top_builddir)/config.status $(srcdir)/abook.spec.in
303 cd $(top_builddir) && $(SHELL) ./config.status $@
304 intl/Makefile: $(top_builddir)/config.status $(top_srcdir)/intl/Makefile.in
305 cd $(top_builddir) && $(SHELL) ./config.status $@
306 install-binPROGRAMS: $(bin_PROGRAMS)
308 test -z "$(bindir)" || $(mkdir_p) "$(DESTDIR)$(bindir)"
309 @list='$(bin_PROGRAMS)'; for p in $$list; do \
310 p1=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
313 f=`echo "$$p1" | sed 's,^.*/,,;$(transform);s/$$/$(EXEEXT)/'`; \
314 echo " $(INSTALL_PROGRAM_ENV) $(binPROGRAMS_INSTALL) '$$p' '$(DESTDIR)$(bindir)/$$f'"; \
315 $(INSTALL_PROGRAM_ENV) $(binPROGRAMS_INSTALL) "$$p" "$(DESTDIR)$(bindir)/$$f" || exit 1; \
319 uninstall-binPROGRAMS:
321 @list='$(bin_PROGRAMS)'; for p in $$list; do \
322 f=`echo "$$p" | sed 's,^.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \
323 echo " rm -f '$(DESTDIR)$(bindir)/$$f'"; \
324 rm -f "$(DESTDIR)$(bindir)/$$f"; \
328 -test -z "$(bin_PROGRAMS)" || rm -f $(bin_PROGRAMS)
329 abook$(EXEEXT): $(abook_OBJECTS) $(abook_DEPENDENCIES)
330 @rm -f abook$(EXEEXT)
331 $(LINK) $(abook_LDFLAGS) $(abook_OBJECTS) $(abook_LDADD) $(LIBS)
339 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/abook.Po@am__quote@
340 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/abook_rl.Po@am__quote@
341 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/database.Po@am__quote@
342 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/edit.Po@am__quote@
343 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/filter.Po@am__quote@
344 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/getname.Po@am__quote@
345 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/getopt.Po@am__quote@
346 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/getopt1.Po@am__quote@
347 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/gettext.Po@am__quote@
348 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ldif.Po@am__quote@
349 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/list.Po@am__quote@
350 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/mbswidth.Po@am__quote@
351 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/misc.Po@am__quote@
352 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/options.Po@am__quote@
353 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ui.Po@am__quote@
354 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/views.Po@am__quote@
355 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/xmalloc.Po@am__quote@
358 @am__fastdepCC_TRUE@ if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ $<; \
359 @am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi
360 @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
361 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
362 @am__fastdepCC_FALSE@ $(COMPILE) -c $<
365 @am__fastdepCC_TRUE@ if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ `$(CYGPATH_W) '$<'`; \
366 @am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi
367 @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
368 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
369 @am__fastdepCC_FALSE@ $(COMPILE) -c `$(CYGPATH_W) '$<'`
372 # This directory's subdirectories are mostly independent; you can cd
373 # into them and run `make' without going through this Makefile.
374 # To change the values of `make' variables: instead of editing Makefiles,
375 # (1) if the variable is set in `config.status', edit `config.status'
376 # (which will cause the Makefiles to be regenerated when you run `make');
377 # (2) otherwise, pass the desired values on the `make' command line.
378 $(RECURSIVE_TARGETS):
380 for f in x $$MAKEFLAGS; do \
383 *k*) failcom='fail=yes';; \
387 target=`echo $@ | sed s/-recursive//`; \
388 list='$(SUBDIRS)'; for subdir in $$list; do \
389 echo "Making $$target in $$subdir"; \
390 if test "$$subdir" = "."; then \
392 local_target="$$target-am"; \
394 local_target="$$target"; \
396 (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
399 if test "$$dot_seen" = "no"; then \
400 $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
403 mostlyclean-recursive clean-recursive distclean-recursive \
404 maintainer-clean-recursive:
406 for f in x $$MAKEFLAGS; do \
409 *k*) failcom='fail=yes';; \
414 distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
415 *) list='$(SUBDIRS)' ;; \
417 rev=''; for subdir in $$list; do \
418 if test "$$subdir" = "."; then :; else \
419 rev="$$subdir $$rev"; \
423 target=`echo $@ | sed s/-recursive//`; \
424 for subdir in $$rev; do \
425 echo "Making $$target in $$subdir"; \
426 if test "$$subdir" = "."; then \
427 local_target="$$target-am"; \
429 local_target="$$target"; \
431 (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
433 done && test -z "$$fail"
435 list='$(SUBDIRS)'; for subdir in $$list; do \
436 test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
439 list='$(SUBDIRS)'; for subdir in $$list; do \
440 test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
443 ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
444 list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
445 unique=`for i in $$list; do \
446 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
448 $(AWK) ' { files[$$0] = 1; } \
449 END { for (i in files) print i; }'`; \
453 TAGS: tags-recursive $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \
454 $(TAGS_FILES) $(LISP)
457 if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \
458 include_option=--etags-include; \
461 include_option=--include; \
464 list='$(SUBDIRS)'; for subdir in $$list; do \
465 if test "$$subdir" = .; then :; else \
466 test ! -f $$subdir/TAGS || \
467 tags="$$tags $$include_option=$$here/$$subdir/TAGS"; \
470 list='$(SOURCES) $(HEADERS) config.h.in $(LISP) $(TAGS_FILES)'; \
471 unique=`for i in $$list; do \
472 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
474 $(AWK) ' { files[$$0] = 1; } \
475 END { for (i in files) print i; }'`; \
476 if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \
477 test -n "$$unique" || unique=$$empty_fix; \
478 $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
482 CTAGS: ctags-recursive $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \
483 $(TAGS_FILES) $(LISP)
486 list='$(SOURCES) $(HEADERS) config.h.in $(LISP) $(TAGS_FILES)'; \
487 unique=`for i in $$list; do \
488 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
490 $(AWK) ' { files[$$0] = 1; } \
491 END { for (i in files) print i; }'`; \
492 test -z "$(CTAGS_ARGS)$$tags$$unique" \
493 || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
497 here=`$(am__cd) $(top_builddir) && pwd` \
498 && cd $(top_srcdir) \
499 && gtags -i $(GTAGS_ARGS) $$here
502 -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
504 distdir: $(DISTFILES)
505 $(am__remove_distdir)
507 $(mkdir_p) $(distdir)/. $(distdir)/doc $(distdir)/intl $(distdir)/m4 $(distdir)/po
508 @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
509 topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
510 list='$(DISTFILES)'; for file in $$list; do \
512 $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \
513 $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \
515 if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
516 dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
517 if test "$$dir" != "$$file" && test "$$dir" != "."; then \
519 $(mkdir_p) "$(distdir)$$dir"; \
523 if test -d $$d/$$file; then \
524 if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
525 cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
527 cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
529 test -f $(distdir)/$$file \
530 || cp -p $$d/$$file $(distdir)/$$file \
534 list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
535 if test "$$subdir" = .; then :; else \
536 test -d "$(distdir)/$$subdir" \
537 || $(mkdir_p) "$(distdir)/$$subdir" \
539 distdir=`$(am__cd) $(distdir) && pwd`; \
540 top_distdir=`$(am__cd) $(top_distdir) && pwd`; \
542 $(MAKE) $(AM_MAKEFLAGS) \
543 top_distdir="$$top_distdir" \
544 distdir="$$distdir/$$subdir" \
549 -find $(distdir) -type d ! -perm -777 -exec chmod a+rwx {} \; -o \
550 ! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \
551 ! -type d ! -perm -400 -exec chmod a+r {} \; -o \
552 ! -type d ! -perm -444 -exec $(SHELL) $(install_sh) -c -m a+r {} {} \; \
553 || chmod -R a+r $(distdir)
555 tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
556 $(am__remove_distdir)
559 tardir=$(distdir) && $(am__tar) | bzip2 -9 -c >$(distdir).tar.bz2
560 $(am__remove_distdir)
563 tardir=$(distdir) && $(am__tar) | compress -c >$(distdir).tar.Z
564 $(am__remove_distdir)
567 shar $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).shar.gz
568 $(am__remove_distdir)
571 -rm -f $(distdir).zip
572 zip -rq $(distdir).zip $(distdir)
573 $(am__remove_distdir)
575 dist dist-all: distdir
576 tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
577 $(am__remove_distdir)
579 # This target untars the dist file and tries a VPATH configuration. Then
580 # it guarantees that the distribution is self-contained by making another
583 case '$(DIST_ARCHIVES)' in \
585 GZIP=$(GZIP_ENV) gunzip -c $(distdir).tar.gz | $(am__untar) ;;\
587 bunzip2 -c $(distdir).tar.bz2 | $(am__untar) ;;\
589 uncompress -c $(distdir).tar.Z | $(am__untar) ;;\
591 GZIP=$(GZIP_ENV) gunzip -c $(distdir).shar.gz | unshar ;;\
593 unzip $(distdir).zip ;;\
595 chmod -R a-w $(distdir); chmod a+w $(distdir)
596 mkdir $(distdir)/_build
597 mkdir $(distdir)/_inst
599 dc_install_base=`$(am__cd) $(distdir)/_inst && pwd | sed -e 's,^[^:\\/]:[\\/],/,'` \
600 && dc_destdir="$${TMPDIR-/tmp}/am-dc-$$$$/" \
601 && cd $(distdir)/_build \
602 && ../configure --srcdir=.. --prefix="$$dc_install_base" \
603 --with-included-gettext \
604 $(DISTCHECK_CONFIGURE_FLAGS) \
605 && $(MAKE) $(AM_MAKEFLAGS) \
606 && $(MAKE) $(AM_MAKEFLAGS) dvi \
607 && $(MAKE) $(AM_MAKEFLAGS) check \
608 && $(MAKE) $(AM_MAKEFLAGS) install \
609 && $(MAKE) $(AM_MAKEFLAGS) installcheck \
610 && $(MAKE) $(AM_MAKEFLAGS) uninstall \
611 && $(MAKE) $(AM_MAKEFLAGS) distuninstallcheck_dir="$$dc_install_base" \
613 && chmod -R a-w "$$dc_install_base" \
615 (cd ../.. && umask 077 && mkdir "$$dc_destdir") \
616 && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" install \
617 && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" uninstall \
618 && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" \
619 distuninstallcheck_dir="$$dc_destdir" distuninstallcheck; \
620 } || { rm -rf "$$dc_destdir"; exit 1; }) \
621 && rm -rf "$$dc_destdir" \
622 && $(MAKE) $(AM_MAKEFLAGS) dist \
623 && rm -rf $(DIST_ARCHIVES) \
624 && $(MAKE) $(AM_MAKEFLAGS) distcleancheck
625 $(am__remove_distdir)
626 @(echo "$(distdir) archives ready for distribution: "; \
627 list='$(DIST_ARCHIVES)'; for i in $$list; do echo $$i; done) | \
628 sed -e '1{h;s/./=/g;p;x;}' -e '$${p;x;}'
630 @cd $(distuninstallcheck_dir) \
631 && test `$(distuninstallcheck_listfiles) | wc -l` -le 1 \
632 || { echo "ERROR: files left after uninstall:" ; \
633 if test -n "$(DESTDIR)"; then \
634 echo " (check DESTDIR support)"; \
636 $(distuninstallcheck_listfiles) ; \
638 distcleancheck: distclean
639 @if test '$(srcdir)' = . ; then \
640 echo "ERROR: distcleancheck can only run from a VPATH build" ; \
643 @test `$(distcleancheck_listfiles) | wc -l` -eq 0 \
644 || { echo "ERROR: files left in build directory after distclean:" ; \
645 $(distcleancheck_listfiles) ; \
648 check: check-recursive
649 all-am: Makefile $(PROGRAMS) config.h
650 installdirs: installdirs-recursive
652 for dir in "$(DESTDIR)$(bindir)"; do \
653 test -z "$$dir" || $(mkdir_p) "$$dir"; \
655 install: install-recursive
656 install-exec: install-exec-recursive
657 install-data: install-data-recursive
658 uninstall: uninstall-recursive
661 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
663 installcheck: installcheck-recursive
665 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
666 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
667 `test -z '$(STRIP)' || \
668 echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
674 -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
676 maintainer-clean-generic:
677 @echo "This command is intended for maintainers to use"
678 @echo "it deletes files that may require special tools to rebuild."
679 clean: clean-recursive
681 clean-am: clean-binPROGRAMS clean-generic mostlyclean-am
683 distclean: distclean-recursive
684 -rm -f $(am__CONFIG_DISTCLEAN_FILES)
687 distclean-am: clean-am distclean-compile distclean-generic \
688 distclean-hdr distclean-tags
700 install-data-am: install-data-local
702 install-exec-am: install-binPROGRAMS
704 install-info: install-info-recursive
710 maintainer-clean: maintainer-clean-recursive
711 -rm -f $(am__CONFIG_DISTCLEAN_FILES)
712 -rm -rf $(top_srcdir)/autom4te.cache
715 maintainer-clean-am: distclean-am maintainer-clean-generic
717 mostlyclean: mostlyclean-recursive
719 mostlyclean-am: mostlyclean-compile mostlyclean-generic
729 uninstall-am: uninstall-binPROGRAMS uninstall-info-am uninstall-local
731 uninstall-info: uninstall-info-recursive
733 .PHONY: $(RECURSIVE_TARGETS) CTAGS GTAGS all all-am am--refresh check \
734 check-am clean clean-binPROGRAMS clean-generic clean-recursive \
735 ctags ctags-recursive dist dist-all dist-bzip2 dist-gzip \
736 dist-shar dist-tarZ dist-zip distcheck distclean \
737 distclean-compile distclean-generic distclean-hdr \
738 distclean-recursive distclean-tags distcleancheck distdir \
739 distuninstallcheck dvi dvi-am html html-am info info-am \
740 install install-am install-binPROGRAMS install-data \
741 install-data-am install-data-local install-exec \
742 install-exec-am install-info install-info-am install-man \
743 install-strip installcheck installcheck-am installdirs \
744 installdirs-am maintainer-clean maintainer-clean-generic \
745 maintainer-clean-recursive mostlyclean mostlyclean-compile \
746 mostlyclean-generic mostlyclean-recursive pdf pdf-am ps ps-am \
747 tags tags-recursive uninstall uninstall-am \
748 uninstall-binPROGRAMS uninstall-info-am uninstall-local
752 $(mkinstalldirs) $(DESTDIR)$(mandir)/man1 $(DESTDIR)$(mandir)/man5
753 $(INSTALL_DATA) $(srcdir)/abook.1 $(DESTDIR)$(mandir)/man1/
754 $(INSTALL_DATA) $(srcdir)/abookrc.5 $(DESTDIR)$(mandir)/man5/
757 -rm -f $(DESTDIR)$(mandir)/man1/abook.1
758 -rm -f $(DESTDIR)$(mandir)/man5/abookrc.5
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.