[COMMITTED,4/8] socket: Reformat Makefile.

Message ID 20230516124824.146416-5-carlos@redhat.com
State Committed
Commit bc57361e515537a1c099d1a7f283ee3afa02a0b4
Headers
Series Reformat most used Makefiles. |

Commit Message

Carlos O'Donell May 16, 2023, 12:48 p.m. UTC
  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(-)
  

Patch

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 := \