aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--configure.ac1
-rw-r--r--libindicate/Makefile.am6
-rw-r--r--libindicate/indicate.pc.in14
3 files changed, 19 insertions, 2 deletions
diff --git a/configure.ac b/configure.ac
index eeca255..cff6775 100644
--- a/configure.ac
+++ b/configure.ac
@@ -69,6 +69,7 @@ AC_OUTPUT([
Makefile
src/Makefile
libindicate/Makefile
+libindicate/indicate.pc
libindicate/tests/Makefile
data/Makefile
data/icons/Makefile
diff --git a/libindicate/Makefile.am b/libindicate/Makefile.am
index 86ef22a..3dd211d 100644
--- a/libindicate/Makefile.am
+++ b/libindicate/Makefile.am
@@ -1,6 +1,5 @@
-SUBDIRS = \
- tests
+SUBDIRS = tests
INCLUDES= \
-DG_LOG_DOMAIN=\"libindicate\"
@@ -46,3 +45,6 @@ dbus-indicate-server.h: indicate-server.xml
--mode=glib-server \
--output=dbus-indicate-server.h \
$(srcdir)/indicate-server.xml
+
+pkgconfig_DATA = indicate.pc
+pkgconfigdir = $(libdir)/pkgconfig
diff --git a/libindicate/indicate.pc.in b/libindicate/indicate.pc.in
new file mode 100644
index 0000000..cdc79b6
--- /dev/null
+++ b/libindicate/indicate.pc.in
@@ -0,0 +1,14 @@
+prefix=@prefix@
+exec_prefix=@exec_prefix@
+libdir=@libdir@
+bindir=@bindir@
+includedir=@includedir@
+
+Cflags: -I${includedir}/libindicate-0.1
+Requires: gtk+-2.0 dbus-glib-1
+Libs: -L${libdir} -lindicate
+
+Name: libindicate
+Description: libindicate.
+Version: @VERSION@
+