mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-21 20:40:05 +00:00
misc: Reformat Makefile.
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.
This commit is contained in:
parent
e475bc2507
commit
20b6ae7e3b
295
misc/Makefile
295
misc/Makefile
@ -23,79 +23,240 @@ subdir := misc
|
|||||||
|
|
||||||
include ../Makeconfig
|
include ../Makeconfig
|
||||||
|
|
||||||
headers := sys/uio.h bits/uio-ext.h bits/uio_lim.h \
|
headers := \
|
||||||
sys/ioctl.h bits/ioctls.h bits/ioctl-types.h \
|
sys/uio.h \
|
||||||
sys/ptrace.h sys/file.h sys/dir.h sys/cdefs.h \
|
bits/uio-ext.h \
|
||||||
ar.h a.out.h libgen.h stab.h bits/stab.def sgtty.h \
|
bits/uio_lim.h \
|
||||||
ttyent.h paths.h sys/reboot.h \
|
sys/ioctl.h \
|
||||||
sys/mman.h sys/param.h bits/param.h \
|
bits/ioctls.h \
|
||||||
fstab.h mntent.h search.h err.h error.h \
|
bits/ioctl-types.h \
|
||||||
sys/queue.h sysexits.h syscall.h sys/syscall.h sys/swap.h \
|
sys/ptrace.h \
|
||||||
sys/select.h sys/sysinfo.h \
|
sys/file.h \
|
||||||
regexp.h bits/select.h bits/mman.h sys/xattr.h \
|
sys/dir.h \
|
||||||
syslog.h sys/syslog.h \
|
sys/cdefs.h \
|
||||||
bits/syslog.h bits/syslog-ldbl.h bits/syslog-path.h bits/error.h \
|
ar.h \
|
||||||
bits/select2.h bits/hwcap.h sys/auxv.h \
|
a.out.h \
|
||||||
sys/sysmacros.h bits/sysmacros.h bits/types/struct_iovec.h \
|
libgen.h \
|
||||||
bits/err-ldbl.h bits/error-ldbl.h \
|
stab.h \
|
||||||
sys/single_threaded.h
|
bits/stab.def \
|
||||||
|
sgtty.h \
|
||||||
|
ttyent.h \
|
||||||
|
paths.h \
|
||||||
|
sys/reboot.h \
|
||||||
|
sys/mman.h \
|
||||||
|
sys/param.h \
|
||||||
|
bits/param.h \
|
||||||
|
fstab.h \
|
||||||
|
mntent.h \
|
||||||
|
search.h \
|
||||||
|
err.h \
|
||||||
|
error.h \
|
||||||
|
sys/queue.h \
|
||||||
|
sysexits.h \
|
||||||
|
syscall.h \
|
||||||
|
sys/syscall.h \
|
||||||
|
sys/swap.h \
|
||||||
|
sys/select.h \
|
||||||
|
sys/sysinfo.h \
|
||||||
|
regexp.h \
|
||||||
|
bits/select.h \
|
||||||
|
bits/mman.h \
|
||||||
|
sys/xattr.h \
|
||||||
|
syslog.h \
|
||||||
|
sys/syslog.h \
|
||||||
|
bits/syslog.h \
|
||||||
|
bits/syslog-ldbl.h \
|
||||||
|
bits/syslog-path.h \
|
||||||
|
bits/error.h \
|
||||||
|
bits/select2.h \
|
||||||
|
bits/hwcap.h \
|
||||||
|
sys/auxv.h \
|
||||||
|
sys/sysmacros.h \
|
||||||
|
bits/sysmacros.h \
|
||||||
|
bits/types/struct_iovec.h \
|
||||||
|
bits/err-ldbl.h \
|
||||||
|
bits/error-ldbl.h \
|
||||||
|
sys/single_threaded.h \
|
||||||
|
# headers
|
||||||
|
|
||||||
routines := brk sbrk sstk ioctl \
|
routines := \
|
||||||
readv writev preadv preadv64 pwritev pwritev64 \
|
acct \
|
||||||
preadv2 preadv64v2 pwritev2 pwritev64v2 \
|
allocate_once \
|
||||||
setreuid setregid \
|
atomic_wide_counter \
|
||||||
seteuid setegid \
|
brk \
|
||||||
getpagesize \
|
chflags \
|
||||||
getdtsz \
|
chroot \
|
||||||
gethostname sethostname getdomain setdomain \
|
daemon \
|
||||||
select pselect \
|
dirname \
|
||||||
acct chroot fsync sync fdatasync syncfs reboot \
|
efgcvt \
|
||||||
gethostid sethostid \
|
efgcvt_r \
|
||||||
revoke vhangup \
|
err \
|
||||||
swapon swapoff mktemp mkstemp mkstemp64 mkdtemp \
|
error \
|
||||||
mkostemp mkostemp64 mkstemps mkstemps64 mkostemps mkostemps64 \
|
fchflags \
|
||||||
ualarm usleep \
|
fd_to_filename \
|
||||||
gtty stty \
|
fdatasync \
|
||||||
ptrace \
|
fgetxattr \
|
||||||
fstab mntent mntent_r \
|
flistxattr \
|
||||||
utimes lutimes futimes futimesat \
|
fremovexattr \
|
||||||
truncate ftruncate truncate64 ftruncate64 \
|
fsetxattr \
|
||||||
chflags fchflags \
|
fstab \
|
||||||
insremque getttyent getusershell getpass ttyslot \
|
fsync \
|
||||||
syslog syscall daemon \
|
ftruncate \
|
||||||
mmap mmap64 munmap mprotect msync madvise mincore remap_file_pages\
|
ftruncate64 \
|
||||||
mlock munlock mlockall munlockall \
|
futimes \
|
||||||
efgcvt efgcvt_r qefgcvt qefgcvt_r \
|
futimesat \
|
||||||
hsearch hsearch_r tsearch lsearch \
|
getauxval \
|
||||||
err error ustat \
|
getclktck \
|
||||||
getsysstats dirname regexp \
|
getdomain \
|
||||||
getloadavg getclktck \
|
getdtsz \
|
||||||
fgetxattr flistxattr fremovexattr fsetxattr getxattr \
|
gethostid \
|
||||||
listxattr lgetxattr llistxattr lremovexattr lsetxattr \
|
gethostname \
|
||||||
removexattr setxattr getauxval ifunc-impl-list makedev \
|
getloadavg \
|
||||||
allocate_once fd_to_filename single_threaded unwind-link \
|
getpagesize \
|
||||||
atomic_wide_counter
|
getpass \
|
||||||
|
getsysstats \
|
||||||
|
getttyent \
|
||||||
|
getusershell \
|
||||||
|
getxattr \
|
||||||
|
gtty \
|
||||||
|
hsearch \
|
||||||
|
hsearch_r \
|
||||||
|
ifunc-impl-list \
|
||||||
|
insremque \
|
||||||
|
ioctl \
|
||||||
|
lgetxattr \
|
||||||
|
listxattr \
|
||||||
|
llistxattr \
|
||||||
|
lremovexattr \
|
||||||
|
lsearch \
|
||||||
|
lsetxattr \
|
||||||
|
lutimes \
|
||||||
|
madvise \
|
||||||
|
makedev \
|
||||||
|
mincore \
|
||||||
|
mkdtemp \
|
||||||
|
mkostemp \
|
||||||
|
mkostemp64 \
|
||||||
|
mkostemps \
|
||||||
|
mkostemps64 \
|
||||||
|
mkstemp \
|
||||||
|
mkstemp64 \
|
||||||
|
mkstemps \
|
||||||
|
mkstemps64 \
|
||||||
|
mktemp \
|
||||||
|
mlock \
|
||||||
|
mlockall \
|
||||||
|
mmap \
|
||||||
|
mmap64 \
|
||||||
|
mntent \
|
||||||
|
mntent_r \
|
||||||
|
mprotect \
|
||||||
|
msync \
|
||||||
|
munlock \
|
||||||
|
munlockall \
|
||||||
|
munmap \
|
||||||
|
preadv \
|
||||||
|
preadv64 \
|
||||||
|
preadv2 \
|
||||||
|
preadv64v2 \
|
||||||
|
pselect \
|
||||||
|
ptrace \
|
||||||
|
pwritev \
|
||||||
|
pwritev64 \
|
||||||
|
pwritev2 \
|
||||||
|
pwritev64v2 \
|
||||||
|
qefgcvt \
|
||||||
|
qefgcvt_r \
|
||||||
|
readv \
|
||||||
|
reboot \
|
||||||
|
regexp \
|
||||||
|
remap_file_pages \
|
||||||
|
removexattr \
|
||||||
|
revoke \
|
||||||
|
sbrk \
|
||||||
|
select \
|
||||||
|
setdomain \
|
||||||
|
setegid \
|
||||||
|
seteuid \
|
||||||
|
sethostid \
|
||||||
|
sethostname \
|
||||||
|
setregid \
|
||||||
|
setreuid \
|
||||||
|
setxattr \
|
||||||
|
single_threaded \
|
||||||
|
sstk \
|
||||||
|
stty \
|
||||||
|
swapoff \
|
||||||
|
swapon \
|
||||||
|
sync \
|
||||||
|
syncfs \
|
||||||
|
syscall \
|
||||||
|
syslog \
|
||||||
|
truncate \
|
||||||
|
truncate64 \
|
||||||
|
tsearch \
|
||||||
|
ttyslot \
|
||||||
|
ualarm \
|
||||||
|
unwind-link \
|
||||||
|
usleep \
|
||||||
|
ustat \
|
||||||
|
utimes \
|
||||||
|
vhangup \
|
||||||
|
writev \
|
||||||
|
# routines
|
||||||
|
|
||||||
generated += tst-error1.mtrace tst-error1-mem.out \
|
generated += \
|
||||||
tst-allocate_once.mtrace tst-allocate_once-mem.out
|
tst-allocate_once-mem.out \
|
||||||
|
tst-allocate_once.mtrace \
|
||||||
|
tst-error1-mem.out \
|
||||||
|
tst-error1.mtrace \
|
||||||
|
# generated
|
||||||
|
|
||||||
aux := init-misc
|
aux := init-misc
|
||||||
install-lib := libg.a
|
install-lib := libg.a
|
||||||
gpl2lgpl := error.c error.h
|
|
||||||
|
|
||||||
tests := tst-dirname tst-tsearch tst-fdset tst-mntent tst-hsearch \
|
gpl2lgpl := \
|
||||||
tst-error1 tst-pselect tst-insremque tst-mntent2 bug-hsearch1 \
|
error.c \
|
||||||
tst-mntent-blank-corrupt tst-mntent-blank-passno bug18240 \
|
error.h \
|
||||||
tst-preadvwritev tst-preadvwritev64 tst-makedev tst-empty \
|
# gpl2lgpl
|
||||||
tst-preadvwritev2 tst-preadvwritev64v2 tst-warn-wide \
|
|
||||||
tst-ldbl-warn tst-ldbl-error tst-dbl-efgcvt tst-ldbl-efgcvt \
|
tests := \
|
||||||
tst-mntent-autofs tst-syscalls tst-mntent-escape tst-select \
|
bug-hsearch1 \
|
||||||
tst-ioctl tst-ldbl-errorfptr
|
bug18240 \
|
||||||
|
tst-dbl-efgcvt \
|
||||||
|
tst-dirname \
|
||||||
|
tst-empty \
|
||||||
|
tst-error1 \
|
||||||
|
tst-fdset \
|
||||||
|
tst-hsearch \
|
||||||
|
tst-insremque \
|
||||||
|
tst-ioctl \
|
||||||
|
tst-ldbl-efgcvt \
|
||||||
|
tst-ldbl-error \
|
||||||
|
tst-ldbl-errorfptr \
|
||||||
|
tst-ldbl-warn \
|
||||||
|
tst-makedev \
|
||||||
|
tst-mntent \
|
||||||
|
tst-mntent-autofs \
|
||||||
|
tst-mntent-blank-corrupt \
|
||||||
|
tst-mntent-blank-passno \
|
||||||
|
tst-mntent-escape \
|
||||||
|
tst-mntent2 \
|
||||||
|
tst-preadvwritev \
|
||||||
|
tst-preadvwritev64 \
|
||||||
|
tst-preadvwritev2 \
|
||||||
|
tst-preadvwritev64v2 \
|
||||||
|
tst-pselect \
|
||||||
|
tst-select \
|
||||||
|
tst-syscalls \
|
||||||
|
tst-tsearch \
|
||||||
|
tst-warn-wide \
|
||||||
|
# tests
|
||||||
|
|
||||||
tests-time64 := \
|
tests-time64 := \
|
||||||
tst-select-time64 \
|
|
||||||
tst-pselect-time64 \
|
|
||||||
tst-ioctl-time64 \
|
tst-ioctl-time64 \
|
||||||
|
tst-pselect-time64 \
|
||||||
|
tst-select-time64 \
|
||||||
# tests-time64
|
# tests-time64
|
||||||
|
|
||||||
# Tests which need libdl.
|
# Tests which need libdl.
|
||||||
@ -103,7 +264,11 @@ ifeq (yes,$(build-shared))
|
|||||||
tests += tst-gethostid
|
tests += tst-gethostid
|
||||||
endif
|
endif
|
||||||
|
|
||||||
tests-internal := tst-atomic tst-atomic-long tst-allocate_once
|
tests-internal := \
|
||||||
|
tst-allocate_once \
|
||||||
|
tst-atomic \
|
||||||
|
tst-atomic-long \
|
||||||
|
# tests-internal
|
||||||
tests-static := tst-empty
|
tests-static := tst-empty
|
||||||
|
|
||||||
# Test for the internal, non-exported __fd_to_filename function.
|
# Test for the internal, non-exported __fd_to_filename function.
|
||||||
|
Loading…
Reference in New Issue
Block a user