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

benchmarks_PROGRAMS = $(benchmarks_prog_list)

if HAVE_LIBDRM_INTEL
	benchmarks_PROGRAMS += $(LIBDRM_INTEL_BENCHMARKS)
endif

AM_CPPFLAGS = -I$(top_srcdir) -I$(top_srcdir)/lib
AM_CFLAGS = $(DRM_CFLAGS) $(CWARNFLAGS) $(CAIRO_CFLAGS) $(LIBUNWIND_CFLAGS) \
	    $(WERROR_CFLAGS)
LDADD = $(top_builddir)/lib/libintel_tools.la

benchmarks_LTLIBRARIES = gem_exec_tracer.la
gem_exec_tracer_la_LDFLAGS = -module -avoid-version -no-undefined
gem_exec_tracer_la_LIBADD = -ldl

gem_latency_CFLAGS = $(AM_CFLAGS) $(THREAD_CFLAGS)
gem_latency_LDADD = $(LDADD) -lpthread
gem_syslatency_CFLAGS = $(AM_CFLAGS) $(THREAD_CFLAGS)
gem_syslatency_LDADD = $(LDADD) -lpthread -lrt

EXTRA_DIST=README