fd6ebb22fd3d1926060be4dfa94066062e05e590
[platform/upstream/libdrm.git] / tests / modetest / Makefile.am
1 AM_CFLAGS = $(filter-out -Wpointer-arith, $(WARN_CFLAGS))
2
3 AM_CFLAGS += \
4         -I$(top_srcdir)/include/drm \
5         -I$(top_srcdir)/libkms/ \
6         -I$(top_srcdir)
7
8 if HAVE_INSTALL_TESTS
9 bin_PROGRAMS = \
10         modetest
11 else
12 noinst_PROGRAMS = \
13         modetest
14 endif
15
16 modetest_SOURCES = \
17         buffers.c buffers.h \
18         cursor.c cursor.h \
19         modetest.c
20
21 modetest_LDADD = \
22         $(top_builddir)/libdrm.la \
23         $(top_builddir)/libkms/libkms.la
24
25 if HAVE_CAIRO
26 AM_CFLAGS += $(CAIRO_CFLAGS)
27 modetest_LDADD += $(CAIRO_LIBS)
28 endif