summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2002-12-04 08:59:13 +0000
committerJim Meyering <jim@meyering.net>2002-12-04 08:59:13 +0000
commit47d074ba3fbb5431cca85028c3cdec87440da739 (patch)
treee2e072cf0cb044cd13b2f1b1b63311c0e2fbb48b /lib
parentf2cb00a54a67e2e95fbeed4091204386797a899d (diff)
downloadcoreutils-47d074ba3fbb5431cca85028c3cdec87440da739.tar.xz
Reflect the fact that stat.c and lstat.c are no longer generated.
(BUILT_SOURCES): Remove stat.c and lstat.c. (DISTCLEANFILES): Likewise. (EXTRA_DIST): Likewise. (all_local): Don't depend on stat.c or lstat.c. (stat.c, lstat.c): Remove rules. (EXTRA_DIST): Remove xstat.in.
Diffstat (limited to 'lib')
-rw-r--r--lib/Makefile.am26
1 files changed, 4 insertions, 22 deletions
diff --git a/lib/Makefile.am b/lib/Makefile.am
index 3e4d83566..65ab6cb95 100644
--- a/lib/Makefile.am
+++ b/lib/Makefile.am
@@ -110,31 +110,13 @@ libfetish_a_LIBADD = @LIBOBJS@ @ALLOCA@
libfetish_a_DEPENDENCIES = $(libfetish_a_LIBADD)
-BUILT_SOURCES = getdate.c lstat.c stat.c unlocked-io.h
+BUILT_SOURCES = getdate.c unlocked-io.h
MAINTAINERCLEANFILES = $(BUILT_SOURCES)
-DISTCLEANFILES = lstat.c stat.c unlocked-io.h
+DISTCLEANFILES = unlocked-io.h
-EXTRA_DIST = xstat.in config.charset ref-add.sin ref-del.sin gen-uio \
+EXTRA_DIST = config.charset ref-add.sin ref-del.sin gen-uio \
fnmatch_loop.c inttostr.c inttostr.h
-lstat.c: xstat.in
- sed \
- -e '/@IGNORE@/d' \
- -e 's/@xstat@/lstat/g' \
- -e '/_LSTAT_ONLY@/d' \
- -e '/@BEGIN_STAT_ONLY@/,/@END_STAT_ONLY@/d' \
- $(srcdir)/xstat.in > t-$@
- mv t-$@ $@
-
-stat.c: xstat.in
- sed \
- -e '/@IGNORE@/d' \
- -e 's/@xstat@/stat/g' \
- -e '/_STAT_ONLY@/d' \
- -e '/@BEGIN_LSTAT_ONLY@/,/@END_LSTAT_ONLY@/d' \
- $(srcdir)/xstat.in > t-$@
- mv t-$@ $@
-
# The following is needed in order to install a simple file in $(libdir)
# which is shared with other installed packages. We use a list of referencing
# packages so that "make uninstall" will remove the file if and only if it
@@ -142,7 +124,7 @@ stat.c: xstat.in
# On systems with glibc-2.1 or newer, the file is redundant, therefore we
# avoid installing it.
-all-local: charset.alias ref-add.sed ref-del.sed lstat.c stat.c unlocked-io.h
+all-local: charset.alias ref-add.sed ref-del.sed unlocked-io.h
charset_alias = $(DESTDIR)$(libdir)/charset.alias
charset_tmp = $(DESTDIR)$(libdir)/charset.tmp