Move xwayland up one directory level
authorKristian Høgsberg <krh@bitplanet.net>
Wed, 4 Dec 2013 00:38:15 +0000 (16:38 -0800)
committerKristian Høgsberg <krh@bitplanet.net>
Wed, 4 Dec 2013 18:20:02 +0000 (10:20 -0800)
Makefile.am
configure.ac
src/Makefile.am
xwayland/Makefile.am [moved from src/xwayland/Makefile.am with 94% similarity]
xwayland/dnd.c [moved from src/xwayland/dnd.c with 99% similarity]
xwayland/hash.c [moved from src/xwayland/hash.c with 100% similarity]
xwayland/hash.h [moved from src/xwayland/hash.h with 100% similarity]
xwayland/launcher.c [moved from src/xwayland/launcher.c with 100% similarity]
xwayland/selection.c [moved from src/xwayland/selection.c with 100% similarity]
xwayland/window-manager.c [moved from src/xwayland/window-manager.c with 99% similarity]
xwayland/xwayland.h [moved from src/xwayland/xwayland.h with 99% similarity]

index 3a7d337..ab4308f 100644 (file)
@@ -2,7 +2,20 @@ if BUILD_WCAP_TOOLS
 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
 
index 6c1035a..fd7dc1f 100644 (file)
@@ -490,7 +490,7 @@ AM_CONDITIONAL([HAVE_XMLLINT], [test "x$XMLLINT" != "x" -a "x$dtddir" != "x"])
 AC_CONFIG_FILES([Makefile
                 shared/Makefile
                 src/Makefile
-                src/xwayland/Makefile
+                xwayland/Makefile
                 src/version.h
                 src/weston.pc
                 clients/Makefile
index f61e4bd..77df381 100644 (file)
@@ -75,13 +75,6 @@ git-version.h : .FORCE
 
 .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
similarity index 94%
rename from src/xwayland/Makefile.am
rename to xwayland/Makefile.am
index cab59c7..434234a 100644 (file)
@@ -1,6 +1,8 @@
 AM_CPPFLAGS =                                  \
        -I$(top_srcdir)/shared                  \
+       -I$(top_srcdir)/src                     \
        -I$(top_builddir)/src                   \
+       -I$(top_builddir)/xwayland              \
        -DDATADIR='"$(datadir)"'                \
        -DMODULEDIR='"$(moduledir)"'            \
        -DLIBEXECDIR='"$(libexecdir)"'          \
similarity index 99%
rename from src/xwayland/dnd.c
rename to xwayland/dnd.c
index 1fea3ef..daeb08d 100644 (file)
@@ -35,8 +35,8 @@
 
 #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"
 
similarity index 100%
rename from src/xwayland/hash.c
rename to xwayland/hash.c
similarity index 100%
rename from src/xwayland/hash.h
rename to xwayland/hash.h
similarity index 100%
rename from src/xwayland/launcher.c
rename to xwayland/launcher.c
similarity index 99%
rename from src/xwayland/window-manager.c
rename to xwayland/window-manager.c
index eea0349..4bce02d 100644 (file)
@@ -36,8 +36,8 @@
 
 #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"
 
similarity index 99%
rename from src/xwayland/xwayland.h
rename to xwayland/xwayland.h
index 77262e8..c684cc5 100644 (file)
@@ -26,7 +26,7 @@
 #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)