diff options
author | Jim Meyering <jim@meyering.net> | 2003-07-12 18:29:35 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 2003-07-12 18:29:35 +0000 |
commit | 016d23cb892d0a2fc8d45b60ceaadc1a1646d6fb (patch) | |
tree | 275a9b7ec70348fb97c499acde785771aef3e98f /lib | |
parent | d51ca1993401d4fd02ce695071c35ff0c530c721 (diff) | |
download | coreutils-016d23cb892d0a2fc8d45b60ceaadc1a1646d6fb.tar.xz |
(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).
Diffstat (limited to 'lib')
-rw-r--r-- | lib/Makefile.am | 4 |
1 files changed, 2 insertions, 2 deletions
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 <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 $@ |