[clutter/fosdem-2012] wayland: install wayland compositor headers + pkgconfig file
- From: Robert Bragg <rbragg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [clutter/fosdem-2012] wayland: install wayland compositor headers + pkgconfig file
- Date: Mon, 9 Jan 2012 19:18:05 +0000 (UTC)
commit 7a32cc2abc3a5d9c7357e911dd103dd17189b8d6
Author: Robert Bragg <robert linux intel com>
Date: Thu Jan 5 14:33:35 2012 +0000
wayland: install wayland compositor headers + pkgconfig file
If wayland compositor support has been enabled then we make sure to
install the corresponding public headers and a
clutter-wayland-compositor.pc pkgconfig file.
clutter/Makefile.am | 11 ++++++++++-
1 files changed, 10 insertions(+), 1 deletions(-)
---
diff --git a/clutter/Makefile.am b/clutter/Makefile.am
index 115ee61..664bfe7 100644
--- a/clutter/Makefile.am
+++ b/clutter/Makefile.am
@@ -600,11 +600,20 @@ backend_source_c += \
endif # SUPPORT_WAYLAND
if SUPPORT_WAYLAND_COMPOSITOR
-backend_source_h += \
+wayland_compositor_source_h = \
$(srcdir)/wayland/clutter-wayland-compositor.h \
$(srcdir)/wayland/clutter-wayland-surface.h
+backend_source_h += $(wayland_compositor_source_h)
backend_source_c += \
$(srcdir)/wayland/clutter-wayland-surface.c
+
+wayland_compositor_includedir = $(clutter_includedir)/wayland
+wayland_compositor_include_HEADERS = $(wayland_compositor_source_h)
+
+clutter-wayland-compositor-$(CLUTTER_API_VERSION).pc: clutter-$(CLUTTER_API_VERSION).pc
+ $(QUIET_GEN)cp -f $< $(@F)
+
+pc_files += clutter-wayland-compositor-$(CLUTTER_API_VERSION).pc
endif
if SUPPORT_EGL
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]