1
0
mirror of git://git.sv.gnu.org/coreutils.git synced 2026-04-13 07:15:50 +02:00

(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).
This commit is contained in:
Jim Meyering
2003-07-12 18:29:35 +00:00
parent d51ca19934
commit 016d23cb89

View File

@@ -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 $@