public inbox for glibc-cvs@sourceware.org
help / color / mirror / Atom feed
From: Carlos O'Donell <carlos@sourceware.org>
To: glibc-cvs@sourceware.org
Subject: [glibc] locale: Sort Makefile variables.
Date: Wed, 10 Jan 2024 21:16:00 +0000 (GMT)	[thread overview]
Message-ID: <20240110211601.4C0FC3858D38@sourceware.org> (raw)

https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=7190fd9ebf3a8fe4322af1d458f159820081694f

commit 7190fd9ebf3a8fe4322af1d458f159820081694f
Author: Carlos O'Donell <carlos@redhat.com>
Date:   Fri Dec 1 08:55:59 2023 -0500

    locale: Sort Makefile variables.
    
    Sort Makefile variables using scrips/sort-makefile-lines.py.
    
    No regressions on x86_64.

Diff:
---
 locale/Makefile | 126 +++++++++++++++++++++++++++++++++++++++++++-------------
 1 file changed, 97 insertions(+), 29 deletions(-)

diff --git a/locale/Makefile b/locale/Makefile
index 022bf81101..2810f28605 100644
--- a/locale/Makefile
+++ b/locale/Makefile
@@ -22,43 +22,111 @@ subdir	:= locale
 
 include ../Makeconfig
 
-headers		= langinfo.h locale.h bits/locale.h \
-		  bits/types/locale_t.h bits/types/__locale_t.h
-routines	= setlocale findlocale loadlocale loadarchive \
-		  localeconv nl_langinfo nl_langinfo_l mb_cur_max \
-		  newlocale duplocale freelocale uselocale
-tests		= tst-C-locale tst-locname tst-duplocale
-tests-container	= tst-localedef-path-norm
-categories	= ctype messages monetary numeric time paper name \
-		  address telephone measurement identification collate
-aux		= $(categories:%=lc-%) $(categories:%=C-%) SYS_libc C_name \
-		  xlocale localename global-locale coll-lookup
-others		= localedef locale
-#others-static	= localedef locale
-install-bin	= localedef locale
-extra-objs	= $(localedef-modules:=.o) $(localedef-aux:=.o) \
-		  $(locale-modules:=.o) $(lib-modules:=.o)
-generated 	+= C-translit.h
-before-compile	+= $(objpfx)C-translit.h
-
-extra-libs	= libBrokenLocale
+headers = \
+  bits/locale.h \
+  bits/types/__locale_t.h \
+  bits/types/locale_t.h \
+  langinfo.h \
+  locale.h \
+  # headers
+routines = \
+  duplocale \
+  findlocale \
+  freelocale \
+  loadarchive \
+  loadlocale \
+  localeconv \
+  mb_cur_max \
+  newlocale \
+  nl_langinfo \
+  nl_langinfo_l \
+  setlocale \
+  uselocale
+  # routines
+tests = \
+  tst-C-locale \
+  tst-duplocale \
+  tst-locname \
+  # tests
+tests-container	= \
+  tst-localedef-path-norm \
+  # tests-container
+categories = \
+  address \
+  collate \
+  ctype \
+  identification \
+  measurement \
+  messages \
+  monetary \
+  name \
+  numeric \
+  paper \
+  telephone \
+  time \
+  # categories
+aux = \
+  $(categories:%=C-%) \
+  $(categories:%=lc-%) \
+  C_name \
+  SYS_libc \
+  coll-lookup \
+  global-locale \
+  localename \
+  xlocale \
+  # aux
+others = \
+  locale \
+  localedef \
+  # others
+#others-static = \
+# localedef \
+# locale \
+# # others-static
+install-bin = \
+  locale \
+  localedef \
+  # install-bin
+extra-objs = \
+  $(lib-modules:=.o) \
+  $(locale-modules:=.o) \
+  $(localedef-aux:=.o) \
+  $(localedef-modules:=.o) \
+  # extra-objs
+generated += C-translit.h
+before-compile += $(objpfx)C-translit.h
+
+extra-libs = libBrokenLocale
 extra-libs-others = $(extra-libs)
 
 libBrokenLocale-routines = broken_cur_max
 
-subdir-dirs	= programs
+subdir-dirs = programs
 vpath %.c programs
 vpath %.h programs
 vpath %.gperf programs
 
-localedef-modules	:= localedef $(categories:%=ld-%) \
-			   charmap linereader locfile \
-			   repertoire locarchive
-localedef-aux		:= md5
-locale-modules		:= locale locale-spec
-lib-modules		:= charmap-dir simple-hash xmalloc xstrdup \
-			   record-status xasprintf
-
+localedef-modules := \
+  charmap \
+  linereader \
+  localedef $(categories:%=ld-%) \
+  locarchive \
+  locfile \
+  repertoire \
+  # localedef-modules
+localedef-aux := md5
+locale-modules := \
+  locale \
+  locale-spec \
+  # locale-modules
+lib-modules := \
+  charmap-dir \
+  record-status \
+  simple-hash \
+  xasprintf \
+  xmalloc \
+  xstrdup \
+  # lib-modules
 
 GPERF = gperf
 GPERFFLAGS = -acCgopt -k1,2,5,9,$$ -L ANSI-C

                 reply	other threads:[~2024-01-10 21:16 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=20240110211601.4C0FC3858D38@sourceware.org \
    --to=carlos@sourceware.org \
    --cc=glibc-cvs@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).