1 # Makefile.in generated automatically by automake 1.4-p4 from Makefile.am
3 # Copyright (C) 1994, 1995-8, 1999 Free Software Foundation, Inc.
4 # This Makefile.in is free software; the Free Software Foundation
5 # gives unlimited permission to copy and/or distribute it,
6 # with or without modifications, as long as this notice is preserved.
8 # This program is distributed in the hope that it will be useful,
9 # but WITHOUT ANY WARRANTY, to the extent permitted by law; without
10 # even the implied warranty of MERCHANTABILITY or FITNESS FOR A
17 top_srcdir = @top_srcdir@
20 exec_prefix = @exec_prefix@
24 libexecdir = @libexecdir@
26 sysconfdir = @sysconfdir@
27 sharedstatedir = @sharedstatedir@
28 localstatedir = @localstatedir@
32 includedir = @includedir@
33 oldincludedir = /usr/include
37 pkgdatadir = $(datadir)/@PACKAGE@
38 pkglibdir = $(libdir)/@PACKAGE@
39 pkgincludedir = $(includedir)/@PACKAGE@
46 AUTOHEADER = @AUTOHEADER@
49 INSTALL_PROGRAM = @INSTALL_PROGRAM@ $(AM_INSTALL_PROGRAM_FLAGS)
50 INSTALL_DATA = @INSTALL_DATA@
51 INSTALL_SCRIPT = @INSTALL_SCRIPT@
52 transform = @program_transform_name@
60 host_alias = @host_alias@
71 abook_SOURCES = abook.c database.c filter.c list.c misc.c conff.c options.c edit.c ldif.c estr.c ui.c getname.c getopt.c getopt1.c abook.h database.h filter.h list.h misc.h help.h conff.h options.h edit.h ldif.h estr.h abook_curses.h ui.h getname.h getopt.h
74 EXTRA_DIST = ANNOUNCE BUGS FAQ abook.1 abookrc.5 sample.abookrc
75 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
76 mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
77 CONFIG_HEADER = config.h
79 PROGRAMS = $(bin_PROGRAMS)
82 DEFS = @DEFS@ -I. -I$(srcdir) -I.
86 abook_OBJECTS = abook.o database.o filter.o list.o misc.o conff.o \
87 options.o edit.o ldif.o estr.o ui.o getname.o getopt.o getopt1.o
88 abook_LDADD = $(LDADD)
92 COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
94 LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(LDFLAGS) -o $@
95 DIST_COMMON = README ./stamp-h.in AUTHORS COPYING ChangeLog INSTALL \
96 Makefile.am Makefile.in NEWS THANKS TODO acconfig.h acinclude.m4 \
97 aclocal.m4 config.guess config.h.in config.sub configure configure.in \
98 install-sh missing mkinstalldirs
101 DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
105 DEP_FILES = .deps/abook.P .deps/conff.P .deps/database.P .deps/edit.P \
106 .deps/estr.P .deps/filter.P .deps/getname.P .deps/getopt.P \
107 .deps/getopt1.P .deps/ldif.P .deps/list.P .deps/misc.P .deps/options.P \
109 SOURCES = $(abook_SOURCES)
110 OBJECTS = $(abook_OBJECTS)
114 .SUFFIXES: .S .c .o .s
115 $(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
116 cd $(top_srcdir) && $(AUTOMAKE) --gnu Makefile
118 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status $(BUILT_SOURCES)
120 && CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status
122 $(ACLOCAL_M4): configure.in acinclude.m4
123 cd $(srcdir) && $(ACLOCAL)
125 config.status: $(srcdir)/configure.in $(CONFIG_STATUS_DEPENDENCIES)
126 $(SHELL) ./config.status --recheck
127 $(srcdir)/configure: $(srcdir)/configure.in $(ACLOCAL_M4) $(CONFIGURE_DEPENDENCIES)
128 cd $(srcdir) && $(AUTOCONF)
131 @if test ! -f $@; then \
135 stamp-h: $(srcdir)/config.h.in $(top_builddir)/config.status
137 && CONFIG_FILES= CONFIG_HEADERS=config.h \
138 $(SHELL) ./config.status
139 @echo timestamp > stamp-h 2> /dev/null
140 $(srcdir)/config.h.in: $(srcdir)/stamp-h.in
141 @if test ! -f $@; then \
142 rm -f $(srcdir)/stamp-h.in; \
143 $(MAKE) $(srcdir)/stamp-h.in; \
145 $(srcdir)/stamp-h.in: $(top_srcdir)/configure.in $(ACLOCAL_M4) acconfig.h
146 cd $(top_srcdir) && $(AUTOHEADER)
147 @echo timestamp > $(srcdir)/stamp-h.in 2> /dev/null
156 maintainer-clean-hdr:
158 mostlyclean-binPROGRAMS:
161 -test -z "$(bin_PROGRAMS)" || rm -f $(bin_PROGRAMS)
163 distclean-binPROGRAMS:
165 maintainer-clean-binPROGRAMS:
167 install-binPROGRAMS: $(bin_PROGRAMS)
169 $(mkinstalldirs) $(DESTDIR)$(bindir)
170 @list='$(bin_PROGRAMS)'; for p in $$list; do \
171 if test -f $$p; then \
172 echo " $(INSTALL_PROGRAM) $$p $(DESTDIR)$(bindir)/`echo $$p|sed 's/$(EXEEXT)$$//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`"; \
173 $(INSTALL_PROGRAM) $$p $(DESTDIR)$(bindir)/`echo $$p|sed 's/$(EXEEXT)$$//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`; \
177 uninstall-binPROGRAMS:
179 list='$(bin_PROGRAMS)'; for p in $$list; do \
180 rm -f $(DESTDIR)$(bindir)/`echo $$p|sed 's/$(EXEEXT)$$//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`; \
190 -rm -f *.o core *.core
197 maintainer-clean-compile:
199 abook: $(abook_OBJECTS) $(abook_DEPENDENCIES)
201 $(LINK) $(abook_LDFLAGS) $(abook_OBJECTS) $(abook_LDADD) $(LIBS)
205 ID: $(HEADERS) $(SOURCES) $(LISP)
206 list='$(SOURCES) $(HEADERS)'; \
207 unique=`for i in $$list; do echo $$i; done | \
208 awk ' { files[$$0] = 1; } \
209 END { for (i in files) print i; }'`; \
210 here=`pwd` && cd $(srcdir) \
211 && mkid -f$$here/ID $$unique $(LISP)
213 TAGS: $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) $(LISP)
216 list='$(SOURCES) $(HEADERS)'; \
217 unique=`for i in $$list; do echo $$i; done | \
218 awk ' { files[$$0] = 1; } \
219 END { for (i in files) print i; }'`; \
220 test -z "$(ETAGS_ARGS)config.h.in$$unique$(LISP)$$tags" \
221 || (cd $(srcdir) && etags $(ETAGS_ARGS) $$tags config.h.in $$unique $(LISP) -o $$here/TAGS)
230 maintainer-clean-tags:
232 distdir = $(PACKAGE)-$(VERSION)
233 top_distdir = $(distdir)
235 # This target untars the dist file and tries a VPATH configuration. Then
236 # it guarantees that the distribution is self-contained by making another
240 GZIP=$(GZIP_ENV) $(TAR) zxf $(distdir).tar.gz
241 mkdir $(distdir)/=build
242 mkdir $(distdir)/=inst
243 dc_install_base=`cd $(distdir)/=inst && pwd`; \
244 cd $(distdir)/=build \
245 && ../configure --srcdir=.. --prefix=$$dc_install_base \
246 && $(MAKE) $(AM_MAKEFLAGS) \
247 && $(MAKE) $(AM_MAKEFLAGS) dvi \
248 && $(MAKE) $(AM_MAKEFLAGS) check \
249 && $(MAKE) $(AM_MAKEFLAGS) install \
250 && $(MAKE) $(AM_MAKEFLAGS) installcheck \
251 && $(MAKE) $(AM_MAKEFLAGS) dist
253 @banner="$(distdir).tar.gz is ready for distribution"; \
254 dashes=`echo "$$banner" | sed s/./=/g`; \
259 -chmod -R a+r $(distdir)
260 GZIP=$(GZIP_ENV) $(TAR) chozf $(distdir).tar.gz $(distdir)
263 -chmod -R a+r $(distdir)
264 GZIP=$(GZIP_ENV) $(TAR) chozf $(distdir).tar.gz $(distdir)
266 distdir: $(DISTFILES)
269 -chmod 777 $(distdir)
270 here=`cd $(top_builddir) && pwd`; \
271 top_distdir=`cd $(distdir) && pwd`; \
272 distdir=`cd $(distdir) && pwd`; \
274 && $(AUTOMAKE) --include-deps --build-dir=$$here --srcdir-name=$(top_srcdir) --output-dir=$$top_distdir --gnu Makefile
275 @for file in $(DISTFILES); do \
277 if test -d $$d/$$file; then \
278 cp -pr $$d/$$file $(distdir)/$$file; \
280 test -f $(distdir)/$$file \
281 || ln $$d/$$file $(distdir)/$$file 2> /dev/null \
282 || cp -p $$d/$$file $(distdir)/$$file || :; \
286 DEPS_MAGIC := $(shell mkdir .deps > /dev/null 2>&1 || :)
288 -include $(DEP_FILES)
297 maintainer-clean-depend:
300 @echo '$(COMPILE) -c $<'; \
301 $(COMPILE) -Wp,-MD,.deps/$(*F).pp -c $<
302 @-cp .deps/$(*F).pp .deps/$(*F).P; \
303 tr ' ' '\012' < .deps/$(*F).pp \
304 | sed -e 's/^\\$$//' -e '/^$$/ d' -e '/:$$/ d' -e 's/$$/ :/' \
309 @echo '$(LTCOMPILE) -c $<'; \
310 $(LTCOMPILE) -Wp,-MD,.deps/$(*F).pp -c $<
311 @-sed -e 's/^\([^:]*\)\.o[ ]*:/\1.lo \1.o :/' \
312 < .deps/$(*F).pp > .deps/$(*F).P; \
313 tr ' ' '\012' < .deps/$(*F).pp \
314 | sed -e 's/^\\$$//' -e '/^$$/ d' -e '/:$$/ d' -e 's/$$/ :/' \
324 installcheck: installcheck-am
325 all-recursive-am: config.h
326 $(MAKE) $(AM_MAKEFLAGS) all-recursive
328 install-exec-am: install-binPROGRAMS
329 install-exec: install-exec-am
331 install-data-am: install-data-local
332 install-data: install-data-am
335 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
337 uninstall-am: uninstall-binPROGRAMS uninstall-local
338 uninstall: uninstall-am
339 all-am: Makefile $(PROGRAMS) config.h
342 $(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install
344 $(mkinstalldirs) $(DESTDIR)$(bindir)
352 -rm -f Makefile $(CONFIG_CLEAN_FILES)
353 -rm -f config.cache config.log stamp-h stamp-h[0-9]*
355 maintainer-clean-generic:
356 mostlyclean-am: mostlyclean-hdr mostlyclean-binPROGRAMS \
357 mostlyclean-compile mostlyclean-tags mostlyclean-depend \
360 mostlyclean: mostlyclean-am
362 clean-am: clean-hdr clean-binPROGRAMS clean-compile clean-tags \
363 clean-depend clean-generic mostlyclean-am
367 distclean-am: distclean-hdr distclean-binPROGRAMS distclean-compile \
368 distclean-tags distclean-depend distclean-generic \
371 distclean: distclean-am
374 maintainer-clean-am: maintainer-clean-hdr maintainer-clean-binPROGRAMS \
375 maintainer-clean-compile maintainer-clean-tags \
376 maintainer-clean-depend maintainer-clean-generic \
378 @echo "This command is intended for maintainers to use;"
379 @echo "it deletes files that may require special tools to rebuild."
381 maintainer-clean: maintainer-clean-am
384 .PHONY: mostlyclean-hdr distclean-hdr clean-hdr maintainer-clean-hdr \
385 mostlyclean-binPROGRAMS distclean-binPROGRAMS clean-binPROGRAMS \
386 maintainer-clean-binPROGRAMS uninstall-binPROGRAMS install-binPROGRAMS \
387 mostlyclean-compile distclean-compile clean-compile \
388 maintainer-clean-compile tags mostlyclean-tags distclean-tags \
389 clean-tags maintainer-clean-tags distdir mostlyclean-depend \
390 distclean-depend clean-depend maintainer-clean-depend info-am info \
391 dvi-am dvi check check-am installcheck-am installcheck all-recursive-am \
392 install-exec-am install-exec install-data-local install-data-am \
393 install-data install-am install uninstall-local uninstall-am uninstall \
394 all-redirect all-am all installdirs mostlyclean-generic \
395 distclean-generic clean-generic maintainer-clean-generic clean \
396 mostlyclean distclean maintainer-clean
400 $(mkinstalldirs) $(DESTDIR)$(mandir)/man1 $(DESTDIR)$(mandir)/man5
401 $(INSTALL_DATA) $(srcdir)/abook.1 $(DESTDIR)$(mandir)/man1/
402 $(INSTALL_DATA) $(srcdir)/abookrc.5 $(DESTDIR)$(mandir)/man5/
405 -rm -f $(DESTDIR)$(mandir)/man1/abook.1
406 -rm -f $(DESTDIR)$(mandir)/man5/abookrc.5
408 # Tell versions [3.59,3.63) of GNU make to not export all variables.
409 # Otherwise a system limit (for SysV at least) may be exceeded.