2018-01-01 08:32:25 +08:00
|
|
|
# Copyright (C) 1991-2018 Free Software Foundation, Inc.
|
1995-02-18 09:27:10 +08:00
|
|
|
# This file is part of the GNU C Library.
|
|
|
|
|
|
|
|
# The GNU C Library is free software; you can redistribute it and/or
|
2001-07-06 12:58:11 +08:00
|
|
|
# modify it under the terms of the GNU Lesser General Public
|
|
|
|
# License as published by the Free Software Foundation; either
|
|
|
|
# version 2.1 of the License, or (at your option) any later version.
|
1995-02-18 09:27:10 +08:00
|
|
|
|
|
|
|
# The GNU C Library is distributed in the hope that it will be useful,
|
|
|
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
2001-07-06 12:58:11 +08:00
|
|
|
# Lesser General Public License for more details.
|
1995-02-18 09:27:10 +08:00
|
|
|
|
2001-07-06 12:58:11 +08:00
|
|
|
# You should have received a copy of the GNU Lesser General Public
|
2012-02-10 07:18:22 +08:00
|
|
|
# License along with the GNU C Library; if not, see
|
|
|
|
# <http://www.gnu.org/licenses/>.
|
1995-02-18 09:27:10 +08:00
|
|
|
|
|
|
|
#
|
|
|
|
# Sub-makefile for socket portion of the library.
|
|
|
|
#
|
|
|
|
subdir := socket
|
|
|
|
|
2014-02-27 07:12:03 +08:00
|
|
|
include ../Makeconfig
|
|
|
|
|
1999-05-16 16:52:16 +08:00
|
|
|
headers := sys/socket.h sys/un.h bits/sockaddr.h bits/socket.h \
|
2016-07-14 03:20:29 +08:00
|
|
|
bits/socket2.h bits/types/struct_osockaddr.h \
|
|
|
|
sys/socketvar.h net/if.h
|
1995-02-18 09:27:10 +08:00
|
|
|
|
|
|
|
routines := accept bind connect getpeername getsockname getsockopt \
|
|
|
|
listen recv recvfrom recvmsg send sendmsg sendto \
|
2001-06-01 17:27:15 +08:00
|
|
|
setsockopt shutdown socket socketpair isfdtype opensock \
|
2012-11-04 01:29:46 +08:00
|
|
|
sockatmark accept4 recvmmsg sendmmsg
|
1995-02-18 09:27:10 +08:00
|
|
|
|
2017-04-19 13:44:48 +08:00
|
|
|
tests := tst-accept4
|
|
|
|
|
2017-04-18 20:42:19 +08:00
|
|
|
aux := sa_len
|
2008-07-26 01:06:50 +08:00
|
|
|
|
1995-02-18 09:27:10 +08:00
|
|
|
include ../Rules
|