9fe82db863599881635ad2cf47f5161094fd1c32
9 all: Net.txt dumphstrerrno
12 DEFS
= defs-socket defs-in defs-netdb
14 Net.txt
: Net.txt.templ
${DEFS}
15 ${PY} .
/untempl.py Net.txt.templ
${.TARGET
}
18 .
/dumpdefs.py
3 1 i
${INCDIR}/sys
/socket.h | grep
" SOCK_" > ${.TARGET
}
19 .
/dumpdefs.py
3 1 i
${INCDIR}/sys
/socket.h | grep
" AF_" >> ${.TARGET
}
20 .
/dumpdefs.py
3 1 i
${INCDIR}/sys
/socket.h | grep
" SHUT_" >> ${.TARGET
}
21 .
/dumpdefs.py
3 1 i
${INCDIR}/sys
/socket.h | grep
" SOMAXCONN" >> ${.TARGET
}
22 .
/dumpdefs.py
3 1 s
${INCDIR}/sys
/socket.h | grep
" SO_" >> ${.TARGET
}
23 .
/dumpdefs.py
3 1 i
${INCDIR}/sys
/socket.h | grep
" SOL_" >> ${.TARGET
}
24 .
/dumpdefs.py
3 1 s
${INCDIR}/sys
/socket.h | grep
" MSG_" >> ${.TARGET
}
27 .
/dumpdefs.py
3 1 i
${INCDIR}/netinet
/in.h | grep
" IPPROTO_" > ${.TARGET
}
30 .
/dumpdefs.py
3 2 i
${INCDIR}/netdb.h
> ${.TARGET
}
33 rm -f Net.txt
${DEFS} dumphstrerrno