tests: add backlight test
[platform/upstream/weston.git] / tests / Makefile.am
1 if BUILD_TESTS
2
3 noinst_PROGRAMS = matrix-test setbacklight
4
5 endif
6
7
8 AM_CFLAGS = $(GCC_CFLAGS)
9 AM_CPPFLAGS = -I$(top_srcdir)/src -DUNIT_TEST $(COMPOSITOR_CFLAGS)
10
11 matrix_test_SOURCES =                           \
12         matrix-test.c                           \
13         $(top_srcdir)/src/matrix.c              \
14         $(top_srcdir)/src/matrix.h
15 matrix_test_LDADD = -lm -lrt
16
17 setbacklight_SOURCES =                          \
18         setbacklight.c                          \
19         $(top_srcdir)/src/libbacklight.c        \
20         $(top_srcdir)/src/libbacklight.h
21
22 setbacklight_LDADD = -ludev -ldrm