aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarlos O'Donell <carlos@redhat.com>2023-05-16 11:59:25 -0400
committerCarlos O'Donell <carlos@redhat.com>2023-05-17 08:12:08 -0400
commit45af5422c1c0c6ed50388a0d0d034010154be438 (patch)
tree3b3fb55ae2773c94586a10c0c145891806616e27
parent10a81dd4cf89276f7b1208ed044b93ae846800ce (diff)
downloadglibc-45af5422c1c0c6ed50388a0d0d034010154be438.zip
glibc-45af5422c1c0c6ed50388a0d0d034010154be438.tar.gz
glibc-45af5422c1c0c6ed50388a0d0d034010154be438.tar.bz2
argp: 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.
-rw-r--r--argp/Makefile30
1 files changed, 24 insertions, 6 deletions
diff --git a/argp/Makefile b/argp/Makefile
index 26a6e42..9af11a6 100644
--- a/argp/Makefile
+++ b/argp/Makefile
@@ -22,12 +22,30 @@ subdir := argp
include ../Makeconfig
-headers = argp.h bits/argp-ldbl.h
-routines = $(addprefix argp-, ba fmtstream fs-xinl help parse pv \
- pvh xinl eexst)
-
-tests = argp-test tst-argp1 bug-argp1 tst-argp2 bug-argp2 \
- tst-ldbl-argp
+headers = \
+ argp.h \
+ bits/argp-ldbl.h \
+ # headers
+routines = \
+ argp-ba \
+ argp-eexst \
+ argp-fmtstream \
+ argp-fs-xinl \
+ argp-help \
+ argp-parse \
+ argp-pv \
+ argp-pvh \
+ argp-xinl \
+ # routines
+
+tests = \
+ argp-test \
+ bug-argp1 \
+ bug-argp2 \
+ tst-argp1 \
+ tst-argp2 \
+ tst-ldbl-argp \
+ # tests
CFLAGS-argp-help.c += $(uses-callbacks) -fexceptions $(config-cflags-wno-ignored-attributes)
CFLAGS-argp-parse.c += $(uses-callbacks) $(config-cflags-wno-ignored-attributes)