diff options
Diffstat (limited to 'gl/modules/make-glob')
-rw-r--r-- | gl/modules/make-glob | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/gl/modules/make-glob b/gl/modules/make-glob new file mode 100644 index 00000000..81bf50f7 --- /dev/null +++ b/gl/modules/make-glob @@ -0,0 +1,44 @@ +Description: +GNU make version of fnmatch()/glob() functions. This is a holdover from +a very old version of the globbing library. + +Makefile.am: +if !USE_SYSTEM_GLOB +libgnu_a_SOURCES += fnmatch.c + +BUILT_SOURCES += fnmatch.h + +fnmatch.h: fnmatch.in.h $(top_builddir)/config.status + $(AM_V_GEN)rm -f $@-t $@ && \ + { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \ + cat $(srcdir)/fnmatch.in.h; \ + } > $@-t && \ + mv -f $@-t $@ + +MOSTLYCLEANFILES += fnmatch.h fnmatch.h-t + +libgnu_a_SOURCES += glob.c + +BUILT_SOURCES += glob.h + +glob.h: glob.in.h $(top_builddir)/config.status + $(AM_V_GEN)rm -f $@-t $@ && \ + { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \ + cat $(srcdir)/glob.in.h; \ + } > $@-t && \ + mv -f $@-t $@ + +MOSTLYCLEANFILES += glob.h glob.h-t +endif + +EXTRA_DIST += fnmatch.in.h glob.in.h + + +Include: +<glob.h> + +License: +LGPLv2+ + +Maintainer: +all, glibc |