16 BUILT_SOURCES += $(DIRENT_H)
18 # We need the following in order to create <dirent.h> when the system
19 # doesn't have one that works with the given compiler.
22 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
23 sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
24 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
25 -e 's|@''NEXT_DIRENT_H''@|$(NEXT_DIRENT_H)|g' \
26 -e 's|@''REPLACE_FCHDIR''@|$(REPLACE_FCHDIR)|g' \
27 < $(srcdir)/dirent.in.h; \
30 MOSTLYCLEANFILES += dirent.h dirent.h-t