diff options
-rw-r--r-- | configure.ac | 1 | ||||
-rw-r--r-- | libdimension/Makefile.am | 3 | ||||
-rw-r--r-- | libdimension/libdimension.pc.in | 11 |
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: |