Mark generated files as "DO NOT EDIT".
[gnulib.git] / modules / sys_select
1 Description:
2 A <sys/select.h> for systems lacking it (e.g., Mingw).
3
4 Files:
5 m4/sys_select_h.m4
6
7 Depends-on:
8 sys_socket
9
10 configure.ac:
11 gl_HEADER_SYS_SELECT
12
13 Makefile.am:
14 BUILT_SOURCES += $(SYS_SELECT_H)
15
16 # We need the following in order to create <sys/select.h> when the system
17 # doesn't have one that works with the given compiler.
18 sys/select.h:
19         test -d sys || mkdir sys
20         rm -f $@-t $@
21         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
22           echo '#include <sys/socket.h>'; \
23         } > $@-t
24         mv $@-t $@
25 MOSTLYCLEANFILES += sys/select.h sys/select.h-t
26 MOSTLYCLEANDIRS += sys
27
28 Include:
29 #include <sys/select.h>
30
31 License:
32 LGPL
33
34 Maintainer:
35 Simon Josefsson