summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarlos O'Donell <carlos@redhat.com>2023-05-11 13:14:51 -0400
committerCarlos O'Donell <carlos@redhat.com>2023-05-16 07:19:31 -0400
commitbc57361e515537a1c099d1a7f283ee3afa02a0b4 (patch)
tree71b6331ce5605b571c6dd6e8901adbc74a9d4f31
parent20b6ae7e3b433d2735ec47b9631fd474aa19ae1a (diff)
downloadglibc-bc57361e515537a1c099d1a7f283ee3afa02a0b4.tar.gz
socket: Reformat Makefile.
Reflow Makefile. Sort using scripts/sort-makefile-lines.py. Code generation is changed as routines are linked in sorted order as expected. No regressions on x86_64 and i686.
-rw-r--r--socket/Makefile47
1 files changed, 38 insertions, 9 deletions
diff --git a/socket/Makefile b/socket/Makefile
index 94951ae3e7..d9b0b4af64 100644
--- a/socket/Makefile
+++ b/socket/Makefile
@@ -22,20 +22,49 @@ subdir := socket
include ../Makeconfig
-headers := sys/socket.h sys/un.h bits/sockaddr.h bits/socket.h \
- bits/socket2.h bits/types/struct_osockaddr.h \
- sys/socketvar.h net/if.h
+headers := \
+ bits/sockaddr.h \
+ bits/socket.h \
+ bits/socket2.h \
+ bits/types/struct_osockaddr.h \
+ net/if.h \
+ sys/socket.h \
+ sys/socketvar.h \
+ sys/un.h \
+ # headers
-routines := accept bind connect getpeername getsockname getsockopt \
- listen recv recvfrom recvmsg send sendmsg sendto \
- setsockopt shutdown socket socketpair isfdtype opensock \
- sockatmark accept4 recvmmsg sendmmsg sockaddr_un_set
+routines := \
+ accept \
+ accept4 \
+ bind \
+ connect \
+ getpeername \
+ getsockname \
+ getsockopt \
+ isfdtype \
+ listen \
+ opensock \
+ recv \
+ recvfrom \
+ recvmmsg \
+ recvmsg \
+ send \
+ sendmmsg \
+ sendmsg \
+ sendto \
+ setsockopt \
+ shutdown \
+ sockaddr_un_set \
+ sockatmark \
+ socket \
+ socketpair \
+ # routines
tests := \
tst-accept4 \
- tst-sockopt \
- tst-cmsghdr \
tst-cmsg_cloexec \
+ tst-cmsghdr \
+ tst-sockopt \
# tests
tests-internal := \