gmon: Reformat Makefile.

Reflow and sort Makefile.

Code generation changes present due to link order changes.

No regressions on x86_64 and i686.
This commit is contained in:
Carlos O'Donell 2023-06-08 07:58:00 -04:00
parent c432e667fc
commit 5273dd9812

View File

@ -23,10 +23,25 @@ subdir := gmon
include ../Makeconfig
headers := sys/gmon.h sys/gmon_out.h sys/profil.h
routines := gmon mcount profil sprofil prof-freq
headers := \
sys/gmon.h \
sys/gmon_out.h \
sys/profil.h \
# headers
routines := \
gmon \
mcount \
prof-freq \
profil \
sprofil \
# routines
tests = tst-sprofil tst-gmon tst-mcount-overflow tst-mcleanup
tests = \
tst-gmon \
tst-mcleanup \
tst-mcount-overflow \
tst-sprofil \
# tests
ifeq ($(build-profile),yes)
tests += tst-profile-static
tests-static += tst-profile-static