summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorTavian Barnes <tavianator@gmail.com>2010-02-23 23:14:40 -0500
committerTavian Barnes <tavianator@gmail.com>2010-02-23 23:14:40 -0500
commit53757c9dd5c0a03a0d50d1482025bb3beacde46a (patch)
treea65b09eea4fe949fb7dfb7edf984a16a086c040d /src
parent65f265cd55420cb892efaa8e7faa8ea22f2747fe (diff)
downloadlibsandglass-53757c9dd5c0a03a0d50d1482025bb3beacde46a.tar.xz
Use pkg-config.
Diffstat (limited to 'src')
-rw-r--r--src/Makefile.am3
-rw-r--r--src/libsandglass.pc.in11
2 files changed, 14 insertions, 0 deletions
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: