]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
Fix and sort variables in Makefiles
authorH.J. Lu <hjl.tools@gmail.com>
Thu, 5 Dec 2024 07:16:43 +0000 (15:16 +0800)
committerH.J. Lu <hjl.tools@gmail.com>
Thu, 5 Dec 2024 07:36:23 +0000 (15:36 +0800)
Fix variables in Makefiles:

1. There is a tab, not a space, between "variable" and =, +=, :=.
2. The last entry doesn't have a trailing \.

and sort them.

Signed-off-by: H.J. Lu <hjl.tools@gmail.com>
argp/Makefile
catgets/Makefile
locale/Makefile
math/Makefile
misc/Makefile
posix/Makefile

index d14b2da6b8da467325684839d02dbd9ddbfc128f..1ffda15d4b5419596bedb0e48b97301a25bb69a8 100644 (file)
@@ -22,7 +22,7 @@ subdir        := argp
 
 include ../Makeconfig
 
-headers        = \
+headers = \
   argp.h \
   bits/argp-ldbl.h \
   # headers
index 40c65eac950ee662b2592f477d8936a53a835407..b9e734dabc2a212e7fbad7da0a483544a6d48e3c 100644 (file)
@@ -22,7 +22,7 @@ subdir        := catgets
 
 include ../Makeconfig
 
-headers        = \
+headers = \
   nl_types.h \
   # headers
 routines = \
index 2810f286059954f487d7fa1241ffeebb5884efa7..70a49fecb1d5bba35aca65bf3c7afb92b47beca2 100644 (file)
@@ -48,7 +48,7 @@ tests = \
   tst-duplocale \
   tst-locname \
   # tests
-tests-container        = \
+tests-container = \
   tst-localedef-path-norm \
   # tests-container
 categories = \
index c9b2c7b47f795249553f027e2c1bf76eecd0c9a7..4b1706b425b71aa75012a5a6aa0b5480d52eaa75 100644 (file)
@@ -22,28 +22,28 @@ subdir              := math
 include ../Makeconfig
 
 # Installed header files.
-headers        := \
-  math.h \
-  bits/mathcalls.h \
-  fpu_control.h \
-  complex.h \
+headers := \
   bits/cmathcalls.h \
-  fenv.h \
   bits/fenv.h \
-  bits/mathdef.h \
-  tgmath.h \
-  bits/math-vector.h \
-  finclude/math-vector-fortran.h \
-  bits/libm-simd-decl-stubs.h \
-  bits/iscanonical.h \
+  bits/floatn-common.h \
+  bits/floatn.h \
   bits/flt-eval-method.h \
   bits/fp-fast.h \
   bits/fp-logb.h \
+  bits/iscanonical.h \
+  bits/libm-simd-decl-stubs.h \
   bits/long-double.h \
+  bits/math-vector.h \
   bits/mathcalls-helper-functions.h \
-  bits/floatn.h \
-  bits/floatn-common.h \
-  bits/mathcalls-narrow.h
+  bits/mathcalls-narrow.h \
+  bits/mathcalls.h \
+  bits/mathdef.h \
+  complex.h \
+  fenv.h \
+  finclude/math-vector-fortran.h \
+  fpu_control.h \
+  math.h \
+  tgmath.h \
   # headers
 
 # FPU support code.
index a932b1aab461bc7dcae49af27848fa563e2611e9..acd247f2e4a1249a132d35f363a1c7e08f78aed1 100644 (file)
@@ -23,62 +23,62 @@ subdir      := misc
 
 include ../Makeconfig
 
-headers        := \
-  sys/uio.h \
+headers := \
+  a.out.h \
+  ar.h \
+  bits/err-ldbl.h \
+  bits/error-ldbl.h \
+  bits/error.h \
+  bits/hwcap.h \
+  bits/ioctl-types.h \
+  bits/ioctls.h \
+  bits/mman.h \
+  bits/param.h \
+  bits/select-decl.h \
+  bits/select.h \
+  bits/select2.h \
+  bits/stab.def \
+  bits/syslog-decl.h \
+  bits/syslog-ldbl.h \
+  bits/syslog-path.h \
+  bits/syslog.h \
+  bits/sysmacros.h \
+  bits/types/struct_iovec.h \
   bits/uio-ext.h \
   bits/uio_lim.h \
-  sys/ioctl.h \
-  bits/ioctls.h \
-  bits/ioctl-types.h \
-  sys/ptrace.h \
-  sys/file.h \
-  sys/dir.h \
-  sys/cdefs.h \
-  ar.h \
-  a.out.h \
+  err.h \
+  error.h \
+  fstab.h \
   libgen.h \
-  stab.h \
-  bits/stab.def \
-  sgtty.h \
-  ttyent.h \
+  mntent.h \
   paths.h \
-  sys/reboot.h \
+  regexp.h \
+  search.h \
+  sgtty.h \
+  stab.h \
+  sys/auxv.h \
+  sys/cdefs.h \
+  sys/dir.h \
+  sys/file.h \
+  sys/ioctl.h \
   sys/mman.h \
   sys/param.h \
-  bits/param.h \
-  fstab.h \
-  mntent.h \
-  search.h \
-  err.h \
-  error.h \
+  sys/ptrace.h \
   sys/queue.h \
-  sysexits.h \
-  syscall.h \
-  sys/syscall.h \
-  sys/swap.h \
+  sys/reboot.h \
   sys/select.h \
+  sys/single_threaded.h \
+  sys/swap.h \
+  sys/syscall.h \
   sys/sysinfo.h \
-  regexp.h \
-  bits/select.h \
-  bits/mman.h \
-  sys/xattr.h \
-  syslog.h \
   sys/syslog.h \
-  bits/syslog-decl.h \
-  bits/syslog.h \
-  bits/syslog-ldbl.h \
-  bits/syslog-path.h \
-  bits/error.h \
-  bits/select-decl.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 \
+  sys/uio.h \
+  sys/xattr.h \
+  syscall.h \
+  sysexits.h \
+  syslog.h \
+  ttyent.h \
   # headers
 
 routines := \
index 2c598cd20ab003330f8e5f0fb887dba2d7a76853..0086d45ddc28bd0153c437e50666fb913cc7dd31 100644 (file)
@@ -360,7 +360,7 @@ tests-time64 := \
   tst-wait4-time64 \
   # tests-time64
 
-xtests := \
+xtests := \
   tst-sched_rr_get_interval \
   # xtests
 
@@ -405,7 +405,7 @@ install-bin := \
   getconf \
   # getconf
 
-install-others-programs        := \
+install-others-programs := \
   $(inst_libexecdir)/getconf \
   # install-others-programs