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