mbox series

[00/13] trace-cmd: Clean ups to the Makefile for using external libraries

Message ID 20201211170842.611554918@goodmis.org (mailing list archive)
Headers show
Series trace-cmd: Clean ups to the Makefile for using external libraries | expand

Message

Steven Rostedt Dec. 11, 2020, 5:08 p.m. UTC
Now that libtraceevent and libtracefs are in their separate repositories,
clean up the Makefiles for trace-cmd a bit, and even let the builder know
that libtraceevent and libtracefs are separate and where to find them.

Steven Rostedt (VMware) (13):
      trace-cmd: Add missing SPDX headers
      trace-cmd: Allow overriding of pkg-config
      trace-cmd: Use $(LIBTRACECMD_STATIC) instead of open coding in Makefile
      trace-cmd: Add versioning to libtracecmd.so
      trace-cmd: Add pkg-config configuration for libtracecmd.so
      trace-cmd: Clean up the Makefiles a little
      trace-cmd: Remove making of ld.so.conf.d/trace.conf
      trace-cmd: Install libtracecmd in the proper lib directory
      trace-cmd: Move the installing of libtracecmd to the lib/trace-cmd Makefile
      trace-cmd: Install the soft links for libtracecmd.so
      trace-cmd: Do not install libtracefs nor libtraceevent libraries
      trace-cmd: Do not build shared libraries for libtracefs and libtraceevent
      trace-cmd: Add warning if libtracefs or libtraceevent are not found

----
 Makefile                                      | 119 +++++++++++++++-----------
 features.mk                                   |   1 +
 include/linux/time64.h                        |   2 +
 lib/trace-cmd/Makefile                        |  27 ++++--
 lib/trace-cmd/include/private/trace-msg.h     |   1 +
 lib/traceevent/Makefile                       |  19 +++-
 lib/traceevent/plugins/Makefile               |   2 +
 lib/traceevent/plugins/plugin_python_loader.c |   1 +
 lib/tracefs/Makefile                          |  20 +++--
 libtracecmd.pc.template                       |  10 +++
 python/Makefile                               |   2 +
 scripts/utils.mk                              |  13 ++-
 tracecmd/Makefile                             |   1 +
 tracecmd/include/bug.h                        |   1 +
 tracecmd/trace-usage.c                        |   1 +
 utest/Makefile                                |   1 +
 16 files changed, 148 insertions(+), 73 deletions(-)
 create mode 100644 libtracecmd.pc.template