* [COMMITTED] argp: Reformat Makefile.
@ 2023-05-17 12:13 Carlos O'Donell
0 siblings, 0 replies; only message in thread
From: Carlos O'Donell @ 2023-05-17 12:13 UTC (permalink / raw)
To: libc-alpha; +Cc: Carlos O'Donell
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.
---
argp/Makefile | 30 ++++++++++++++++++++++++------
1 file changed, 24 insertions(+), 6 deletions(-)
diff --git a/argp/Makefile b/argp/Makefile
index 26a6e429d7..9af11a6b7b 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)
--
2.40.0
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2023-05-17 12:13 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-05-17 12:13 [COMMITTED] argp: Reformat Makefile Carlos O'Donell
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).