summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTavian Barnes <tavianator@gmail.com>2010-05-13 22:45:50 -0600
committerTavian Barnes <tavianator@gmail.com>2010-05-13 22:45:50 -0600
commit52d334fc80ac63c25437cbd7a00e608d99e2fdf5 (patch)
treec798881088afb4c454d959d4fcd785d0b342e965
parentb5e150da42b64af5da5c3de0b9889ad6c581ee0c (diff)
downloaddimension-52d334fc80ac63c25437cbd7a00e608d99e2fdf5.tar.xz
Add a pkg-config file to libdimension.
-rw-r--r--configure.ac1
-rw-r--r--libdimension/Makefile.am3
-rw-r--r--libdimension/libdimension.pc.in11
3 files changed, 15 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 8c6f21d..e783f7a 100644
--- a/configure.ac
+++ b/configure.ac
@@ -73,6 +73,7 @@ dnl Generate Makefiles
AC_CONFIG_MACRO_DIR([m4])
AC_CONFIG_FILES([Makefile
libdimension/Makefile
+ libdimension/libdimension.pc
dimension/Makefile
tests/Makefile
tests/libdimension/Makefile
diff --git a/libdimension/Makefile.am b/libdimension/Makefile.am
index 4dd8105..732233e 100644
--- a/libdimension/Makefile.am
+++ b/libdimension/Makefile.am
@@ -117,3 +117,6 @@ all-local: libdimension.la
clean-local:
rm -rf pgo
endif
+
+pkgconfigdir = $(libdir)/pkgconfig
+pkgconfig_DATA = libdimension.pc
diff --git a/libdimension/libdimension.pc.in b/libdimension/libdimension.pc.in
new file mode 100644
index 0000000..97a3cb5
--- /dev/null
+++ b/libdimension/libdimension.pc.in
@@ -0,0 +1,11 @@
+prefix=@prefix@
+exec_prefix=@exec_prefix@
+libdir=@libdir@
+includedir=@includedir@
+
+Name: libdimension
+Description: The Dimension Library
+Requires:
+Version: @VERSION@
+Libs: -L${libdir} -ldimension
+Cflags: