mirror of
https://gitlab.freedesktop.org/mesa/drm.git
synced 2026-05-30 00:28:18 +02:00
We don't want to build libdrm tests with Cairo support under Poky, since they're never used and also cause a build loop from libdrm -> cairo -> mesa-dri -> libdrm. To avoid variance in build results, introduce a --disable-cairo-tests switch. Signed-off-by: Daniel Stone <daniel@fooishbar.org> Signed-off-by: Dave Airlie <airlied@redhat.com>
19 lines
339 B
Makefile
19 lines
339 B
Makefile
AM_CFLAGS = \
|
|
-I$(top_srcdir)/include/drm \
|
|
-I$(top_srcdir)/libkms/ \
|
|
-I$(top_srcdir)
|
|
|
|
noinst_PROGRAMS = \
|
|
modetest
|
|
|
|
modetest_SOURCES = \
|
|
buffers.c modetest.c buffers.h
|
|
|
|
modetest_LDADD = \
|
|
$(top_builddir)/libdrm.la \
|
|
$(top_builddir)/libkms/libkms.la
|
|
|
|
if HAVE_CAIRO
|
|
AM_CFLAGS += $(CAIRO_CFLAGS)
|
|
modetest_LDADD += $(CAIRO_LIBS)
|
|
endif
|