diff options
author | Jim Meyering <jim@meyering.net> | 2003-06-06 23:04:56 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 2003-06-06 23:04:56 +0000 |
commit | 1e006fb1ea0a6ba06dcee20ba463fa8513477ad0 (patch) | |
tree | ad6eeea36144cf706205ee2be7071dc763550825 /lib/Makefile.in | |
parent | 0bf3b0e892e75488a8c37ad7090b1a4454ab67e1 (diff) | |
download | coreutils-1e006fb1ea0a6ba06dcee20ba463fa8513477ad0.tar.xz |
.
Diffstat (limited to 'lib/Makefile.in')
-rw-r--r-- | lib/Makefile.in | 16 |
1 files changed, 11 insertions, 5 deletions
diff --git a/lib/Makefile.in b/lib/Makefile.in index d371c1d23..23531c18f 100644 --- a/lib/Makefile.in +++ b/lib/Makefile.in @@ -41,6 +41,7 @@ POST_UNINSTALL = : host_triplet = @host@ ACLOCAL = @ACLOCAL@ ALLOCA = @ALLOCA@ +ALLOCA_H = @ALLOCA_H@ AMDEP_FALSE = @AMDEP_FALSE@ AMDEP_TRUE = @AMDEP_TRUE@ AMTAR = @AMTAR@ @@ -265,11 +266,11 @@ libfetish_a_DEPENDENCIES = $(libfetish_a_LIBADD) BUILT_SOURCES = getdate.c MAINTAINERCLEANFILES = $(BUILT_SOURCES) -MOSTLYCLEANFILES = stdbool.h +MOSTLYCLEANFILES = stdbool.h stdbool.ht alloca.h alloca.ht EXTRA_DIST = config.charset ref-add.sin ref-del.sin \ fnmatch_loop.c inttostr.c inttostr.h\ -stdbool.hin +stdbool.hin alloca_.h charset_alias = $(DESTDIR)$(libdir)/charset.alias charset_tmp = $(DESTDIR)$(libdir)/charset.tmp @@ -849,12 +850,17 @@ uninstall-local: all-local charset.alias: config.charset $(SHELL) $(srcdir)/config.charset '@host@' > t-$@ mv t-$@ $@ - # Create stdbool.h on systems that lack a working one. all-local $(lib_OBJECTS): $(STDBOOL_H) stdbool.h: stdbool.hin - sed -e 's/@''HAVE__BOOL''@/$(HAVE__BOOL)/g' $(srcdir)/stdbool.hin > t-$@ - mv t-$@ $@ + sed -e 's/@''HAVE__BOOL''@/$(HAVE__BOOL)/g' $(srcdir)/stdbool.hin > $@t + mv $@t $@ +# Create an <alloca.h> when the system +# doesn't have one that works with the given compiler. +all-local $(lib_OBJECTS): $(ALLOCA_H) +alloca.h: alloca_.h + cp $(srcdir)/alloca_.h $@t + mv $@t $@ .sin.sed: sed -e '/^#/d' -e 's/@''PACKAGE''@/$(PACKAGE)/g' $< > t-$@ mv t-$@ $@ |