1 TESTS_ENVIRONMENT = $(SHELL) $(top_srcdir)/tests/weston-plugin-test
5 EFL_INCLUDE = `pkg-config --cflags ecore-evas ecore evas ecore-wayland elementary`
6 AM_CFLAGS = $(GCC_CFLAGS) $(EFL_INCLUDE)
7 AM_CPPFLAGS = -I$(top_srcdir)/src -DUNIT_TEST $(COMPOSITOR_CFLAGS)
15 check_LTLIBRARIES = $(TESTS)
16 check_PROGRAMS = test-homescreen test-client test-eflapp test-send_event
18 AM_LDFLAGS = -module -avoid-version -rpath $(libdir) -lwayland-egl -lEGL -lGLESv2
20 test_common_src = test-common.c test-common.h
21 test_protocol_lib = ../src/.libs/libico-uxf-weston-plugin.so
22 test_efl_libs = -lecore_evas -lecore -levas -lecore_wayland -lelementary
23 test_wayland_client = -lwayland-client
25 test_send_event_SOURCES = test-send_event.c $(test_common_src)
26 test_send_event_LDADD = $(SIMPLE_CLIENT_LIBS) $(test_wayland_client)
28 test_homescreen_SOURCES = test-homescreen.c $(test_common_src)
29 test_homescreen_LDADD = $(SIMPLE_CLIENT_LIBS) $(test_protocol_lib) $(test_wayland_client)
31 test_client_SOURCES = test-client.c $(test_common_src)
32 test_client_LDADD = $(SIMPLE_CLIENT_LIBS) $(test_protocol_lib) $(test_wayland_client)
34 test_eflapp_SOURCES = test-eflapp.c
35 test_eflapp_LDADD = $(SIMPLE_CLIENT_LIBS) $(test_efl_libs)
37 EXTRA_DIST = weston-plugin-test