Makefile.am 818 Bytes
Newer Older
1
TESTS = getversion \
2 3 4
	getclient \
	getstats \
	gem_basic \
5
	gem_exec_nop \
6 7
	gem_flink \
	gem_readwrite \
8
	gem_ringfill \
9
	gem_mmap \
10
	gem_pread_after_blit \
11
	gem_tiled_pread \
Jesse Barnes's avatar
Jesse Barnes committed
12
	gem_tiled_blits \
13 14 15 16
	gem_largeobject \
	gem_bad_address \
	gem_bad_blit \
	gem_bad_batch \
Chris Wilson's avatar
Chris Wilson committed
17
	gem_hang \
Chris Wilson's avatar
Chris Wilson committed
18 19 20
	gem_fence_thrash \
	gem_gtt_speed \
	$(NULL)
21 22

EXTRA_PROGRAMS = $(TESTS)
23 24 25 26 27
CLEANFILES = $(EXTRA_PROGRAMS)

AM_CFLAGS = $(DRM_CFLAGS) $(WARN_CFLAGS) \
	-I$(srcdir)/.. \
	-I$(srcdir)/../lib
28
LDADD = ../lib/libintel_tools.la $(PCIACCESS_LIBS) $(DRM_LIBS) 
Chris Wilson's avatar
Chris Wilson committed
29

30 31 32 33 34 35 36 37 38 39
if HAVE_CAIRO
if HAVE_LIBUDEV
if HAVE_GLIB
TESTS += testdisplay
LDADD += $(CAIRO_LIBS) $(LIBUDEV_LIBS) $(GLIB_LIBS)
AM_CFLAGS += $(CAIRO_CFLAGS) $(LIBUDEV_CFLAGS) $(GLIB_CFLAGS)
endif
endif
endif

Chris Wilson's avatar
Chris Wilson committed
40 41
gem_fence_thrash_CFLAGS = $(AM_CFLAGS) -pthread
gem_fence_thrash_LDADD = $(LDADD) -lpthread