From: Yannick Brosseau Date: Wed, 1 Jun 2011 15:00:25 +0000 (-0400) Subject: Add pkg-config files for all urcu libs X-Git-Tag: v0.6.0~46 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=2260a36cd53dc882bf83e39180bae4413d64da8f;p=urcu.git Add pkg-config files for all urcu libs Signed-off-by: Yannick Brosseau Signed-off-by: Mathieu Desnoyers --- diff --git a/.gitignore b/.gitignore index 7c9a527..529f6ca 100644 --- a/.gitignore +++ b/.gitignore @@ -87,3 +87,8 @@ Makefile /autom4te.cache/ config.h stamp-h2 +liburcu.pc +liburcu-bp.pc +liburcu-qsbr.pc +liburcu-mb.pc +liburcu-signal.pc diff --git a/Makefile.am b/Makefile.am index 7956e7e..776fa2b 100644 --- a/Makefile.am +++ b/Makefile.am @@ -52,3 +52,6 @@ libwfqueue_la_SOURCES = wfqueue.c $(COMPAT) libwfstack_la_SOURCES = wfstack.c $(COMPAT) librculfqueue_la_SOURCES = rculfqueue.c $(COMPAT) librculfstack_la_SOURCES = rculfstack.c $(COMPAT) + +pkgconfigdir = $(libdir)/pkgconfig +pkgconfig_DATA = liburcu.pc liburcu-bp.pc \ No newline at end of file diff --git a/configure.ac b/configure.ac index b8c151a..6b8a35a 100644 --- a/configure.ac +++ b/configure.ac @@ -241,5 +241,10 @@ AC_CONFIG_LINKS([ AC_CONFIG_FILES([ Makefile tests/Makefile + liburcu.pc + liburcu-bp.pc + liburcu-qsbr.pc + liburcu-mb.pc + liburcu-signal.pc ]) AC_OUTPUT diff --git a/liburcu-bp.pc.in b/liburcu-bp.pc.in new file mode 100644 index 0000000..c5f2355 --- /dev/null +++ b/liburcu-bp.pc.in @@ -0,0 +1,11 @@ +prefix=@prefix@ +exec_prefix=@exec_prefix@ +libdir=@libdir@ +includedir=@includedir@ + +Name: Userspace RCU BulletProof +Description: A userspace RCU (read-copy-update) library, bulletproof version +Version: @PACKAGE_VERSION@ +Requires: +Libs: -L${libdir} -lurcu-bp +Cflags: -I${includedir} diff --git a/liburcu-mb.pc.in b/liburcu-mb.pc.in new file mode 100644 index 0000000..cd669ef --- /dev/null +++ b/liburcu-mb.pc.in @@ -0,0 +1,11 @@ +prefix=@prefix@ +exec_prefix=@exec_prefix@ +libdir=@libdir@ +includedir=@includedir@ + +Name: Userspace RCU Memory barriers +Description: A userspace RCU (read-copy-update) library, memory barriers version +Version: @PACKAGE_VERSION@ +Requires: +Libs: -L${libdir} -lurcu-mb +Cflags: -I${includedir} diff --git a/liburcu-qsbr.pc.in b/liburcu-qsbr.pc.in new file mode 100644 index 0000000..0732602 --- /dev/null +++ b/liburcu-qsbr.pc.in @@ -0,0 +1,11 @@ +prefix=@prefix@ +exec_prefix=@exec_prefix@ +libdir=@libdir@ +includedir=@includedir@ + +Name: Userspace RCU QSBR +Description: A userspace RCU (read-copy-update) library, quiescent state version +Version: @PACKAGE_VERSION@ +Requires: +Libs: -L${libdir} -lurcu-qsbr +Cflags: -I${includedir} diff --git a/liburcu-signal.pc.in b/liburcu-signal.pc.in new file mode 100644 index 0000000..f9bc3a3 --- /dev/null +++ b/liburcu-signal.pc.in @@ -0,0 +1,11 @@ +prefix=@prefix@ +exec_prefix=@exec_prefix@ +libdir=@libdir@ +includedir=@includedir@ + +Name: Userspace RCU signal +Description: A userspace RCU (read-copy-update) library, signal version +Version: @PACKAGE_VERSION@ +Requires: +Libs: -L${libdir} -lurcu-signal +Cflags: -I${includedir} diff --git a/liburcu.pc.in b/liburcu.pc.in new file mode 100644 index 0000000..22bf2c8 --- /dev/null +++ b/liburcu.pc.in @@ -0,0 +1,11 @@ +prefix=@prefix@ +exec_prefix=@exec_prefix@ +libdir=@libdir@ +includedir=@includedir@ + +Name: Userspace RCU +Description: A userspace RCU (read-copy-update) library, standard version +Version: @PACKAGE_VERSION@ +Requires: +Libs: -L${libdir} -lurcu +Cflags: -I${includedir}