summaryrefslogtreecommitdiff
path: root/tests/kms/Makefile.am
blob: 6645af7acae7f154960e0447446339bd33503bcf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
AM_CPPFLAGS = \
	-I$(top_srcdir)/include/drm \
	-I$(top_srcdir)/tests \
	-I$(top_srcdir)

AM_CFLAGS = \
	$(WARN_CFLAGS)

noinst_LTLIBRARIES = libkms-test.la

libkms_test_la_SOURCES = \
	libkms-test.h \
	libkms-test-crtc.c \
	libkms-test-device.c \
	libkms-test-framebuffer.c \
	libkms-test-plane.c \
	libkms-test-screen.c

libkms_test_la_LIBADD = \
	$(top_builddir)/libdrm.la

if HAVE_INSTALL_TESTS
bin_PROGRAMS = \
	kms-steal-crtc \
	kms-universal-planes
else
noinst_PROGRAMS = \
	kms-steal-crtc \
	kms-universal-planes
endif

kms_steal_crtc_SOURCES = kms-steal-crtc.c
kms_steal_crtc_LDADD = libkms-test.la ../util/libutil.la $(CAIRO_LIBS)

kms_universal_planes_SOURCES = kms-universal-planes.c
kms_universal_planes_LDADD = libkms-test.la $(CAIRO_LIBS)