lttng-dev.lists.lttng.org archive mirror
 help / color / mirror / Atom feed
* Re: [PATCH lttng-ust] Add pkgconfig support for liblttng-ust-ctl
       [not found] <20191023151130.7321-1-mjeanson@efficios.com>
@ 2019-10-23 15:27 ` Mathieu Desnoyers
  0 siblings, 0 replies; 2+ messages in thread
From: Mathieu Desnoyers @ 2019-10-23 15:27 UTC (permalink / raw)
  To: Michael Jeanson; +Cc: lttng-dev

Merged into master. Please let me know if it needs to be backported.

Thanks,

Mathieu

----- On Oct 23, 2019, at 11:11 AM, Michael Jeanson mjeanson@efficios.com wrote:

> Signed-off-by: Michael Jeanson <mjeanson@efficios.com>
> ---
> Makefile.am         |  2 +-
> configure.ac        |  1 +
> lttng-ust-ctl.pc.in | 12 ++++++++++++
> 3 files changed, 14 insertions(+), 1 deletion(-)
> create mode 100644 lttng-ust-ctl.pc.in
> 
> 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}
> +
> --
> 2.17.1

-- 
Mathieu Desnoyers
EfficiOS Inc.
http://www.efficios.com

^ permalink raw reply	[flat|nested] 2+ messages in thread

* [PATCH lttng-ust] Add pkgconfig support for liblttng-ust-ctl
@ 2019-10-23 15:11 Michael Jeanson
  0 siblings, 0 replies; 2+ messages in thread
From: Michael Jeanson @ 2019-10-23 15:11 UTC (permalink / raw)
  To: lttng-dev

Signed-off-by: Michael Jeanson <mjeanson@efficios.com>
---
 Makefile.am         |  2 +-
 configure.ac        |  1 +
 lttng-ust-ctl.pc.in | 12 ++++++++++++
 3 files changed, 14 insertions(+), 1 deletion(-)
 create mode 100644 lttng-ust-ctl.pc.in

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}
+
-- 
2.17.1

^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2019-10-23 15:27 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <20191023151130.7321-1-mjeanson@efficios.com>
2019-10-23 15:27 ` [PATCH lttng-ust] Add pkgconfig support for liblttng-ust-ctl Mathieu Desnoyers
2019-10-23 15:11 Michael Jeanson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).