From 5273dd98123f9f129ad735680974f6ed5a035efd Mon Sep 17 00:00:00 2001 From: Carlos O'Donell Date: Thu, 8 Jun 2023 07:58:00 -0400 Subject: gmon: Reformat Makefile. 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(-) (limited to 'gmon') 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 -- cgit 1.4.1