aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/Makefile.am10
1 files changed, 6 insertions, 4 deletions
diff --git a/tests/Makefile.am b/tests/Makefile.am
index e5e9fc41..b1dad7ec 100644
--- a/tests/Makefile.am
+++ b/tests/Makefile.am
@@ -1,8 +1,8 @@
-AM_CFLAGS = \
+AM_CPPFLAGS = \
-I $(top_srcdir)/shared-core \
-I $(top_srcdir)/libdrm
-AM_LDFLAGS = $(top_builddir)/libdrm/libdrm.la
+LDADD = $(top_builddir)/libdrm/libdrm.la
noinst_PROGRAMS = \
dristat \
@@ -15,14 +15,16 @@ SUBDIRS = \
if HAVE_LIBUDEV
EXTRA_LTLIBRARIES = libdrmtest.la
+
libdrmtest_la_SOURCES = \
drmtest.c \
drmtest.h
+
libdrmtest_la_LIBADD = \
- $(top_builddir)/libdrm/libdrm.la \
+ $(LDADD) \
$(LIBUDEV_LIBS)
-LDADD = libdrmtest.la
+LDADD += libdrmtest.la
XFAIL_TESTS = \
auth \