summaryrefslogtreecommitdiff
path: root/libvirt-admin.pc.in
diff options
context:
space:
mode:
authorMartin Kletzander <mkletzan@redhat.com>2015-04-15 16:16:24 +0200
committerMartin Kletzander <mkletzan@redhat.com>2015-06-16 13:46:20 +0200
commit55e0c840afde18f4b2bfde8b3436505442a9631c (patch)
tree13fe50cb6e72ead02b24d13b4df685bf59933f2a /libvirt-admin.pc.in
parent653acbfd62c00f8242470fad9aa258f9f17c042b (diff)
downloadlibvirt-55e0c840afde18f4b2bfde8b3436505442a9631c.tar.gz
Add libvirt-admin library
Initial scratch of the admin library. It has its own virAdmConnectPtr that inherits from virAbstractConnectPtr and thus trivially supports error reporting. There's pkg-config file added and spec-file adjusted as well. Since the library should be "minimalistic" and not depend on any other library, the list of files is especially crafted for it. Most of them could've been put to it's own sub-libraries that would be LIBADD'd to libvirt_util, libvirt_net_rpc and libvirt_setuid_rpc_client to minimize the number of object files being built, but that's a refactoring that isn't the orginal aim of this commit. Signed-off-by: Martin Kletzander <mkletzan@redhat.com>
Diffstat (limited to 'libvirt-admin.pc.in')
-rw-r--r--libvirt-admin.pc.in13
1 files changed, 13 insertions, 0 deletions
diff --git a/libvirt-admin.pc.in b/libvirt-admin.pc.in
new file mode 100644
index 0000000000..76126aefc1
--- /dev/null
+++ b/libvirt-admin.pc.in
@@ -0,0 +1,13 @@
+prefix=@prefix@
+exec_prefix=@exec_prefix@
+libdir=@libdir@
+includedir=@includedir@
+datarootdir=@datarootdir@
+
+libvirt_admin_api=@datadir@/libvirt/api/libvirt-admin-api.xml
+
+Name: libvirt-admin
+Version: @VERSION@
+Description: libvirt admin library
+Libs: -L${libdir} -lvirt-admin
+Cflags: -I${includedir}