Fix distcheck
[profile/ivi/weston-ivi-shell.git] / clients / Makefile.am
index f3999bf..e323de6 100644 (file)
@@ -2,17 +2,23 @@ noinst_PROGRAMS = $(clients_programs)                 \
        $(poppler_programs)                     \
        $(simple_clients_programs)
 
+libexec_PROGRAMS = $(desktop_shell) $(tablet_shell)
+
 if BUILD_SIMPLE_CLIENTS
-simple_clients_programs = simple-client simple-shm
-simple_client_SOURCES = simple-client.c
-simple_client_LDADD = $(SIMPLE_CLIENT_LIBS) -lm
+simple_clients_programs = simple-egl simple-shm simple-touch
+simple_egl_SOURCES = simple-egl.c
+simple_egl_LDADD = $(SIMPLE_CLIENT_LIBS) -lm
 
 simple_shm_SOURCES = simple-shm.c
 simple_shm_LDADD = $(SIMPLE_CLIENT_LIBS)
+
+simple_touch_SOURCES = simple-touch.c
+simple_touch_LDADD = $(SIMPLE_CLIENT_LIBS)
 endif
 
 if BUILD_CLIENTS
-clients_programs = gears                       \
+clients_programs =                             \
+       gears                                   \
        flower                                  \
        screenshot                              \
        terminal                                \
@@ -20,8 +26,12 @@ clients_programs = gears                     \
        dnd                                     \
        smoke                                   \
        resizor                                 \
+       wscreensaver                            \
        eventdemo
 
+desktop_shell = weston-desktop-shell
+tablet_shell = weston-tablet-shell
+
 noinst_LIBRARIES = libtoytoolkit.a
 
 AM_CFLAGS = $(GCC_CFLAGS)
@@ -32,8 +42,6 @@ AM_CPPFLAGS =                                 \
 libtoytoolkit_a_SOURCES =                      \
        window.c                                \
        window.h                                \
-       wayland-glib.c                          \
-       wayland-glib.h                          \
        cairo-util.c                            \
        cairo-util.h
 
@@ -65,12 +73,41 @@ smoke_LDADD = $(toolkit_libs)
 resizor_SOURCES = resizor.c
 resizor_LDADD = $(toolkit_libs)
 
+wscreensaver_SOURCES =                         \
+       wscreensaver.c                          \
+       wscreensaver.h                          \
+       desktop-shell-client-protocol.h         \
+       desktop-shell-protocol.c                \
+       wscreensaver-glue.c                     \
+       wscreensaver-glue.h                     \
+       glmatrix.c                              \
+       matrix3.xpm
+wscreensaver_LDADD = $(toolkit_libs) -lGLU
+
 eventdemo_SOURCES = eventdemo.c
 eventdemo_LDADD = $(toolkit_libs)
 
+weston_desktop_shell_SOURCES =                 \
+       desktop-shell.c                         \
+       desktop-shell-client-protocol.h         \
+       desktop-shell-protocol.c
+weston_desktop_shell_LDADD = $(toolkit_libs)   \
+       ../shared/libconfig-parser.la
+
+weston_tablet_shell_SOURCES =                  \
+       tablet-shell.c                          \
+       tablet-shell-client-protocol.h          \
+       tablet-shell-protocol.c
+weston_tablet_shell_LDADD = $(toolkit_libs)    \
+       ../shared/libconfig-parser.la
+
 BUILT_SOURCES =                                        \
        screenshooter-client-protocol.h         \
-       screenshooter-protocol.c
+       screenshooter-protocol.c                \
+       desktop-shell-client-protocol.h         \
+       desktop-shell-protocol.c                \
+       tablet-shell-client-protocol.h          \
+       tablet-shell-protocol.c
 
 CLEANFILES = $(BUILT_SOURCES)
 endif