Provides a basic pkg-config file for libbabeltrace
authorYannick Brosseau <yannick.brosseau@gmail.com>
Fri, 14 Dec 2012 12:35:09 +0000 (07:35 -0500)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Fri, 14 Dec 2012 12:35:09 +0000 (07:35 -0500)
This pkg-config file specify the usage of libbabeltrace and
libbabeltrace-ctf since ctf is the only format currently supported and
tested.

Signed-off-by: Yannick Brosseau <yannick.brosseau@gmail.com>
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Makefile.am
babeltrace.pc.in [new file with mode: 0644]
configure.ac

index 7a636128d588ab980461cca49ebedf6efc302cff..b25b58fe3e4fa002e4cf361ebcc648f88d7cc95f 100644 (file)
@@ -8,3 +8,6 @@ dist_doc_DATA = ChangeLog LICENSE mit-license.txt gpl-2.0.txt \
                std-ext-lib.txt
 
 dist_noinst_DATA = CodingStyle
                std-ext-lib.txt
 
 dist_noinst_DATA = CodingStyle
+
+pkgconfigdir = $(libdir)/pkgconfig
+pkgconfig_DATA = babeltrace.pc
diff --git a/babeltrace.pc.in b/babeltrace.pc.in
new file mode 100644 (file)
index 0000000..12349dd
--- /dev/null
@@ -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} 
+
index 19f16a63b1f87c20cd3b760f881b44c17d81d953..86dd17c4e641133838e847c2155547c41cec6412 100644 (file)
@@ -109,5 +109,6 @@ AC_CONFIG_FILES([
        tests/lib/Makefile
        extras/Makefile
        extras/valgrind/Makefile
        tests/lib/Makefile
        extras/Makefile
        extras/valgrind/Makefile
+       babeltrace.pc
 ])
 AC_OUTPUT
 ])
 AC_OUTPUT
This page took 0.025713 seconds and 4 git commands to generate.