1 AM_CPPFLAGS = \ 2 -I$(top_srcdir)/include/drm \ 3 -I$(top_srcdir)/tests \ 4 -I$(top_srcdir) 5 6 AM_CFLAGS = \ 7 $(WARN_CFLAGS) 8 9 noinst_LTLIBRARIES = libkms-test.la 10 11 libkms_test_la_SOURCES = \ 12 libkms-test.h \ 13 libkms-test-crtc.c \ 14 libkms-test-device.c \ 15 libkms-test-framebuffer.c \ 16 libkms-test-plane.c \ 17 libkms-test-screen.c 18 19 libkms_test_la_LIBADD = \ 20 $(top_builddir)/libdrm.la 21 22 if HAVE_INSTALL_TESTS 23 bin_PROGRAMS = \ 24 kms-steal-crtc \ 25 kms-universal-planes 26 else 27 noinst_PROGRAMS = \ 28 kms-steal-crtc \ 29 kms-universal-planes 30 endif 31 32 kms_steal_crtc_SOURCES = kms-steal-crtc.c 33 kms_steal_crtc_LDADD = libkms-test.la ../util/libutil.la $(CAIRO_LIBS) 34 35 kms_universal_planes_SOURCES = kms-universal-planes.c 36 kms_universal_planes_LDADD = libkms-test.la $(CAIRO_LIBS) 37