From 016d23cb892d0a2fc8d45b60ceaadc1a1646d6fb Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Sat, 12 Jul 2003 18:29:35 +0000 Subject: (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). --- lib/Makefile.am | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib') diff --git a/lib/Makefile.am b/lib/Makefile.am index f73e4916e..56f7c038b 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 $@ -- cgit v1.2.3-54-g00ecf