summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPekka Paalanen <ppaalanen@gmail.com>2012-05-29 16:53:20 +0300
committerKristian Høgsberg <krh@bitplanet.net>2012-05-29 10:09:59 -0400
commit693e5983f424deee79367db8aba5d9ffb8fa144a (patch)
treeaabeac3d6bb36e66895a38b0a14bc8535852b16a
parente4efef869e0ef1313d016d7ecd19f5f820a041a7 (diff)
build: add uninstalled pkg-config files
Required for building apps against wayland libraries that have not been installed. Signed-off-by: Pekka Paalanen <ppaalanen@gmail.com>
-rw-r--r--configure.ac3
-rw-r--r--cursor/wayland-cursor-uninstalled.pc.in8
-rw-r--r--src/wayland-client-uninstalled.pc.in8
-rw-r--r--src/wayland-server-uninstalled.pc.in8
4 files changed, 27 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index ebbcd49..a682c9a 100644
--- a/configure.ac
+++ b/configure.ac
@@ -80,9 +80,12 @@ AC_CONFIG_FILES([Makefile
wayland-scanner.m4
cursor/Makefile
cursor/wayland-cursor.pc
+ cursor/wayland-cursor-uninstalled.pc
doc/Makefile
doc/Wayland/Makefile
src/Makefile
+ src/wayland-server-uninstalled.pc
+ src/wayland-client-uninstalled.pc
src/wayland-server.pc
src/wayland-client.pc
src/wayland-version.h
diff --git a/cursor/wayland-cursor-uninstalled.pc.in b/cursor/wayland-cursor-uninstalled.pc.in
new file mode 100644
index 0000000..f52b113
--- /dev/null
+++ b/cursor/wayland-cursor-uninstalled.pc.in
@@ -0,0 +1,8 @@
+libdir=@abs_builddir@/.libs
+includedir=@abs_srcdir@
+
+Name: Wayland Cursor
+Description: Wayland cursor helper library (not installed)
+Version: @WAYLAND_VERSION@
+Cflags: -I${includedir}
+Libs: -L${libdir} -lwayland-cursor
diff --git a/src/wayland-client-uninstalled.pc.in b/src/wayland-client-uninstalled.pc.in
new file mode 100644
index 0000000..3086621
--- /dev/null
+++ b/src/wayland-client-uninstalled.pc.in
@@ -0,0 +1,8 @@
+libdir=@abs_builddir@/.libs
+includedir=@abs_srcdir@
+
+Name: Wayland Client
+Description: Wayland client side library (not installed)
+Version: @PACKAGE_VERSION@
+Cflags: -I${includedir}
+Libs: -L${libdir} -lwayland-client
diff --git a/src/wayland-server-uninstalled.pc.in b/src/wayland-server-uninstalled.pc.in
new file mode 100644
index 0000000..9057782
--- /dev/null
+++ b/src/wayland-server-uninstalled.pc.in
@@ -0,0 +1,8 @@
+libdir=@abs_builddir@/.libs
+includedir=@abs_srcdir@
+
+Name: Wayland Server
+Description: Server side implementation of the Wayland protocol (not installed)
+Version: @PACKAGE_VERSION@
+Cflags: -I${includedir}
+Libs: -L${libdir} -lwayland-server