From bc57361e515537a1c099d1a7f283ee3afa02a0b4 Mon Sep 17 00:00:00 2001 From: Carlos O'Donell Date: Thu, 11 May 2023 13:14:51 -0400 Subject: 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. --- socket/Makefile | 47 ++++++++++++++++++++++++++++++++++++++--------- 1 file 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 := \ -- cgit v1.2.1