summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tests/Makefile.am6
-rw-r--r--tests/Makefile.sources4
2 files changed, 7 insertions, 3 deletions
diff --git a/tests/Makefile.am b/tests/Makefile.am
index f4a7d415..ac0c0d82 100644
--- a/tests/Makefile.am
+++ b/tests/Makefile.am
@@ -16,15 +16,15 @@ list-multi-tests:
@echo END TESTLIST
EXTRA_PROGRAMS = $(TESTS_progs) $(TESTS_progs_M) $(HANG) $(TESTS_testsuite)
-EXTRA_DIST = $(TESTS_scripts) $(TESTS_scripts_M) $(scripts) $(IMAGES)
+EXTRA_DIST = $(TESTS_scripts) $(TESTS_scripts_M) $(scripts) $(IMAGES) $(common_files)
CLEANFILES = $(EXTRA_PROGRAMS)
AM_CFLAGS = $(DRM_CFLAGS) $(CWARNFLAGS) \
-I$(srcdir)/.. \
-I$(srcdir)/../lib \
- -include "check-ndebug.h" \
- -include "$(srcdir)/version.h" \
+ -include "$(srcdir)/../lib/check-ndebug.h" \
+ -include "$(srcdir)/../version.h" \
-DIGT_DATADIR=\""$(abs_srcdir)"\" \
$(NULL)
diff --git a/tests/Makefile.sources b/tests/Makefile.sources
index cb96b099..4299ed92 100644
--- a/tests/Makefile.sources
+++ b/tests/Makefile.sources
@@ -217,3 +217,7 @@ testdisplay_SOURCES = \
TESTS_progs += testdisplay
+common_files = \
+ eviction_common.c \
+ $(NULL)
+