From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 1791) id D6247385770D; Thu, 25 May 2023 13:35:43 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org D6247385770D DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1685021743; bh=N3kxDfmsZNYzBp7/51FoudGfWM3/emKv4ej5aMGRB3Y=; h=From:To:Subject:Date:From; b=R9+Pm+sA++vm/wdJqha5/9qNBOVN8mXktS+RTjIz9L4/GkqT4rirgvn6vOY2cNP/p NBq6AWYxeSnnbV8KvTMs7iMxadBNVBN71X1AETzsPD1HiIzLwQUy5sqgPWDkrmONTR fHaZG3sauH7eUO6IsHE6BoAvlNpjEGc7OmbEtmgs= Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: Adhemerval Zanella To: glibc-cvs@sourceware.org Subject: [glibc] io: Re-flow and sort multiline Makefile definitions X-Act-Checkin: glibc X-Git-Author: Adhemerval Zanella X-Git-Refname: refs/heads/master X-Git-Oldrev: 95c9a6e806226cbf174c92efc021a0d464f170a4 X-Git-Newrev: a118dc312946ca5347f8f6e8e9221444677bc029 Message-Id: <20230525133543.D6247385770D@sourceware.org> Date: Thu, 25 May 2023 13:35:43 +0000 (GMT) List-Id: https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=a118dc312946ca5347f8f6e8e9221444677bc029 commit a118dc312946ca5347f8f6e8e9221444677bc029 Author: Adhemerval Zanella 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