You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
91 lines
1.7 KiB
91 lines
1.7 KiB
IGT_LIB_PATH := $(builddir)
|
|
GPU_TOOLS_PATH := $(top_srcdir)
|
|
|
|
include Makefile.sources
|
|
|
|
libintel_tools_la_SOURCES = $(lib_source_list)
|
|
|
|
libigt_perf_la_SOURCES = \
|
|
igt_perf.c \
|
|
igt_perf.h
|
|
|
|
noinst_LTLIBRARIES = libintel_tools.la libigt_perf.la
|
|
noinst_HEADERS = check-ndebug.h
|
|
|
|
if !HAVE_LIBDRM_INTEL
|
|
libintel_tools_la_SOURCES += \
|
|
stubs/drm/intel_bufmgr.c \
|
|
stubs/drm/intel_bufmgr.h
|
|
endif
|
|
|
|
if HAVE_CHAMELIUM
|
|
lib_source_list += \
|
|
igt_chamelium.h \
|
|
igt_chamelium.c \
|
|
igt_chamelium_stream.h \
|
|
igt_chamelium_stream.c \
|
|
$(NULL)
|
|
endif
|
|
|
|
if HAVE_GSL
|
|
lib_source_list += \
|
|
igt_frame.c \
|
|
igt_frame.h \
|
|
igt_audio.c \
|
|
igt_audio.h \
|
|
$(NULL)
|
|
endif
|
|
|
|
if HAVE_ALSA
|
|
lib_source_list += \
|
|
igt_alsa.c \
|
|
igt_alsa.h \
|
|
$(NULL)
|
|
endif
|
|
|
|
AM_CPPFLAGS = \
|
|
-I$(top_srcdir)/include/drm-uapi \
|
|
-I$(top_srcdir) \
|
|
-I$(top_srcdir)/lib/stubs/syscalls
|
|
|
|
AM_CFLAGS = \
|
|
$(CWARNFLAGS) \
|
|
$(DRM_CFLAGS) \
|
|
$(PCIACCESS_CFLAGS) \
|
|
$(LIBUNWIND_CFLAGS) \
|
|
$(LIBDW_CFLAGS) \
|
|
$(GSL_CFLAGS) \
|
|
$(KMOD_CFLAGS) \
|
|
$(PROCPS_CFLAGS) \
|
|
$(DEBUG_CFLAGS) \
|
|
$(XMLRPC_CFLAGS) \
|
|
$(LIBUDEV_CFLAGS) \
|
|
$(PIXMAN_CFLAGS) \
|
|
$(GLIB_CFLAGS) \
|
|
$(VALGRIND_CFLAGS) \
|
|
-DIGT_SRCDIR=\""$(abs_top_srcdir)/tests"\" \
|
|
-DIGT_DATADIR=\""$(pkgdatadir)"\" \
|
|
-D_GNU_SOURCE \
|
|
-DIGT_LOG_DOMAIN=\""$(subst _,-,$*)"\" \
|
|
-pthread
|
|
|
|
AM_CFLAGS += $(CAIRO_CFLAGS)
|
|
|
|
libintel_tools_la_LIBADD = \
|
|
$(DRM_LIBS) \
|
|
$(PCIACCESS_LIBS) \
|
|
$(PROCPS_LIBS) \
|
|
$(GSL_LIBS) \
|
|
$(KMOD_LIBS) \
|
|
$(CAIRO_LIBS) \
|
|
$(LIBUDEV_LIBS) \
|
|
$(LIBUNWIND_LIBS) \
|
|
$(LIBDW_LIBS) \
|
|
$(TIMER_LIBS) \
|
|
$(XMLRPC_LIBS) \
|
|
$(LIBUDEV_LIBS) \
|
|
$(PIXMAN_LIBS) \
|
|
$(GLIB_LIBS) \
|
|
libigt_perf.la \
|
|
-lm
|