2 Like <fcntl.h>, but with non-working flags defined to 0.
17 BUILT_SOURCES += $(FCNTL_H)
19 # We need the following in order to create <fcntl.h> when the system
20 # doesn't have one that works with the given compiler.
22 $(AM_V_GEN)rm -f $@-t $@ && \
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_FCNTL_H''@|$(NEXT_FCNTL_H)|g' \
27 -e 's|@''GNULIB_OPEN''@|$(GNULIB_OPEN)|g' \
28 -e 's|@''REPLACE_OPEN''@|$(REPLACE_OPEN)|g' \
29 < $(srcdir)/fcntl.in.h; \
32 MOSTLYCLEANFILES += fcntl.h fcntl.h-t