1 include Makefile.sources
4 TESTS_progs_M += $(NOUVEAU_TESTS_M)
8 all-local: single-tests.txt multi-tests.txt
12 @echo ${single_kernel_tests}
17 @echo ${multi_kernel_tests}
22 @echo ${single_kernel_tests} >> $@
23 @echo END TESTLIST >> $@
27 @echo ${multi_kernel_tests} >> $@
28 @echo END TESTLIST >> $@
30 EXTRA_PROGRAMS = $(TESTS_progs) $(TESTS_progs_M) $(HANG) $(TESTS_testsuite)
31 EXTRA_DIST = $(TESTS_scripts) $(TESTS_scripts_M) $(scripts) $(IMAGES) $(common_files)
33 CLEANFILES = $(EXTRA_PROGRAMS) single-tests.txt multi-tests.txt
35 AM_CFLAGS = $(DRM_CFLAGS) $(CWARNFLAGS) \
38 -include "$(srcdir)/../lib/check-ndebug.h" \
39 -include "$(top_builddir)/version.h" \
40 -DIGT_DATADIR=\""$(abs_srcdir)"\" \
43 LDADD = ../lib/libintel_tools.la $(PCIACCESS_LIBS) $(DRM_LIBS)
45 LDADD += $(CAIRO_LIBS) $(LIBUDEV_LIBS) $(GLIB_LIBS)
46 AM_CFLAGS += $(CAIRO_CFLAGS) $(LIBUDEV_CFLAGS) $(GLIB_CFLAGS)
48 gem_close_race_CFLAGS = $(AM_CFLAGS) $(THREAD_CFLAGS)
49 gem_close_race_LDADD = $(LDADD) -lpthread
50 gem_ctx_basic_CFLAGS = $(AM_CFLAGS) $(THREAD_CFLAGS)
51 gem_ctx_basic_LDADD = $(LDADD) -lpthread
52 gem_fence_thrash_CFLAGS = $(AM_CFLAGS) $(THREAD_CFLAGS)
53 gem_fence_thrash_LDADD = $(LDADD) -lpthread
54 gem_flink_race_CFLAGS = $(AM_CFLAGS) $(THREAD_CFLAGS)
55 gem_flink_race_LDADD = $(LDADD) -lpthread
56 gem_threaded_access_tiled_CFLAGS = $(AM_CFLAGS) $(THREAD_CFLAGS)
57 gem_threaded_access_tiled_LDADD = $(LDADD) -lpthread
58 gem_tiled_swapping_CFLAGS = $(AM_CFLAGS) $(THREAD_CFLAGS)
59 gem_tiled_swapping_LDADD = $(LDADD) -lpthread
60 prime_self_import_CFLAGS = $(AM_CFLAGS) $(THREAD_CFLAGS)
61 prime_self_import_LDADD = $(LDADD) -lpthread
62 gen7_forcewake_mt_CFLAGS = $(AM_CFLAGS) $(THREAD_CFLAGS)
63 gen7_forcewake_mt_LDADD = $(LDADD) -lpthread
65 gem_wait_render_timeout_LDADD = $(LDADD) -lrt
66 kms_flip_LDADD = $(LDADD) -lrt -lpthread
68 prime_nv_test_CFLAGS = $(AM_CFLAGS) $(DRM_NOUVEAU_CFLAGS)
69 prime_nv_test_LDADD = $(LDADD) $(DRM_NOUVEAU_LIBS)
70 prime_nv_api_CFLAGS = $(AM_CFLAGS) $(DRM_NOUVEAU_CFLAGS)
71 prime_nv_api_LDADD = $(LDADD) $(DRM_NOUVEAU_LIBS)
72 prime_nv_pcopy_CFLAGS = $(AM_CFLAGS) $(DRM_NOUVEAU_CFLAGS)
73 prime_nv_pcopy_LDADD = $(LDADD) $(DRM_NOUVEAU_LIBS)