aboutsummaryrefslogtreecommitdiff
path: root/gprofng/libcollector
diff options
context:
space:
mode:
authorVladimir Mezentsev <vladimir.mezentsev@oracle.com>2022-03-22 15:15:04 -0700
committerAlan Modra <amodra@gmail.com>2022-03-23 16:00:10 +1030
commitb8466ab5e50377ddc52ea9b479be5543793123dd (patch)
tree9886ee2d1d868c2c22005f63d1dea4eadd9cf938 /gprofng/libcollector
parentf629ad7dac5ff2d7ee92791071b731096dfa1eb5 (diff)
downloadgdb-b8466ab5e50377ddc52ea9b479be5543793123dd.zip
gdb-b8466ab5e50377ddc52ea9b479be5543793123dd.tar.gz
gdb-b8466ab5e50377ddc52ea9b479be5543793123dd.tar.bz2
Only .so files are used in libcollector. Remove the other files.
* libcollector/Makefile.am (install-data-local): Remove the *.la and *.a libraries. * libcollector/Makefile.in: Regenerate.
Diffstat (limited to 'gprofng/libcollector')
-rw-r--r--gprofng/libcollector/Makefile.am4
-rw-r--r--gprofng/libcollector/Makefile.in4
2 files changed, 6 insertions, 2 deletions
diff --git a/gprofng/libcollector/Makefile.am b/gprofng/libcollector/Makefile.am
index ffb4f97..ddce555 100644
--- a/gprofng/libcollector/Makefile.am
+++ b/gprofng/libcollector/Makefile.am
@@ -80,4 +80,6 @@ libgp_collectorAPI_la_LIBADD = -lc -ldl
.PHONY: install-data-local
install-data-local: install-pkglibLTLIBRARIES
- rm -f $(DESTDIR)/$(pkglibdir)/*.la $(DESTDIR)/$(pkglibdir)/*.a
+ for f in libgp-collector libgp-heap libgp-sync libgp-iotrace ; do \
+ rm -f $(DESTDIR)/$(pkglibdir)/$$f.la $(DESTDIR)/$(pkglibdir)/$$f.a ; \
+ done
diff --git a/gprofng/libcollector/Makefile.in b/gprofng/libcollector/Makefile.in
index b554b66..e8b2aab 100644
--- a/gprofng/libcollector/Makefile.in
+++ b/gprofng/libcollector/Makefile.in
@@ -1138,7 +1138,9 @@ uninstall-am: uninstall-myincludeHEADERS uninstall-pkglibLTLIBRARIES
.PHONY: install-data-local
install-data-local: install-pkglibLTLIBRARIES
- rm -f $(DESTDIR)/$(pkglibdir)/*.la $(DESTDIR)/$(pkglibdir)/*.a
+ for f in libgp-collector libgp-heap libgp-sync libgp-iotrace ; do \
+ rm -f $(DESTDIR)/$(pkglibdir)/$$f.la $(DESTDIR)/$(pkglibdir)/$$f.a ; \
+ done
# Tell versions [3.59,3.63) of GNU make to not export all variables.
# Otherwise a system limit (for SysV at least) may be exceeded.