2 <sys/file.h> for systems with an incomplete header.
17 nobase_nodist_pkginclude_HEADERS += sys/file.h
19 BUILT_SOURCES += sys/file.h
21 # We need the following in order to create <sys/file.h> when the system
22 # has one that is incomplete.
23 sys/file.h: sys_file.in.h $(WARN_ON_USE_H)
24 $(AM_V_at)$(MKDIR_P) sys
25 $(AM_V_GEN)rm -f $@-t $@ && \
26 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
27 sed -e 's/@''HAVE_SYS_FILE_H''@/$(HAVE_SYS_FILE_H)/g' \
28 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
29 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
30 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
31 -e 's|@''NEXT_SYS_FILE_H''@|$(NEXT_SYS_FILE_H)|g' \
32 -e 's/@''HAVE_FLOCK''@/$(HAVE_FLOCK)/g' \
33 -e 's/@''GNULIB_FLOCK''@/$(GNULIB_FLOCK)/g' \
34 -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
35 < $(srcdir)/sys_file.in.h; \
38 MOSTLYCLEANFILES += sys/file.h sys/file.h-t
39 MOSTLYCLEANDIRS += sys