• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1include Makefile.sources
2
3benchmarks_PROGRAMS = $(benchmarks_prog_list)
4
5if HAVE_LIBDRM_INTEL
6benchmarks_PROGRAMS += $(LIBDRM_INTEL_BENCHMARKS)
7endif
8
9AM_CPPFLAGS = \
10	-I$(top_srcdir) \
11	-I$(top_srcdir)/include/drm-uapi \
12	-I$(top_srcdir)/lib \
13	-I$(top_srcdir)/lib/stubs/syscalls
14
15AM_CFLAGS = -I$(top_srcdir)/include/drm-uapi \
16	    $(DRM_CFLAGS) $(CWARNFLAGS) $(CAIRO_CFLAGS) $(LIBUNWIND_CFLAGS) \
17	    $(WERROR_CFLAGS) -D_GNU_SOURCE
18LDADD = $(top_builddir)/lib/libintel_tools.la
19
20benchmarks_LTLIBRARIES = gem_exec_tracer.la
21gem_exec_tracer_la_LDFLAGS = -module -avoid-version -no-undefined
22gem_exec_tracer_la_LIBADD = -ldl
23
24gem_latency_CFLAGS = $(AM_CFLAGS) $(THREAD_CFLAGS)
25gem_latency_LDADD = $(LDADD) -lpthread
26gem_syslatency_CFLAGS = $(AM_CFLAGS) $(THREAD_CFLAGS)
27gem_syslatency_LDADD = $(LDADD) -lpthread
28gem_wsim_LDADD = $(LDADD) $(top_builddir)/lib/libigt_perf.la -lpthread
29