libposix: Add _HEADERS primaries to posix modules.
[gnulib.git] / modules / glob
1 Description:
2 glob() function: Search for files and directories with paths matching a
3 pattern, with GNU extensions.
4
5 Files:
6 lib/glob.in.h
7 lib/glob-libc.h
8 lib/glob.c
9 m4/glob.m4
10
11 Depends-on:
12 alloca
13 arg-nonnull
14 c++defs
15 d-type
16 dirfd
17 extensions
18 fnmatch
19 getlogin_r
20 memchr
21 mempcpy
22 stdbool
23 strdup
24 sys_stat
25 unistd
26 warn-on-use
27 malloc-posix
28
29 configure.ac:
30 gl_GLOB
31
32 Makefile.am:
33 nodist_pkginclude_HEADERS += $(GLOB_H)
34 EXTRA_HEADERS += glob.h
35
36 BUILT_SOURCES += $(GLOB_H)
37
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; \
48         } > $@-t && \
49         mv -f $@-t $@
50 MOSTLYCLEANFILES += glob.h glob.h-t
51
52 Include:
53 <glob.h>
54
55 License:
56 LGPLv2+
57
58 Maintainer:
59 all, glibc