From: Jim Meyering Date: Fri, 6 Jun 2003 19:58:26 +0000 (+0000) Subject: (EXTRA_DIST): Add alloca_.h. X-Git-Tag: v5.0.1~360 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=e53217d245a0be51eb8b11e08c8b5a560ead12a0;p=thirdparty%2Fcoreutils.git (EXTRA_DIST): Add alloca_.h. (all-local $(lib_OBJECTS)): Depend on $(ALLOCA_H). (alloca.h): New rule. --- diff --git a/lib/Makefile.am b/lib/Makefile.am index ffee8cf03a..fb1fc28d5e 100644 --- a/lib/Makefile.am +++ b/lib/Makefile.am @@ -184,11 +184,19 @@ charset.alias: config.charset # 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 $@ MOSTLYCLEANFILES += stdbool.h EXTRA_DIST += stdbool.hin +EXTRA_DIST += alloca_.h +# Create an 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 $@ + SUFFIXES = .sed .sin .sin.sed: sed -e '/^#/d' -e 's/@''PACKAGE''@/$(PACKAGE)/g' $< > t-$@