summaryrefslogtreecommitdiff
path: root/lib/tests/Makefile.am
blob: 63bbbe5907b4a013b3d7600de95b1055978549c9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
include Makefile.sources

check_PROGRAMS = $(check_prog_list)
check_SCRIPTS = $(check_script_list)

AM_TESTS_ENVIRONMENT = \
	top_builddir=$(top_builddir) \
	top_srcdir=$(top_srcdir)

AM_CFLAGS = $(DRM_CFLAGS) $(CWARNFLAGS) $(DEBUG_CFLAGS) \
	-I$(srcdir)/../.. \
	-I$(srcdir)/.. \
	-include "$(srcdir)/../../lib/check-ndebug.h" \
	-DIGT_DATADIR=\""$(abs_srcdir)"\" \
	-D_GNU_SOURCE
	$(NULL)

LDADD = ../libintel_tools.la $(PCIACCESS_LIBS) $(DRM_LIBS) $(LIBUNWIND_LIBS) $(TIMER_LIBS)

LDADD += $(CAIRO_LIBS) $(LIBUDEV_LIBS) $(GLIB_LIBS) -lm
AM_CFLAGS += $(CAIRO_CFLAGS) $(LIBUDEV_CFLAGS) $(GLIB_CFLAGS)