From 07d20c7e44600338ddbb6d399a5873e859290d45 Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Thu, 11 Nov 1999 13:20:24 +0000 Subject: [PATCH] . --- doc/Makefile.in | 19 +-- lib/Makefile.in | 254 +++++++----------------------------- m4/Makefile.in | 14 +- tests/chmod/Makefile.in | 11 +- tests/cp/Makefile.in | 11 +- tests/dd/Makefile.in | 11 +- tests/dircolors/Makefile.in | 11 +- tests/install/Makefile.in | 11 +- tests/ln/Makefile.in | 11 +- tests/ls-2/Makefile.in | 11 +- tests/ls/Makefile.in | 11 +- tests/mkdir/Makefile.in | 11 +- tests/mv/Makefile.in | 11 +- tests/rm/Makefile.in | 11 +- tests/rmdir/Makefile.in | 11 +- tests/touch/Makefile.in | 11 +- 16 files changed, 145 insertions(+), 285 deletions(-) diff --git a/doc/Makefile.in b/doc/Makefile.in index f9c52333d..14a1bb17f 100644 --- a/doc/Makefile.in +++ b/doc/Makefile.in @@ -111,6 +111,7 @@ EXTRA_DIST = perm.texi getdate.texi # and those names all map to one 14-byte name (.info-) on some crufty # old systems. MAKEINFO = makeinfo --no-split +subdir = doc mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs CONFIG_HEADER = ../config.h CONFIG_CLEAN_FILES = @@ -130,9 +131,9 @@ all: all-redirect .SUFFIXES: .SUFFIXES: .dvi .info .ps .texi .texinfo .txi $(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) - cd $(top_srcdir) && $(AUTOMAKE) --gnits doc/Makefile + cd $(top_srcdir) && $(AUTOMAKE) --gnits --include-deps doc/Makefile -Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status $(BUILT_SOURCES) +Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status cd $(top_builddir) \ && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status @@ -216,7 +217,7 @@ install-info-am: $(INFO_DEPS) @list='$(INFO_DEPS)'; \ for file in $$list; do \ d=$(srcdir); \ - for ifile in `CDPATH=: && cd $$d && echo $$file $$file-[0-9] $$file-[0-9][0-9]`; do \ + for ifile in `cd $$d && echo $$file $$file-[0-9] $$file-[0-9][0-9]`; do \ if test -f $$d/$$ifile; then \ echo " $(INSTALL_DATA) $$d/$$ifile $(DESTDIR)$(infodir)/$$ifile"; \ $(INSTALL_DATA) $$d/$$ifile $(DESTDIR)$(infodir)/$$ifile; \ @@ -237,8 +238,8 @@ uninstall-info: @if $(SHELL) -c 'install-info --version | sed 1q | fgrep -s -v -i debian' >/dev/null 2>&1; then \ list='$(INFO_DEPS)'; \ for file in $$list; do \ - echo " install-info --info-dir=$(DESTDIR)$(infodir) --remove $$file"; \ - install-info --info-dir=$(DESTDIR)$(infodir) --remove $$file; \ + echo " install-info --info-dir=$(DESTDIR)$(infodir) --remove $(DESTDIR)$(infodir)/$$file"; \ + install-info --info-dir=$(DESTDIR)$(infodir) --remove $(DESTDIR)$(infodir)/$$file; \ done; \ else :; fi @$(NORMAL_UNINSTALL) @@ -254,7 +255,7 @@ dist-info: $(INFO_DEPS) list='$(INFO_DEPS)'; \ for base in $$list; do \ d=$(srcdir); \ - for file in `CDPATH=: && cd $$d && eval echo $$base*`; do \ + for file in `cd $$d && eval echo $$base*`; do \ test -f $(distdir)/$$file \ || ln $$d/$$file $(distdir)/$$file 2> /dev/null \ || cp -p $$d/$$file $(distdir)/$$file; \ @@ -286,19 +287,18 @@ TAGS: distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir) -subdir = doc - distdir: $(DISTFILES) @for file in $(DISTFILES); do \ d=$(srcdir); \ if test -d $$d/$$file; then \ - cp -pr $$d/$$file $(distdir)/$$file; \ + cp -pR $$d/$$file $(distdir); \ else \ test -f $(distdir)/$$file \ || ln $$d/$$file $(distdir)/$$file 2> /dev/null \ || cp -p $$d/$$file $(distdir)/$$file || :; \ fi; \ done + $(MAKE) $(AM_MAKEFLAGS) top_distdir="$(top_distdir)" distdir="$(distdir)" dist-info info-am: $(INFO_DEPS) info: info-am @@ -336,6 +336,7 @@ distclean-generic: -rm -f config.cache config.log stamp-h stamp-h[0-9]* maintainer-clean-generic: + -rm -f Makefile.in mostlyclean-am: mostlyclean-vti mostlyclean-aminfo mostlyclean-generic mostlyclean: mostlyclean-am diff --git a/lib/Makefile.in b/lib/Makefile.in index 9c2f79165..9d9052f04 100644 --- a/lib/Makefile.in +++ b/lib/Makefile.in @@ -129,8 +129,10 @@ version-etc.h xalloc.h xstrtol.h BUILT_SOURCES = getdate.c lstat.c stat.c +MAINTAINERCLEANFILES = $(BUILT_SOURCES) EXTRA_DIST = xstat.in +subdir = lib mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs CONFIG_HEADER = ../config.h CONFIG_CLEAN_FILES = @@ -142,6 +144,7 @@ CPPFLAGS = @CPPFLAGS@ 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 \ @@ -152,8 +155,8 @@ xgetcwd$U.o xmalloc$U.o xstrdup$U.o xstrtol$U.o xstrtoul$U.o \ 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) @@ -162,44 +165,16 @@ HEADERS = $(noinst_HEADERS) 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 lstat.c malloc.c memchr.c memcmp.c memcpy.c memmove.c memset.c \ -mkdir.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 +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 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) GZIP_ENV = --best -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)/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) @@ -207,9 +182,9 @@ all: all-redirect .SUFFIXES: .SUFFIXES: .c .o .y $(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) - cd $(top_srcdir) && $(AUTOMAKE) --gnits lib/Makefile + cd $(top_srcdir) && $(AUTOMAKE) --gnits --include-deps lib/Makefile -Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status $(BUILT_SOURCES) +Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status cd $(top_builddir) \ && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status @@ -247,50 +222,13 @@ clean-kr: 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 - $(AR) cru libfu.a $(libfu_a_OBJECTS) $(libfu_a_LIBADD) + $(libfu_a_AR) libfu.a $(libfu_a_OBJECTS) $(libfu_a_LIBADD) $(RANLIB) libfu.a -getdate.o: -lstat.o: -stat.o: +.c.o: + $(COMPILE) -c $< 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) @@ -369,6 +307,8 @@ memset_.c: memset.c $(ANSI2KNR) $(CPP) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/memset.c; then echo $(srcdir)/memset.c; else echo memset.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > memset_.c mkdir_.c: mkdir.c $(ANSI2KNR) $(CPP) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/mkdir.c; then echo $(srcdir)/mkdir.c; else echo mkdir.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > mkdir_.c +mktime_.c: mktime.c $(ANSI2KNR) + $(CPP) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/mktime.c; then echo $(srcdir)/mktime.c; else echo mktime.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > mktime_.c modechange_.c: modechange.c $(ANSI2KNR) $(CPP) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/modechange.c; then echo $(srcdir)/modechange.c; else echo modechange.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > modechange_.c mountlist_.c: mountlist.c $(ANSI2KNR) @@ -451,14 +391,14 @@ fileblocks_.o filemode_.o fnmatch_.o fsusage_.o ftruncate_.o \ full-write_.o getdate_.o getgroups_.o getline_.o getopt_.o getopt1_.o \ group-member_.o hash_.o human_.o idcache_.o isdir_.o lchown_.o \ long-options_.o lstat_.o makepath_.o malloc_.o memchr_.o memcmp_.o \ -memcpy_.o memmove_.o memset_.o mkdir_.o modechange_.o mountlist_.o \ -obstack_.o path-concat_.o posixtm_.o quotearg_.o realloc_.o regex_.o \ -rmdir_.o rpmatch_.o safe-read_.o same_.o save-cwd_.o savedir_.o stat_.o \ -stpcpy_.o strcasecmp_.o strdup_.o strftime_.o stripslash_.o \ -strncasecmp_.o strndup_.o strstr_.o strtol_.o strtoul_.o strtoull_.o \ -strtoumax_.o strverscmp_.o userspec_.o utime_.o version-etc_.o \ -xgetcwd_.o xmalloc_.o xstrdup_.o xstrtol_.o xstrtoul_.o xstrtoumax_.o \ -yesno_.o : $(ANSI2KNR) +memcpy_.o memmove_.o memset_.o mkdir_.o mktime_.o modechange_.o \ +mountlist_.o obstack_.o path-concat_.o posixtm_.o quotearg_.o \ +realloc_.o regex_.o rmdir_.o rpmatch_.o safe-read_.o same_.o \ +save-cwd_.o savedir_.o stat_.o stpcpy_.o strcasecmp_.o strdup_.o \ +strftime_.o stripslash_.o strncasecmp_.o strndup_.o strstr_.o strtol_.o \ +strtoul_.o strtoull_.o strtoumax_.o strverscmp_.o userspec_.o utime_.o \ +version-etc_.o xgetcwd_.o xmalloc_.o xstrdup_.o xstrtol_.o xstrtoul_.o \ +xstrtoumax_.o yesno_.o : $(ANSI2KNR) .y.c: $(YACC) $(AM_YFLAGS) $(YFLAGS) $< && mv y.tab.c $*.c if test -f y.tab.h; then \ @@ -468,23 +408,27 @@ yesno_.o : $(ANSI2KNR) tags: TAGS -ID: $(HEADERS) $(SOURCES) $(LISP) - list='$(SOURCES) $(HEADERS)'; \ - unique=`for i in $$list; do echo $$i; done | \ - awk ' { files[$$0] = 1; } \ +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; } \ END { for (i in files) print i; }'`; \ - here=`pwd` && cd $(srcdir) \ - && mkid -f$$here/ID $$unique $(LISP) + mkid -f$$here/ID $$unique $(LISP) -TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) $(LISP) +TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ + $(TAGS_FILES) $(LISP) tags=; \ here=`pwd`; \ - list='$(SOURCES) $(HEADERS)'; \ - unique=`for i in $$list; do echo $$i; done | \ - awk ' { files[$$0] = 1; } \ + 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; } \ END { for (i in files) print i; }'`; \ test -z "$(ETAGS_ARGS)$$unique$(LISP)$$tags" \ - || (cd $(srcdir) && etags $(ETAGS_ARGS) $$tags $$unique $(LISP) -o $$here/TAGS) + || etags $(ETAGS_ARGS) $$tags $$unique $(LISP) mostlyclean-tags: @@ -497,13 +441,11 @@ maintainer-clean-tags: distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir) -subdir = lib - distdir: $(DISTFILES) @for file in $(DISTFILES); do \ d=$(srcdir); \ if test -d $$d/$$file; then \ - cp -pr $$d/$$file $(distdir)/$$file; \ + cp -pR $$d/$$file $(distdir); \ else \ test -f $(distdir)/$$file \ || ln $$d/$$file $(distdir)/$$file 2> /dev/null \ @@ -511,102 +453,6 @@ distdir: $(DISTFILES) fi; \ done -@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)/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 $(DEPDIR) - -maintainer-clean-depend: - -@AMDEP@CCDEPMODE = @CCDEPMODE@ - -.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: @@ -642,28 +488,27 @@ distclean-generic: -rm -f config.cache config.log stamp-h stamp-h[0-9]* maintainer-clean-generic: - -test -z "getdate.c$(BUILT_SOURCES)" || rm -f getdate.c $(BUILT_SOURCES) + -rm -f Makefile.in + -test -z "getdate.c$(BUILT_SOURCES)$(MAINTAINERCLEANFILES)" || rm -f getdate.c $(BUILT_SOURCES) $(MAINTAINERCLEANFILES) mostlyclean-am: mostlyclean-noinstLIBRARIES mostlyclean-compile \ - mostlyclean-kr mostlyclean-tags mostlyclean-depend \ - mostlyclean-generic + mostlyclean-kr mostlyclean-tags mostlyclean-generic mostlyclean: mostlyclean-am clean-am: clean-noinstLIBRARIES clean-compile clean-kr clean-tags \ - clean-depend clean-generic mostlyclean-am + clean-generic mostlyclean-am clean: clean-am distclean-am: distclean-noinstLIBRARIES distclean-compile distclean-kr \ - distclean-tags distclean-depend distclean-generic \ - clean-am + distclean-tags distclean-generic clean-am distclean: distclean-am maintainer-clean-am: maintainer-clean-noinstLIBRARIES \ maintainer-clean-compile maintainer-clean-kr \ - maintainer-clean-tags maintainer-clean-depend \ - maintainer-clean-generic distclean-am + maintainer-clean-tags maintainer-clean-generic \ + distclean-am @echo "This command is intended for maintainers to use;" @echo "it deletes files that may require special tools to rebuild." @@ -674,9 +519,8 @@ clean-noinstLIBRARIES maintainer-clean-noinstLIBRARIES \ mostlyclean-compile distclean-compile clean-compile \ maintainer-clean-compile mostlyclean-kr distclean-kr clean-kr \ maintainer-clean-kr tags mostlyclean-tags distclean-tags clean-tags \ -maintainer-clean-tags distdir mostlyclean-depend distclean-depend \ -clean-depend maintainer-clean-depend info-am info dvi-am dvi check \ -check-am installcheck-am installcheck install-exec-am install-exec \ +maintainer-clean-tags distdir info-am info dvi-am dvi check check-am \ +installcheck-am installcheck install-exec-am install-exec \ install-data-am install-data install-am install uninstall-am uninstall \ all-redirect all-am all install-strip installdirs mostlyclean-generic \ distclean-generic clean-generic maintainer-clean-generic clean \ diff --git a/m4/Makefile.in b/m4/Makefile.in index 455a9cb1d..68ce4e6a1 100644 --- a/m4/Makefile.in +++ b/m4/Makefile.in @@ -69,6 +69,7 @@ CXX = @CXX@ CXXCPP = @CXXCPP@ DATADIRNAME = @DATADIRNAME@ DEPDIR = @DEPDIR@ +DF_PROG = @DF_PROG@ GENCAT = @GENCAT@ GETCONF = @GETCONF@ GMOFILES = @GMOFILES@ @@ -89,7 +90,6 @@ PACKAGE = @PACKAGE@ PERL = @PERL@ POFILES = @POFILES@ POSUB = @POSUB@ -POW_LIBM = @POW_LIBM@ RANLIB = @RANLIB@ U = @U@ USE_INCLUDED_LIBINTL = @USE_INCLUDED_LIBINTL@ @@ -127,6 +127,7 @@ jm-winsz2.m4 \ largefile.m4 \ lchown.m4 \ lcmessage.m4 \ +link-follow.m4 \ ls-mntd-fs.m4 \ lstat.m4 \ malloc.m4 \ @@ -151,6 +152,7 @@ utime.m4 \ utimes.m4 \ xstrtoumax.m4 +subdir = m4 mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs CONFIG_HEADER = ../config.h CONFIG_CLEAN_FILES = @@ -164,9 +166,9 @@ GZIP_ENV = --best all: all-redirect .SUFFIXES: $(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) - cd $(top_srcdir) && $(AUTOMAKE) --gnits m4/Makefile + cd $(top_srcdir) && $(AUTOMAKE) --gnits --include-deps m4/Makefile -Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status $(BUILT_SOURCES) +Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status cd $(top_builddir) \ && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status @@ -176,19 +178,18 @@ TAGS: distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir) -subdir = m4 - distdir: $(DISTFILES) @for file in $(DISTFILES); do \ d=$(srcdir); \ if test -d $$d/$$file; then \ - cp -pr $$d/$$file $(distdir)/$$file; \ + cp -pR $$d/$$file $(distdir); \ else \ test -f $(distdir)/$$file \ || ln $$d/$$file $(distdir)/$$file 2> /dev/null \ || cp -p $$d/$$file $(distdir)/$$file || :; \ fi; \ done + info-am: info: info-am dvi-am: @@ -224,6 +225,7 @@ distclean-generic: -rm -f config.cache config.log stamp-h stamp-h[0-9]* maintainer-clean-generic: + -rm -f Makefile.in mostlyclean-am: mostlyclean-generic mostlyclean: mostlyclean-am diff --git a/tests/chmod/Makefile.in b/tests/chmod/Makefile.in index 92b9694c7..10b7c0a79 100644 --- a/tests/chmod/Makefile.in +++ b/tests/chmod/Makefile.in @@ -106,6 +106,7 @@ EXTRA_DIST = $(TESTS) TESTS_ENVIRONMENT = \ PATH=`pwd`/../../src:$$PATH +subdir = tests/chmod mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs CONFIG_HEADER = ../../config.h CONFIG_CLEAN_FILES = @@ -119,9 +120,9 @@ GZIP_ENV = --best all: all-redirect .SUFFIXES: $(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) - cd $(top_srcdir) && $(AUTOMAKE) --gnits tests/chmod/Makefile + cd $(top_srcdir) && $(AUTOMAKE) --gnits --include-deps tests/chmod/Makefile -Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status $(BUILT_SOURCES) +Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status cd $(top_builddir) \ && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status @@ -131,19 +132,18 @@ TAGS: distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir) -subdir = tests/chmod - distdir: $(DISTFILES) @for file in $(DISTFILES); do \ d=$(srcdir); \ if test -d $$d/$$file; then \ - cp -pr $$d/$$file $(distdir)/$$file; \ + cp -pR $$d/$$file $(distdir); \ else \ test -f $(distdir)/$$file \ || ln $$d/$$file $(distdir)/$$file 2> /dev/null \ || cp -p $$d/$$file $(distdir)/$$file || :; \ fi; \ done + check-TESTS: $(TESTS) @failed=0; all=0; xfail=0; xpass=0; \ srcdir=$(srcdir); export srcdir; \ @@ -231,6 +231,7 @@ distclean-generic: -rm -f config.cache config.log stamp-h stamp-h[0-9]* maintainer-clean-generic: + -rm -f Makefile.in mostlyclean-am: mostlyclean-generic mostlyclean: mostlyclean-am diff --git a/tests/cp/Makefile.in b/tests/cp/Makefile.in index faa40dee1..1d6f36f72 100644 --- a/tests/cp/Makefile.in +++ b/tests/cp/Makefile.in @@ -109,6 +109,7 @@ EXTRA_DIST = $(TESTS) TESTS_ENVIRONMENT = \ PATH=`pwd`/../../src:$$PATH +subdir = tests/cp mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs CONFIG_HEADER = ../../config.h CONFIG_CLEAN_FILES = @@ -122,9 +123,9 @@ GZIP_ENV = --best all: all-redirect .SUFFIXES: $(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) - cd $(top_srcdir) && $(AUTOMAKE) --gnits tests/cp/Makefile + cd $(top_srcdir) && $(AUTOMAKE) --gnits --include-deps tests/cp/Makefile -Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status $(BUILT_SOURCES) +Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status cd $(top_builddir) \ && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status @@ -134,19 +135,18 @@ TAGS: distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir) -subdir = tests/cp - distdir: $(DISTFILES) @for file in $(DISTFILES); do \ d=$(srcdir); \ if test -d $$d/$$file; then \ - cp -pr $$d/$$file $(distdir)/$$file; \ + cp -pR $$d/$$file $(distdir); \ else \ test -f $(distdir)/$$file \ || ln $$d/$$file $(distdir)/$$file 2> /dev/null \ || cp -p $$d/$$file $(distdir)/$$file || :; \ fi; \ done + check-TESTS: $(TESTS) @failed=0; all=0; xfail=0; xpass=0; \ srcdir=$(srcdir); export srcdir; \ @@ -234,6 +234,7 @@ distclean-generic: -rm -f config.cache config.log stamp-h stamp-h[0-9]* maintainer-clean-generic: + -rm -f Makefile.in mostlyclean-am: mostlyclean-generic mostlyclean: mostlyclean-am diff --git a/tests/dd/Makefile.in b/tests/dd/Makefile.in index 746e5c438..b9503d2f9 100644 --- a/tests/dd/Makefile.in +++ b/tests/dd/Makefile.in @@ -110,6 +110,7 @@ TESTS_ENVIRONMENT = \ TESTS = misc +subdir = tests/dd mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs CONFIG_HEADER = ../../config.h CONFIG_CLEAN_FILES = @@ -123,9 +124,9 @@ GZIP_ENV = --best all: all-redirect .SUFFIXES: $(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) - cd $(top_srcdir) && $(AUTOMAKE) --gnits tests/dd/Makefile + cd $(top_srcdir) && $(AUTOMAKE) --gnits --include-deps tests/dd/Makefile -Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status $(BUILT_SOURCES) +Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status cd $(top_builddir) \ && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status @@ -135,19 +136,18 @@ TAGS: distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir) -subdir = tests/dd - distdir: $(DISTFILES) @for file in $(DISTFILES); do \ d=$(srcdir); \ if test -d $$d/$$file; then \ - cp -pr $$d/$$file $(distdir)/$$file; \ + cp -pR $$d/$$file $(distdir); \ else \ test -f $(distdir)/$$file \ || ln $$d/$$file $(distdir)/$$file 2> /dev/null \ || cp -p $$d/$$file $(distdir)/$$file || :; \ fi; \ done + check-TESTS: $(TESTS) @failed=0; all=0; xfail=0; xpass=0; \ srcdir=$(srcdir); export srcdir; \ @@ -235,6 +235,7 @@ distclean-generic: -rm -f config.cache config.log stamp-h stamp-h[0-9]* maintainer-clean-generic: + -rm -f Makefile.in mostlyclean-am: mostlyclean-generic mostlyclean: mostlyclean-am diff --git a/tests/dircolors/Makefile.in b/tests/dircolors/Makefile.in index e56098f4e..ea5577922 100644 --- a/tests/dircolors/Makefile.in +++ b/tests/dircolors/Makefile.in @@ -110,6 +110,7 @@ TESTS_ENVIRONMENT = \ TESTS = simple +subdir = tests/dircolors mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs CONFIG_HEADER = ../../config.h CONFIG_CLEAN_FILES = @@ -123,9 +124,9 @@ GZIP_ENV = --best all: all-redirect .SUFFIXES: $(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) - cd $(top_srcdir) && $(AUTOMAKE) --gnits tests/dircolors/Makefile + cd $(top_srcdir) && $(AUTOMAKE) --gnits --include-deps tests/dircolors/Makefile -Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status $(BUILT_SOURCES) +Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status cd $(top_builddir) \ && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status @@ -135,19 +136,18 @@ TAGS: distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir) -subdir = tests/dircolors - distdir: $(DISTFILES) @for file in $(DISTFILES); do \ d=$(srcdir); \ if test -d $$d/$$file; then \ - cp -pr $$d/$$file $(distdir)/$$file; \ + cp -pR $$d/$$file $(distdir); \ else \ test -f $(distdir)/$$file \ || ln $$d/$$file $(distdir)/$$file 2> /dev/null \ || cp -p $$d/$$file $(distdir)/$$file || :; \ fi; \ done + check-TESTS: $(TESTS) @failed=0; all=0; xfail=0; xpass=0; \ srcdir=$(srcdir); export srcdir; \ @@ -235,6 +235,7 @@ distclean-generic: -rm -f config.cache config.log stamp-h stamp-h[0-9]* maintainer-clean-generic: + -rm -f Makefile.in mostlyclean-am: mostlyclean-generic mostlyclean: mostlyclean-am diff --git a/tests/install/Makefile.in b/tests/install/Makefile.in index 867e0bd52..fc1a560b0 100644 --- a/tests/install/Makefile.in +++ b/tests/install/Makefile.in @@ -109,6 +109,7 @@ TESTS_ENVIRONMENT = \ MKDIR=../../src/mkdir \ RM=../../src/rm +subdir = tests/install mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs CONFIG_HEADER = ../../config.h CONFIG_CLEAN_FILES = @@ -122,9 +123,9 @@ GZIP_ENV = --best all: all-redirect .SUFFIXES: $(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) - cd $(top_srcdir) && $(AUTOMAKE) --gnits tests/install/Makefile + cd $(top_srcdir) && $(AUTOMAKE) --gnits --include-deps tests/install/Makefile -Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status $(BUILT_SOURCES) +Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status cd $(top_builddir) \ && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status @@ -134,19 +135,18 @@ TAGS: distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir) -subdir = tests/install - distdir: $(DISTFILES) @for file in $(DISTFILES); do \ d=$(srcdir); \ if test -d $$d/$$file; then \ - cp -pr $$d/$$file $(distdir)/$$file; \ + cp -pR $$d/$$file $(distdir); \ else \ test -f $(distdir)/$$file \ || ln $$d/$$file $(distdir)/$$file 2> /dev/null \ || cp -p $$d/$$file $(distdir)/$$file || :; \ fi; \ done + check-TESTS: $(TESTS) @failed=0; all=0; xfail=0; xpass=0; \ srcdir=$(srcdir); export srcdir; \ @@ -234,6 +234,7 @@ distclean-generic: -rm -f config.cache config.log stamp-h stamp-h[0-9]* maintainer-clean-generic: + -rm -f Makefile.in mostlyclean-am: mostlyclean-generic mostlyclean: mostlyclean-am diff --git a/tests/ln/Makefile.in b/tests/ln/Makefile.in index 430a82bcc..07c4a18df 100644 --- a/tests/ln/Makefile.in +++ b/tests/ln/Makefile.in @@ -106,6 +106,7 @@ EXTRA_DIST = $(TESTS) TESTS_ENVIRONMENT = \ PATH=`pwd`/../../src:$$PATH +subdir = tests/ln mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs CONFIG_HEADER = ../../config.h CONFIG_CLEAN_FILES = @@ -119,9 +120,9 @@ GZIP_ENV = --best all: all-redirect .SUFFIXES: $(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) - cd $(top_srcdir) && $(AUTOMAKE) --gnits tests/ln/Makefile + cd $(top_srcdir) && $(AUTOMAKE) --gnits --include-deps tests/ln/Makefile -Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status $(BUILT_SOURCES) +Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status cd $(top_builddir) \ && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status @@ -131,19 +132,18 @@ TAGS: distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir) -subdir = tests/ln - distdir: $(DISTFILES) @for file in $(DISTFILES); do \ d=$(srcdir); \ if test -d $$d/$$file; then \ - cp -pr $$d/$$file $(distdir)/$$file; \ + cp -pR $$d/$$file $(distdir); \ else \ test -f $(distdir)/$$file \ || ln $$d/$$file $(distdir)/$$file 2> /dev/null \ || cp -p $$d/$$file $(distdir)/$$file || :; \ fi; \ done + check-TESTS: $(TESTS) @failed=0; all=0; xfail=0; xpass=0; \ srcdir=$(srcdir); export srcdir; \ @@ -231,6 +231,7 @@ distclean-generic: -rm -f config.cache config.log stamp-h stamp-h[0-9]* maintainer-clean-generic: + -rm -f Makefile.in mostlyclean-am: mostlyclean-generic mostlyclean: mostlyclean-am diff --git a/tests/ls-2/Makefile.in b/tests/ls-2/Makefile.in index 6794ad1f6..240ea404f 100644 --- a/tests/ls-2/Makefile.in +++ b/tests/ls-2/Makefile.in @@ -110,6 +110,7 @@ TESTS_ENVIRONMENT = \ TESTS = tests +subdir = tests/ls-2 mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs CONFIG_HEADER = ../../config.h CONFIG_CLEAN_FILES = @@ -123,9 +124,9 @@ GZIP_ENV = --best all: all-redirect .SUFFIXES: $(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) - cd $(top_srcdir) && $(AUTOMAKE) --gnits tests/ls-2/Makefile + cd $(top_srcdir) && $(AUTOMAKE) --gnits --include-deps tests/ls-2/Makefile -Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status $(BUILT_SOURCES) +Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status cd $(top_builddir) \ && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status @@ -135,19 +136,18 @@ TAGS: distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir) -subdir = tests/ls-2 - distdir: $(DISTFILES) @for file in $(DISTFILES); do \ d=$(srcdir); \ if test -d $$d/$$file; then \ - cp -pr $$d/$$file $(distdir)/$$file; \ + cp -pR $$d/$$file $(distdir); \ else \ test -f $(distdir)/$$file \ || ln $$d/$$file $(distdir)/$$file 2> /dev/null \ || cp -p $$d/$$file $(distdir)/$$file || :; \ fi; \ done + check-TESTS: $(TESTS) @failed=0; all=0; xfail=0; xpass=0; \ srcdir=$(srcdir); export srcdir; \ @@ -235,6 +235,7 @@ distclean-generic: -rm -f config.cache config.log stamp-h stamp-h[0-9]* maintainer-clean-generic: + -rm -f Makefile.in mostlyclean-am: mostlyclean-generic mostlyclean: mostlyclean-am diff --git a/tests/ls/Makefile.in b/tests/ls/Makefile.in index 6a4b2ff3d..8abaeda33 100644 --- a/tests/ls/Makefile.in +++ b/tests/ls/Makefile.in @@ -104,6 +104,7 @@ AUTOMAKE_OPTIONS = 1.2 gnits TESTS = rt-1 time-1 EXTRA_DIST = $(TESTS) TESTS_ENVIRONMENT = LS=../../src/ls TOUCH=../../src/touch +subdir = tests/ls mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs CONFIG_HEADER = ../../config.h CONFIG_CLEAN_FILES = @@ -117,9 +118,9 @@ GZIP_ENV = --best all: all-redirect .SUFFIXES: $(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) - cd $(top_srcdir) && $(AUTOMAKE) --gnits tests/ls/Makefile + cd $(top_srcdir) && $(AUTOMAKE) --gnits --include-deps tests/ls/Makefile -Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status $(BUILT_SOURCES) +Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status cd $(top_builddir) \ && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status @@ -129,19 +130,18 @@ TAGS: distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir) -subdir = tests/ls - distdir: $(DISTFILES) @for file in $(DISTFILES); do \ d=$(srcdir); \ if test -d $$d/$$file; then \ - cp -pr $$d/$$file $(distdir)/$$file; \ + cp -pR $$d/$$file $(distdir); \ else \ test -f $(distdir)/$$file \ || ln $$d/$$file $(distdir)/$$file 2> /dev/null \ || cp -p $$d/$$file $(distdir)/$$file || :; \ fi; \ done + check-TESTS: $(TESTS) @failed=0; all=0; xfail=0; xpass=0; \ srcdir=$(srcdir); export srcdir; \ @@ -229,6 +229,7 @@ distclean-generic: -rm -f config.cache config.log stamp-h stamp-h[0-9]* maintainer-clean-generic: + -rm -f Makefile.in mostlyclean-am: mostlyclean-generic mostlyclean: mostlyclean-am diff --git a/tests/mkdir/Makefile.in b/tests/mkdir/Makefile.in index f43609e53..fc0540bcc 100644 --- a/tests/mkdir/Makefile.in +++ b/tests/mkdir/Makefile.in @@ -104,6 +104,7 @@ AUTOMAKE_OPTIONS = 1.1 gnits TESTS = p-1 p-2 EXTRA_DIST = $(TESTS) TESTS_ENVIRONMENT = MKDIR=../../src/mkdir +subdir = tests/mkdir mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs CONFIG_HEADER = ../../config.h CONFIG_CLEAN_FILES = @@ -117,9 +118,9 @@ GZIP_ENV = --best all: all-redirect .SUFFIXES: $(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) - cd $(top_srcdir) && $(AUTOMAKE) --gnits tests/mkdir/Makefile + cd $(top_srcdir) && $(AUTOMAKE) --gnits --include-deps tests/mkdir/Makefile -Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status $(BUILT_SOURCES) +Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status cd $(top_builddir) \ && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status @@ -129,19 +130,18 @@ TAGS: distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir) -subdir = tests/mkdir - distdir: $(DISTFILES) @for file in $(DISTFILES); do \ d=$(srcdir); \ if test -d $$d/$$file; then \ - cp -pr $$d/$$file $(distdir)/$$file; \ + cp -pR $$d/$$file $(distdir); \ else \ test -f $(distdir)/$$file \ || ln $$d/$$file $(distdir)/$$file 2> /dev/null \ || cp -p $$d/$$file $(distdir)/$$file || :; \ fi; \ done + check-TESTS: $(TESTS) @failed=0; all=0; xfail=0; xpass=0; \ srcdir=$(srcdir); export srcdir; \ @@ -229,6 +229,7 @@ distclean-generic: -rm -f config.cache config.log stamp-h stamp-h[0-9]* maintainer-clean-generic: + -rm -f Makefile.in mostlyclean-am: mostlyclean-generic mostlyclean: mostlyclean-am diff --git a/tests/mv/Makefile.in b/tests/mv/Makefile.in index 0c04f4d04..681c4f793 100644 --- a/tests/mv/Makefile.in +++ b/tests/mv/Makefile.in @@ -119,6 +119,7 @@ TESTS_ENVIRONMENT = \ PATH=`pwd`/../../src:$$PATH \ PROG=mv +subdir = tests/mv mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs CONFIG_HEADER = ../../config.h CONFIG_CLEAN_FILES = @@ -132,9 +133,9 @@ GZIP_ENV = --best all: all-redirect .SUFFIXES: $(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) - cd $(top_srcdir) && $(AUTOMAKE) --gnits tests/mv/Makefile + cd $(top_srcdir) && $(AUTOMAKE) --gnits --include-deps tests/mv/Makefile -Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status $(BUILT_SOURCES) +Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status cd $(top_builddir) \ && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status @@ -144,19 +145,18 @@ TAGS: distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir) -subdir = tests/mv - distdir: $(DISTFILES) @for file in $(DISTFILES); do \ d=$(srcdir); \ if test -d $$d/$$file; then \ - cp -pr $$d/$$file $(distdir)/$$file; \ + cp -pR $$d/$$file $(distdir); \ else \ test -f $(distdir)/$$file \ || ln $$d/$$file $(distdir)/$$file 2> /dev/null \ || cp -p $$d/$$file $(distdir)/$$file || :; \ fi; \ done + check-TESTS: $(TESTS) @failed=0; all=0; xfail=0; xpass=0; \ srcdir=$(srcdir); export srcdir; \ @@ -244,6 +244,7 @@ distclean-generic: -rm -f config.cache config.log stamp-h stamp-h[0-9]* maintainer-clean-generic: + -rm -f Makefile.in mostlyclean-am: mostlyclean-generic mostlyclean: mostlyclean-am diff --git a/tests/rm/Makefile.in b/tests/rm/Makefile.in index 3acd13188..905bd144b 100644 --- a/tests/rm/Makefile.in +++ b/tests/rm/Makefile.in @@ -112,6 +112,7 @@ TESTS_ENVIRONMENT = \ PATH=../../src:$$PATH \ PROG=rm +subdir = tests/rm mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs CONFIG_HEADER = ../../config.h CONFIG_CLEAN_FILES = @@ -125,9 +126,9 @@ GZIP_ENV = --best all: all-redirect .SUFFIXES: $(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) - cd $(top_srcdir) && $(AUTOMAKE) --gnits tests/rm/Makefile + cd $(top_srcdir) && $(AUTOMAKE) --gnits --include-deps tests/rm/Makefile -Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status $(BUILT_SOURCES) +Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status cd $(top_builddir) \ && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status @@ -137,19 +138,18 @@ TAGS: distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir) -subdir = tests/rm - distdir: $(DISTFILES) @for file in $(DISTFILES); do \ d=$(srcdir); \ if test -d $$d/$$file; then \ - cp -pr $$d/$$file $(distdir)/$$file; \ + cp -pR $$d/$$file $(distdir); \ else \ test -f $(distdir)/$$file \ || ln $$d/$$file $(distdir)/$$file 2> /dev/null \ || cp -p $$d/$$file $(distdir)/$$file || :; \ fi; \ done + check-TESTS: $(TESTS) @failed=0; all=0; xfail=0; xpass=0; \ srcdir=$(srcdir); export srcdir; \ @@ -237,6 +237,7 @@ distclean-generic: -rm -f config.cache config.log stamp-h stamp-h[0-9]* maintainer-clean-generic: + -rm -f Makefile.in mostlyclean-am: mostlyclean-generic mostlyclean: mostlyclean-am diff --git a/tests/rmdir/Makefile.in b/tests/rmdir/Makefile.in index 8f83e4862..ba1c273d3 100644 --- a/tests/rmdir/Makefile.in +++ b/tests/rmdir/Makefile.in @@ -110,6 +110,7 @@ TESTS_ENVIRONMENT = \ PATH=../../src:$$PATH \ PROG=rmdir +subdir = tests/rmdir mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs CONFIG_HEADER = ../../config.h CONFIG_CLEAN_FILES = @@ -123,9 +124,9 @@ GZIP_ENV = --best all: all-redirect .SUFFIXES: $(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) - cd $(top_srcdir) && $(AUTOMAKE) --gnits tests/rmdir/Makefile + cd $(top_srcdir) && $(AUTOMAKE) --gnits --include-deps tests/rmdir/Makefile -Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status $(BUILT_SOURCES) +Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status cd $(top_builddir) \ && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status @@ -135,19 +136,18 @@ TAGS: distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir) -subdir = tests/rmdir - distdir: $(DISTFILES) @for file in $(DISTFILES); do \ d=$(srcdir); \ if test -d $$d/$$file; then \ - cp -pr $$d/$$file $(distdir)/$$file; \ + cp -pR $$d/$$file $(distdir); \ else \ test -f $(distdir)/$$file \ || ln $$d/$$file $(distdir)/$$file 2> /dev/null \ || cp -p $$d/$$file $(distdir)/$$file || :; \ fi; \ done + check-TESTS: $(TESTS) @failed=0; all=0; xfail=0; xpass=0; \ srcdir=$(srcdir); export srcdir; \ @@ -235,6 +235,7 @@ distclean-generic: -rm -f config.cache config.log stamp-h stamp-h[0-9]* maintainer-clean-generic: + -rm -f Makefile.in mostlyclean-am: mostlyclean-generic mostlyclean: mostlyclean-am diff --git a/tests/touch/Makefile.in b/tests/touch/Makefile.in index cf39fdcf4..b3f3bc39a 100644 --- a/tests/touch/Makefile.in +++ b/tests/touch/Makefile.in @@ -106,6 +106,7 @@ EXTRA_DIST = $(TESTS) TESTS_ENVIRONMENT = \ PATH=../../src:$$PATH +subdir = tests/touch mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs CONFIG_HEADER = ../../config.h CONFIG_CLEAN_FILES = @@ -119,9 +120,9 @@ GZIP_ENV = --best all: all-redirect .SUFFIXES: $(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) - cd $(top_srcdir) && $(AUTOMAKE) --gnits tests/touch/Makefile + cd $(top_srcdir) && $(AUTOMAKE) --gnits --include-deps tests/touch/Makefile -Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status $(BUILT_SOURCES) +Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status cd $(top_builddir) \ && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status @@ -131,19 +132,18 @@ TAGS: distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir) -subdir = tests/touch - distdir: $(DISTFILES) @for file in $(DISTFILES); do \ d=$(srcdir); \ if test -d $$d/$$file; then \ - cp -pr $$d/$$file $(distdir)/$$file; \ + cp -pR $$d/$$file $(distdir); \ else \ test -f $(distdir)/$$file \ || ln $$d/$$file $(distdir)/$$file 2> /dev/null \ || cp -p $$d/$$file $(distdir)/$$file || :; \ fi; \ done + check-TESTS: $(TESTS) @failed=0; all=0; xfail=0; xpass=0; \ srcdir=$(srcdir); export srcdir; \ @@ -231,6 +231,7 @@ distclean-generic: -rm -f config.cache config.log stamp-h stamp-h[0-9]* maintainer-clean-generic: + -rm -f Makefile.in mostlyclean-am: mostlyclean-generic mostlyclean: mostlyclean-am