Add pkg-config file generation
authorYannick Brosseau <yannick.brosseau@gmail.com>
Wed, 1 Jun 2011 15:01:16 +0000 (11:01 -0400)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Wed, 1 Jun 2011 15:01:16 +0000 (11:01 -0400)
Signed-off-by: Yannick Brosseau <yannick.brosseau@gmail.com>
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
.gitignore
Makefile.am
configure.ac
ust.pc.in [new file with mode: 0644]

index 68c7364544db2bcc9df6a661087e010964a18298..6ae624eec65ab425850e93554e74ac3110d83f24 100644 (file)
@@ -22,6 +22,7 @@ config.log
 config.status
 stamp-h1
 libtool
+ust.pc
 
 ustctl/ustctl
 ust-consumerd/ust-consumerd
index 9e165467764cbef86ca698c7b935fc7786ccb637..bff619836298e38d90aaec245f36d2f19a488a4e 100644 (file)
@@ -22,3 +22,6 @@ libust.so: libust.ldscript.in
 # may get obscure errors when linking to shared libraries.
 libust-initializer.o: libust-initializer.c
        $(CC) $(CFLAGS) -fno-strict-aliasing -fPIC -c -I$(top_srcdir)/include -I$(top_srcdir) -o $@ $<
+
+pkgconfigdir = $(libdir)/pkgconfig
+pkgconfig_DATA = ust.pc
\ No newline at end of file
index 1461fc808b41dc3865324cce7e0d166e324202f8..5d914322b1158df69f6b8f931f91fc80c5936baf 100644 (file)
@@ -174,5 +174,6 @@ AC_CONFIG_FILES([
        libustcomm/Makefile
        libustctl/Makefile
        snprintf/Makefile
+       ust.pc
 ])
 AC_OUTPUT
diff --git a/ust.pc.in b/ust.pc.in
new file mode 100644 (file)
index 0000000..095cdbb
--- /dev/null
+++ b/ust.pc.in
@@ -0,0 +1,13 @@
+prefix=@prefix@
+exec_prefix=@exec_prefix@
+libdir=@libdir@
+includedir=@includedir@
+
+Name: LTTng Userspace Tracer
+Description: The Userspace Tracer (UST) is a library accompanied by a set of tools to trace userspace code. 
+Version: @PACKAGE_VERSION@
+Requires:
+Requires.private: liburcu-bp
+Libs: -L${libdir} -lust
+Cflags: -I${includedir} 
+
This page took 0.025063 seconds and 4 git commands to generate.