packaging: Update dependencies and bump version to 0.9.23
[profile/ivi/ico-uxf-weston-plugin.git] / tests / Makefile.am
1 TESTS_ENVIRONMENT = $(SHELL) $(top_srcdir)/tests/weston-plugin-test
2
3 export abs_builddir
4
5 EFL_INCLUDE = `pkg-config --cflags ecore-evas ecore evas`
6 GENIVI_INCLUDE = -I/usr/include/ilm -I/usr/include/layermanager
7 GENIVI_LIBS = -lilmCommon -lilmControl -lilmClient
8
9 AM_CFLAGS = $(GCC_CFLAGS) $(EFL_INCLUDE)
10 AM_CPPFLAGS = -I$(top_srcdir)/src -DUNIT_TEST $(COMPOSITOR_CFLAGS)
11
12 noinst_PROGRAMS =               \
13         test-homescreen         \
14         test-client                     \
15         test-eflapp
16
17 check_LTLIBRARIES = $(TESTS)
18 check_PROGRAMS = test-homescreen test-client test-eflapp
19
20 AM_LDFLAGS = -module -avoid-version -rpath $(libdir) -lwayland-egl -lEGL -lGLESv2
21
22 test_common_src = test-common.c test-common.h
23 test_protocol_lib = ../src/.libs/libico-uxf-weston-plugin.so
24 test_efl_libs = -lecore_evas -lecore -levas
25 test_wayland_client = -lwayland-client
26
27 test_homescreen_SOURCES = test-homescreen.c $(test_common_src) test-thumbnail.c
28 test_homescreen_CFLAGS = $(GENIVI_INCLUDE) $(GCC_CFLAGS) $(EXT_CFLAGS) $(PLUGIN_CFLAGS)
29 test_homescreen_LDADD = $(GENIVI_LIBS) $(SIMPLE_CLIENT_LIBS) $(test_protocol_lib) $(test_wayland_client) $(PLUGIN_LIBS)
30
31 test_client_SOURCES = test-client.c $(test_common_src)
32 test_client_LDADD = $(SIMPLE_CLIENT_LIBS) $(test_protocol_lib) $(test_wayland_client)
33
34 test_eflapp_SOURCES = test-eflapp.c
35 test_eflapp_LDADD = $(SIMPLE_CLIENT_LIBS) $(test_efl_libs)
36
37 EXTRA_DIST = weston-plugin-test
38