[COMMITTED,06/10] gmon: Reformat Makefile.
Commit Message
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(-)
@@ -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