[Intel-gfx] [PACTH i-g-t v5 13/13] lib/Makefile: Replace automake specific names of listings in Makefile.sources
robert.foss at collabora.com
robert.foss at collabora.com
Wed Jul 27 17:17:47 UTC 2016
From: Robert Foss <robert.foss at collabora.com>
Replace the automake specific variable names for listings in Makefile.sources
with something not automake specific.
Signed-off-by: Robert Foss <robert.foss at collabora.com>
Reviewed-by: Emil Velikov <emil.velikov at collabora.com>
---
lib/Android.mk | 2 +-
lib/Makefile.am | 2 ++
lib/Makefile.sources | 2 +-
3 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/lib/Android.mk b/lib/Android.mk
index badec1e..eb72f84 100644
--- a/lib/Android.mk
+++ b/lib/Android.mk
@@ -44,7 +44,7 @@ skip_lib_list := \
-DANDROID_HAS_CAIRO=0
endif
-LOCAL_SRC_FILES := $(filter-out $(skip_lib_list),$(libintel_tools_la_SOURCES))
+LOCAL_SRC_FILES := $(filter-out $(skip_lib_list),$(lib_source_list))
include $(BUILD_STATIC_LIBRARY)
diff --git a/lib/Makefile.am b/lib/Makefile.am
index 365d7d9..4c0893d 100644
--- a/lib/Makefile.am
+++ b/lib/Makefile.am
@@ -5,6 +5,8 @@ SUBDIRS = . tests
include Makefile.sources
+libintel_tools_la_SOURCES = $(lib_source_list)
+
noinst_LTLIBRARIES = libintel_tools.la
noinst_HEADERS = check-ndebug.h
diff --git a/lib/Makefile.sources b/lib/Makefile.sources
index 4a5e3d8..bac9a7f 100644
--- a/lib/Makefile.sources
+++ b/lib/Makefile.sources
@@ -1,4 +1,4 @@
-libintel_tools_la_SOURCES = \
+lib_source_list = \
debug.h \
drmtest.c \
drmtest.h \
--
2.7.4
More information about the Intel-gfx
mailing list