about summary refs log tree commit diff
path: root/htl
diff options
context:
space:
mode:
authorCarlos O'Donell <carlos@redhat.com>2023-06-09 17:44:50 -0400
committerCarlos O'Donell <carlos@redhat.com>2024-02-25 13:38:16 -0500
commitd19d28853c03ce9b88159b747de9d2979c779f05 (patch)
treea02af54cc8204ab4d966e56b4692cb44d82b4b56 /htl
parent589c51a5a359107e837bfd44a555f7a2fbfdd2eb (diff)
downloadglibc-d19d28853c03ce9b88159b747de9d2979c779f05.tar.gz
glibc-d19d28853c03ce9b88159b747de9d2979c779f05.tar.xz
glibc-d19d28853c03ce9b88159b747de9d2979c779f05.zip
htl: Reformat Makefile.
Reflow and sort Makefile.

Code generation changes present due to link order changes.

No regressions on x86_64 and i686.
Diffstat (limited to 'htl')
-rw-r--r--htl/Makefile324
1 files changed, 183 insertions, 141 deletions
diff --git a/htl/Makefile b/htl/Makefile
index fd4d463ab0..4028e5a240 100644
--- a/htl/Makefile
+++ b/htl/Makefile
@@ -24,150 +24,192 @@ SYSDEPS := lockfile
 
 LCLHDRS :=
 
-libpthread-routines := pt-attr pt-attr-destroy                   	    \
-	pt-attr-getguardsize                     			    \
-	pt-attr-getscope	                                            \
-	pt-attr-getstack pt-attr-getstackaddr pt-attr-getstacksize	    \
-	pt-attr-init pt-attr-setguardsize                       	    \
-	pt-attr-setschedparam			                            \
-	pt-attr-setscope pt-attr-setstack	                            \
-	pt-attr-setstackaddr pt-attr-setstacksize			    \
-									    \
-	pt-barrier-destroy pt-barrier-init pt-barrier-wait		    \
-	pt-barrier pt-barrierattr-destroy pt-barrierattr-init		    \
-	pt-barrierattr-getpshared pt-barrierattr-setpshared		    \
-									    \
-	pt-destroy-specific pt-init-specific				    \
-	pt-key-create pt-key-delete					    \
-	pt-getspecific pt-setspecific					    \
-									    \
-	pt-once								    \
-									    \
-	pt-alloc							    \
-	pt-create							    \
-	pt-getattr							    \
-	pt-dealloc							    \
-	pt-detach							    \
-	pt-exit								    \
-	pt-initialize							    \
-	pt-join								    \
-	pt-sigmask							    \
-	pt-spin-inlines							    \
-	pt-cleanup							    \
-	pt-setcancelstate						    \
-	pt-setcanceltype						    \
-	pt-testcancel							    \
-	pt-cancel							    \
-									    \
-	pt-mutexattr-destroy pt-mutexattr-init				    \
-	pt-mutexattr-getprioceiling pt-mutexattr-getprotocol		    \
-	pt-mutexattr-getpshared pt-mutexattr-gettype			    \
-	pt-mutexattr-setprioceiling pt-mutexattr-setprotocol		    \
-	pt-mutexattr-setpshared pt-mutexattr-settype			    \
-	pt-mutexattr-getrobust pt-mutexattr-setrobust			    \
-									    \
-	pt-mutex-init pt-mutex-destroy pt-mutex-checklocked		    \
-	pt-mutex-lock pt-mutex-trylock pt-mutex-timedlock		    \
-	pt-mutex-unlock							    \
-	pt-mutex-transfer-np						    \
-	pt-mutex-getprioceiling pt-mutex-setprioceiling			    \
-	pt-mutex-consistent 						    \
-									    \
-	pt-rwlock-attr							    \
-	pt-rwlockattr-init pt-rwlockattr-destroy			    \
-	pt-rwlockattr-getpshared pt-rwlockattr-setpshared		    \
-									    \
-	pt-rwlock-init pt-rwlock-destroy				    \
-	pt-rwlock-rdlock pt-rwlock-tryrdlock				    \
-	pt-rwlock-trywrlock pt-rwlock-wrlock				    \
-	pt-rwlock-timedrdlock pt-rwlock-timedwrlock			    \
-	pt-rwlock-unlock						    \
-									    \
-	pt-cond								    \
-	pt-condattr-init pt-condattr-destroy				    \
-	pt-condattr-getclock pt-condattr-getpshared			    \
-	pt-condattr-setclock pt-condattr-setpshared			    \
-									    \
-	pt-cond-destroy pt-cond-init					    \
-	pt-cond-brdcast							    \
-	pt-cond-signal							    \
-	pt-cond-wait							    \
-	pt-cond-timedwait						    \
-	pt-hurd-cond-wait						    \
-	pt-hurd-cond-timedwait						    \
-									    \
-	pt-stack-alloc							    \
-	pt-thread-alloc							    \
-	pt-thread-start							    \
-	pt-thread-terminate						    \
-	pt-startup							    \
-									    \
-	pt-getconcurrency pt-setconcurrency				    \
-									    \
-	pt-block							    \
-	pt-timedblock							    \
-	pt-block-intr							    \
-	pt-timedblock-intr						    \
-	pt-wakeup							    \
-	pt-docancel							    \
-	pt-sysdep							    \
-	pt-setup							    \
-	pt-machdep							    \
-	pt-spin								    \
-									    \
-	pt-sigstate-init						    \
-	pt-sigstate-destroy						    \
-	pt-sigstate							    \
-									    \
-	pt-kill								    \
-	pt-getcpuclockid						    \
-									    \
-	pt-setschedprio		                                            \
-	pt-yield							    \
-									    \
-	sem_close sem-destroy sem-getvalue sem-init sem_open		    \
-	sem-post sem-timedwait sem-trywait sem_unlink			    \
-	sem-wait sem-waitfast						    \
-	sem_routines							    \
-									    \
-	cancellation							    \
-	cthreads-compat							    \
-	herrno								    \
-	$(SYSDEPS)
-
-headers :=				\
-              pthread.h				\
-	      semaphore.h			\
-						\
-              bits/pthread.h			\
-              bits/pthread-np.h			\
-              bits/pthreadtypes.h		\
-              bits/pthreadtypes-arch.h		\
-              bits/thread-shared-types.h	\
-              bits/types/struct___pthread_mutex.h	\
-              bits/types/struct___pthread_cond.h	\
-              bits/types/struct___pthread_condattr.h	\
-              bits/types/__pthread_spinlock_t.h	\
-              bits/spin-lock-inline.h		\
-              bits/cancelation.h		\
-              bits/types/struct___pthread_attr.h	\
-              bits/types/struct___pthread_barrierattr.h	\
-              bits/types/struct___pthread_barrier.h	\
-              bits/types/__pthread_key.h		\
-              bits/types/struct___pthread_once.h	\
-              bits/types/struct___pthread_mutexattr.h	\
-              bits/types/struct___pthread_rwlock.h	\
-              bits/types/struct___pthread_rwlockattr.h	\
-              bits/types/__pthread_t.h		\
-              bits/types/__thrd_t.h		\
-	      bits/semaphore.h
+libpthread-routines := \
+  pt-attr \
+  pt-attr-destroy \
+  pt-attr-getguardsize \
+  pt-attr-getscope \
+  pt-attr-getstack \
+  pt-attr-getstackaddr \
+  pt-attr-getstacksize \
+  pt-attr-init \
+  pt-attr-setguardsize \
+  pt-attr-setschedparam \
+  pt-attr-setscope \
+  pt-attr-setstack \
+  pt-attr-setstackaddr \
+  pt-attr-setstacksize \
+  pt-barrier-destroy \
+  pt-barrier-init \
+  pt-barrier-wait \
+  pt-barrier \
+  pt-barrierattr-destroy \
+  pt-barrierattr-init \
+  pt-barrierattr-getpshared \
+  pt-barrierattr-setpshared \
+  pt-destroy-specific \
+  pt-init-specific \
+  pt-key-create \
+  pt-key-delete \
+  pt-getspecific \
+  pt-setspecific \
+  pt-once \
+  pt-alloc \
+  pt-create \
+  pt-getattr \
+  pt-dealloc \
+  pt-detach \
+  pt-exit \
+  pt-initialize \
+  pt-join \
+  pt-sigmask \
+  pt-spin-inlines \
+  pt-cleanup \
+  pt-setcancelstate \
+  pt-setcanceltype \
+  pt-testcancel \
+  pt-cancel \
+  pt-mutexattr-destroy \
+  pt-mutexattr-init \
+  pt-mutexattr-getprioceiling \
+  pt-mutexattr-getprotocol \
+  pt-mutexattr-getpshared \
+  pt-mutexattr-gettype \
+  pt-mutexattr-setprioceiling \
+  pt-mutexattr-setprotocol \
+  pt-mutexattr-setpshared \
+  pt-mutexattr-settype \
+  pt-mutexattr-getrobust \
+  pt-mutexattr-setrobust \
+  pt-mutex-init \
+  pt-mutex-destroy \
+  pt-mutex-checklocked \
+  pt-mutex-lock \
+  pt-mutex-trylock \
+  pt-mutex-timedlock \
+  pt-mutex-unlock \
+  pt-mutex-transfer-np \
+  pt-mutex-getprioceiling \
+  pt-mutex-setprioceiling \
+  pt-mutex-consistent \
+  pt-rwlock-attr \
+  pt-rwlockattr-init \
+  pt-rwlockattr-destroy \
+  pt-rwlockattr-getpshared \
+  pt-rwlockattr-setpshared \
+  pt-rwlock-init \
+  pt-rwlock-destroy \
+  pt-rwlock-rdlock \
+  pt-rwlock-tryrdlock \
+  pt-rwlock-trywrlock \
+  pt-rwlock-wrlock \
+  pt-rwlock-timedrdlock \
+  pt-rwlock-timedwrlock \
+  pt-rwlock-unlock \
+  pt-cond \
+  pt-condattr-init \
+  pt-condattr-destroy \
+  pt-condattr-getclock \
+  pt-condattr-getpshared \
+  pt-condattr-setclock \
+  pt-condattr-setpshared \
+  pt-cond-destroy \
+  pt-cond-init \
+  pt-cond-brdcast \
+  pt-cond-signal \
+  pt-cond-wait \
+  pt-cond-timedwait \
+  pt-hurd-cond-wait \
+  pt-hurd-cond-timedwait \
+  pt-stack-alloc \
+  pt-thread-alloc \
+  pt-thread-start \
+  pt-thread-terminate \
+  pt-startup \
+  pt-getconcurrency \
+  pt-setconcurrency \
+  pt-block \
+  pt-timedblock \
+  pt-block-intr \
+  pt-timedblock-intr \
+  pt-wakeup \
+  pt-docancel \
+  pt-sysdep \
+  pt-setup \
+  pt-machdep \
+  pt-spin \
+  pt-sigstate-init \
+  pt-sigstate-destroy \
+  pt-sigstate \
+  pt-kill \
+  pt-getcpuclockid \
+  pt-setschedprio \
+  pt-yield \
+  sem_close \
+  sem-destroy \
+  sem-getvalue \
+  sem-init \
+  sem_open \
+  sem-post \
+  sem-timedwait \
+  sem-trywait \
+  sem_unlink \
+  sem-wait \
+  sem-waitfast \
+  sem_routines \
+  cancellation \
+  cthreads-compat \
+  herrno \
+  $(SYSDEPS) \
+  # libpthread-routine
+
+headers := \
+  bits/cancelation.h \
+  bits/pthread-np.h \
+  bits/pthread.h \
+  bits/pthreadtypes-arch.h \
+  bits/pthreadtypes.h \
+  bits/semaphore.h \
+  bits/spin-lock-inline.h \
+  bits/thread-shared-types.h \
+  bits/types/__pthread_key.h \
+  bits/types/__pthread_spinlock_t.h \
+  bits/types/__pthread_t.h \
+  bits/types/__thrd_t.h \
+  bits/types/struct___pthread_attr.h \
+  bits/types/struct___pthread_barrier.h \
+  bits/types/struct___pthread_barrierattr.h \
+  bits/types/struct___pthread_cond.h \
+  bits/types/struct___pthread_condattr.h \
+  bits/types/struct___pthread_mutex.h \
+  bits/types/struct___pthread_mutexattr.h \
+  bits/types/struct___pthread_once.h \
+  bits/types/struct___pthread_rwlock.h \
+  bits/types/struct___pthread_rwlockattr.h \
+  pthread.h \
+  semaphore.h \
+  # headers
 
 distribute :=
 
-routines := forward libc_pthread_init alloca_cutoff htlfreeres pt-nthreads pt-pthread_self pt-self pt-equal \
-	pt-getschedparam pt-setschedparam pt-attr-getschedparam pt-attr-getinheritsched                     \
-	pt-attr-setinheritsched pt-attr-getschedpolicy pt-attr-setschedpolicy pt-attr-getdetachstate        \
-	pt-attr-setdetachstate
+routines := \
+  alloca_cutoff \
+  forward \
+  htlfreeres \
+  libc_pthread_init \
+  pt-attr-getdetachstate \
+  pt-attr-getinheritsched \
+  pt-attr-getschedparam \
+  pt-attr-getschedpolicy \
+  pt-attr-setdetachstate \
+  pt-attr-setinheritsched \
+  pt-attr-setschedpolicy \
+  pt-getschedparam \
+  pt-nthreads \
+  pt-pthread_self \
+  pt-self pt-equal \
+  pt-setschedparam \
+  # routines
 shared-only-routines = forward
 
 extra-libs := libpthread