input: Rename wl_pointer to weston_pointer
[platform/upstream/weston.git] / src / Makefile.am
index 3f5128c..ba08fe8 100644 (file)
@@ -18,6 +18,8 @@ weston_SOURCES =                              \
        log.c                                   \
        compositor.c                            \
        compositor.h                            \
+       input.c                                 \
+       data-device.c                           \
        filter.c                                \
        filter.h                                \
        screenshooter.c                         \
@@ -34,7 +36,8 @@ weston_SOURCES =                              \
        input-method-server-protocol.h          \
        workspaces-protocol.c                   \
        workspaces-server-protocol.h            \
-       util.c                                  \
+       bindings.c                              \
+       animation.c                             \
        gl-renderer.h                           \
        noop-renderer.c                         \
        pixman-renderer.c                       \
@@ -50,7 +53,7 @@ weston_SOURCES +=                             \
 endif
 
 git-version.h : .FORCE
-       $(AM_V_GEN)(echo "#define BUILD_ID \"$(shell git --work-tree=$(top_srcdir) describe --always --dirty) $(shell git --work-tree=$(top_srcdir) log -1 --format='%s (%ci)')\"" > $@-new; \
+       $(AM_V_GEN)(echo "#define BUILD_ID \"$(shell git --git-dir=$(top_srcdir)/.git describe --always --dirty) $(shell git --git-dir=$(top_srcdir)/.git log -1 --format='%s (%ci)')\"" > $@-new; \
        cmp -s $@ $@-new || cp $@-new $@; \
        rm $@-new)
 
@@ -97,7 +100,8 @@ module_LTLIBRARIES =                         \
        $(drm_backend)                          \
        $(wayland_backend)                      \
        $(headless_backend)                     \
-       $(fbdev_backend)
+       $(fbdev_backend)                        \
+       $(rdp_backend)
 
 noinst_LTLIBRARIES =
 
@@ -205,12 +209,27 @@ fbdev_backend_la_CFLAGS = \
 fbdev_backend_la_SOURCES = \
        compositor-fbdev.c \
        tty.c \
+       udev-seat.c \
+       udev-seat.h \
        evdev.c \
        evdev.h \
        evdev-touchpad.c \
        launcher-util.c
 endif
 
+if ENABLE_RDP_COMPOSITOR
+rdp_backend = rdp-backend.la
+rdp_backend_la_LDFLAGS = -module -avoid-version
+rdp_backend_la_LIBADD = $(COMPOSITOR_LIBS) \
+       $(RDP_COMPOSITOR_LIBS) \
+       ../shared/libshared.la
+rdp_backend_la_CFLAGS =                        \
+       $(COMPOSITOR_CFLAGS)                    \
+       $(RDP_COMPOSITOR_CFLAGS) \
+       $(GCC_CFLAGS)
+rdp_backend_la_SOURCES = compositor-rdp.c
+endif
+
 if ENABLE_DESKTOP_SHELL
 desktop_shell = desktop-shell.la
 desktop_shell_la_LDFLAGS = -module -avoid-version