# HG changeset patch # User Jim Meyering # Date 940685469 0 # Node ID 33a815b71a563eb398abdef937b60d6170131bea # Parent e24905aa1fa2ce2caa6dab202e877d0348756d17 . diff --git a/lib/Makefile.in b/lib/Makefile.in --- a/lib/Makefile.in +++ b/lib/Makefile.in @@ -59,14 +59,16 @@ POST_UNINSTALL = : host_alias = @host_alias@ host_triplet = @host@ +AMDEP = @AMDEP@ AMTAR = @AMTAR@ -AMTARFLAGS = @AMTARFLAGS@ -AWK = @AWK@ CATALOGS = @CATALOGS@ CATOBJEXT = @CATOBJEXT@ CC = @CC@ CPP = @CPP@ +CXX = @CXX@ +CXXCPP = @CXXCPP@ DATADIRNAME = @DATADIRNAME@ +DEPDIR = @DEPDIR@ DF_PROG = @DF_PROG@ GENCAT = @GENCAT@ GETCONF = @GETCONF@ @@ -94,7 +96,6 @@ USE_NLS = @USE_NLS@ VERSION = @VERSION@ YACC = @YACC@ -install_sh = @install_sh@ l = @l@ @@ -130,7 +131,6 @@ BUILT_SOURCES = getdate.c lstat.c stat.c EXTRA_DIST = xstat.in -subdir = lib mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs CONFIG_HEADER = ../config.h CONFIG_CLEAN_FILES = @@ -142,7 +142,6 @@ LDFLAGS = @LDFLAGS@ LIBS = @LIBS@ ANSI2KNR = ../src/ansi2knr -libfu_a_AR = $(AR) cru am_libfu_a_OBJECTS = getdate$U.o posixtm$U.o getopt$U.o getopt1$U.o \ addext$U.o argmatch$U.o backupfile$U.o basename$U.o closeout$U.o \ dirname$U.o exclude$U.o filemode$U.o full-write$U.o human$U.o \ @@ -153,8 +152,8 @@ xstrtoumax$U.o yesno$U.o libfu_a_OBJECTS = $(am_libfu_a_OBJECTS) AR = ar +CFLAGS = @CFLAGS@ COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -CFLAGS = @CFLAGS@ CCLD = $(CC) LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@ DIST_SOURCES = $(libfu_a_SOURCES) @@ -163,36 +162,44 @@ DIST_COMMON = $(noinst_HEADERS) Makefile.am Makefile.in TODO alloca.c \ chown.c dup2.c error.c error.h euidaccess.c fileblocks.c fnmatch.c \ fsusage.c ftruncate.c getdate.c getgroups.c getline.c group-member.c \ -lchown.c malloc.c memchr.c memcmp.c memcpy.c memmove.c memset.c mkdir.c \ -mktime.c mountlist.c obstack.c obstack.h realloc.c regex.c rmdir.c \ -rpmatch.c stpcpy.c strcasecmp.c strdup.c strftime.c strncasecmp.c \ -strndup.c strstr.c strtol.c strtoul.c strtoull.c strtoumax.c \ -strverscmp.c utime.c +lchown.c lstat.c malloc.c memchr.c memcmp.c memcpy.c memmove.c memset.c \ +mkdir.c mktime.c mountlist.c obstack.c obstack.h realloc.c regex.c \ +rmdir.c rpmatch.c stat.c stpcpy.c strcasecmp.c strdup.c strftime.c \ +strncasecmp.c strndup.c strstr.c strtol.c strtoul.c strtoull.c \ +strtoumax.c strverscmp.c utime.c DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) GZIP_ENV = --best -DEP_FILES = .deps/addext.P .deps/alloca.P .deps/argmatch.P \ -.deps/backupfile.P .deps/basename.P .deps/chown.P .deps/closeout.P \ -.deps/dirname.P .deps/dup2.P .deps/error.P .deps/euidaccess.P \ -.deps/exclude.P .deps/fileblocks.P .deps/filemode.P .deps/fnmatch.P \ -.deps/fsusage.P .deps/ftruncate.P .deps/full-write.P .deps/getdate.P \ -.deps/getgroups.P .deps/getline.P .deps/getopt.P .deps/getopt1.P \ -.deps/group-member.P .deps/hash.P .deps/human.P .deps/idcache.P \ -.deps/isdir.P .deps/lchown.P .deps/long-options.P .deps/lstat.P \ -.deps/makepath.P .deps/malloc.P .deps/memchr.P .deps/memcmp.P \ -.deps/memcpy.P .deps/memmove.P .deps/memset.P .deps/mkdir.P \ -.deps/mktime.P .deps/modechange.P .deps/mountlist.P .deps/obstack.P \ -.deps/path-concat.P .deps/posixtm.P .deps/quotearg.P .deps/realloc.P \ -.deps/regex.P .deps/rmdir.P .deps/rpmatch.P .deps/safe-read.P \ -.deps/same.P .deps/save-cwd.P .deps/savedir.P .deps/stat.P \ -.deps/stpcpy.P .deps/strcasecmp.P .deps/strdup.P .deps/strftime.P \ -.deps/stripslash.P .deps/strncasecmp.P .deps/strndup.P .deps/strstr.P \ -.deps/strtol.P .deps/strtoul.P .deps/strtoull.P .deps/strtoumax.P \ -.deps/strverscmp.P .deps/userspec.P .deps/utime.P .deps/version-etc.P \ -.deps/xgetcwd.P .deps/xmalloc.P .deps/xstrdup.P .deps/xstrtol.P \ -.deps/xstrtoul.P .deps/xstrtoumax.P .deps/yesno.P +depcomp = $(SHELL) $(top_srcdir)/depcomp +DEP_FILES = @AMDEP@ $(DEPDIR)/addext$U.Po $(DEPDIR)/alloca.Po \ +$(DEPDIR)/argmatch$U.Po $(DEPDIR)/backupfile$U.Po \ +$(DEPDIR)/basename$U.Po $(DEPDIR)/chown.Po $(DEPDIR)/closeout$U.Po \ +$(DEPDIR)/dirname$U.Po $(DEPDIR)/dup2.Po $(DEPDIR)/error.Po \ +$(DEPDIR)/euidaccess.Po $(DEPDIR)/exclude$U.Po $(DEPDIR)/fileblocks.Po \ +$(DEPDIR)/filemode$U.Po $(DEPDIR)/fnmatch.Po $(DEPDIR)/fsusage.Po \ +$(DEPDIR)/ftruncate.Po $(DEPDIR)/full-write$U.Po $(DEPDIR)/getdate$U.Po \ +$(DEPDIR)/getdate.Po $(DEPDIR)/getgroups.Po $(DEPDIR)/getline.Po \ +$(DEPDIR)/getopt$U.Po $(DEPDIR)/getopt1$U.Po $(DEPDIR)/group-member.Po \ +$(DEPDIR)/hash$U.Po $(DEPDIR)/human$U.Po $(DEPDIR)/idcache$U.Po \ +$(DEPDIR)/isdir$U.Po $(DEPDIR)/lchown.Po $(DEPDIR)/long-options$U.Po \ +$(DEPDIR)/lstat.Po $(DEPDIR)/makepath$U.Po $(DEPDIR)/malloc.Po \ +$(DEPDIR)/memchr.Po $(DEPDIR)/memcmp.Po $(DEPDIR)/memcpy.Po \ +$(DEPDIR)/memmove.Po $(DEPDIR)/memset.Po $(DEPDIR)/mkdir.Po \ +$(DEPDIR)/mktime.Po $(DEPDIR)/modechange$U.Po $(DEPDIR)/mountlist.Po \ +$(DEPDIR)/obstack.Po $(DEPDIR)/path-concat$U.Po $(DEPDIR)/posixtm$U.Po \ +$(DEPDIR)/quotearg$U.Po $(DEPDIR)/realloc.Po $(DEPDIR)/regex.Po \ +$(DEPDIR)/rmdir.Po $(DEPDIR)/rpmatch.Po $(DEPDIR)/safe-read$U.Po \ +$(DEPDIR)/same$U.Po $(DEPDIR)/save-cwd$U.Po $(DEPDIR)/savedir$U.Po \ +$(DEPDIR)/stat.Po $(DEPDIR)/stpcpy.Po $(DEPDIR)/strcasecmp.Po \ +$(DEPDIR)/strdup.Po $(DEPDIR)/strftime.Po $(DEPDIR)/stripslash$U.Po \ +$(DEPDIR)/strncasecmp.Po $(DEPDIR)/strndup.Po $(DEPDIR)/strstr.Po \ +$(DEPDIR)/strtol.Po $(DEPDIR)/strtoul.Po $(DEPDIR)/strtoull.Po \ +$(DEPDIR)/strtoumax.Po $(DEPDIR)/strverscmp.Po $(DEPDIR)/userspec$U.Po \ +$(DEPDIR)/utime.Po $(DEPDIR)/version-etc$U.Po $(DEPDIR)/xgetcwd$U.Po \ +$(DEPDIR)/xmalloc$U.Po $(DEPDIR)/xstrdup$U.Po $(DEPDIR)/xstrtol$U.Po \ +$(DEPDIR)/xstrtoul$U.Po $(DEPDIR)/xstrtoumax$U.Po $(DEPDIR)/yesno$U.Po SOURCES = $(libfu_a_SOURCES) OBJECTS = $(am_libfu_a_OBJECTS) @@ -240,13 +247,50 @@ distclean-kr: maintainer-clean-kr: +getdate$U.o: +posixtm$U.o: +getopt$U.o: +getopt1$U.o: +addext$U.o: +argmatch$U.o: +backupfile$U.o: +basename$U.o: +closeout$U.o: +dirname$U.o: +exclude$U.o: +filemode$U.o: +full-write$U.o: +human$U.o: +idcache$U.o: +isdir$U.o: +long-options$U.o: +makepath$U.o: +modechange$U.o: +hash$U.o: +path-concat$U.o: +quotearg$U.o: +safe-read$U.o: +same$U.o: +save-cwd$U.o: +savedir$U.o: +stripslash$U.o: +userspec$U.o: +version-etc$U.o: +xgetcwd$U.o: +xmalloc$U.o: +xstrdup$U.o: +xstrtol$U.o: +xstrtoul$U.o: +xstrtoumax$U.o: +yesno$U.o: libfu.a: $(libfu_a_OBJECTS) $(libfu_a_DEPENDENCIES) -rm -f libfu.a - $(libfu_a_AR) libfu.a $(libfu_a_OBJECTS) $(libfu_a_LIBADD) + $(AR) cru libfu.a $(libfu_a_OBJECTS) $(libfu_a_LIBADD) $(RANLIB) libfu.a -.c.o: - $(COMPILE) -c $< +getdate.o: +lstat.o: +stat.o: addext_.c: addext.c $(ANSI2KNR) $(CPP) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/addext.c; then echo $(srcdir)/addext.c; else echo addext.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > addext_.c alloca_.c: alloca.c $(ANSI2KNR) @@ -426,27 +470,23 @@ tags: TAGS -ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES) - list='$(SOURCES) $(HEADERS) $(TAGS_FILES)'; \ - unique=`for i in $$list; do \ - if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ - done | \ - $(AWK) ' { files[$$0] = 1; } \ +ID: $(HEADERS) $(SOURCES) $(LISP) + list='$(SOURCES) $(HEADERS)'; \ + unique=`for i in $$list; do echo $$i; done | \ + awk ' { files[$$0] = 1; } \ END { for (i in files) print i; }'`; \ - mkid -f$$here/ID $$unique $(LISP) + here=`pwd` && cd $(srcdir) \ + && mkid -f$$here/ID $$unique $(LISP) -TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ - $(TAGS_FILES) $(LISP) +TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) $(LISP) tags=; \ here=`pwd`; \ - list='$(SOURCES) $(HEADERS) $(TAGS_FILES)'; \ - unique=`for i in $$list; do \ - if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ - done | \ - $(AWK) ' { files[$$0] = 1; } \ + list='$(SOURCES) $(HEADERS)'; \ + unique=`for i in $$list; do echo $$i; done | \ + awk ' { files[$$0] = 1; } \ END { for (i in files) print i; }'`; \ test -z "$(ETAGS_ARGS)$$unique$(LISP)$$tags" \ - || etags $(ETAGS_ARGS) $$tags $$unique $(LISP) + || (cd $(srcdir) && etags $(ETAGS_ARGS) $$tags $$unique $(LISP) -o $$here/TAGS) mostlyclean-tags: @@ -459,12 +499,9 @@ distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir) +subdir = lib + distdir: $(DISTFILES) - here=`cd $(top_builddir) && pwd`; \ - top_distdir=`cd $(top_distdir) && pwd`; \ - distdir=`cd $(distdir) && pwd`; \ - cd $(top_srcdir) \ - && $(AUTOMAKE) --include-deps --build-dir=$$here --srcdir-name=$(top_srcdir) --output-dir=$$top_distdir --gnits lib/Makefile @for file in $(DISTFILES); do \ d=$(srcdir); \ if test -d $$d/$$file; then \ @@ -476,38 +513,103 @@ fi; \ done - -DEPS_MAGIC := $(shell mkdir .deps > /dev/null 2>&1 || :) - --include $(DEP_FILES) +@AMDEP@include $(DEPDIR)/addext$U.Po +@AMDEP@include $(DEPDIR)/alloca.Po +@AMDEP@include $(DEPDIR)/argmatch$U.Po +@AMDEP@include $(DEPDIR)/backupfile$U.Po +@AMDEP@include $(DEPDIR)/basename$U.Po +@AMDEP@include $(DEPDIR)/chown.Po +@AMDEP@include $(DEPDIR)/closeout$U.Po +@AMDEP@include $(DEPDIR)/dirname$U.Po +@AMDEP@include $(DEPDIR)/dup2.Po +@AMDEP@include $(DEPDIR)/error.Po +@AMDEP@include $(DEPDIR)/euidaccess.Po +@AMDEP@include $(DEPDIR)/exclude$U.Po +@AMDEP@include $(DEPDIR)/fileblocks.Po +@AMDEP@include $(DEPDIR)/filemode$U.Po +@AMDEP@include $(DEPDIR)/fnmatch.Po +@AMDEP@include $(DEPDIR)/fsusage.Po +@AMDEP@include $(DEPDIR)/ftruncate.Po +@AMDEP@include $(DEPDIR)/full-write$U.Po +@AMDEP@include $(DEPDIR)/getdate$U.Po +@AMDEP@include $(DEPDIR)/getdate.Po +@AMDEP@include $(DEPDIR)/getgroups.Po +@AMDEP@include $(DEPDIR)/getline.Po +@AMDEP@include $(DEPDIR)/getopt$U.Po +@AMDEP@include $(DEPDIR)/getopt1$U.Po +@AMDEP@include $(DEPDIR)/group-member.Po +@AMDEP@include $(DEPDIR)/hash$U.Po +@AMDEP@include $(DEPDIR)/human$U.Po +@AMDEP@include $(DEPDIR)/idcache$U.Po +@AMDEP@include $(DEPDIR)/isdir$U.Po +@AMDEP@include $(DEPDIR)/lchown.Po +@AMDEP@include $(DEPDIR)/long-options$U.Po +@AMDEP@include $(DEPDIR)/lstat.Po +@AMDEP@include $(DEPDIR)/makepath$U.Po +@AMDEP@include $(DEPDIR)/malloc.Po +@AMDEP@include $(DEPDIR)/memchr.Po +@AMDEP@include $(DEPDIR)/memcmp.Po +@AMDEP@include $(DEPDIR)/memcpy.Po +@AMDEP@include $(DEPDIR)/memmove.Po +@AMDEP@include $(DEPDIR)/memset.Po +@AMDEP@include $(DEPDIR)/mkdir.Po +@AMDEP@include $(DEPDIR)/mktime.Po +@AMDEP@include $(DEPDIR)/modechange$U.Po +@AMDEP@include $(DEPDIR)/mountlist.Po +@AMDEP@include $(DEPDIR)/obstack.Po +@AMDEP@include $(DEPDIR)/path-concat$U.Po +@AMDEP@include $(DEPDIR)/posixtm$U.Po +@AMDEP@include $(DEPDIR)/quotearg$U.Po +@AMDEP@include $(DEPDIR)/realloc.Po +@AMDEP@include $(DEPDIR)/regex.Po +@AMDEP@include $(DEPDIR)/rmdir.Po +@AMDEP@include $(DEPDIR)/rpmatch.Po +@AMDEP@include $(DEPDIR)/safe-read$U.Po +@AMDEP@include $(DEPDIR)/same$U.Po +@AMDEP@include $(DEPDIR)/save-cwd$U.Po +@AMDEP@include $(DEPDIR)/savedir$U.Po +@AMDEP@include $(DEPDIR)/stat.Po +@AMDEP@include $(DEPDIR)/stpcpy.Po +@AMDEP@include $(DEPDIR)/strcasecmp.Po +@AMDEP@include $(DEPDIR)/strdup.Po +@AMDEP@include $(DEPDIR)/strftime.Po +@AMDEP@include $(DEPDIR)/stripslash$U.Po +@AMDEP@include $(DEPDIR)/strncasecmp.Po +@AMDEP@include $(DEPDIR)/strndup.Po +@AMDEP@include $(DEPDIR)/strstr.Po +@AMDEP@include $(DEPDIR)/strtol.Po +@AMDEP@include $(DEPDIR)/strtoul.Po +@AMDEP@include $(DEPDIR)/strtoull.Po +@AMDEP@include $(DEPDIR)/strtoumax.Po +@AMDEP@include $(DEPDIR)/strverscmp.Po +@AMDEP@include $(DEPDIR)/userspec$U.Po +@AMDEP@include $(DEPDIR)/utime.Po +@AMDEP@include $(DEPDIR)/version-etc$U.Po +@AMDEP@include $(DEPDIR)/xgetcwd$U.Po +@AMDEP@include $(DEPDIR)/xmalloc$U.Po +@AMDEP@include $(DEPDIR)/xstrdup$U.Po +@AMDEP@include $(DEPDIR)/xstrtol$U.Po +@AMDEP@include $(DEPDIR)/xstrtoul$U.Po +@AMDEP@include $(DEPDIR)/xstrtoumax$U.Po +@AMDEP@include $(DEPDIR)/yesno$U.Po mostlyclean-depend: clean-depend: distclean-depend: - -rm -rf .deps + -rm -rf $(DEPDIR) maintainer-clean-depend: -%.o: %.c - @echo '$(COMPILE) -c -o $@ $<'; \ - $(COMPILE) -Wp,-MD,.deps/$(*D)/$(*F).pp -c -o $@ $< - @-cp .deps/$(*D)/$(*F).pp .deps/$(*D)/$(*F).P; \ - tr ' ' '\012' < .deps/$(*D)/$(*F).pp \ - | sed -e 's/^\\$$//' -e '/^$$/ d' -e '/:$$/ d' -e 's/$$/ :/' \ - >> .deps/$(*D)/$(*F).P; \ - rm .deps/$(*D)/$(*F).pp +@AMDEP@CCDEPMODE = @CCDEPMODE@ -%.lo: %.c - @echo '$(LTCOMPILE) -c -o $@ $<'; \ - $(LTCOMPILE) -Wp,-MD,.deps/$(*D)/$(*F).pp -c -o $@ $< - @-sed -e 's/^\([^:]*\)\.o[ ]*:/\1.lo \1.o :/' \ - < .deps/$(*D)/$(*F).pp > .deps/$(*D)/$(*F).P; \ - tr ' ' '\012' < .deps/$(*D)/$(*F).pp \ - | sed -e 's/^\\$$//' -e '/^$$/ d' -e '/:$$/ d' -e 's/$$/ :/' \ - >> .deps/$(*D)/$(*F).P; \ - rm -f .deps/$(*D)/$(*F).pp +.c.o: +@AMDEP@ source='$<' object='$@' @AMDEPBACKSLASH@ +@AMDEP@ depfile='$(DEPDIR)/$*.Po' tmpdepfile='$(DEPDIR)/$*.TPo' @AMDEPBACKSLASH@ +@AMDEP@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ + $(COMPILE) -c $< + info-am: info: info-am dvi-am: diff --git a/m4/Makefile.in b/m4/Makefile.in --- a/m4/Makefile.in +++ b/m4/Makefile.in @@ -59,14 +59,16 @@ POST_UNINSTALL = : host_alias = @host_alias@ host_triplet = @host@ +AMDEP = @AMDEP@ AMTAR = @AMTAR@ -AMTARFLAGS = @AMTARFLAGS@ -AWK = @AWK@ CATALOGS = @CATALOGS@ CATOBJEXT = @CATOBJEXT@ CC = @CC@ CPP = @CPP@ +CXX = @CXX@ +CXXCPP = @CXXCPP@ DATADIRNAME = @DATADIRNAME@ +DEPDIR = @DEPDIR@ DF_PROG = @DF_PROG@ GENCAT = @GENCAT@ GETCONF = @GETCONF@ @@ -94,7 +96,6 @@ USE_NLS = @USE_NLS@ VERSION = @VERSION@ YACC = @YACC@ -install_sh = @install_sh@ l = @l@ @@ -153,7 +154,6 @@ utimes.m4 \ xstrtoumax.m4 -subdir = m4 mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs CONFIG_HEADER = ../config.h CONFIG_CLEAN_FILES = @@ -179,12 +179,9 @@ distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir) +subdir = m4 + distdir: $(DISTFILES) - here=`cd $(top_builddir) && pwd`; \ - top_distdir=`cd $(top_distdir) && pwd`; \ - distdir=`cd $(distdir) && pwd`; \ - cd $(top_srcdir) \ - && $(AUTOMAKE) --include-deps --build-dir=$$here --srcdir-name=$(top_srcdir) --output-dir=$$top_distdir --gnits m4/Makefile @for file in $(DISTFILES); do \ d=$(srcdir); \ if test -d $$d/$$file; then \ @@ -195,7 +192,6 @@ || cp -p $$d/$$file $(distdir)/$$file || :; \ fi; \ done - info-am: info: info-am dvi-am: