Add pkg-config for liblttng-ctl
authorYannick Brosseau <yannick.brosseau@gmail.com>
Thu, 20 Dec 2012 19:31:06 +0000 (14:31 -0500)
committerDavid Goulet <dgoulet@efficios.com>
Mon, 7 Jan 2013 20:06:56 +0000 (15:06 -0500)
Signed-off-by: Yannick Brosseau <yannick.brosseau@gmail.com>
Signed-off-by: David Goulet <dgoulet@efficios.com>
.gitignore
configure.ac
src/lib/lttng-ctl/Makefile.am
src/lib/lttng-ctl/lttng-ctl.pc.in [new file with mode: 0644]

index 383dbf9601689327c3a14c7d8347d43ff695a431..afc97b6eb6d8ab6d0b0914ef1e232e2f0f29346f 100644 (file)
@@ -35,7 +35,7 @@ src/bin/lttng-sessiond/lttng-sessiond
 src/bin/lttng/lttng
 src/bin/lttng-consumerd/lttng-consumerd
 src/bin/lttng-relayd/lttng-relayd
-
+src/lib/lttng-ctl/lttng-ctl.pc
 src/lib/lttng-ctl/filter/filter-grammar-test
 src/lib/lttng-ctl/filter/filter-lexer.c
 src/lib/lttng-ctl/filter/filter-parser.c
index 425941b99fa0ddd740ad93923c2e819a8dd628bd..857e8e9fc60a0520b2db2dcf7283d67804093cdb 100644 (file)
@@ -281,6 +281,7 @@ AC_CONFIG_FILES([
        src/lib/Makefile
        src/lib/lttng-ctl/Makefile
        src/lib/lttng-ctl/filter/Makefile
+       src/lib/lttng-ctl/lttng-ctl.pc
        src/bin/Makefile
        src/bin/lttng-consumerd/Makefile
        src/bin/lttng-sessiond/Makefile
index 2681bddb252b3ad5e69d681c68bbfbc7a56f9c1a..542f4bbcf19f95dae67ab25176b93df6a9ff11d5 100644 (file)
@@ -11,3 +11,6 @@ liblttng_ctl_la_LIBADD = \
                $(top_builddir)/src/common/libcommon.la \
                $(top_builddir)/src/common/hashtable/libhashtable.la \
                $(top_builddir)/src/lib/lttng-ctl/filter/libfilter.la
+
+pkgconfigdir = $(libdir)/pkgconfig
+pkgconfig_DATA = lttng-ctl.pc
diff --git a/src/lib/lttng-ctl/lttng-ctl.pc.in b/src/lib/lttng-ctl/lttng-ctl.pc.in
new file mode 100644 (file)
index 0000000..fd7a5ec
--- /dev/null
@@ -0,0 +1,13 @@
+prefix=@prefix@
+exec_prefix=@exec_prefix@
+libdir=@libdir@
+includedir=@includedir@
+
+Name: LTTng control library
+Description: The LTTng control and utility library is a library used to control the tracing sessions of a LTTng-session deamon
+Version: @PACKAGE_VERSION@
+Requires:
+Requires.private:
+Libs: -L${libdir} -llttng-ctl
+Cflags: -I${includedir}
+
This page took 0.026894 seconds and 4 git commands to generate.