From: Michael Jeanson Date: Fri, 23 Apr 2021 01:01:41 +0000 (-0400) Subject: Move pkgconfig file to 'src/lib/' X-Git-Tag: v2.13.0-rc1~7 X-Git-Url: https://git.lttng.org/?p=lttng-ust.git;a=commitdiff_plain;h=b3bdf00d5feee54e53ec81cffd38cb6d5d53e262 Move pkgconfig file to 'src/lib/' Change-Id: I9e57ae0ddcf97466ea2ad5b335c0c9318c156daf Signed-off-by: Michael Jeanson Signed-off-by: Mathieu Desnoyers --- diff --git a/.gitignore b/.gitignore index 326795a7..b36ae472 100644 --- a/.gitignore +++ b/.gitignore @@ -50,8 +50,8 @@ cscope.* /src/common/config.h /src/common/config.h.in /src/common/stamp-h1 -/src/lttng-ust-ctl.pc -/src/lttng-ust.pc +/src/lib/lttng-ust-ctl.pc +/src/lib/lttng-ust.pc /doc/examples/demo/demo /doc/examples/easy-ust/sample diff --git a/configure.ac b/configure.ac index 032adea9..bcf3b2bb 100644 --- a/configure.ac +++ b/configure.ac @@ -600,8 +600,8 @@ AC_CONFIG_FILES([ src/lib/lttng-ust/Makefile src/lib/lttng-ust-python-agent/Makefile src/lib/Makefile - src/lttng-ust-ctl.pc - src/lttng-ust.pc + src/lib/lttng-ust-ctl.pc + src/lib/lttng-ust.pc src/Makefile src/python-lttngust/lttngust/version.py src/python-lttngust/Makefile diff --git a/src/Makefile.am b/src/Makefile.am index b59b1f5f..92ae4558 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -7,6 +7,3 @@ SUBDIRS = \ if ENABLE_PYTHON_AGENT SUBDIRS += python-lttngust endif - -pkgconfigdir = $(libdir)/pkgconfig -pkgconfig_DATA = lttng-ust.pc lttng-ust-ctl.pc diff --git a/src/lib/Makefile.am b/src/lib/Makefile.am index fbd12358..bcf2a9b2 100644 --- a/src/lib/Makefile.am +++ b/src/lib/Makefile.am @@ -26,3 +26,6 @@ endif if ENABLE_PYTHON_AGENT SUBDIRS += lttng-ust-python-agent endif + +pkgconfigdir = $(libdir)/pkgconfig +pkgconfig_DATA = lttng-ust.pc lttng-ust-ctl.pc diff --git a/src/lib/lttng-ust-ctl.pc.in b/src/lib/lttng-ust-ctl.pc.in new file mode 100644 index 00000000..a82a6689 --- /dev/null +++ b/src/lib/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 -llttng-ust-common +Cflags: -I${includedir} + diff --git a/src/lib/lttng-ust.pc.in b/src/lib/lttng-ust.pc.in new file mode 100644 index 00000000..6aee46ef --- /dev/null +++ b/src/lib/lttng-ust.pc.in @@ -0,0 +1,12 @@ +prefix=@prefix@ +exec_prefix=@exec_prefix@ +libdir=@libdir@ +includedir=@includedir@ + +Name: LTTng Userspace Tracer +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 -llttng-ust-common -ldl +Cflags: -I${includedir} + diff --git a/src/lttng-ust-ctl.pc.in b/src/lttng-ust-ctl.pc.in deleted file mode 100644 index a82a6689..00000000 --- a/src/lttng-ust-ctl.pc.in +++ /dev/null @@ -1,12 +0,0 @@ -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 -llttng-ust-common -Cflags: -I${includedir} - diff --git a/src/lttng-ust.pc.in b/src/lttng-ust.pc.in deleted file mode 100644 index 6aee46ef..00000000 --- a/src/lttng-ust.pc.in +++ /dev/null @@ -1,12 +0,0 @@ -prefix=@prefix@ -exec_prefix=@exec_prefix@ -libdir=@libdir@ -includedir=@includedir@ - -Name: LTTng Userspace Tracer -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 -llttng-ust-common -ldl -Cflags: -I${includedir} -