diff mbox series

[COMMITTED,06/10] gmon: Reformat Makefile.

Message ID 20240225183956.2534939-6-carlos@redhat.com
State New
Headers show
Series [COMMITTED,01/10] conform: Reformat Makefile. | expand

Commit Message

Carlos O'Donell Feb. 25, 2024, 6:39 p.m. UTC
Reflow and sort Makefile.

Code generation changes present due to link order changes.

No regressions on x86_64 and i686.
---
 gmon/Makefile | 27 +++++++++++++++++++++------
 1 file changed, 21 insertions(+), 6 deletions(-)
diff mbox series

Patch

diff --git a/gmon/Makefile b/gmon/Makefile
index 4e1a4a309c..db19c205d1 100644
--- a/gmon/Makefile
+++ b/gmon/Makefile
@@ -23,13 +23,28 @@  subdir	:= gmon
 
 include ../Makeconfig
 
-headers	:= sys/gmon.h sys/gmon_out.h sys/profil.h
-routines := gmon mcount profil sprofil prof-freq
-
-tests	= tst-sprofil tst-gmon tst-mcount-overflow tst-mcleanup
+headers := \
+  sys/gmon.h \
+  sys/gmon_out.h \
+  sys/profil.h \
+  # headers
+routines := \
+  gmon \
+  mcount \
+  prof-freq \
+  profil \
+  sprofil \
+  # routines
+
+tests = \
+  tst-gmon \
+  tst-mcleanup \
+  tst-mcount-overflow \
+  tst-sprofil \
+  # tests
 ifeq ($(build-profile),yes)
-tests	+= tst-profile-static
-tests-static	+= tst-profile-static
+tests += tst-profile-static
+tests-static += tst-profile-static
 
 LDFLAGS-tst-profile-static = -profile
 endif