[ltt-dev] [URCU Patch] Add pkg-config files for all urcu libs

Mathieu Desnoyers compudj at krystal.dyndns.org
Wed Jun 1 10:58:30 EDT 2011


* Yannick Brosseau (yannick.brosseau at gmail.com) wrote:
> Signed-off-by: Yannick Brosseau <yannick.brosseau at gmail.com>

Merged, thanks!

Mathieu

> ---
>  .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(+), 0 deletions(-)
>  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} 
> -- 
> 1.7.2.3
> 
> 
> _______________________________________________
> ltt-dev mailing list
> ltt-dev at lists.casi.polymtl.ca
> http://lists.casi.polymtl.ca/cgi-bin/mailman/listinfo/ltt-dev
> 

-- 
Mathieu Desnoyers
Operating System Efficiency R&D Consultant
EfficiOS Inc.
http://www.efficios.com




More information about the lttng-dev mailing list