mirror of
https://github.com/tiagovignatti/intel-gpu-tools.git
synced 2025-06-21 14:56:18 +00:00
commit 743dc7997aa9f5210055896940d87c88983dcda6 breaks the build under Android because version.h is not created. This happens because the android make executes from the ANDROID_BUILD_TOP directory rather than from the directory containing the source files, so we need to differentiate between Android and linux builds. This is V2 of this patch based on Thomas Wood's suggestion. Signed-off-by: Tim Gore <tim.gore@intel.com> [Thomas: Fix distcheck issues] Signed-off-by: Thomas Wood <thomas.wood@intel.com>
14 lines
250 B
Makefile
14 lines
250 B
Makefile
IGT_LIB_PATH := $(builddir)
|
|
GPU_TOOLS_PATH := $(top_srcdir)
|
|
|
|
include Makefile.sources
|
|
|
|
noinst_LTLIBRARIES = libintel_tools.la
|
|
|
|
AM_CPPFLAGS = -I$(top_srcdir)
|
|
AM_CFLAGS = $(DRM_CFLAGS) $(CWARNFLAGS)
|
|
|
|
LDADD = $(CAIRO_LIBS)
|
|
AM_CFLAGS += $(CAIRO_CFLAGS)
|
|
|