2 A <glob.h> that conforms to POSIX.
23 BUILT_SOURCES += $(GLOB_H)
25 # We need the following in order to create <glob.h>.
27 glob.h: glob.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
28 $(AM_V_GEN)rm -f $@-t $@ && \
29 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
30 sed -e 's|@''GUARD_PREFIX''@|${gl_include_guard_prefix}|g' \
31 -e 's|@''HAVE_GLOB_H''@|$(HAVE_GLOB_H)|g' \
32 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
33 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
34 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
35 -e 's|@''NEXT_GLOB_H''@|$(NEXT_GLOB_H)|g' \
36 -e 's/@''GNULIB_GLOB''@/$(GNULIB_GLOB)/g' \
37 -e 's|@''HAVE_GLOB''@|$(HAVE_GLOB)|g' \
38 -e 's|@''HAVE_GLOB_PATTERN_P''@|$(HAVE_GLOB_PATTERN_P)|g' \
39 -e 's|@''REPLACE_GLOB''@|$(REPLACE_GLOB)|g' \
40 -e 's|@''REPLACE_GLOB_PATTERN_P''@|$(REPLACE_GLOB_PATTERN_P)|g' \
41 -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
42 -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
43 -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
44 < $(srcdir)/glob.in.h; \
48 glob.h: $(top_builddir)/config.status
51 MOSTLYCLEANFILES += glob.h glob.h-t