changeset 543:470eefcc7f68

.
author Jim Meyering <jim@meyering.net>
date Wed, 31 Jan 1996 14:53:03 +0000
parents 7b0868042f7a
children 67ecc25eeefe
files lib/Makefile.in
diffstat 1 files changed, 47 insertions(+), 29 deletions(-) [+]
line wrap: on
line diff
--- 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
@@ -55,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
 
@@ -81,22 +85,37 @@
 
 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 = .deps/argmatch.P .deps/backupfile.P .deps/basename.P \
+.deps/dirname.P .deps/error.P .deps/fileblocks.P .deps/filemode.P \
+.deps/full-write.P .deps/getdate.P .deps/getopt.P .deps/getopt1.P \
+.deps/getversion.P .deps/group-member.P .deps/idcache.P .deps/isdir.P \
+.deps/long-options.P .deps/makepath.P .deps/modechange.P \
+.deps/obstack.P .deps/posixtm.P .deps/safe-read.P .deps/save-cwd.P \
+.deps/savedir.P .deps/stripslash.P .deps/userspec.P .deps/xgetcwd.P \
+.deps/xmalloc.P .deps/xstrdup.P .deps/xstrtol.P .deps/xstrtoul.P \
+.deps/yesno.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:
@@ -125,13 +144,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
@@ -148,12 +161,13 @@
 
 maintainer-clean-tags:
 
+subdir = lib
 distdir = ../$(PACKAGE)-$(VERSION)/$(subdir)
-dist: $(DISTFILES)
+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
@@ -162,21 +176,25 @@
 
 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
+-include .deps/.P
+.deps/.P: $(BUILT_SOURCES)
+	test -d .deps || mkdir .deps
 	: > $@
 
 -include $(DEP_FILES)
-$(DEP_FILES): $(srcdir)/.deps/.P
+$(DEP_FILES): .deps/.P
 
-$(srcdir)/.deps/%.P: $(srcdir)/%.c
+.deps/%.P: %.c
 	@echo "mkdeps $< > $@"
-	@re=`echo 's,\<$(srcdir),,g' | sed 's/\./\\./g'`; \
-	  $(MKDEP) $< | sed $$re > $@-tmp
-	@mv $@-tmp $@
+	@test $(srcdir) = . \
+	    && re=s/x/x/ \
+    || re=`echo 's,^$(srcdir)/*,,g;s, $(srcdir)/*, ,g' | sed 's,\.,\\\\.,g'`; \
+	  $(MKDEP) $< | sed "$$re" > $@-tmp
+	@if test -n "$o"; then			\
+	  sed 's/\.o:/$$o:/' $@-tmp > $@;	\
+	else					\
+	  mv $@-tmp $@;				\
+	fi
 
 # End of maintainer-only section
 all: $(LIBFILES)
@@ -189,7 +207,7 @@
 
 installcheck:
 
-install: 
+install: all
 	@:
 
 uninstall: 
@@ -209,6 +227,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
 
@@ -224,7 +243,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 \