dirent: Reformat Makefile.

Reflow and sort Makefile.

Code generation changes present due to link order changes.

No regressions on x86_64 and i686.
This commit is contained in:
Carlos O'Donell 2023-06-08 07:30:33 -04:00
parent 12956e0a33
commit a4a12af5ab

View File

@ -22,16 +22,48 @@ subdir := dirent
include ../Makeconfig include ../Makeconfig
headers := dirent.h bits/dirent.h bits/dirent_ext.h headers := \
routines := opendir closedir readdir readdir_r rewinddir \ bits/dirent.h \
seekdir telldir scandir alphasort versionsort \ bits/dirent_ext.h \
getdents getdents64 dirfd readdir64 readdir64_r scandir64 \ dirent.h \
alphasort64 versionsort64 fdopendir \ # headers
scandirat scandirat64 \ routines := \
scandir-cancel scandir-tail scandir64-tail 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 \ tests := \
tst-fdopendir2 tst-scandir tst-scandir64 bug-readdir1 \
list \
opendir-tst1 \
tst-fdopendir \
tst-fdopendir2 \
tst-scandir \
tst-scandir64 \
tst-seekdir \
# tests
CFLAGS-scandir.c += $(uses-callbacks) CFLAGS-scandir.c += $(uses-callbacks)
CFLAGS-scandir64.c += $(uses-callbacks) CFLAGS-scandir64.c += $(uses-callbacks)