From 52d334fc80ac63c25437cbd7a00e608d99e2fdf5 Mon Sep 17 00:00:00 2001 From: Tavian Barnes Date: Thu, 13 May 2010 22:45:50 -0600 Subject: Add a pkg-config file to libdimension. --- configure.ac | 1 + libdimension/Makefile.am | 3 +++ libdimension/libdimension.pc.in | 11 +++++++++++ 3 files changed, 15 insertions(+) create mode 100644 libdimension/libdimension.pc.in 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: -- cgit v1.2.3