wcap_subdir = wcap
endif
-SUBDIRS = shared src clients data protocol tests $(wcap_subdir) man
+if ENABLE_XWAYLAND
+xwayland_subdir = xwayland
+endif
+
+SUBDIRS = \
+ shared \
+ src \
+ $(xwayland_subdir) \
+ clients \
+ data \
+ protocol \
+ tests \
+ $(wcap_subdir) \
+ man
DISTCHECK_CONFIGURE_FLAGS = --disable-setuid-install
AC_CONFIG_FILES([Makefile
shared/Makefile
src/Makefile
- src/xwayland/Makefile
+ xwayland/Makefile
src/version.h
src/weston.pc
clients/Makefile
.FORCE :
-if ENABLE_XWAYLAND
-SUBDIRS = xwayland
-endif
-
-DIST_SUBDIRS = xwayland
-
-
if BUILD_WESTON_LAUNCH
weston_launch = weston-launch
weston_launch_SOURCES = weston-launch.c weston-launch.h
AM_CPPFLAGS = \
-I$(top_srcdir)/shared \
+ -I$(top_srcdir)/src \
-I$(top_builddir)/src \
+ -I$(top_builddir)/xwayland \
-DDATADIR='"$(datadir)"' \
-DMODULEDIR='"$(moduledir)"' \
-DLIBEXECDIR='"$(libexecdir)"' \
#include "xwayland.h"
-#include "../../shared/cairo-util.h"
-#include "../compositor.h"
+#include "cairo-util.h"
+#include "compositor.h"
#include "xserver-server-protocol.h"
#include "hash.h"
#include "xwayland.h"
-#include "../../shared/cairo-util.h"
-#include "../compositor.h"
+#include "cairo-util.h"
+#include "compositor.h"
#include "xserver-server-protocol.h"
#include "hash.h"
#include <xcb/composite.h>
#include <cairo/cairo-xcb.h>
-#include "../compositor.h"
+#include "compositor.h"
#define SEND_EVENT_MASK (0x80)
#define EVENT_TYPE(event) ((event)->response_type & ~SEND_EVENT_MASK)