From a4a12af5abe22d63fbebf0a219d8d13eff6db20c Mon Sep 17 00:00:00 2001 From: Carlos O'Donell Date: Thu, 8 Jun 2023 07:30:33 -0400 Subject: [PATCH] dirent: Reformat Makefile. Reflow and sort Makefile. Code generation changes present due to link order changes. No regressions on x86_64 and i686. --- dirent/Makefile | 50 ++++++++++++++++++++++++++++++++++++++++--------- 1 file changed, 41 insertions(+), 9 deletions(-) diff --git a/dirent/Makefile b/dirent/Makefile index 92587cab9a..556f759f65 100644 --- a/dirent/Makefile +++ b/dirent/Makefile @@ -22,16 +22,48 @@ subdir := dirent include ../Makeconfig -headers := dirent.h bits/dirent.h bits/dirent_ext.h -routines := opendir closedir readdir readdir_r rewinddir \ - seekdir telldir scandir alphasort versionsort \ - getdents getdents64 dirfd readdir64 readdir64_r scandir64 \ - alphasort64 versionsort64 fdopendir \ - scandirat scandirat64 \ - scandir-cancel scandir-tail scandir64-tail +headers := \ + bits/dirent.h \ + bits/dirent_ext.h \ + dirent.h \ + # headers +routines := \ + alphasort \ + alphasort64 \ + closedir \ + dirfd \ + fdopendir \ + getdents \ + getdents64 \ + opendir \ + readdir \ + readdir64 \ + readdir64_r \ + readdir_r \ + rewinddir \ + scandir \ + scandir-cancel \ + scandir-tail \ + scandir64 \ + scandir64-tail \ + scandirat \ + scandirat64 \ + seekdir \ + telldir \ + versionsort \ + versionsort64 \ + # routines -tests := list tst-seekdir opendir-tst1 bug-readdir1 tst-fdopendir \ - tst-fdopendir2 tst-scandir tst-scandir64 +tests := \ + bug-readdir1 \ + list \ + opendir-tst1 \ + tst-fdopendir \ + tst-fdopendir2 \ + tst-scandir \ + tst-scandir64 \ + tst-seekdir \ + # tests CFLAGS-scandir.c += $(uses-callbacks) CFLAGS-scandir64.c += $(uses-callbacks)