From 2260a36cd53dc882bf83e39180bae4413d64da8f Mon Sep 17 00:00:00 2001 From: Yannick Brosseau Date: Wed, 1 Jun 2011 11:00:25 -0400 Subject: [PATCH] Add pkg-config files for all urcu libs Signed-off-by: Yannick Brosseau Signed-off-by: Mathieu Desnoyers --- .gitignore | 5 +++++ Makefile.am | 3 +++ configure.ac | 5 +++++ liburcu-bp.pc.in | 11 +++++++++++ liburcu-mb.pc.in | 11 +++++++++++ liburcu-qsbr.pc.in | 11 +++++++++++ liburcu-signal.pc.in | 11 +++++++++++ liburcu.pc.in | 11 +++++++++++ 8 files changed, 68 insertions(+) create mode 100644 liburcu-bp.pc.in create mode 100644 liburcu-mb.pc.in create mode 100644 liburcu-qsbr.pc.in create mode 100644 liburcu-signal.pc.in create mode 100644 liburcu.pc.in 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} -- 2.34.1