17 BUILT_SOURCES += $(DIRENT_H)
19 # We need the following in order to create <dirent.h> when the system
20 # doesn't have one that works with the given compiler.
23 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
24 sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
25 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
26 -e 's|@''NEXT_DIRENT_H''@|$(NEXT_DIRENT_H)|g' \
27 -e 's|@''GNULIB_DIRFD''@|$(GNULIB_DIRFD)|g' \
28 -e 's|@''GNULIB_SCANDIR''@|$(GNULIB_SCANDIR)|g' \
29 -e 's|@''HAVE_DECL_DIRFD''@|$(HAVE_DECL_DIRFD)|g' \
30 -e 's|@''HAVE_SCANDIR''@|$(HAVE_SCANDIR)|g' \
31 -e 's|@''REPLACE_FCHDIR''@|$(REPLACE_FCHDIR)|g' \
32 -e '/definition of GL_LINK_WARNING/r $(LINK_WARNING_H)' \
33 < $(srcdir)/dirent.in.h; \
36 MOSTLYCLEANFILES += dirent.h dirent.h-t