Only .so files are used in libcollector. Remove the other files.
authorVladimir Mezentsev <vladimir.mezentsev@oracle.com>
Tue, 22 Mar 2022 22:15:04 +0000 (15:15 -0700)
committerAlan Modra <amodra@gmail.com>
Wed, 23 Mar 2022 05:30:10 +0000 (16:00 +1030)
* libcollector/Makefile.am (install-data-local): Remove the *.la
and *.a libraries.
* libcollector/Makefile.in: Regenerate.

gprofng/libcollector/Makefile.am
gprofng/libcollector/Makefile.in

index ffb4f977aa548b54e52e6b902a6806155213225a..ddce555fc87518f6b8705eabcd5a5674979c7aac 100644 (file)
@@ -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
index b554b665c664a567cc67d050e826ff6714f5eb6c..e8b2aab0471af063b6128e1079f72e9ec11a49d5 100644 (file)
@@ -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.