Skip to contentSkip to conversation

Provides a basic pkg-config file for libbabeltrace

PATCH Mathieu Desnoyers 1 participant 1 message Dec 14, 2012 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

Mathieu Desnoyers

author Applied
#1 lore raw
Quoted 4 lines · * Yannick Brosseau ([email protected]) wrote:

This pkg-config file specify the usage of libbabeltrace and libbabeltrace-ctf since ctf is the only format currently supported and tested.

Merged, thanks!

Mathieu

Quoted 57 lines
---
 Makefile.am      |    3 +++
 babeltrace.pc.in |   14 ++++++++++++++
 configure.ac     |    1 +
 3 files changed, 18 insertions(+)
 create mode 100644 babeltrace.pc.in
Makefile.am +3 -0
index 7a63612..b25b58f 100644
@@ -8,3 +8,6 @@ dist_doc_DATA = ChangeLog LICENSE mit-license.txt gpl-2.0.txt \
 		std-ext-lib.txt
 
 dist_noinst_DATA = CodingStyle
+
+pkgconfigdir = $(libdir)/pkgconfig
+pkgconfig_DATA = babeltrace.pc
babeltrace.pc.in new file +14 -0
new file mode 100644
index 0000000..12349dd
@@ -0,0 +1,14 @@
+prefix=@prefix@
+exec_prefix=@exec_prefix@
+libdir=@libdir@
+includedir=@includedir@
+
+Name: Babeltrace
+Description: libbabeltrace provides a reader for trace files, reading mainly the 
+Common Trace Format (CTF).
+Version: @PACKAGE_VERSION@
+Requires:
+Requires.private: uuid popt
+Libs: -L${libdir} -lbabeltrace -lbabeltrace-ctf
+Cflags: -I${includedir} 
+
configure.ac +1 -0
index 19f16a6..86dd17c 100644
@@ -109,5 +109,6 @@ AC_CONFIG_FILES([
 	tests/lib/Makefile
 	extras/Makefile
 	extras/valgrind/Makefile
+	babeltrace.pc
 ])
 AC_OUTPUT
Signature · 7 lines
1.7.10.4


_______________________________________________
lttng-dev mailing list
[email protected]
http://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev
Signature · 4 lines
Mathieu Desnoyers
Operating System Efficiency R&D Consultant
EfficiOS Inc.
http://www.efficios.com