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,13 +23,28 @@ subdir := gmon
include ../Makeconfig include ../Makeconfig
headers := sys/gmon.h sys/gmon_out.h sys/profil.h headers := \
routines := gmon mcount profil sprofil prof-freq 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) ifeq ($(build-profile),yes)
tests += tst-profile-static tests += tst-profile-static
tests-static += tst-profile-static tests-static += tst-profile-static
LDFLAGS-tst-profile-static = -profile LDFLAGS-tst-profile-static = -profile
endif endif