2 Like <fcntl.h>, but with non-working flags defined to 0.
16 BUILT_SOURCES += $(FCNTL_H)
18 # We need the following in order to create <fcntl.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|@''NEXT_FCNTL_H''@|$(NEXT_FCNTL_H)|g' \
25 -e 's|@''GNULIB_OPEN''@|$(GNULIB_OPEN)|g' \
26 -e 's|@''REPLACE_OPEN''@|$(REPLACE_OPEN)|g' \
27 < $(srcdir)/fcntl.in.h; \
30 MOSTLYCLEANFILES += fcntl.h fcntl.h-t