summaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorDavid Zeuthen <davidz@redhat.com>2009-01-20 00:35:43 -0500
committerDavid Zeuthen <davidz@redhat.com>2009-01-20 00:35:43 -0500
commite800e80f7e9adcd21fe8c63fd1c49fa6aec642bc (patch)
treefb442cf3f74ebd77bb786c7a27b8ef2048bb2b2b /data
parentb0e1ab0c8978a83b2a1d47fb521fa9d074341102 (diff)
add pkgconfig files
Diffstat (limited to 'data')
-rw-r--r--data/Makefile.am11
-rw-r--r--data/polkit-agent-1.pc.in11
-rw-r--r--data/polkit-backend-1.pc.in11
-rw-r--r--data/polkit-gobject-1.pc.in13
4 files changed, 45 insertions, 1 deletions
diff --git a/data/Makefile.am b/data/Makefile.am
index 92e8df4..afe5f06 100644
--- a/data/Makefile.am
+++ b/data/Makefile.am
@@ -19,9 +19,18 @@ pamdir = $(sysconfdir)/pam.d
pam_DATA = polkit-1
endif
+pkgconfigdir = $(libdir)/pkgconfig
+pkgconfig_DATA = polkit-gobject-1.pc polkit-backend-1.pc polkit-agent-1.pc
+
CLEANFILES = $(BUILT_SOURCES)
-EXTRA_DIST = org.freedesktop.PolicyKit1.Authority.xml $(service_in_files) $(dbusconf_in_files) polkit-1.in
+EXTRA_DIST = \
+ org.freedesktop.PolicyKit1.Authority.xml \
+ $(service_in_files) \
+ $(dbusconf_in_files) \
+ polkit-gobject-1.in \
+ polkit-backend-1.in \
+ polkit-agent-1.in
clean-local :
rm -f *~ $(service_DATA) $(dbusconf_DATA)
diff --git a/data/polkit-agent-1.pc.in b/data/polkit-agent-1.pc.in
new file mode 100644
index 0000000..6402c2f
--- /dev/null
+++ b/data/polkit-agent-1.pc.in
@@ -0,0 +1,11 @@
+prefix=@prefix@
+exec_prefix=@exec_prefix@
+libdir=@libdir@
+includedir=@includedir@
+
+Name: polkit-agent-1
+Description: PolicyKit Authentication Agent API
+Version: @VERSION@
+Libs: -L${libdir} -lpolkit-agent-1
+Cflags: -I${includedir}/polkit-1
+Requires: polkit-gobject-1
diff --git a/data/polkit-backend-1.pc.in b/data/polkit-backend-1.pc.in
new file mode 100644
index 0000000..7f6197d
--- /dev/null
+++ b/data/polkit-backend-1.pc.in
@@ -0,0 +1,11 @@
+prefix=@prefix@
+exec_prefix=@exec_prefix@
+libdir=@libdir@
+includedir=@includedir@
+
+Name: polkit-backend-1
+Description: PolicyKit Backend API
+Version: @VERSION@
+Libs: -L${libdir} -lpolkit-backend-1
+Cflags: -I${includedir}/polkit-1
+Requires: polkit-gobject-1
diff --git a/data/polkit-gobject-1.pc.in b/data/polkit-gobject-1.pc.in
new file mode 100644
index 0000000..c39677d
--- /dev/null
+++ b/data/polkit-gobject-1.pc.in
@@ -0,0 +1,13 @@
+prefix=@prefix@
+exec_prefix=@exec_prefix@
+libdir=@libdir@
+includedir=@includedir@
+policydir=@datarootdir@/polkit-1/actions/
+actiondir=@datarootdir@/polkit-1/actions/
+
+Name: polkit-gobject-1
+Description: PolicyKit Authorization API
+Version: @VERSION@
+Libs: -L${libdir} -lpolkit-gobject-1
+Cflags: -I${includedir}/polkit-1
+Requires: gio-2.0 >= 2.18 glib-2.0 >= 2.18