summaryrefslogtreecommitdiff
path: root/lib/Makefile.am
blob: e3a456bacaf3a65939626ee0471f0ffa4109ef52 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
IGT_LIB_PATH := $(builddir)
GPU_TOOLS_PATH := $(top_srcdir)

SUBDIRS = . tests

include Makefile.sources

noinst_LTLIBRARIES = libintel_tools.la
noinst_HEADERS = check-ndebug.h

if HAVE_VC4
    libintel_tools_la_SOURCES += 	\
        igt_vc4.c			\
        igt_vc4.h
endif

AM_CPPFLAGS = -I$(top_srcdir)
AM_CFLAGS = $(DRM_CFLAGS) $(CWARNFLAGS) $(LIBUNWIND_CFLAGS) $(DEBUG_CFLAGS) \
	    -DIGT_SRCDIR=\""$(abs_top_srcdir)/tests"\" \
	    -DIGT_DATADIR=\""$(pkgdatadir)"\" \
	    -DIGT_LOG_DOMAIN=\""$(subst _,-,$*)"\" \
	    -pthread

LDADD = $(CAIRO_LIBS) $(LIBUNWIND_LIBS) -lm
AM_CFLAGS += $(CAIRO_CFLAGS)