mirror of
https://gitlab.freedesktop.org/wayland/weston.git
synced 2026-05-01 20:48:03 +02:00
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.
21 lines
473 B
Makefile
21 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
|