2 glob() function: Search for files and directories with paths matching a
3 pattern, with GNU extensions.
33 nodist_pkginclude_HEADERS += $(GLOB_H)
34 EXTRA_HEADERS += glob.h
36 BUILT_SOURCES += $(GLOB_H)
38 # We need the following in order to create <glob.h> when the system
39 # doesn't have one that works with the given compiler.
40 glob.h: glob.in.h $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
41 $(AM_V_GEN)rm -f $@-t $@ && \
42 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
43 sed -e 's|@''HAVE_SYS_CDEFS_H''@|$(HAVE_SYS_CDEFS_H)|g' \
44 -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
45 -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
46 -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
47 < $(srcdir)/glob.in.h; \
50 MOSTLYCLEANFILES += glob.h glob.h-t