Add pkgconfig support for liblttng-ust-ctl
authorMichael Jeanson <mjeanson@efficios.com>
Wed, 23 Oct 2019 15:11:30 +0000 (11:11 -0400)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Wed, 23 Oct 2019 15:20:00 +0000 (11:20 -0400)
Signed-off-by: Michael Jeanson <mjeanson@efficios.com>
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Makefile.am
configure.ac
lttng-ust-ctl.pc.in [new file with mode: 0644]

index 73b519090125728236bda4ae768ae1876965185b..cc923c1da4476feeca7ad2fdf62b54c3ac006155 100644 (file)
@@ -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 \
index 52fc3f68f619d246fbc5686d26f3a54e54dbee16..580e0ee3d6af0282c80436cc42e197a78fc1b7f7 100644 (file)
@@ -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 (file)
index 0000000..3170b30
--- /dev/null
@@ -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}
+
This page took 0.0264 seconds and 4 git commands to generate.