public inbox for glibc-cvs@sourceware.org
help / color / mirror / Atom feed
* [glibc] io: Re-flow and sort multiline Makefile definitions
@ 2023-05-25 13:35 Adhemerval Zanella
  0 siblings, 0 replies; 2+ messages in thread
From: Adhemerval Zanella @ 2023-05-25 13:35 UTC (permalink / raw)
  To: glibc-cvs

https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=a118dc312946ca5347f8f6e8e9221444677bc029

commit a118dc312946ca5347f8f6e8e9221444677bc029
Author: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Date:   Wed May 24 15:09:26 2023 -0300

    io: Re-flow and sort multiline Makefile definitions

Diff:
---
 io/Makefile | 262 +++++++++++++++++++++++++++++++++++++++++++++---------------
 1 file changed, 199 insertions(+), 63 deletions(-)

diff --git a/io/Makefile b/io/Makefile
index f72571cdae..6b58728e90 100644
--- a/io/Makefile
+++ b/io/Makefile
@@ -22,65 +22,193 @@ subdir	:= io
 
 include ../Makeconfig
 
-headers := sys/stat.h bits/stat.h sys/statfs.h bits/statfs.h sys/vfs.h \
-	   sys/statvfs.h bits/statvfs.h fcntl.h sys/fcntl.h bits/fcntl.h \
-	   poll.h sys/poll.h bits/poll.h bits/fcntl2.h bits/poll2.h \
-	   bits/statx.h bits/statx-generic.h bits/types/struct_statx.h \
-	   bits/types/struct_statx_timestamp.h \
-	   utime.h ftw.h fts.h sys/sendfile.h
-
-routines :=								\
-	utime								\
-	mkfifo mkfifoat							\
-	stat fstat lstat stat64 fstat64 lstat64 fstatat fstatat64	\
-	statx								\
-	mknod mknodat 							\
-	statfs fstatfs statfs64 fstatfs64				\
-	statvfs fstatvfs statvfs64 fstatvfs64				\
-	umask chmod fchmod lchmod fchmodat				\
-	mkdir mkdirat							\
-	open open_2 open64 open64_2 openat openat_2 openat64 openat64_2	\
-	read write lseek lseek64 access euidaccess faccessat		\
-	fcntl fcntl64 flock lockf lockf64				\
-	close dup dup2 dup3 pipe pipe2					\
-	creat creat64							\
-	chdir fchdir							\
-	getcwd getwd getdirname						\
-	chown fchown lchown fchownat					\
-	ttyname ttyname_r isatty					\
-	link linkat symlink symlinkat readlink readlinkat		\
-	unlink unlinkat rmdir						\
-	ftw ftw64 fts fts64 poll ppoll					\
-	posix_fadvise posix_fadvise64					\
-	posix_fallocate posix_fallocate64				\
-	sendfile sendfile64 copy_file_range 				\
-	utimensat futimens file_change_detection			\
-	fts64-time64							\
-	ftw64-time64							\
-	closefrom close_range
-
-others		:= pwd
-test-srcs	:= ftwtest ftwtest-time64
-tests		:= test-utime test-stat test-stat2 test-lfs tst-getcwd \
-		   tst-fcntl bug-ftw1 bug-ftw2 bug-ftw3 bug-ftw4 tst-statvfs \
-		   tst-openat tst-unlinkat tst-fstatat tst-futimesat \
-		   tst-renameat tst-fchownat tst-fchmodat tst-faccessat \
-		   tst-symlinkat tst-linkat tst-readlinkat tst-mkdirat \
-		   tst-mknodat tst-mkfifoat tst-ttyname_r bug-ftw5 \
-		   tst-posix_fallocate tst-posix_fallocate64 \
-		   tst-fts tst-fts-lfs tst-open-tmpfile \
-		   tst-copy_file_range tst-getcwd-abspath tst-lockf \
-		   tst-ftw-lnk tst-lchmod \
-		   tst-ftw-bz26353 tst-stat tst-stat-lfs \
-		   tst-utime \
-		   tst-utimes \
-		   tst-futimes \
-		   tst-lutimes \
-		   tst-futimens \
-		   tst-utimensat \
-		   tst-closefrom \
-		   tst-close_range \
-		   tst-ftw-bz28126
+headers := \
+  bits/fcntl.h \
+  bits/fcntl2.h \
+  bits/poll.h \
+  bits/poll2.h \
+  bits/stat.h \
+  bits/statfs.h \
+  bits/statvfs.h \
+  bits/statx-generic.h \
+  bits/statx.h \
+  bits/types/struct_statx.h \
+  bits/types/struct_statx_timestamp.h \
+  fcntl.h \
+  fts.h \
+  ftw.h \
+  poll.h \
+  sys/fcntl.h \
+  sys/poll.h \
+  sys/sendfile.h \
+  sys/stat.h \
+  sys/statfs.h \
+  sys/statvfs.h \
+  sys/vfs.h \
+  utime.h \
+  # headers
+
+routines := \
+  access \
+  chdir \
+  chmod \
+  chown \
+  close \
+  close_range \
+  closefrom \
+  copy_file_range \
+  creat \
+  creat64 \
+  dup \
+  dup2 \
+  dup3 \
+  euidaccess \
+  faccessat \
+  fchdir \
+  fchmod \
+  fchmodat \
+  fchown \
+  fchownat \
+  fcntl \
+  fcntl64 \
+  file_change_detection \
+  flock \
+  fstat \
+  fstat64 \
+  fstatat \
+  fstatat64 \
+  fstatfs \
+  fstatfs64 \
+  fstatvfs \
+  fstatvfs64 \
+  fts \
+  fts64 \
+  fts64-time64 \
+  ftw \
+  ftw64 \
+  ftw64-time64 \
+  futimens \
+  getcwd \
+  getdirname \
+  getwd \
+  isatty \
+  lchmod \
+  lchown \
+  link \
+  linkat \
+  lockf \
+  lockf64 \
+  lseek \
+  lseek64 \
+  lstat \
+  lstat64 \
+  mkdir \
+  mkdirat \
+  mkfifo \
+  mkfifoat \
+  mknod \
+  mknodat \
+  open \
+  open64 \
+  open64_2 \
+  open_2 \
+  openat \
+  openat64 \
+  openat64_2 \
+  openat_2 \
+  pipe \
+  pipe2 \
+  poll \
+  posix_fadvise \
+  posix_fadvise64 \
+  posix_fallocate \
+  posix_fallocate64 \
+  ppoll \
+  read \
+  readlink \
+  readlinkat \
+  rmdir \
+  sendfile \
+  sendfile64 \
+  stat \
+  stat64 \
+  statfs \
+  statfs64 \
+  statvfs \
+  statvfs64 \
+  statx \
+  symlink \
+  symlinkat \
+  ttyname \
+  ttyname_r \
+  umask \
+  unlink \
+  unlinkat \
+  utime \
+  utimensat \
+  write \
+  # routines
+
+others := \
+ pwd \
+ # others
+
+test-srcs := \
+  ftwtest \
+  ftwtest-time64 \
+  # test-srcs
+
+tests := \
+  bug-ftw1 \
+  bug-ftw2 \
+  bug-ftw3 \
+  bug-ftw4 \
+  bug-ftw5 \
+  test-lfs \
+  test-stat \
+  test-stat2 \
+  test-utime \
+  tst-close_range \
+  tst-closefrom \
+  tst-copy_file_range \
+  tst-faccessat \
+  tst-fchmodat \
+  tst-fchownat \
+  tst-fcntl \
+  tst-fstatat \
+  tst-fts \
+  tst-fts-lfs \
+  tst-ftw-bz26353 \
+  tst-ftw-bz28126 \
+  tst-ftw-lnk \
+  tst-futimens \
+  tst-futimes \
+  tst-futimesat \
+  tst-getcwd \
+  tst-getcwd-abspath \
+  tst-lchmod \
+  tst-linkat \
+  tst-lockf \
+  tst-lutimes \
+  tst-mkdirat \
+  tst-mkfifoat \
+  tst-mknodat \
+  tst-open-tmpfile \
+  tst-openat \
+  tst-posix_fallocate \
+  tst-posix_fallocate64 \
+  tst-readlinkat \
+  tst-renameat \
+  tst-stat \
+  tst-stat-lfs \
+  tst-statvfs \
+  tst-symlinkat \
+  tst-ttyname_r \
+  tst-unlinkat \
+  tst-utime \
+  tst-utimensat \
+  tst-utimes \
+  # tests
 
 tests-time64 := \
   tst-fcntl-time64 \
@@ -97,12 +225,20 @@ tests-time64 := \
   # tests-time64
 
 # Likewise for statx, but we do not need static linking here.
-tests-internal += tst-statx tst-file_change_detection
-tests-static += tst-statx
+tests-internal += \
+  tst-file_change_detection \
+  tst-statx \
+  # tests-internal
+
+tests-static += \
+  tst-statx \
+  # tests-static
 
 ifeq ($(run-built-tests),yes)
-tests-special += $(objpfx)ftwtest.out \
-		 $(objpfx)ftwtest-time64.out
+tests-special += \
+  $(objpfx)ftwtest-time64.out \
+  $(objpfx)ftwtest.out \
+  # tests-special
 endif
 
 include ../Rules

^ permalink raw reply	[flat|nested] 2+ messages in thread

* [glibc] io: Re-flow and sort multiline Makefile definitions
@ 2023-05-30 11:53 Adhemerval Zanella
  0 siblings, 0 replies; 2+ messages in thread
From: Adhemerval Zanella @ 2023-05-30 11:53 UTC (permalink / raw)
  To: glibc-cvs

https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=1512599694d0ead4394c0950525fdab09332faf5

commit 1512599694d0ead4394c0950525fdab09332faf5
Author: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Date:   Wed May 24 15:09:26 2023 -0300

    io: Re-flow and sort multiline Makefile definitions

Diff:
---
 io/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/io/Makefile b/io/Makefile
index 6b58728e90..db886ca26f 100644
--- a/io/Makefile
+++ b/io/Makefile
@@ -18,7 +18,7 @@
 #
 #	Sub-makefile for I/O portion of the library.
 #
-subdir	:= io
+subdir := io
 
 include ../Makeconfig

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2023-05-30 11:53 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-05-25 13:35 [glibc] io: Re-flow and sort multiline Makefile definitions Adhemerval Zanella
2023-05-30 11:53 Adhemerval Zanella

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).