dri/common: move source file lists to Makefile.sources
* Allow the lists to be shared among build systems. * Update automake and Android build systems. Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com> Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
This commit is contained in:
@@ -40,7 +40,7 @@ LOCAL_C_INCLUDES := \
|
|||||||
$(intermediates) \
|
$(intermediates) \
|
||||||
$(MESA_DRI_C_INCLUDES)
|
$(MESA_DRI_C_INCLUDES)
|
||||||
|
|
||||||
LOCAL_SRC_FILES := $(mesa_dri_common_SOURCES)
|
LOCAL_SRC_FILES := $(DRI_COMMON_FILES)
|
||||||
|
|
||||||
LOCAL_GENERATED_SOURCES := \
|
LOCAL_GENERATED_SOURCES := \
|
||||||
$(intermediates)/xmlpool/options.h
|
$(intermediates)/xmlpool/options.h
|
||||||
|
@@ -21,6 +21,8 @@
|
|||||||
|
|
||||||
SUBDIRS = xmlpool
|
SUBDIRS = xmlpool
|
||||||
|
|
||||||
|
include Makefile.sources
|
||||||
|
|
||||||
AM_CFLAGS = \
|
AM_CFLAGS = \
|
||||||
-I$(top_srcdir)/include \
|
-I$(top_srcdir)/include \
|
||||||
-I$(top_srcdir)/src/ \
|
-I$(top_srcdir)/src/ \
|
||||||
@@ -35,13 +37,9 @@ noinst_LTLIBRARIES = \
|
|||||||
libmegadriver_stub.la \
|
libmegadriver_stub.la \
|
||||||
libdri_test_stubs.la
|
libdri_test_stubs.la
|
||||||
|
|
||||||
libdricommon_la_SOURCES = \
|
libdricommon_la_SOURCES = $(DRI_COMMON_FILES)
|
||||||
utils.c \
|
|
||||||
dri_util.c \
|
|
||||||
xmlconfig.c
|
|
||||||
|
|
||||||
libdri_test_stubs_la_SOURCES = \
|
libdri_test_stubs_la_SOURCES = $(test_stubs_FILES)
|
||||||
dri_test.c
|
|
||||||
libdri_test_stubs_la_CFLAGS = $(AM_CFLAGS) -DNO_MAIN
|
libdri_test_stubs_la_CFLAGS = $(AM_CFLAGS) -DNO_MAIN
|
||||||
|
|
||||||
libmegadriver_stub_la_SOURCES = megadriver_stub.c
|
libmegadriver_stub_la_SOURCES = megadriver_stub.c
|
||||||
|
@@ -1,11 +1,8 @@
|
|||||||
mesa_dri_common_gallium_SOURCES := \
|
DRI_COMMON_FILES := \
|
||||||
utils.c \
|
utils.c \
|
||||||
dri_util.c \
|
dri_util.c \
|
||||||
xmlconfig.c
|
xmlconfig.c
|
||||||
|
|
||||||
mesa_dri_common_SOURCES := \
|
|
||||||
$(mesa_dri_common_gallium_SOURCES)
|
|
||||||
|
|
||||||
# Paths are relative to MESA_TOP.
|
# Paths are relative to MESA_TOP.
|
||||||
mesa_dri_common_INCLUDES := \
|
mesa_dri_common_INCLUDES := \
|
||||||
include \
|
include \
|
||||||
@@ -14,3 +11,6 @@ mesa_dri_common_INCLUDES := \
|
|||||||
src/mapi \
|
src/mapi \
|
||||||
src/mesa \
|
src/mesa \
|
||||||
src/mesa/drivers/dri/common
|
src/mesa/drivers/dri/common
|
||||||
|
|
||||||
|
test_stubs_FILES := \
|
||||||
|
dri_test.c
|
||||||
|
Reference in New Issue
Block a user