# HG changeset patch # User Jim Meyering # Date 822571218 0 # Node ID 9553a05ae2e18a21164d36624edf6e16a1d28dd3 # Parent 1b22650d17e9dfc0d7b20db17ed212b75761b34a . diff --git a/lib/Makefile.in b/lib/Makefile.in --- a/lib/Makefile.in +++ b/lib/Makefile.in @@ -1,4 +1,8 @@ -# Makefile.in generated automatically by automake 0.27 from Makefile.am +# Makefile.in generated automatically by automake 0.28 from Makefile.am + +# Copyright (C) 1994, 1995, 1996 Free Software Foundation, Inc. +# This Makefile.in is free software; the Free Software Foundation +# gives unlimited permission to copy, distribute and modify it. SHELL = /bin/sh @@ -46,6 +50,7 @@ group-member.h long-options.h makepath.h modechange.h mountlist.h \ obstack.h pathmax.h save-cwd.h xstrtol.h xstrtoul.h +BUILT_SOURCES = posixtm.c getdate.c CONFIG_HEADER = ../config.h fu_SOURCES = getdate.c posixtm.c argmatch.c backupfile.c basename.c \ @@ -54,7 +59,7 @@ isdir.c long-options.c makepath.c modechange.c obstack.c \ safe-read.c save-cwd.c savedir.c stripslash.c userspec.c xgetcwd.c \ xmalloc.c xstrdup.c xstrtol.c xstrtoul.c yesno.c -LIBRARIES= $(noinst_LIBRARIES) +LIBRARIES = $(noinst_LIBRARIES) noinst_LIBFILES = libfu.a @@ -80,22 +85,34 @@ AR = ar RANLIB = @RANLIB@ -DIST_COMMON = Makefile.in Makefile.am +DIST_COMMON = Makefile.am Makefile.in PACKAGE = @PACKAGE@ VERSION = @VERSION@ -DISTFILES = $(SOURCES) $(HEADERS) $(TEXINFOS) $(INFOS) $(MANS) \ - $(DIST_OTHER) $(DIST_COMMON) $(DATA) -subdir = lib - +DISTFILES = $(DIST_COMMON) $(SOURCES) $(BUILT_SOURCES) $(HEADERS) \ + $(TEXINFOS) $(INFOS) $(MANS) $(DIST_OTHER) $(DATA) +DEP_DISTFILES = $(DIST_COMMON) $(SOURCES) $(BUILT_SOURCES) $(HEADERS) \ + $(TEXINFOS) $(INFO_DEPS) $(MANS) $(DIST_OTHER) $(DATA) +DEP_FILES = .Pdechange.P .Png.Ppt.Pns.P .Psixtm.P argmatch.P \ +backupfile.P basename.P dirname.P er.Pr.P file.Pde.P fileb.Pcks.P \ +full-write.P g.Pup-member.P ge.Ppt.P ge.Ppt1.P getdate.P getvers.Pn.P \ +idcache.P isdir.P makepath.P obstack.P safe-read.P save-cwd.P savedir.P \ +stripslash.P userspec.P xgetcwd.P xmal.Pc.P xstr.Pl.P xstr.Pul.P \ +xstrdup.P yes.P.P SOURCES = $(fu_SOURCES) OBJECTS = $(fu_OBJECTS) default: all +$(srcdir)/Makefile.in: Makefile.am + cd $(top_srcdir) && automake $(subdir)/Makefile + +Makefile: ../config.status Makefile.in + cd .. && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= ./config.status + mostlyclean-noinstLIBRARIES: clean-noinstLIBRARIES: @@ -124,13 +141,7 @@ $(AR) cru libfu.a $(fu_OBJECTS) $(fu_LIBADD) $(RANLIB) libfu.a -$(srcdir)/Makefile.in: Makefile.am - cd $(top_srcdir) && automake $(subdir)/Makefile - -Makefile: ../config.status Makefile.in - cd .. && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= ./config.status - -ID: +ID: $(HEADERS) $(SOURCES) here=`pwd` && cd $(srcdir) && mkid -f $$here/ID $(SOURCES) $(HEADERS) tags: TAGS @@ -147,12 +158,13 @@ maintainer-clean-tags: -distdir = ../$(PACKAGE)-$(VERSION)/$(subdir) -dist: $(DISTFILES) +subdir = lib +distdir = $(PACKAGE)-$(VERSION)/$(subdir) +dist: $(DEP_DISTFILES) @for file in $(DISTFILES); do \ test -f $(distdir)/$$file \ - || ln $(srcdir)/$$file $(distdir)/$$file \ - || cp -p $(srcdir)/$$file $(distdir)/$$file; \ + || ln $(srcdir)/$$file $(distdir)/$$file 2> /dev/null \ + || cp -p $(srcdir)/$$file $(distdir)/$$file; \ done # This fragment is probably only useful for maintainers. It relies on @@ -161,8 +173,6 @@ MKDEP = gcc -MM $(DEFS) $(INCLUDES) $(CPPFLAGS) $(CFLAGS) -DEP_FILES = $(patsubst %.$(kr)o, $(srcdir)/.deps/%.P,$(OBJECTS)) - -include $(srcdir)/.deps/.P $(srcdir)/.deps/.P: $(BUILT_SOURCES) cd $(srcdir) && test -d .deps || mkdir .deps @@ -175,7 +185,11 @@ @echo "mkdeps $< > $@" @re=`echo 's,\<$(srcdir),,g' | sed 's/\./\\./g'`; \ $(MKDEP) $< | sed $$re > $@-tmp - @mv $@-tmp $@ + @if test -n "$o"; then \ + sed 's/\.o:/$$o:/' $@-tmp > $@; \ + else \ + mv $@-tmp $@; \ + fi # End of maintainer-only section all: $(LIBFILES) @@ -188,7 +202,7 @@ installcheck: -install: +install: all @: uninstall: @@ -208,6 +222,7 @@ maintainer-clean-generic: test -z "$(MAINTAINERCLEANFILES)" || rm -f $(MAINTAINERCLEANFILES) + test -z "$(BUILT_SOURCES)" || rm -f $(BUILT_SOURCES) mostlyclean: mostlyclean-noinstLIBRARIES mostlyclean-compile \ mostlyclean-tags mostlyclean-generic @@ -223,7 +238,6 @@ distclean @echo "This command is intended for maintainers to use;" @echo "it deletes files that may require special tools to rebuild." - rm -f config.status .PHONY: default mostlyclean-noinstLIBRARIES distclean-noinstLIBRARIES \ clean-noinstLIBRARIES maintainer-clean-noinstLIBRARIES \