summaryrefslogtreecommitdiffstats
path: root/libasm
diff options
context:
space:
mode:
authorMichael Pratt <[email protected]>2024-10-23 06:33:18 +0000
committerAaron Merey <[email protected]>2024-11-08 14:44:44 -0500
commitb2f225d6bff8201874bdc6fdcb8dff1bcf1b814f (patch)
treec9ddfbe4f66969845eaa8573b82d1b5838cf5d01 /libasm
parent8707194a9f2f0b13e53041b03ebfdbdbd2942e43 (diff)
Consolidate and add files to clean target variablesupstream/users/amerey/try-clean
To increase the consistency of how automatic clean targets run, define the variables together without +=, default to MOSTLYCLEANFILES when there is no need for different levels or add more clean levels to match other subdirectories, add more files that are built, remove duplication, and cleanup. Do the same for EXTRA_DIST where it is equally messy. * backends/Makefile.am: add more objects to clean, improve spacing. * debuginfod/Makefile.am: Likewise, and remove duplicates. * lib/Makefile.am: improve spacing. * libasm/Makefile.am: add more objects to clean, split similar to debuginfod. * libcpu/Makefile.am: use normal =, add more objects to clean. * libdw/Makefile.am: add more objects to clean, split similar to debuginfod. * libdwelf/Makefile.am: add more objects to clean, use lowest clean level. * libdwfl/Makefile.am: Likewise. * libebl/Makefile.am: add more objects to clean. * libelf/Makefile.am: add more objects to clean, split similar to debuginfod. * src/Makefile.am: consolidate including EXTRA_DIST, split clean levels, define with normal =, define with variables. * tests/Makefile.am: Likewise, but not including EXTRA_DIST. Signed-off-by: Michael Pratt <[email protected]>
Diffstat (limited to 'libasm')
-rw-r--r--libasm/Makefile.am4
1 files changed, 3 insertions, 1 deletions
diff --git a/libasm/Makefile.am b/libasm/Makefile.am
index 1e6b63e8..324fd095 100644
--- a/libasm/Makefile.am
+++ b/libasm/Makefile.am
@@ -84,6 +84,8 @@ uninstall: uninstall-am
rmdir --ignore-fail-on-non-empty $(DESTDIR)$(includedir)/elfutils
noinst_HEADERS = libasmP.h symbolhash.h
+
EXTRA_DIST = libasm.map
-CLEANFILES += $(am_libasm_pic_a_OBJECTS) libasm.so libasm.so.$(VERSION)
+MOSTLYCLEANFILES = $(am_libasm_a_OBJECTS) $(am_libasm_pic_a_OBJECTS) libasm.so.$(VERSION)
+CLEANFILES = libasm.so