From 53757c9dd5c0a03a0d50d1482025bb3beacde46a Mon Sep 17 00:00:00 2001 From: Tavian Barnes Date: Tue, 23 Feb 2010 23:14:40 -0500 Subject: Use pkg-config. --- src/Makefile.am | 3 +++ src/libsandglass.pc.in | 11 +++++++++++ 2 files changed, 14 insertions(+) create mode 100644 src/libsandglass.pc.in (limited to 'src') diff --git a/src/Makefile.am b/src/Makefile.am index a91e2b6..2838da8 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -39,3 +39,6 @@ if X86_64 endif libsandglass_la_LIBADD = -lrt + +pkgconfigdir = $(libdir)/pkgconfig +pkgconfig_DATA = libsandglass.pc diff --git a/src/libsandglass.pc.in b/src/libsandglass.pc.in new file mode 100644 index 0000000..dc2f280 --- /dev/null +++ b/src/libsandglass.pc.in @@ -0,0 +1,11 @@ +prefix=@prefix@ +exec_prefix=@exec_prefix@ +libdir=@libdir@ +includedir=@includedir@ + +Name: libsandglass +Description: The Sandglass Library +Requires: +Version: @VERSION@ +Libs: -L${libdir} -lsandglass +Cflags: -- cgit v1.2.3