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) abook_rl.$(OBJEXT) \
77 database.$(OBJEXT) edit.$(OBJEXT) filter.$(OBJEXT) \
78 getname.$(OBJEXT) getopt.$(OBJEXT) getopt1.$(OBJEXT) \
79 gettext.$(OBJEXT) ldif.$(OBJEXT) list.$(OBJEXT) \
80 mbswidth.$(OBJEXT) misc.$(OBJEXT) options.$(OBJEXT) \
81 ui.$(OBJEXT) views.$(OBJEXT) xmalloc.$(OBJEXT)
82 abook_OBJECTS = $(am_abook_OBJECTS)
84 DEFAULT_INCLUDES = -I. -I$(srcdir) -I.
85 depcomp = $(SHELL) $(top_srcdir)/depcomp
86 am__depfiles_maybe = depfiles
87 COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
88 $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
90 LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
91 SOURCES = $(abook_SOURCES)
92 DIST_SOURCES = $(abook_SOURCES)
93 RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \
94 html-recursive info-recursive install-data-recursive \
95 install-exec-recursive install-info-recursive \
96 install-recursive installcheck-recursive installdirs-recursive \
97 pdf-recursive ps-recursive uninstall-info-recursive \
101 DIST_SUBDIRS = $(SUBDIRS)
102 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
103 distdir = $(PACKAGE)-$(VERSION)
104 top_distdir = $(distdir)
105 am__remove_distdir = \
106 { test ! -d $(distdir) \
107 || { find $(distdir) -type d ! -perm -200 -exec chmod u+w {} ';' \
108 && rm -fr $(distdir); }; }
109 DIST_ARCHIVES = $(distdir).tar.gz
111 distuninstallcheck_listfiles = find . -type f -print
112 distcleancheck_listfiles = find . -type f -print
115 AMDEP_FALSE = @AMDEP_FALSE@
116 AMDEP_TRUE = @AMDEP_TRUE@
118 AUTOCONF = @AUTOCONF@
119 AUTOHEADER = @AUTOHEADER@
120 AUTOMAKE = @AUTOMAKE@
122 BUILD_INCLUDED_LIBINTL = @BUILD_INCLUDED_LIBINTL@
123 CATOBJEXT = @CATOBJEXT@
125 CCDEPMODE = @CCDEPMODE@
128 CPPFLAGS = @CPPFLAGS@
129 CYGPATH_W = @CYGPATH_W@
130 DATADIRNAME = @DATADIRNAME@
142 HAVE_ASPRINTF = @HAVE_ASPRINTF@
143 HAVE_POSIX_PRINTF = @HAVE_POSIX_PRINTF@
144 HAVE_SNPRINTF = @HAVE_SNPRINTF@
145 HAVE_WPRINTF = @HAVE_WPRINTF@
146 INSTALL_DATA = @INSTALL_DATA@
147 INSTALL_PROGRAM = @INSTALL_PROGRAM@
148 INSTALL_SCRIPT = @INSTALL_SCRIPT@
149 INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
150 INSTOBJEXT = @INSTOBJEXT@
151 INTLBISON = @INTLBISON@
152 INTLLIBS = @INTLLIBS@
153 INTLOBJS = @INTLOBJS@
154 INTL_LIBTOOL_SUFFIX_PREFIX = @INTL_LIBTOOL_SUFFIX_PREFIX@
155 INTL_MACOSX_LIBS = @INTL_MACOSX_LIBS@
157 LIBICONV = @LIBICONV@
161 LTLIBICONV = @LTLIBICONV@
162 LTLIBINTL = @LTLIBINTL@
163 LTLIBOBJS = @LTLIBOBJS@
164 MAKEINFO = @MAKEINFO@
165 MKINSTALLDIRS = @MKINSTALLDIRS@
167 MSGMERGE = @MSGMERGE@
170 PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
171 PACKAGE_NAME = @PACKAGE_NAME@
172 PACKAGE_STRING = @PACKAGE_STRING@
173 PACKAGE_TARNAME = @PACKAGE_TARNAME@
174 PACKAGE_VERSION = @PACKAGE_VERSION@
175 PATH_SEPARATOR = @PATH_SEPARATOR@
178 SET_MAKE = @SET_MAKE@
182 USE_INCLUDED_INTL_H_FALSE = @USE_INCLUDED_INTL_H_FALSE@
183 USE_INCLUDED_INTL_H_TRUE = @USE_INCLUDED_INTL_H_TRUE@
184 USE_INCLUDED_LIBINTL = @USE_INCLUDED_LIBINTL@
187 XGETTEXT = @XGETTEXT@
188 ac_ct_CC = @ac_ct_CC@
189 ac_ct_RANLIB = @ac_ct_RANLIB@
190 ac_ct_STRIP = @ac_ct_STRIP@
191 am__fastdepCC_FALSE = @am__fastdepCC_FALSE@
192 am__fastdepCC_TRUE = @am__fastdepCC_TRUE@
193 am__include = @am__include@
194 am__leading_dot = @am__leading_dot@
195 am__quote = @am__quote@
197 am__untar = @am__untar@
200 build_alias = @build_alias@
201 build_cpu = @build_cpu@
202 build_os = @build_os@
203 build_vendor = @build_vendor@
205 exec_prefix = @exec_prefix@
207 host_alias = @host_alias@
208 host_cpu = @host_cpu@
210 host_vendor = @host_vendor@
211 includedir = @includedir@
213 install_sh = @install_sh@
215 libexecdir = @libexecdir@
216 localedir = @localedir@
217 localstatedir = @localstatedir@
220 oldincludedir = @oldincludedir@
222 program_transform_name = @program_transform_name@
224 sharedstatedir = @sharedstatedir@
225 sysconfdir = @sysconfdir@
226 target_alias = @target_alias@
227 abook_SOURCES = abook.c abook_rl.c database.c edit.c \
228 filter.c getname.c getopt.c getopt1.c gettext.c \
229 ldif.c list.c mbswidth.c misc.c options.c \
230 ui.c views.c xmalloc.c \
232 abook.h abook_curses.h abook_rl.h database.h edit.h \
233 filter.h getname.h getopt.h gettext.h \
234 help.h list.h ldif.h mbswidth.h misc.h options.h \
235 ui.h views.h xmalloc.h
237 EXTRA_DIST = config.rpath ANNOUNCE BUGS FAQ abook.1 abookrc.5 sample.abookrc \
238 abook.spec contrib doc/HOWTO.translating_abook \
241 abook_LDADD = @LIBINTL@
243 ACLOCAL_AMFLAGS = -I m4
244 @USE_INCLUDED_INTL_H_TRUE@AM_CPPFLAGS = -Iintl
246 $(MAKE) $(AM_MAKEFLAGS) all-recursive
249 .SUFFIXES: .c .o .obj
252 $(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps)
254 case '$(am__configure_deps)' in \
256 echo ' cd $(srcdir) && $(AUTOMAKE) --gnu '; \
257 cd $(srcdir) && $(AUTOMAKE) --gnu \
262 echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu Makefile'; \
263 cd $(top_srcdir) && \
264 $(AUTOMAKE) --gnu Makefile
266 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
269 echo ' $(SHELL) ./config.status'; \
270 $(SHELL) ./config.status;; \
272 echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe)'; \
273 cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe);; \
276 $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
277 $(SHELL) ./config.status --recheck
279 $(top_srcdir)/configure: $(am__configure_deps)
280 cd $(srcdir) && $(AUTOCONF)
281 $(ACLOCAL_M4): $(am__aclocal_m4_deps)
282 cd $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
285 @if test ! -f $@; then \
290 stamp-h1: $(srcdir)/config.h.in $(top_builddir)/config.status
292 cd $(top_builddir) && $(SHELL) ./config.status config.h
293 $(srcdir)/config.h.in: $(am__configure_deps)
294 cd $(top_srcdir) && $(AUTOHEADER)
299 -rm -f config.h stamp-h1
300 abook.spec: $(top_builddir)/config.status $(srcdir)/abook.spec.in
301 cd $(top_builddir) && $(SHELL) ./config.status $@
302 intl/Makefile: $(top_builddir)/config.status $(top_srcdir)/intl/Makefile.in
303 cd $(top_builddir) && $(SHELL) ./config.status $@
304 install-binPROGRAMS: $(bin_PROGRAMS)
306 test -z "$(bindir)" || $(mkdir_p) "$(DESTDIR)$(bindir)"
307 @list='$(bin_PROGRAMS)'; for p in $$list; do \
308 p1=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
311 f=`echo "$$p1" | sed 's,^.*/,,;$(transform);s/$$/$(EXEEXT)/'`; \
312 echo " $(INSTALL_PROGRAM_ENV) $(binPROGRAMS_INSTALL) '$$p' '$(DESTDIR)$(bindir)/$$f'"; \
313 $(INSTALL_PROGRAM_ENV) $(binPROGRAMS_INSTALL) "$$p" "$(DESTDIR)$(bindir)/$$f" || exit 1; \
317 uninstall-binPROGRAMS:
319 @list='$(bin_PROGRAMS)'; for p in $$list; do \
320 f=`echo "$$p" | sed 's,^.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \
321 echo " rm -f '$(DESTDIR)$(bindir)/$$f'"; \
322 rm -f "$(DESTDIR)$(bindir)/$$f"; \
326 -test -z "$(bin_PROGRAMS)" || rm -f $(bin_PROGRAMS)
327 abook$(EXEEXT): $(abook_OBJECTS) $(abook_DEPENDENCIES)
328 @rm -f abook$(EXEEXT)
329 $(LINK) $(abook_LDFLAGS) $(abook_OBJECTS) $(abook_LDADD) $(LIBS)
337 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/abook.Po@am__quote@
338 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/abook_rl.Po@am__quote@
339 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/database.Po@am__quote@
340 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/edit.Po@am__quote@
341 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/filter.Po@am__quote@
342 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/getname.Po@am__quote@
343 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/getopt.Po@am__quote@
344 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/getopt1.Po@am__quote@
345 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/gettext.Po@am__quote@
346 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ldif.Po@am__quote@
347 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/list.Po@am__quote@
348 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/mbswidth.Po@am__quote@
349 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/misc.Po@am__quote@
350 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/options.Po@am__quote@
351 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ui.Po@am__quote@
352 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/views.Po@am__quote@
353 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/xmalloc.Po@am__quote@
356 @am__fastdepCC_TRUE@ if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ $<; \
357 @am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi
358 @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
359 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
360 @am__fastdepCC_FALSE@ $(COMPILE) -c $<
363 @am__fastdepCC_TRUE@ if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ `$(CYGPATH_W) '$<'`; \
364 @am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi
365 @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
366 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
367 @am__fastdepCC_FALSE@ $(COMPILE) -c `$(CYGPATH_W) '$<'`
370 # This directory's subdirectories are mostly independent; you can cd
371 # into them and run `make' without going through this Makefile.
372 # To change the values of `make' variables: instead of editing Makefiles,
373 # (1) if the variable is set in `config.status', edit `config.status'
374 # (which will cause the Makefiles to be regenerated when you run `make');
375 # (2) otherwise, pass the desired values on the `make' command line.
376 $(RECURSIVE_TARGETS):
377 @set fnord $$MAKEFLAGS; amf=$$2; \
379 target=`echo $@ | sed s/-recursive//`; \
380 list='$(SUBDIRS)'; for subdir in $$list; do \
381 echo "Making $$target in $$subdir"; \
382 if test "$$subdir" = "."; then \
384 local_target="$$target-am"; \
386 local_target="$$target"; \
388 (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
389 || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
391 if test "$$dot_seen" = "no"; then \
392 $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
395 mostlyclean-recursive clean-recursive distclean-recursive \
396 maintainer-clean-recursive:
397 @set fnord $$MAKEFLAGS; amf=$$2; \
400 distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
401 *) list='$(SUBDIRS)' ;; \
403 rev=''; for subdir in $$list; do \
404 if test "$$subdir" = "."; then :; else \
405 rev="$$subdir $$rev"; \
409 target=`echo $@ | sed s/-recursive//`; \
410 for subdir in $$rev; do \
411 echo "Making $$target in $$subdir"; \
412 if test "$$subdir" = "."; then \
413 local_target="$$target-am"; \
415 local_target="$$target"; \
417 (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
418 || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
419 done && test -z "$$fail"
421 list='$(SUBDIRS)'; for subdir in $$list; do \
422 test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
425 list='$(SUBDIRS)'; for subdir in $$list; do \
426 test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
429 ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
430 list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
431 unique=`for i in $$list; do \
432 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
434 $(AWK) ' { files[$$0] = 1; } \
435 END { for (i in files) print i; }'`; \
439 TAGS: tags-recursive $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \
440 $(TAGS_FILES) $(LISP)
443 if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \
444 include_option=--etags-include; \
447 include_option=--include; \
450 list='$(SUBDIRS)'; for subdir in $$list; do \
451 if test "$$subdir" = .; then :; else \
452 test ! -f $$subdir/TAGS || \
453 tags="$$tags $$include_option=$$here/$$subdir/TAGS"; \
456 list='$(SOURCES) $(HEADERS) config.h.in $(LISP) $(TAGS_FILES)'; \
457 unique=`for i in $$list; do \
458 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
460 $(AWK) ' { files[$$0] = 1; } \
461 END { for (i in files) print i; }'`; \
462 if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \
463 test -n "$$unique" || unique=$$empty_fix; \
464 $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
468 CTAGS: ctags-recursive $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \
469 $(TAGS_FILES) $(LISP)
472 list='$(SOURCES) $(HEADERS) config.h.in $(LISP) $(TAGS_FILES)'; \
473 unique=`for i in $$list; do \
474 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
476 $(AWK) ' { files[$$0] = 1; } \
477 END { for (i in files) print i; }'`; \
478 test -z "$(CTAGS_ARGS)$$tags$$unique" \
479 || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
483 here=`$(am__cd) $(top_builddir) && pwd` \
484 && cd $(top_srcdir) \
485 && gtags -i $(GTAGS_ARGS) $$here
488 -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
490 distdir: $(DISTFILES)
491 $(am__remove_distdir)
493 $(mkdir_p) $(distdir)/. $(distdir)/doc $(distdir)/intl $(distdir)/m4 $(distdir)/po
494 @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
495 topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
496 list='$(DISTFILES)'; for file in $$list; do \
498 $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \
499 $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \
501 if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
502 dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
503 if test "$$dir" != "$$file" && test "$$dir" != "."; then \
505 $(mkdir_p) "$(distdir)$$dir"; \
509 if test -d $$d/$$file; then \
510 if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
511 cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
513 cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
515 test -f $(distdir)/$$file \
516 || cp -p $$d/$$file $(distdir)/$$file \
520 list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
521 if test "$$subdir" = .; then :; else \
522 test -d "$(distdir)/$$subdir" \
523 || $(mkdir_p) "$(distdir)/$$subdir" \
525 distdir=`$(am__cd) $(distdir) && pwd`; \
526 top_distdir=`$(am__cd) $(top_distdir) && pwd`; \
528 $(MAKE) $(AM_MAKEFLAGS) \
529 top_distdir="$$top_distdir" \
530 distdir="$$distdir/$$subdir" \
535 -find $(distdir) -type d ! -perm -777 -exec chmod a+rwx {} \; -o \
536 ! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \
537 ! -type d ! -perm -400 -exec chmod a+r {} \; -o \
538 ! -type d ! -perm -444 -exec $(SHELL) $(install_sh) -c -m a+r {} {} \; \
539 || chmod -R a+r $(distdir)
541 tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
542 $(am__remove_distdir)
545 tardir=$(distdir) && $(am__tar) | bzip2 -9 -c >$(distdir).tar.bz2
546 $(am__remove_distdir)
549 tardir=$(distdir) && $(am__tar) | compress -c >$(distdir).tar.Z
550 $(am__remove_distdir)
553 shar $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).shar.gz
554 $(am__remove_distdir)
557 -rm -f $(distdir).zip
558 zip -rq $(distdir).zip $(distdir)
559 $(am__remove_distdir)
561 dist dist-all: distdir
562 tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
563 $(am__remove_distdir)
565 # This target untars the dist file and tries a VPATH configuration. Then
566 # it guarantees that the distribution is self-contained by making another
569 case '$(DIST_ARCHIVES)' in \
571 GZIP=$(GZIP_ENV) gunzip -c $(distdir).tar.gz | $(am__untar) ;;\
573 bunzip2 -c $(distdir).tar.bz2 | $(am__untar) ;;\
575 uncompress -c $(distdir).tar.Z | $(am__untar) ;;\
577 GZIP=$(GZIP_ENV) gunzip -c $(distdir).shar.gz | unshar ;;\
579 unzip $(distdir).zip ;;\
581 chmod -R a-w $(distdir); chmod a+w $(distdir)
582 mkdir $(distdir)/_build
583 mkdir $(distdir)/_inst
585 dc_install_base=`$(am__cd) $(distdir)/_inst && pwd | sed -e 's,^[^:\\/]:[\\/],/,'` \
586 && dc_destdir="$${TMPDIR-/tmp}/am-dc-$$$$/" \
587 && cd $(distdir)/_build \
588 && ../configure --srcdir=.. --prefix="$$dc_install_base" \
589 --with-included-gettext \
590 $(DISTCHECK_CONFIGURE_FLAGS) \
591 && $(MAKE) $(AM_MAKEFLAGS) \
592 && $(MAKE) $(AM_MAKEFLAGS) dvi \
593 && $(MAKE) $(AM_MAKEFLAGS) check \
594 && $(MAKE) $(AM_MAKEFLAGS) install \
595 && $(MAKE) $(AM_MAKEFLAGS) installcheck \
596 && $(MAKE) $(AM_MAKEFLAGS) uninstall \
597 && $(MAKE) $(AM_MAKEFLAGS) distuninstallcheck_dir="$$dc_install_base" \
599 && chmod -R a-w "$$dc_install_base" \
601 (cd ../.. && umask 077 && mkdir "$$dc_destdir") \
602 && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" install \
603 && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" uninstall \
604 && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" \
605 distuninstallcheck_dir="$$dc_destdir" distuninstallcheck; \
606 } || { rm -rf "$$dc_destdir"; exit 1; }) \
607 && rm -rf "$$dc_destdir" \
608 && $(MAKE) $(AM_MAKEFLAGS) dist \
609 && rm -rf $(DIST_ARCHIVES) \
610 && $(MAKE) $(AM_MAKEFLAGS) distcleancheck
611 $(am__remove_distdir)
612 @(echo "$(distdir) archives ready for distribution: "; \
613 list='$(DIST_ARCHIVES)'; for i in $$list; do echo $$i; done) | \
614 sed -e '1{h;s/./=/g;p;x;}' -e '$${p;x;}'
616 @cd $(distuninstallcheck_dir) \
617 && test `$(distuninstallcheck_listfiles) | wc -l` -le 1 \
618 || { echo "ERROR: files left after uninstall:" ; \
619 if test -n "$(DESTDIR)"; then \
620 echo " (check DESTDIR support)"; \
622 $(distuninstallcheck_listfiles) ; \
624 distcleancheck: distclean
625 @if test '$(srcdir)' = . ; then \
626 echo "ERROR: distcleancheck can only run from a VPATH build" ; \
629 @test `$(distcleancheck_listfiles) | wc -l` -eq 0 \
630 || { echo "ERROR: files left in build directory after distclean:" ; \
631 $(distcleancheck_listfiles) ; \
634 check: check-recursive
635 all-am: Makefile $(PROGRAMS) config.h
636 installdirs: installdirs-recursive
638 for dir in "$(DESTDIR)$(bindir)"; do \
639 test -z "$$dir" || $(mkdir_p) "$$dir"; \
641 install: install-recursive
642 install-exec: install-exec-recursive
643 install-data: install-data-recursive
644 uninstall: uninstall-recursive
647 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
649 installcheck: installcheck-recursive
651 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
652 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
653 `test -z '$(STRIP)' || \
654 echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
660 -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
662 maintainer-clean-generic:
663 @echo "This command is intended for maintainers to use"
664 @echo "it deletes files that may require special tools to rebuild."
665 clean: clean-recursive
667 clean-am: clean-binPROGRAMS clean-generic mostlyclean-am
669 distclean: distclean-recursive
670 -rm -f $(am__CONFIG_DISTCLEAN_FILES)
673 distclean-am: clean-am distclean-compile distclean-generic \
674 distclean-hdr distclean-tags
686 install-data-am: install-data-local
688 install-exec-am: install-binPROGRAMS
690 install-info: install-info-recursive
696 maintainer-clean: maintainer-clean-recursive
697 -rm -f $(am__CONFIG_DISTCLEAN_FILES)
698 -rm -rf $(top_srcdir)/autom4te.cache
701 maintainer-clean-am: distclean-am maintainer-clean-generic
703 mostlyclean: mostlyclean-recursive
705 mostlyclean-am: mostlyclean-compile mostlyclean-generic
715 uninstall-am: uninstall-binPROGRAMS uninstall-info-am uninstall-local
717 uninstall-info: uninstall-info-recursive
719 .PHONY: $(RECURSIVE_TARGETS) CTAGS GTAGS all all-am am--refresh check \
720 check-am clean clean-binPROGRAMS clean-generic clean-recursive \
721 ctags ctags-recursive dist dist-all dist-bzip2 dist-gzip \
722 dist-shar dist-tarZ dist-zip distcheck distclean \
723 distclean-compile distclean-generic distclean-hdr \
724 distclean-recursive distclean-tags distcleancheck distdir \
725 distuninstallcheck dvi dvi-am html html-am info info-am \
726 install install-am install-binPROGRAMS install-data \
727 install-data-am install-data-local install-exec \
728 install-exec-am install-info install-info-am install-man \
729 install-strip installcheck installcheck-am installdirs \
730 installdirs-am maintainer-clean maintainer-clean-generic \
731 maintainer-clean-recursive mostlyclean mostlyclean-compile \
732 mostlyclean-generic mostlyclean-recursive pdf pdf-am ps ps-am \
733 tags tags-recursive uninstall uninstall-am \
734 uninstall-binPROGRAMS uninstall-info-am uninstall-local
738 $(mkinstalldirs) $(DESTDIR)$(mandir)/man1 $(DESTDIR)$(mandir)/man5
739 $(INSTALL_DATA) $(srcdir)/abook.1 $(DESTDIR)$(mandir)/man1/
740 $(INSTALL_DATA) $(srcdir)/abookrc.5 $(DESTDIR)$(mandir)/man5/
743 -rm -f $(DESTDIR)$(mandir)/man1/abook.1
744 -rm -f $(DESTDIR)$(mandir)/man5/abookrc.5
745 # Tell versions [3.59,3.63) of GNU make to not export all variables.
746 # Otherwise a system limit (for SysV at least) may be exceeded.