8 $(simple_clients_programs)
16 AM_CFLAGS = $(GCC_CFLAGS)
18 -DDATADIR='"$(datadir)"' \
19 -DBINDIR='"$(bindir)"' \
20 $(CLIENT_CFLAGS) $(CAIRO_EGL_CFLAGS)
22 if BUILD_SIMPLE_CLIENTS
23 simple_clients_programs = \
28 simple_egl_SOURCES = simple-egl.c
29 simple_egl_CPPFLAGS = $(SIMPLE_CLIENT_CFLAGS)
30 simple_egl_LDADD = $(SIMPLE_CLIENT_LIBS) -lm
32 simple_shm_SOURCES = simple-shm.c \
33 ../shared/os-compatibility.c \
34 ../shared/os-compatibility.h
35 simple_shm_CPPFLAGS = $(SIMPLE_CLIENT_CFLAGS)
36 simple_shm_LDADD = $(SIMPLE_CLIENT_LIBS)
38 simple_touch_SOURCES = simple-touch.c \
39 ../shared/os-compatibility.c \
40 ../shared/os-compatibility.h
41 simple_touch_CPPFLAGS = $(SIMPLE_CLIENT_CFLAGS)
42 simple_touch_LDADD = $(SIMPLE_CLIENT_LIBS)
46 terminal = weston-terminal
59 $(full_gl_client_programs)
61 desktop_shell = weston-desktop-shell
62 tablet_shell = weston-tablet-shell
63 screenshooter = weston-screenshooter
65 noinst_LIBRARIES = libtoytoolkit.a
67 libtoytoolkit_a_SOURCES = \
70 text-cursor-position-protocol.c \
71 text-cursor-position-client-protocol.h \
72 workspaces-protocol.c \
73 workspaces-client-protocol.h
77 ../shared/libshared.la \
78 $(CLIENT_LIBS) $(CAIRO_EGL_LIBS) -lrt -lm
80 flower_SOURCES = flower.c
81 flower_LDADD = $(toolkit_libs)
83 weston_screenshooter_SOURCES = screenshot.c screenshooter-protocol.c
84 weston_screenshooter_LDADD = $(toolkit_libs)
86 weston_terminal_SOURCES = terminal.c
87 weston_terminal_LDADD = $(toolkit_libs) -lutil
89 image_SOURCES = image.c
90 image_LDADD = $(toolkit_libs)
92 cliptest_SOURCES = cliptest.c
93 cliptest_CPPFLAGS = $(AM_CPPFLAGS) $(PIXMAN_CFLAGS)
94 cliptest_LDADD = $(toolkit_libs) $(PIXMAN_LIBS)
97 dnd_LDADD = $(toolkit_libs)
99 smoke_SOURCES = smoke.c
100 smoke_LDADD = $(toolkit_libs)
102 resizor_SOURCES = resizor.c
103 resizor_LDADD = $(toolkit_libs)
105 eventdemo_SOURCES = eventdemo.c
106 eventdemo_LDADD = $(toolkit_libs)
108 clickdot_SOURCES = clickdot.c
109 clickdot_LDADD = $(toolkit_libs)
114 text-client-protocol.h
115 editor_LDADD = $(toolkit_libs)
119 desktop-shell-client-protocol.h \
120 desktop-shell-protocol.c \
121 input-method-protocol.c \
122 input-method-client-protocol.h
123 keyboard_LDADD = $(toolkit_libs)
125 weston_info_SOURCES = \
127 ../shared/os-compatibility.c \
128 ../shared/os-compatibility.h
129 weston_info_LDADD = $(WESTON_INFO_LIBS)
131 weston_desktop_shell_SOURCES = \
133 desktop-shell-client-protocol.h \
134 desktop-shell-protocol.c
135 weston_desktop_shell_LDADD = $(toolkit_libs)
137 weston_tablet_shell_SOURCES = \
139 tablet-shell-client-protocol.h \
140 tablet-shell-protocol.c
141 weston_tablet_shell_LDADD = $(toolkit_libs)
144 screenshooter-client-protocol.h \
145 screenshooter-protocol.c \
146 text-cursor-position-client-protocol.h \
147 text-cursor-position-protocol.c \
149 text-client-protocol.h \
150 input-method-protocol.c \
151 input-method-client-protocol.h \
152 desktop-shell-client-protocol.h \
153 desktop-shell-protocol.c \
154 tablet-shell-client-protocol.h \
155 tablet-shell-protocol.c \
156 workspaces-client-protocol.h \
157 workspaces-protocol.c
159 CLEANFILES = $(BUILT_SOURCES)
162 if BUILD_FULL_GL_CLIENTS
163 full_gl_client_programs = gears
165 gears_SOURCES = gears.c
166 gears_LDADD = $(toolkit_libs)
168 screensaver = weston-screensaver
169 weston_screensaver_SOURCES = \
172 desktop-shell-client-protocol.h \
173 desktop-shell-protocol.c \
174 wscreensaver-glue.c \
175 wscreensaver-glue.h \
178 weston_screensaver_LDADD = $(toolkit_libs) -lGLU
181 @wayland_scanner_rules@
184 poppler_programs = view
185 view_SOURCES = view.c
186 view_LDADD = $(toolkit_libs) $(POPPLER_LIBS)
187 view_CPPFLAGS = $(AM_CPPFLAGS) $(POPPLER_CFLAGS)