weston/tests/Makefile.am
Kristian Høgsberg 6412718c0d Always build tests
There are no dependencies or requirements there that we don't already
need for weston itself.  So lets just always build them.

Use check_PROGRAMS for the matrix unit test case.
2012-04-11 09:38:32 -04:00

22 lines
473 B
Makefile

TESTS = $(check_PROGRAMS)
check_PROGRAMS = matrix-test
noinst_PROGRAMS = setbacklight
AM_CFLAGS = $(GCC_CFLAGS)
AM_CPPFLAGS = -I$(top_srcdir)/src -DUNIT_TEST $(COMPOSITOR_CFLAGS)
matrix_test_SOURCES = \
matrix-test.c \
$(top_srcdir)/src/matrix.c \
$(top_srcdir)/src/matrix.h
matrix_test_LDADD = -lm -lrt
setbacklight_SOURCES = \
setbacklight.c \
$(top_srcdir)/src/libbacklight.c \
$(top_srcdir)/src/libbacklight.h
setbacklight_LDADD = -ludev -ldrm