a44c64e77c431bf013fefa803571723704ac1227
7 all: Net.txt dumphstrerrno
10 DEFS
= defs-socket defs-in defs-netdb
12 Net.txt
: Net.txt.templ
${DEFS}
13 ${PY} .
/untempl.py Net.txt.templ
${.TARGET
}
16 .
/dumpdefs.py
3 1 i
/usr
/include/sys
/socket.h | grep
" SOCK_" > ${.TARGET
}
17 .
/dumpdefs.py
3 1 i
/usr
/include/sys
/socket.h | grep
" AF_" >> ${.TARGET
}
18 .
/dumpdefs.py
3 1 i
/usr
/include/sys
/socket.h | grep
" SHUT_" >> ${.TARGET
}
19 .
/dumpdefs.py
3 1 i
/usr
/include/sys
/socket.h | grep
" SOMAXCONN" >> ${.TARGET
}
20 .
/dumpdefs.py
3 1 s
/usr
/include/sys
/socket.h | grep
" SO_" >> ${.TARGET
}
21 .
/dumpdefs.py
3 1 i
/usr
/include/sys
/socket.h | grep
" SOL_" >> ${.TARGET
}
22 .
/dumpdefs.py
3 1 s
/usr
/include/sys
/socket.h | grep
" MSG_" >> ${.TARGET
}
25 .
/dumpdefs.py
3 1 i
/usr
/include/netinet
/in.h | grep
" IPPROTO_" > ${.TARGET
}
28 .
/dumpdefs.py
3 2 i
/usr
/include/netdb.h
> ${.TARGET
}
31 rm -f Net.txt
${DEFS} dumphstrerrno