From: Michael Jeanson Date: Wed, 23 Oct 2019 15:11:30 +0000 (-0400) Subject: Add pkgconfig support for liblttng-ust-ctl X-Git-Tag: v2.12.0-rc1~11 X-Git-Url: https://git.lttng.org/?p=lttng-ust.git;a=commitdiff_plain;h=a1acf2a6a975996aefdae82362c2bda749da2ff4 Add pkgconfig support for liblttng-ust-ctl Signed-off-by: Michael Jeanson Signed-off-by: Mathieu Desnoyers --- diff --git a/Makefile.am b/Makefile.am index 73b51909..cc923c1d 100644 --- a/Makefile.am +++ b/Makefile.am @@ -32,7 +32,7 @@ SUBDIRS += tests doc # liblttng-ust-malloc pkgconfigdir = $(libdir)/pkgconfig -pkgconfig_DATA = lttng-ust.pc +pkgconfig_DATA = lttng-ust.pc lttng-ust-ctl.pc dist_doc_DATA = \ ChangeLog \ diff --git a/configure.ac b/configure.ac index 52fc3f68..580e0ee3 100644 --- a/configure.ac +++ b/configure.ac @@ -555,6 +555,7 @@ AC_CONFIG_FILES([ tests/test-app-ctx/Makefile tests/gcc-weak-hidden/Makefile lttng-ust.pc + lttng-ust-ctl.pc ]) # Create link for python agent for the VPATH guru. diff --git a/lttng-ust-ctl.pc.in b/lttng-ust-ctl.pc.in new file mode 100644 index 00000000..3170b30a --- /dev/null +++ b/lttng-ust-ctl.pc.in @@ -0,0 +1,12 @@ +prefix=@prefix@ +exec_prefix=@exec_prefix@ +libdir=@libdir@ +includedir=@includedir@ + +Name: LTTng Userspace Tracer control +Description: The LTTng Userspace Tracer (UST) is a library accompanied by a set of tools to trace userspace code. +Version: @PACKAGE_VERSION@ +Requires: +Libs: -L${libdir} -llttng-ust-ctl +Cflags: -I${includedir} +