1 TESTS_ENVIRONMENT = $(SHELL) $(top_srcdir)/tests/weston-plugin-test
5 EFL_INCLUDE = `pkg-config --cflags ecore-evas ecore evas ecore-wayland elementary`
6 GENIVI_INCLUDE = -I/usr/include/ilm -I/usr/include/layermanager
7 GENIVI_LIBS = -lilmCommon -lilmControl -lilmClient
9 AM_CFLAGS = $(GCC_CFLAGS) $(EFL_INCLUDE)
10 AM_CPPFLAGS = -I$(top_srcdir)/src -DUNIT_TEST $(COMPOSITOR_CFLAGS)
18 check_LTLIBRARIES = $(TESTS)
19 check_PROGRAMS = test-homescreen test-client test-eflapp test-send_event
21 AM_LDFLAGS = -module -avoid-version -rpath $(libdir) -lwayland-egl -lEGL -lGLESv2
23 test_common_src = test-common.c test-common.h
24 test_protocol_lib = ../src/.libs/libico-uxf-weston-plugin.so
25 test_efl_libs = -lecore_evas -lecore -levas -lecore_wayland -lelementary
26 test_wayland_client = -lwayland-client
28 test_send_event_SOURCES = test-send_event.c $(test_common_src)
29 test_send_event_LDADD = $(SIMPLE_CLIENT_LIBS) $(test_wayland_client)
31 test_homescreen_SOURCES = test-homescreen.c $(test_common_src) test-thumbnail.c
32 test_homescreen_CFLAGS = $(GENIVI_INCLUDE) $(GCC_CFLAGS) $(EXT_CFLAGS) $(PLUGIN_CFLAGS)
33 test_homescreen_LDADD = $(GENIVI_LIBS) $(SIMPLE_CLIENT_LIBS) $(test_protocol_lib) $(test_wayland_client) $(PLUGIN_LIBS)
35 test_client_SOURCES = test-client.c $(test_common_src)
36 test_client_LDADD = $(SIMPLE_CLIENT_LIBS) $(test_protocol_lib) $(test_wayland_client)
38 test_eflapp_SOURCES = test-eflapp.c
39 test_eflapp_LDADD = $(SIMPLE_CLIENT_LIBS) $(test_efl_libs)
41 EXTRA_DIST = weston-plugin-test