BUILT_SOURCES += $(ALLOCA_H)
EXTRA_DIST += alloca_.h
-# We need the following in order to create an <alloca.h> when the system
+# We need the following in order to create <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 $@
+ { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
+ cat $(srcdir)/alloca_.h; \
+ } > $@-t
+ mv -f $@-t $@
MOSTLYCLEANFILES += alloca.h alloca.h-t
Include: