2 glob() function: Search for files and directories with paths matching a
3 pattern, with GNU extensions.
33 BUILT_SOURCES += $(GLOB_H)
35 # We need the following in order to create <glob.h> when the system
36 # doesn't have one that works with the given compiler.
37 glob.h: glob.in.h $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
38 $(AM_V_GEN)rm -f $@-t $@ && \
39 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
40 sed -e 's|@''HAVE_SYS_CDEFS_H''@|$(HAVE_SYS_CDEFS_H)|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; \
47 MOSTLYCLEANFILES += glob.h glob.h-t