summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2013-11-07 03:27:58 +0100
committerLennart Poettering <lennart@poettering.net>2013-11-07 03:27:58 +0100
commitc3b8df24a9eee82b1414ad345d2e181382d2a62a (patch)
treea9593d0b6fc812bb85a7a67c0f3c0fde073a67cd
parentc8a8806e7705cb2e465b6727415c955fd5ef194b (diff)
build-sys: add .pc file for libsystemd-bus
-rw-r--r--Makefile.am4
-rw-r--r--src/libsystemd-bus/.gitignore1
-rw-r--r--src/libsystemd-bus/libsystemd-bus.pc.in18
3 files changed, 23 insertions, 0 deletions
diff --git a/Makefile.am b/Makefile.am
index a49d073a68..6810cc1bf3 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -1992,7 +1992,11 @@ libsystemd_bus_la_LDFLAGS = \
-version-info $(LIBSYSTEMD_BUS_CURRENT):$(LIBSYSTEMD_BUS_REVISION):$(LIBSYSTEMD_BUS_AGE) \
-Wl,--version-script=$(top_srcdir)/src/libsystemd-bus/libsystemd-bus.sym
+pkgconfiglib_DATA += \
+ src/libsystemd-bus/libsystemd-bus.pc
+
EXTRA_DIST += \
+ src/libsystemd-bus/libsystemd-bus.pc.in \
src/libsystemd-bus/libsystemd-bus.sym
lib_LTLIBRARIES += \
diff --git a/src/libsystemd-bus/.gitignore b/src/libsystemd-bus/.gitignore
new file mode 100644
index 0000000000..5f797a28d5
--- /dev/null
+++ b/src/libsystemd-bus/.gitignore
@@ -0,0 +1 @@
+/libsystemd-bus.pc
diff --git a/src/libsystemd-bus/libsystemd-bus.pc.in b/src/libsystemd-bus/libsystemd-bus.pc.in
new file mode 100644
index 0000000000..7b0feb5ec5
--- /dev/null
+++ b/src/libsystemd-bus/libsystemd-bus.pc.in
@@ -0,0 +1,18 @@
+# This file is part of systemd.
+#
+# systemd is free software; you can redistribute it and/or modify it
+# under the terms of the GNU Lesser General Public License as published by
+# the Free Software Foundation; either version 2.1 of the License, or
+# (at your option) any later version.
+
+prefix=@prefix@
+exec_prefix=@exec_prefix@
+libdir=@libdir@
+includedir=@includedir@
+
+Name: systemd
+Description: systemd Bus and Event Loop Library
+URL: @PACKAGE_URL@
+Version: @PACKAGE_VERSION@
+Libs: -L${libdir} -lsystemd-bus
+Cflags: -I${includedir}