aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarlos O'Donell <carlos@redhat.com>2023-06-08 07:58:00 -0400
committerCarlos O'Donell <carlos@redhat.com>2024-02-25 13:38:16 -0500
commit5273dd98123f9f129ad735680974f6ed5a035efd (patch)
tree3826070d623c4d10074866871daae460c98adba8
parentc432e667fc10777fba5f7be38fe659e6c40f7da4 (diff)
downloadglibc-5273dd98123f9f129ad735680974f6ed5a035efd.tar
glibc-5273dd98123f9f129ad735680974f6ed5a035efd.tar.gz
glibc-5273dd98123f9f129ad735680974f6ed5a035efd.tar.bz2
glibc-5273dd98123f9f129ad735680974f6ed5a035efd.zip
gmon: Reformat Makefile.
Reflow and sort Makefile. Code generation changes present due to link order changes. No regressions on x86_64 and i686.
-rw-r--r--gmon/Makefile27
1 files changed, 21 insertions, 6 deletions
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