summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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