1 # Makefile.in generated by automake 1.9.5 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
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
240 abook_LDADD = @LIBINTL@
242 ACLOCAL_AMFLAGS = -I m4
243 @USE_INCLUDED_INTL_H_TRUE@AM_CPPFLAGS = -Iintl
245 $(MAKE) $(AM_MAKEFLAGS) all-recursive
248 .SUFFIXES: .c .o .obj
251 $(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps)
253 case '$(am__configure_deps)' in \
255 echo ' cd $(srcdir) && $(AUTOMAKE) --gnu '; \
256 cd $(srcdir) && $(AUTOMAKE) --gnu \
261 echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu Makefile'; \
262 cd $(top_srcdir) && \
263 $(AUTOMAKE) --gnu Makefile
265 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
268 echo ' $(SHELL) ./config.status'; \
269 $(SHELL) ./config.status;; \
271 echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe)'; \
272 cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe);; \
275 $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
276 $(SHELL) ./config.status --recheck
278 $(top_srcdir)/configure: $(am__configure_deps)
279 cd $(srcdir) && $(AUTOCONF)
280 $(ACLOCAL_M4): $(am__aclocal_m4_deps)
281 cd $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
284 @if test ! -f $@; then \
289 stamp-h1: $(srcdir)/config.h.in $(top_builddir)/config.status
291 cd $(top_builddir) && $(SHELL) ./config.status config.h
292 $(srcdir)/config.h.in: $(am__configure_deps)
293 cd $(top_srcdir) && $(AUTOHEADER)
298 -rm -f config.h stamp-h1
299 abook.spec: $(top_builddir)/config.status $(srcdir)/abook.spec.in
300 cd $(top_builddir) && $(SHELL) ./config.status $@
301 intl/Makefile: $(top_builddir)/config.status $(top_srcdir)/intl/Makefile.in
302 cd $(top_builddir) && $(SHELL) ./config.status $@
303 install-binPROGRAMS: $(bin_PROGRAMS)
305 test -z "$(bindir)" || $(mkdir_p) "$(DESTDIR)$(bindir)"
306 @list='$(bin_PROGRAMS)'; for p in $$list; do \
307 p1=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
310 f=`echo "$$p1" | sed 's,^.*/,,;$(transform);s/$$/$(EXEEXT)/'`; \
311 echo " $(INSTALL_PROGRAM_ENV) $(binPROGRAMS_INSTALL) '$$p' '$(DESTDIR)$(bindir)/$$f'"; \
312 $(INSTALL_PROGRAM_ENV) $(binPROGRAMS_INSTALL) "$$p" "$(DESTDIR)$(bindir)/$$f" || exit 1; \
316 uninstall-binPROGRAMS:
318 @list='$(bin_PROGRAMS)'; for p in $$list; do \
319 f=`echo "$$p" | sed 's,^.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \
320 echo " rm -f '$(DESTDIR)$(bindir)/$$f'"; \
321 rm -f "$(DESTDIR)$(bindir)/$$f"; \
325 -test -z "$(bin_PROGRAMS)" || rm -f $(bin_PROGRAMS)
326 abook$(EXEEXT): $(abook_OBJECTS) $(abook_DEPENDENCIES)
327 @rm -f abook$(EXEEXT)
328 $(LINK) $(abook_LDFLAGS) $(abook_OBJECTS) $(abook_LDADD) $(LIBS)
336 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/abook.Po@am__quote@
337 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/abook_rl.Po@am__quote@
338 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/database.Po@am__quote@
339 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/edit.Po@am__quote@
340 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/filter.Po@am__quote@
341 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/getname.Po@am__quote@
342 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/getopt.Po@am__quote@
343 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/getopt1.Po@am__quote@
344 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/gettext.Po@am__quote@
345 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ldif.Po@am__quote@
346 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/list.Po@am__quote@
347 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/mbswidth.Po@am__quote@
348 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/misc.Po@am__quote@
349 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/options.Po@am__quote@
350 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ui.Po@am__quote@
351 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/views.Po@am__quote@
352 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/xmalloc.Po@am__quote@
355 @am__fastdepCC_TRUE@ if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ $<; \
356 @am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi
357 @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
358 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
359 @am__fastdepCC_FALSE@ $(COMPILE) -c $<
362 @am__fastdepCC_TRUE@ if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ `$(CYGPATH_W) '$<'`; \
363 @am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi
364 @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
365 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
366 @am__fastdepCC_FALSE@ $(COMPILE) -c `$(CYGPATH_W) '$<'`
369 # This directory's subdirectories are mostly independent; you can cd
370 # into them and run `make' without going through this Makefile.
371 # To change the values of `make' variables: instead of editing Makefiles,
372 # (1) if the variable is set in `config.status', edit `config.status'
373 # (which will cause the Makefiles to be regenerated when you run `make');
374 # (2) otherwise, pass the desired values on the `make' command line.
375 $(RECURSIVE_TARGETS):
377 for f in x $$MAKEFLAGS; do \
380 *k*) failcom='fail=yes';; \
384 target=`echo $@ | sed s/-recursive//`; \
385 list='$(SUBDIRS)'; for subdir in $$list; do \
386 echo "Making $$target in $$subdir"; \
387 if test "$$subdir" = "."; then \
389 local_target="$$target-am"; \
391 local_target="$$target"; \
393 (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
396 if test "$$dot_seen" = "no"; then \
397 $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
400 mostlyclean-recursive clean-recursive distclean-recursive \
401 maintainer-clean-recursive:
403 for f in x $$MAKEFLAGS; do \
406 *k*) failcom='fail=yes';; \
411 distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
412 *) list='$(SUBDIRS)' ;; \
414 rev=''; for subdir in $$list; do \
415 if test "$$subdir" = "."; then :; else \
416 rev="$$subdir $$rev"; \
420 target=`echo $@ | sed s/-recursive//`; \
421 for subdir in $$rev; do \
422 echo "Making $$target in $$subdir"; \
423 if test "$$subdir" = "."; then \
424 local_target="$$target-am"; \
426 local_target="$$target"; \
428 (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
430 done && test -z "$$fail"
432 list='$(SUBDIRS)'; for subdir in $$list; do \
433 test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
436 list='$(SUBDIRS)'; for subdir in $$list; do \
437 test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
440 ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
441 list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
442 unique=`for i in $$list; do \
443 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
445 $(AWK) ' { files[$$0] = 1; } \
446 END { for (i in files) print i; }'`; \
450 TAGS: tags-recursive $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \
451 $(TAGS_FILES) $(LISP)
454 if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \
455 include_option=--etags-include; \
458 include_option=--include; \
461 list='$(SUBDIRS)'; for subdir in $$list; do \
462 if test "$$subdir" = .; then :; else \
463 test ! -f $$subdir/TAGS || \
464 tags="$$tags $$include_option=$$here/$$subdir/TAGS"; \
467 list='$(SOURCES) $(HEADERS) config.h.in $(LISP) $(TAGS_FILES)'; \
468 unique=`for i in $$list; do \
469 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
471 $(AWK) ' { files[$$0] = 1; } \
472 END { for (i in files) print i; }'`; \
473 if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \
474 test -n "$$unique" || unique=$$empty_fix; \
475 $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
479 CTAGS: ctags-recursive $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \
480 $(TAGS_FILES) $(LISP)
483 list='$(SOURCES) $(HEADERS) config.h.in $(LISP) $(TAGS_FILES)'; \
484 unique=`for i in $$list; do \
485 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
487 $(AWK) ' { files[$$0] = 1; } \
488 END { for (i in files) print i; }'`; \
489 test -z "$(CTAGS_ARGS)$$tags$$unique" \
490 || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
494 here=`$(am__cd) $(top_builddir) && pwd` \
495 && cd $(top_srcdir) \
496 && gtags -i $(GTAGS_ARGS) $$here
499 -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
501 distdir: $(DISTFILES)
502 $(am__remove_distdir)
504 $(mkdir_p) $(distdir)/. $(distdir)/doc $(distdir)/intl $(distdir)/m4 $(distdir)/po
505 @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
506 topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
507 list='$(DISTFILES)'; for file in $$list; do \
509 $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \
510 $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \
512 if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
513 dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
514 if test "$$dir" != "$$file" && test "$$dir" != "."; then \
516 $(mkdir_p) "$(distdir)$$dir"; \
520 if test -d $$d/$$file; then \
521 if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
522 cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
524 cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
526 test -f $(distdir)/$$file \
527 || cp -p $$d/$$file $(distdir)/$$file \
531 list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
532 if test "$$subdir" = .; then :; else \
533 test -d "$(distdir)/$$subdir" \
534 || $(mkdir_p) "$(distdir)/$$subdir" \
536 distdir=`$(am__cd) $(distdir) && pwd`; \
537 top_distdir=`$(am__cd) $(top_distdir) && pwd`; \
539 $(MAKE) $(AM_MAKEFLAGS) \
540 top_distdir="$$top_distdir" \
541 distdir="$$distdir/$$subdir" \
546 -find $(distdir) -type d ! -perm -777 -exec chmod a+rwx {} \; -o \
547 ! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \
548 ! -type d ! -perm -400 -exec chmod a+r {} \; -o \
549 ! -type d ! -perm -444 -exec $(SHELL) $(install_sh) -c -m a+r {} {} \; \
550 || chmod -R a+r $(distdir)
552 tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
553 $(am__remove_distdir)
556 tardir=$(distdir) && $(am__tar) | bzip2 -9 -c >$(distdir).tar.bz2
557 $(am__remove_distdir)
560 tardir=$(distdir) && $(am__tar) | compress -c >$(distdir).tar.Z
561 $(am__remove_distdir)
564 shar $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).shar.gz
565 $(am__remove_distdir)
568 -rm -f $(distdir).zip
569 zip -rq $(distdir).zip $(distdir)
570 $(am__remove_distdir)
572 dist dist-all: distdir
573 tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
574 $(am__remove_distdir)
576 # This target untars the dist file and tries a VPATH configuration. Then
577 # it guarantees that the distribution is self-contained by making another
580 case '$(DIST_ARCHIVES)' in \
582 GZIP=$(GZIP_ENV) gunzip -c $(distdir).tar.gz | $(am__untar) ;;\
584 bunzip2 -c $(distdir).tar.bz2 | $(am__untar) ;;\
586 uncompress -c $(distdir).tar.Z | $(am__untar) ;;\
588 GZIP=$(GZIP_ENV) gunzip -c $(distdir).shar.gz | unshar ;;\
590 unzip $(distdir).zip ;;\
592 chmod -R a-w $(distdir); chmod a+w $(distdir)
593 mkdir $(distdir)/_build
594 mkdir $(distdir)/_inst
596 dc_install_base=`$(am__cd) $(distdir)/_inst && pwd | sed -e 's,^[^:\\/]:[\\/],/,'` \
597 && dc_destdir="$${TMPDIR-/tmp}/am-dc-$$$$/" \
598 && cd $(distdir)/_build \
599 && ../configure --srcdir=.. --prefix="$$dc_install_base" \
600 --with-included-gettext \
601 $(DISTCHECK_CONFIGURE_FLAGS) \
602 && $(MAKE) $(AM_MAKEFLAGS) \
603 && $(MAKE) $(AM_MAKEFLAGS) dvi \
604 && $(MAKE) $(AM_MAKEFLAGS) check \
605 && $(MAKE) $(AM_MAKEFLAGS) install \
606 && $(MAKE) $(AM_MAKEFLAGS) installcheck \
607 && $(MAKE) $(AM_MAKEFLAGS) uninstall \
608 && $(MAKE) $(AM_MAKEFLAGS) distuninstallcheck_dir="$$dc_install_base" \
610 && chmod -R a-w "$$dc_install_base" \
612 (cd ../.. && umask 077 && mkdir "$$dc_destdir") \
613 && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" install \
614 && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" uninstall \
615 && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" \
616 distuninstallcheck_dir="$$dc_destdir" distuninstallcheck; \
617 } || { rm -rf "$$dc_destdir"; exit 1; }) \
618 && rm -rf "$$dc_destdir" \
619 && $(MAKE) $(AM_MAKEFLAGS) dist \
620 && rm -rf $(DIST_ARCHIVES) \
621 && $(MAKE) $(AM_MAKEFLAGS) distcleancheck
622 $(am__remove_distdir)
623 @(echo "$(distdir) archives ready for distribution: "; \
624 list='$(DIST_ARCHIVES)'; for i in $$list; do echo $$i; done) | \
625 sed -e '1{h;s/./=/g;p;x;}' -e '$${p;x;}'
627 @cd $(distuninstallcheck_dir) \
628 && test `$(distuninstallcheck_listfiles) | wc -l` -le 1 \
629 || { echo "ERROR: files left after uninstall:" ; \
630 if test -n "$(DESTDIR)"; then \
631 echo " (check DESTDIR support)"; \
633 $(distuninstallcheck_listfiles) ; \
635 distcleancheck: distclean
636 @if test '$(srcdir)' = . ; then \
637 echo "ERROR: distcleancheck can only run from a VPATH build" ; \
640 @test `$(distcleancheck_listfiles) | wc -l` -eq 0 \
641 || { echo "ERROR: files left in build directory after distclean:" ; \
642 $(distcleancheck_listfiles) ; \
645 check: check-recursive
646 all-am: Makefile $(PROGRAMS) config.h
647 installdirs: installdirs-recursive
649 for dir in "$(DESTDIR)$(bindir)"; do \
650 test -z "$$dir" || $(mkdir_p) "$$dir"; \
652 install: install-recursive
653 install-exec: install-exec-recursive
654 install-data: install-data-recursive
655 uninstall: uninstall-recursive
658 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
660 installcheck: installcheck-recursive
662 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
663 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
664 `test -z '$(STRIP)' || \
665 echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
671 -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
673 maintainer-clean-generic:
674 @echo "This command is intended for maintainers to use"
675 @echo "it deletes files that may require special tools to rebuild."
676 clean: clean-recursive
678 clean-am: clean-binPROGRAMS clean-generic mostlyclean-am
680 distclean: distclean-recursive
681 -rm -f $(am__CONFIG_DISTCLEAN_FILES)
684 distclean-am: clean-am distclean-compile distclean-generic \
685 distclean-hdr distclean-tags
697 install-data-am: install-data-local
699 install-exec-am: install-binPROGRAMS
701 install-info: install-info-recursive
707 maintainer-clean: maintainer-clean-recursive
708 -rm -f $(am__CONFIG_DISTCLEAN_FILES)
709 -rm -rf $(top_srcdir)/autom4te.cache
712 maintainer-clean-am: distclean-am maintainer-clean-generic
714 mostlyclean: mostlyclean-recursive
716 mostlyclean-am: mostlyclean-compile mostlyclean-generic
726 uninstall-am: uninstall-binPROGRAMS uninstall-info-am uninstall-local
728 uninstall-info: uninstall-info-recursive
730 .PHONY: $(RECURSIVE_TARGETS) CTAGS GTAGS all all-am am--refresh check \
731 check-am clean clean-binPROGRAMS clean-generic clean-recursive \
732 ctags ctags-recursive dist dist-all dist-bzip2 dist-gzip \
733 dist-shar dist-tarZ dist-zip distcheck distclean \
734 distclean-compile distclean-generic distclean-hdr \
735 distclean-recursive distclean-tags distcleancheck distdir \
736 distuninstallcheck dvi dvi-am html html-am info info-am \
737 install install-am install-binPROGRAMS install-data \
738 install-data-am install-data-local install-exec \
739 install-exec-am install-info install-info-am install-man \
740 install-strip installcheck installcheck-am installdirs \
741 installdirs-am maintainer-clean maintainer-clean-generic \
742 maintainer-clean-recursive mostlyclean mostlyclean-compile \
743 mostlyclean-generic mostlyclean-recursive pdf pdf-am ps ps-am \
744 tags tags-recursive uninstall uninstall-am \
745 uninstall-binPROGRAMS uninstall-info-am uninstall-local
749 $(mkinstalldirs) $(DESTDIR)$(mandir)/man1 $(DESTDIR)$(mandir)/man5
750 $(INSTALL_DATA) $(srcdir)/abook.1 $(DESTDIR)$(mandir)/man1/
751 $(INSTALL_DATA) $(srcdir)/abookrc.5 $(DESTDIR)$(mandir)/man5/
754 -rm -f $(DESTDIR)$(mandir)/man1/abook.1
755 -rm -f $(DESTDIR)$(mandir)/man5/abookrc.5
756 # Tell versions [3.59,3.63) of GNU make to not export all variables.
757 # Otherwise a system limit (for SysV at least) may be exceeded.