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
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):
376 @set fnord $$MAKEFLAGS; amf=$$2; \
378 target=`echo $@ | sed s/-recursive//`; \
379 list='$(SUBDIRS)'; for subdir in $$list; do \
380 echo "Making $$target in $$subdir"; \
381 if test "$$subdir" = "."; then \
383 local_target="$$target-am"; \
385 local_target="$$target"; \
387 (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
388 || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
390 if test "$$dot_seen" = "no"; then \
391 $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
394 mostlyclean-recursive clean-recursive distclean-recursive \
395 maintainer-clean-recursive:
396 @set fnord $$MAKEFLAGS; amf=$$2; \
399 distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
400 *) list='$(SUBDIRS)' ;; \
402 rev=''; for subdir in $$list; do \
403 if test "$$subdir" = "."; then :; else \
404 rev="$$subdir $$rev"; \
408 target=`echo $@ | sed s/-recursive//`; \
409 for subdir in $$rev; do \
410 echo "Making $$target in $$subdir"; \
411 if test "$$subdir" = "."; then \
412 local_target="$$target-am"; \
414 local_target="$$target"; \
416 (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
417 || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
418 done && test -z "$$fail"
420 list='$(SUBDIRS)'; for subdir in $$list; do \
421 test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
424 list='$(SUBDIRS)'; for subdir in $$list; do \
425 test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
428 ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
429 list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
430 unique=`for i in $$list; do \
431 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
433 $(AWK) ' { files[$$0] = 1; } \
434 END { for (i in files) print i; }'`; \
438 TAGS: tags-recursive $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \
439 $(TAGS_FILES) $(LISP)
442 if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \
443 include_option=--etags-include; \
446 include_option=--include; \
449 list='$(SUBDIRS)'; for subdir in $$list; do \
450 if test "$$subdir" = .; then :; else \
451 test ! -f $$subdir/TAGS || \
452 tags="$$tags $$include_option=$$here/$$subdir/TAGS"; \
455 list='$(SOURCES) $(HEADERS) config.h.in $(LISP) $(TAGS_FILES)'; \
456 unique=`for i in $$list; do \
457 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
459 $(AWK) ' { files[$$0] = 1; } \
460 END { for (i in files) print i; }'`; \
461 if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \
462 test -n "$$unique" || unique=$$empty_fix; \
463 $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
467 CTAGS: ctags-recursive $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \
468 $(TAGS_FILES) $(LISP)
471 list='$(SOURCES) $(HEADERS) config.h.in $(LISP) $(TAGS_FILES)'; \
472 unique=`for i in $$list; do \
473 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
475 $(AWK) ' { files[$$0] = 1; } \
476 END { for (i in files) print i; }'`; \
477 test -z "$(CTAGS_ARGS)$$tags$$unique" \
478 || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
482 here=`$(am__cd) $(top_builddir) && pwd` \
483 && cd $(top_srcdir) \
484 && gtags -i $(GTAGS_ARGS) $$here
487 -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
489 distdir: $(DISTFILES)
490 $(am__remove_distdir)
492 $(mkdir_p) $(distdir)/. $(distdir)/doc $(distdir)/intl $(distdir)/m4 $(distdir)/po
493 @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
494 topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
495 list='$(DISTFILES)'; for file in $$list; do \
497 $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \
498 $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \
500 if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
501 dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
502 if test "$$dir" != "$$file" && test "$$dir" != "."; then \
504 $(mkdir_p) "$(distdir)$$dir"; \
508 if test -d $$d/$$file; then \
509 if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
510 cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
512 cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
514 test -f $(distdir)/$$file \
515 || cp -p $$d/$$file $(distdir)/$$file \
519 list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
520 if test "$$subdir" = .; then :; else \
521 test -d "$(distdir)/$$subdir" \
522 || $(mkdir_p) "$(distdir)/$$subdir" \
524 distdir=`$(am__cd) $(distdir) && pwd`; \
525 top_distdir=`$(am__cd) $(top_distdir) && pwd`; \
527 $(MAKE) $(AM_MAKEFLAGS) \
528 top_distdir="$$top_distdir" \
529 distdir="$$distdir/$$subdir" \
534 -find $(distdir) -type d ! -perm -777 -exec chmod a+rwx {} \; -o \
535 ! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \
536 ! -type d ! -perm -400 -exec chmod a+r {} \; -o \
537 ! -type d ! -perm -444 -exec $(SHELL) $(install_sh) -c -m a+r {} {} \; \
538 || chmod -R a+r $(distdir)
540 tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
541 $(am__remove_distdir)
544 tardir=$(distdir) && $(am__tar) | bzip2 -9 -c >$(distdir).tar.bz2
545 $(am__remove_distdir)
548 tardir=$(distdir) && $(am__tar) | compress -c >$(distdir).tar.Z
549 $(am__remove_distdir)
552 shar $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).shar.gz
553 $(am__remove_distdir)
556 -rm -f $(distdir).zip
557 zip -rq $(distdir).zip $(distdir)
558 $(am__remove_distdir)
560 dist dist-all: distdir
561 tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
562 $(am__remove_distdir)
564 # This target untars the dist file and tries a VPATH configuration. Then
565 # it guarantees that the distribution is self-contained by making another
568 case '$(DIST_ARCHIVES)' in \
570 GZIP=$(GZIP_ENV) gunzip -c $(distdir).tar.gz | $(am__untar) ;;\
572 bunzip2 -c $(distdir).tar.bz2 | $(am__untar) ;;\
574 uncompress -c $(distdir).tar.Z | $(am__untar) ;;\
576 GZIP=$(GZIP_ENV) gunzip -c $(distdir).shar.gz | unshar ;;\
578 unzip $(distdir).zip ;;\
580 chmod -R a-w $(distdir); chmod a+w $(distdir)
581 mkdir $(distdir)/_build
582 mkdir $(distdir)/_inst
584 dc_install_base=`$(am__cd) $(distdir)/_inst && pwd | sed -e 's,^[^:\\/]:[\\/],/,'` \
585 && dc_destdir="$${TMPDIR-/tmp}/am-dc-$$$$/" \
586 && cd $(distdir)/_build \
587 && ../configure --srcdir=.. --prefix="$$dc_install_base" \
588 --with-included-gettext \
589 $(DISTCHECK_CONFIGURE_FLAGS) \
590 && $(MAKE) $(AM_MAKEFLAGS) \
591 && $(MAKE) $(AM_MAKEFLAGS) dvi \
592 && $(MAKE) $(AM_MAKEFLAGS) check \
593 && $(MAKE) $(AM_MAKEFLAGS) install \
594 && $(MAKE) $(AM_MAKEFLAGS) installcheck \
595 && $(MAKE) $(AM_MAKEFLAGS) uninstall \
596 && $(MAKE) $(AM_MAKEFLAGS) distuninstallcheck_dir="$$dc_install_base" \
598 && chmod -R a-w "$$dc_install_base" \
600 (cd ../.. && umask 077 && mkdir "$$dc_destdir") \
601 && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" install \
602 && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" uninstall \
603 && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" \
604 distuninstallcheck_dir="$$dc_destdir" distuninstallcheck; \
605 } || { rm -rf "$$dc_destdir"; exit 1; }) \
606 && rm -rf "$$dc_destdir" \
607 && $(MAKE) $(AM_MAKEFLAGS) dist \
608 && rm -rf $(DIST_ARCHIVES) \
609 && $(MAKE) $(AM_MAKEFLAGS) distcleancheck
610 $(am__remove_distdir)
611 @(echo "$(distdir) archives ready for distribution: "; \
612 list='$(DIST_ARCHIVES)'; for i in $$list; do echo $$i; done) | \
613 sed -e '1{h;s/./=/g;p;x;}' -e '$${p;x;}'
615 @cd $(distuninstallcheck_dir) \
616 && test `$(distuninstallcheck_listfiles) | wc -l` -le 1 \
617 || { echo "ERROR: files left after uninstall:" ; \
618 if test -n "$(DESTDIR)"; then \
619 echo " (check DESTDIR support)"; \
621 $(distuninstallcheck_listfiles) ; \
623 distcleancheck: distclean
624 @if test '$(srcdir)' = . ; then \
625 echo "ERROR: distcleancheck can only run from a VPATH build" ; \
628 @test `$(distcleancheck_listfiles) | wc -l` -eq 0 \
629 || { echo "ERROR: files left in build directory after distclean:" ; \
630 $(distcleancheck_listfiles) ; \
633 check: check-recursive
634 all-am: Makefile $(PROGRAMS) config.h
635 installdirs: installdirs-recursive
637 for dir in "$(DESTDIR)$(bindir)"; do \
638 test -z "$$dir" || $(mkdir_p) "$$dir"; \
640 install: install-recursive
641 install-exec: install-exec-recursive
642 install-data: install-data-recursive
643 uninstall: uninstall-recursive
646 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
648 installcheck: installcheck-recursive
650 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
651 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
652 `test -z '$(STRIP)' || \
653 echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
659 -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
661 maintainer-clean-generic:
662 @echo "This command is intended for maintainers to use"
663 @echo "it deletes files that may require special tools to rebuild."
664 clean: clean-recursive
666 clean-am: clean-binPROGRAMS clean-generic mostlyclean-am
668 distclean: distclean-recursive
669 -rm -f $(am__CONFIG_DISTCLEAN_FILES)
672 distclean-am: clean-am distclean-compile distclean-generic \
673 distclean-hdr distclean-tags
685 install-data-am: install-data-local
687 install-exec-am: install-binPROGRAMS
689 install-info: install-info-recursive
695 maintainer-clean: maintainer-clean-recursive
696 -rm -f $(am__CONFIG_DISTCLEAN_FILES)
697 -rm -rf $(top_srcdir)/autom4te.cache
700 maintainer-clean-am: distclean-am maintainer-clean-generic
702 mostlyclean: mostlyclean-recursive
704 mostlyclean-am: mostlyclean-compile mostlyclean-generic
714 uninstall-am: uninstall-binPROGRAMS uninstall-info-am uninstall-local
716 uninstall-info: uninstall-info-recursive
718 .PHONY: $(RECURSIVE_TARGETS) CTAGS GTAGS all all-am am--refresh check \
719 check-am clean clean-binPROGRAMS clean-generic clean-recursive \
720 ctags ctags-recursive dist dist-all dist-bzip2 dist-gzip \
721 dist-shar dist-tarZ dist-zip distcheck distclean \
722 distclean-compile distclean-generic distclean-hdr \
723 distclean-recursive distclean-tags distcleancheck distdir \
724 distuninstallcheck dvi dvi-am html html-am info info-am \
725 install install-am install-binPROGRAMS install-data \
726 install-data-am install-data-local install-exec \
727 install-exec-am install-info install-info-am install-man \
728 install-strip installcheck installcheck-am installdirs \
729 installdirs-am maintainer-clean maintainer-clean-generic \
730 maintainer-clean-recursive mostlyclean mostlyclean-compile \
731 mostlyclean-generic mostlyclean-recursive pdf pdf-am ps ps-am \
732 tags tags-recursive uninstall uninstall-am \
733 uninstall-binPROGRAMS uninstall-info-am uninstall-local
737 $(mkinstalldirs) $(DESTDIR)$(mandir)/man1 $(DESTDIR)$(mandir)/man5
738 $(INSTALL_DATA) $(srcdir)/abook.1 $(DESTDIR)$(mandir)/man1/
739 $(INSTALL_DATA) $(srcdir)/abookrc.5 $(DESTDIR)$(mandir)/man5/
742 -rm -f $(DESTDIR)$(mandir)/man1/abook.1
743 -rm -f $(DESTDIR)$(mandir)/man5/abookrc.5
744 # Tell versions [3.59,3.63) of GNU make to not export all variables.
745 # Otherwise a system limit (for SysV at least) may be exceeded.