summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuc Verhaegen <libv@skynet.be>2013-10-20 23:11:13 +0400
committerLuc Verhaegen <libv@skynet.be>2014-03-26 01:04:12 +0400
commit801befc080fd1bb478e83216afb65f259e265db6 (patch)
treebea5581dbeb1792d84ffbb3a2fb6cf2cba6b4574
parent1c1f6337dffffe8f7aea98f710f681727ed45f4f (diff)
downloadlibump-801befc080fd1bb478e83216afb65f259e265db6.tar.xz
add a pkg-config file
Signed-off-by: Luc Verhaegen <libv@skynet.be>
-rw-r--r--Makefile.am5
-rw-r--r--configure.ac1
-rw-r--r--libump.pc.in10
3 files changed, 16 insertions, 0 deletions
diff --git a/Makefile.am b/Makefile.am
index af437a6..1f0156d 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -1 +1,6 @@
SUBDIRS = src
+
+pkgconfigdir=$(libdir)/pkgconfig
+pkgconfig_DATA=libump.pc
+
+$(pkgconfig_DATA): libump.pc.in
diff --git a/configure.ac b/configure.ac
index 2c5a2c3..e8b2b6f 100644
--- a/configure.ac
+++ b/configure.ac
@@ -41,6 +41,7 @@ AC_CONFIG_FILES([
Makefile
src/Makefile
src/ump.h
+ libump.pc
])
AC_OUTPUT
diff --git a/libump.pc.in b/libump.pc.in
new file mode 100644
index 0000000..a994249
--- /dev/null
+++ b/libump.pc.in
@@ -0,0 +1,10 @@
+prefix=@prefix@
+exec_prefix=@exec_prefix@
+libdir=@libdir@
+includedir=@includedir@
+
+Name: libump
+Description: ARMs unified memory provider library
+Version: @PACKAGE_VERSION@
+Cflags: -I${includedir}/ump
+Libs: -L${libdir} -lUMP