Permalink
Browse files

Add -uninstalled pkg-config file, move them to pkgconfig/.

* atomic_ops.pc.in -> pkgconfig/atomic_ops.pc.in: Moved.
* pkgconfig/atomic_ops-uninstalled.pc.in: Added developer version.
* configure.ac, Makefile.am: Update accordingly.
  • Loading branch information...
1 parent 7742605 commit 8e6f271a217dfad7f71cd0c1132045c4df85878b @paurkedal paurkedal committed Aug 14, 2011
Showing with 22 additions and 4 deletions.
  1. +2 −1 .gitignore
  2. +2 −1 Makefile.am
  3. +8 −2 configure.ac
  4. +10 −0 pkgconfig/atomic_ops-uninstalled.pc.in
  5. 0 { → pkgconfig}/atomic_ops.pc.in
View
@@ -2,7 +2,8 @@
Makefile
-/atomic_ops.pc
+/pkgconfig/atomic_ops.pc
+/pkgconfig/atomic_ops-uninstalled.pc
/autom4te.cache/
/config.log
/config.status
View
@@ -3,7 +3,8 @@ SUBDIRS = src doc tests
ACLOCAL_AMFLAGS = -I m4
pkgconfigdir = $(libdir)/pkgconfig
-pkgconfig_DATA = atomic_ops.pc
+pkgconfig_DATA = pkgconfig/atomic_ops.pc
+noinst_DATA = pkgconfig/atomic_ops-uninstalled.pc
dist_pkgdata_DATA = COPYING
View
@@ -81,8 +81,14 @@ AC_SUBST(THREADDLLIBS)
AM_CONDITIONAL(NEED_ASM, test x$need_asm = xtrue)
-AC_CONFIG_FILES([Makefile atomic_ops.pc doc/Makefile src/Makefile \
- tests/Makefile])
+AC_CONFIG_FILES([
+ Makefile
+ doc/Makefile
+ src/Makefile
+ tests/Makefile
+ pkgconfig/atomic_ops.pc
+ pkgconfig/atomic_ops-uninstalled.pc ])
+
AC_CONFIG_COMMANDS([default],[[]],[[
PICFLAG="${PICFLAG}"
CC="${CC}"
@@ -0,0 +1,10 @@
+prefix=@prefix@
+exec_prefix=@exec_prefix@
+top_builddir=@abs_top_builddir@
+top_srcdir=@abs_top_srcdir@
+
+Name: The atomic_ops library (uninstalled)
+Description: Atomic memory update operations
+Version: @PACKAGE_VERSION@
+Libs: ${top_builddir}/src/libatomic_ops.la
+Cflags: -I${top_builddir}/src -I${top_srcdir}/src
File renamed without changes.

0 comments on commit 8e6f271

Please sign in to comment.