From: Jim Meyering Date: Sat, 12 Jul 2003 18:29:35 +0000 (+0000) Subject: (BUILT_SOURCES): Use `BUILT_SOURCES += $(STDBOOL_H)' X-Git-Tag: v5.0.1~51 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=016d23cb892d0a2fc8d45b60ceaadc1a1646d6fb;p=thirdparty%2Fcoreutils.git (BUILT_SOURCES): Use `BUILT_SOURCES += $(STDBOOL_H)' rather than `all-local: $(STDBOOL_H)'. The latter didn't force creation of stdbool.h before most other targets. Likewise for $(ALLOCA_H). --- diff --git a/lib/Makefile.am b/lib/Makefile.am index f73e4916ed..56f7c038b4 100644 --- a/lib/Makefile.am +++ b/lib/Makefile.am @@ -187,19 +187,19 @@ charset.alias: config.charset $(SHELL) $(srcdir)/config.charset '@host@' > t-$@ mv t-$@ $@ +BUILT_SOURCES += $(STDBOOL_H) EXTRA_DIST += stdbool.hin MOSTLYCLEANFILES += stdbool.h stdbool.ht # 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 $@ +BUILT_SOURCES += $(ALLOCA_H) EXTRA_DIST += alloca_.h MOSTLYCLEANFILES += alloca.h alloca.ht # 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 $@