autotools: Rename demo clients

Prefix demo clients names with weston-, so they can
be installed if user desires.
dev
Armin K 11 years ago committed by Kristian Høgsberg
parent 0af26c4fe7
commit 77ab1721b8
  1. 134
      clients/Makefile.am

@ -25,46 +25,46 @@ AM_CPPFLAGS = \
if BUILD_SIMPLE_CLIENTS if BUILD_SIMPLE_CLIENTS
simple_clients_programs = \ simple_clients_programs = \
simple-shm \ weston-simple-shm \
simple-touch weston-simple-touch
simple_shm_SOURCES = simple-shm.c \ weston_simple_shm_SOURCES = simple-shm.c \
../shared/os-compatibility.c \ ../shared/os-compatibility.c \
../shared/os-compatibility.h ../shared/os-compatibility.h
simple_shm_CPPFLAGS = $(SIMPLE_CLIENT_CFLAGS) weston_simple_shm_CPPFLAGS = $(SIMPLE_CLIENT_CFLAGS)
simple_shm_LDADD = $(SIMPLE_CLIENT_LIBS) weston_simple_shm_LDADD = $(SIMPLE_CLIENT_LIBS)
simple_touch_SOURCES = simple-touch.c \ weston_simple_touch_SOURCES = simple-touch.c \
../shared/os-compatibility.c \ ../shared/os-compatibility.c \
../shared/os-compatibility.h ../shared/os-compatibility.h
simple_touch_CPPFLAGS = $(SIMPLE_CLIENT_CFLAGS) weston_simple_touch_CPPFLAGS = $(SIMPLE_CLIENT_CFLAGS)
simple_touch_LDADD = $(SIMPLE_CLIENT_LIBS) weston_simple_touch_LDADD = $(SIMPLE_CLIENT_LIBS)
endif endif
if BUILD_SIMPLE_EGL_CLIENTS if BUILD_SIMPLE_EGL_CLIENTS
simple_egl_clients_programs = \ weston_simple_egl_clients_programs = \
simple-egl simple-egl
simple_egl_SOURCES = simple-egl.c weston_simple_egl_SOURCES = simple-egl.c
simple_egl_CPPFLAGS = $(SIMPLE_EGL_CLIENT_CFLAGS) weston_simple_egl_CPPFLAGS = $(SIMPLE_EGL_CLIENT_CFLAGS)
simple_egl_LDADD = $(SIMPLE_EGL_CLIENT_LIBS) -lm weston_simple_egl_LDADD = $(SIMPLE_EGL_CLIENT_LIBS) -lm
endif endif
if BUILD_CLIENTS if BUILD_CLIENTS
terminal = weston-terminal terminal = weston-terminal
clients_programs = \ clients_programs = \
flower \ weston-flower \
image \ weston-image \
cliptest \ weston-cliptest \
dnd \ weston-dnd \
smoke \ weston-smoke \
resizor \ weston-resizor \
eventdemo \ weston-eventdemo \
clickdot \ weston-clickdot \
transformed \ weston-transformed \
fullscreen \ weston-fullscreen \
calibrator \ weston-calibrator \
$(subsurfaces) \ $(subsurfaces) \
$(full_gl_client_programs) \ $(full_gl_client_programs) \
$(cairo_glesv2_programs) $(cairo_glesv2_programs)
@ -94,8 +94,8 @@ libtoytoolkit_la_LIBADD = \
$(CAIRO_EGL_LIBS) \ $(CAIRO_EGL_LIBS) \
../shared/libshared-cairo.la -lrt -lm ../shared/libshared-cairo.la -lrt -lm
flower_SOURCES = flower.c weston_flower_SOURCES = flower.c
flower_LDADD = libtoytoolkit.la weston_flower_LDADD = libtoytoolkit.la
weston_screenshooter_SOURCES = \ weston_screenshooter_SOURCES = \
screenshot.c \ screenshot.c \
@ -106,62 +106,64 @@ weston_screenshooter_LDADD = libtoytoolkit.la
weston_terminal_SOURCES = terminal.c weston_terminal_SOURCES = terminal.c
weston_terminal_LDADD = libtoytoolkit.la -lutil weston_terminal_LDADD = libtoytoolkit.la -lutil
image_SOURCES = image.c weston_image_SOURCES = image.c
image_LDADD = libtoytoolkit.la weston_image_LDADD = libtoytoolkit.la
cliptest_SOURCES = cliptest.c weston_cliptest_SOURCES = cliptest.c
cliptest_CPPFLAGS = $(AM_CPPFLAGS) $(PIXMAN_CFLAGS) weston_cliptest_CPPFLAGS = $(AM_CPPFLAGS) $(PIXMAN_CFLAGS)
cliptest_LDADD = libtoytoolkit.la $(PIXMAN_LIBS) weston_cliptest_LDADD = libtoytoolkit.la $(PIXMAN_LIBS)
dnd_SOURCES = dnd.c weston_dnd_SOURCES = dnd.c
dnd_LDADD = libtoytoolkit.la weston_dnd_LDADD = libtoytoolkit.la
smoke_SOURCES = smoke.c weston_smoke_SOURCES = smoke.c
smoke_LDADD = libtoytoolkit.la weston_smoke_LDADD = libtoytoolkit.la
resizor_SOURCES = resizor.c weston_resizor_SOURCES = resizor.c
resizor_LDADD = libtoytoolkit.la weston_resizor_LDADD = libtoytoolkit.la
if HAVE_CAIRO_GLESV2 if HAVE_CAIRO_GLESV2
cairo_glesv2_programs = nested nested-client cairo_glesv2_programs = weston-nested weston-nested-client
nested_SOURCES = nested.c weston_nested_SOURCES = nested.c
nested_LDADD = libtoytoolkit.la $(SERVER_LIBS) weston_nested_LDADD = libtoytoolkit.la $(SERVER_LIBS)
nested_client_SOURCES = nested-client.c weston_nested_client_SOURCES = nested-client.c
nested_client_LDADD = $(SIMPLE_EGL_CLIENT_LIBS) -lm weston_nested_client_LDADD = $(SIMPLE_EGL_CLIENT_LIBS) -lm
endif endif
eventdemo_SOURCES = eventdemo.c weston_eventdemo_SOURCES = eventdemo.c
eventdemo_LDADD = libtoytoolkit.la weston_eventdemo_LDADD = libtoytoolkit.la
clickdot_SOURCES = clickdot.c weston_clickdot_SOURCES = clickdot.c
clickdot_LDADD = libtoytoolkit.la weston_clickdot_LDADD = libtoytoolkit.la
transformed_SOURCES = transformed.c weston_transformed_SOURCES = transformed.c
transformed_LDADD = libtoytoolkit.la weston_transformed_LDADD = libtoytoolkit.la
fullscreen_SOURCES = fullscreen.c weston_fullscreen_SOURCES = fullscreen.c
fullscreen_LDADD = libtoytoolkit.la weston_fullscreen_LDADD = libtoytoolkit.la
calibrator_SOURCES = calibrator.c ../shared/matrix.c ../shared/matrix.h weston_calibrator_SOURCES = calibrator.c \
calibrator_LDADD = libtoytoolkit.la ../shared/matrix.c \
../shared/matrix.h
weston_calibrator_LDADD = libtoytoolkit.la
if BUILD_SUBSURFACES_CLIENT if BUILD_SUBSURFACES_CLIENT
subsurfaces = subsurfaces subsurfaces = weston-subsurfaces
subsurfaces_SOURCES = subsurfaces.c weston_subsurfaces_SOURCES = subsurfaces.c
subsurfaces_CPPFLAGS = $(AM_CPPFLAGS) $(SIMPLE_EGL_CLIENT_CFLAGS) weston_subsurfaces_CPPFLAGS = $(AM_CPPFLAGS) $(SIMPLE_EGL_CLIENT_CFLAGS)
subsurfaces_LDADD = libtoytoolkit.la $(SIMPLE_EGL_CLIENT_LIBS) -lm weston_subsurfaces_LDADD = libtoytoolkit.la $(SIMPLE_EGL_CLIENT_LIBS) -lm
endif endif
if HAVE_PANGO if HAVE_PANGO
pango_programs = editor pango_programs = weston-editor
editor_SOURCES = \ weston_editor_SOURCES = \
editor.c \ editor.c \
text-protocol.c \ text-protocol.c \
text-client-protocol.h text-client-protocol.h
editor_LDADD = libtoytoolkit.la $(PANGO_LIBS) weston_editor_LDADD = libtoytoolkit.la $(PANGO_LIBS)
editor_CPPFLAGS = $(AM_CPPFLAGS) $(PANGO_CFLAGS) weston_editor_CPPFLAGS = $(AM_CPPFLAGS) $(PANGO_CFLAGS)
endif endif
keyboard = weston-keyboard keyboard = weston-keyboard
@ -219,10 +221,10 @@ CLEANFILES = $(BUILT_SOURCES)
endif endif
if BUILD_FULL_GL_CLIENTS if BUILD_FULL_GL_CLIENTS
full_gl_client_programs = gears full_gl_client_programs = weston-gears
gears_SOURCES = gears.c weston_gears_SOURCES = gears.c
gears_LDADD = libtoytoolkit.la weston_gears_LDADD = libtoytoolkit.la
if HAVE_GLU if HAVE_GLU
screensaver = weston-screensaver screensaver = weston-screensaver
@ -244,8 +246,8 @@ endif
@wayland_scanner_rules@ @wayland_scanner_rules@
if HAVE_POPPLER if HAVE_POPPLER
poppler_programs = view poppler_programs = weston-view
view_SOURCES = view.c weston_view_SOURCES = view.c
view_LDADD = libtoytoolkit.la $(POPPLER_LIBS) weston_view_LDADD = libtoytoolkit.la $(POPPLER_LIBS)
view_CPPFLAGS = $(AM_CPPFLAGS) $(POPPLER_CFLAGS) weston_view_CPPFLAGS = $(AM_CPPFLAGS) $(POPPLER_CFLAGS)
endif endif

Loading…
Cancel
Save