From: Carlos O'Donell <carlos@redhat.com>
To: libc-alpha@sourceware.org
Cc: Carlos O'Donell <carlos@redhat.com>
Subject: [COMMITTED] argp: Reformat Makefile.
Date: Wed, 17 May 2023 08:13:41 -0400 [thread overview]
Message-ID: <20230517121341.2217455-1-carlos@redhat.com> (raw)
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
reply other threads:[~2023-05-17 12:13 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20230517121341.2217455-1-carlos@redhat.com \
--to=carlos@redhat.com \
--cc=libc-alpha@sourceware.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).