15 BUILT_SOURCES += $(LIMITS_H)
17 # We need the following in order to create <limits.h> when the system
18 # doesn't have one that is compatible with GNU.
19 if GL_GENERATE_LIMITS_H
20 limits.h: limits.in.h $(top_builddir)/config.status
21 $(AM_V_GEN)rm -f $@-t $@ && \
22 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
23 sed -e 's|@''GUARD_PREFIX''@|${gl_include_guard_prefix}|g' \
24 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
25 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
26 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
27 -e 's|@''NEXT_LIMITS_H''@|$(NEXT_LIMITS_H)|g' \
28 < $(srcdir)/limits.in.h; \
32 limits.h: $(top_builddir)/config.status
35 MOSTLYCLEANFILES += limits.h limits.h-t