From: Carlos O'Donell <carlos@redhat.com>
To: libc-alpha@sourceware.org
Cc: Carlos O'Donell <carlos@redhat.com>
Subject: [COMMITTED 10/10] hurd: Reformat Makefile.
Date: Sun, 25 Feb 2024 13:39:49 -0500 [thread overview]
Message-ID: <20240225183956.2534939-10-carlos@redhat.com> (raw)
In-Reply-To: <20240225183956.2534939-1-carlos@redhat.com>
Reflow and sort Makefile.
Code generation changes present due to link order changes.
No regressions on x86_64 and i686.
Tested with build-many-glibcs.py for x86_64-gnu.
---
hurd/Makefile | 171 +++++++++++++++++++++++++++++++++++++-------------
1 file changed, 129 insertions(+), 42 deletions(-)
diff --git a/hurd/Makefile b/hurd/Makefile
index 7138e3a6ae..bf1636adec 100644
--- a/hurd/Makefile
+++ b/hurd/Makefile
@@ -19,51 +19,138 @@ subdir := hurd
include ../Makeconfig
-headers = hurd.h $(interface-headers) \
- $(addprefix hurd/,fd.h id.h port.h signal.h sigpreempt.h ioctl.h\
- userlink.h resource.h lookup.h)
-
-inline-headers = hurd.h $(addprefix hurd/,fd.h signal.h \
- userlink.h port.h)
+headers = \
+ $(interface-headers) \
+ hurd.h \
+ hurd/fd.h \
+ hurd/id.h \
+ hurd/ioctl.h \
+ hurd/lookup.h \
+ hurd/port.h \
+ hurd/resource.h \
+ hurd/signal.h \
+ hurd/sigpreempt.h \
+ hurd/userlink.h \
+ # headers
+
+inline-headers = \
+ hurd.h \
+ hurd/fd.h \
+ hurd/port.h \
+ hurd/signal.h \
+ hurd/userlink.h \
+ # inline-headers
# The RPC interfaces go in a separate library.
interface-library := libhurduser
-user-interfaces := $(addprefix hurd/,\
- auth startup \
- process process_request \
- msg msg_reply msg_request \
- exec exec_startup crash interrupt \
- fs fsys io io_reply io_request \
- term tioctl socket ifsock \
- login password pfinet pci \
- )
-server-interfaces := hurd/msg faultexc
-
-routines = hurdstartup hurdinit \
- hurdid hurdpid hurdrlimit hurdprio hurdexec hurdselect \
- hurdlookup lookup-retry lookup-at \
- get-host set-host \
- path-lookup \
- setauth \
- pid2task task2pid \
- geteuids seteuids getumask fchroot \
- hurdsock hurdauth \
- hurdchdir hurdfchdir \
- privports \
- msgportdemux \
- fopenport \
- vpprintf \
- ports-get ports-set hurdports hurdmsg \
- errno-loc \
- hurdlock \
- $(sig) $(dtable) $(inlines) \
- fd-cleanup port-cleanup report-wait xattr
-sig = hurdsig hurdfault siginfo hurd-raise preempt-sig \
- trampoline longjmp-ts catch-exc exc2signal hurdkill sigunwind \
- thread-self thread-cancel intr-msg catch-signal
-dtable = dtable port2fd new-fd alloc-fd intern-fd \
- getdport openport \
- fd-close fd-read fd-write hurdioctl ctty-input ctty-output
+user-interfaces := \
+ hurd/auth \
+ hurd/crash \
+ hurd/exec \
+ hurd/exec_startup \
+ hurd/fs \
+ hurd/fsys \
+ hurd/ifsock \
+ hurd/interrupt \
+ hurd/io \
+ hurd/io_reply \
+ hurd/io_request \
+ hurd/login \
+ hurd/msg \
+ hurd/msg_reply \
+ hurd/msg_request \
+ hurd/password \
+ hurd/pci \
+ hurd/pfinet \
+ hurd/process \
+ hurd/process_request \
+ hurd/socket \
+ hurd/startup \
+ hurd/term \
+ hurd/tioctl \
+ # user-interfaces
+
+server-interfaces := \
+ faultexc \
+ hurd/msg \
+ # server-interfaces
+
+routines = \
+ $(dtable) \
+ $(inlines) \
+ $(sig) \
+ errno-loc \
+ fchroot \
+ fd-cleanup \
+ fopenport \
+ get-host \
+ geteuids \
+ getumask \
+ hurdauth \
+ hurdchdir \
+ hurdexec \
+ hurdfchdir \
+ hurdid \
+ hurdinit \
+ hurdlock \
+ hurdlookup \
+ hurdmsg \
+ hurdpid \
+ hurdports \
+ hurdprio \
+ hurdrlimit \
+ hurdselect \
+ hurdsock \
+ hurdstartup \
+ lookup-at \
+ lookup-retry \
+ msgportdemux \
+ path-lookup \
+ pid2task \
+ port-cleanup \
+ ports-get \
+ ports-set \
+ privports \
+ report-wait \
+ set-host \
+ setauth \
+ seteuids \
+ task2pid \
+ vpprintf \
+ xattr \
+ # routines
+sig = \
+ catch-exc \
+ catch-signal \
+ exc2signal \
+ hurd-raise \
+ hurdfault \
+ hurdkill \
+ hurdsig \
+ intr-msg \
+ longjmp-ts \
+ preempt-sig \
+ siginfo \
+ sigunwind \
+ thread-cancel \
+ thread-self \
+ trampoline \
+ # sig
+dtable = \
+ alloc-fd \
+ ctty-input \
+ ctty-output \
+ dtable \
+ fd-close \
+ fd-read \
+ fd-write \
+ getdport \
+ hurdioctl \
+ intern-fd \
+ new-fd \
+ openport \
+ port2fd \
+ # dtable
inlines = $(inline-headers:%.h=%-inlines)
# XXX this is a temporary hack; see hurdmalloc.h
--
2.43.2
prev parent reply other threads:[~2024-02-25 18:40 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-02-25 18:39 [COMMITTED 01/10] conform: " Carlos O'Donell
2024-02-25 18:39 ` [COMMITTED 02/10] csu: " Carlos O'Donell
2024-02-25 18:39 ` [COMMITTED 03/10] ctype: " Carlos O'Donell
2024-02-25 18:39 ` [COMMITTED 04/10] dirent: " Carlos O'Donell
2024-02-25 18:39 ` [COMMITTED 05/10] dlfcn: " Carlos O'Donell
2024-02-25 18:39 ` [COMMITTED 06/10] gmon: " Carlos O'Donell
2024-02-25 18:39 ` [COMMITTED 07/10] hesiod: " Carlos O'Donell
2024-02-25 18:39 ` [COMMITTED 08/10] htl: " Carlos O'Donell
2024-02-25 18:39 ` [COMMITTED 09/10] htl/tests: " Carlos O'Donell
2024-02-25 18:39 ` Carlos O'Donell [this message]
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=20240225183956.2534939-10-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).