identity: consolidate C sources list into Makefile.sources

Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
Reviewed-by: Tom Stellard <thomas.stellard@amd.com>
This commit is contained in:
Emil Velikov
2013-06-05 23:28:11 +01:00
committed by Tom Stellard
parent 959ed5c163
commit d7c66ff59e
5 changed files with 19 additions and 15 deletions
+1
View File
@@ -2004,6 +2004,7 @@ AC_CONFIG_FILES([Makefile
src/gallium/drivers/freedreno/a2xx/Makefile
src/gallium/drivers/freedreno/a3xx/Makefile
src/gallium/drivers/i915/Makefile
src/gallium/drivers/identity/Makefile
src/gallium/drivers/ilo/Makefile
src/gallium/drivers/llvmpipe/Makefile
src/gallium/drivers/nouveau/Makefile
+1 -10
View File
@@ -11,7 +11,7 @@ AM_CFLAGS = $(VISIBILITY_CFLAGS)
noinst_LTLIBRARIES =
SUBDIRS = . trace rbug
SUBDIRS = . identity trace rbug
################################################################################
@@ -24,15 +24,6 @@ galahad_libgalahad_la_SOURCES = \
################################################################################
noinst_LTLIBRARIES += identity/libidentity.la
identity_libidentity_la_SOURCES = \
identity/id_objects.c \
identity/id_context.c \
identity/id_screen.c
################################################################################
# Meta-driver which combines whichever software rasterizers have been
# built into a single convenience library.
+11
View File
@@ -0,0 +1,11 @@
include Makefile.sources
include $(top_srcdir)/src/gallium/Automake.inc
AM_CFLAGS = \
-I$(top_srcdir)/src/gallium/drivers \
$(GALLIUM_CFLAGS) \
$(VISIBILITY_CFLAGS)
noinst_LTLIBRARIES = libidentity.la
libidentity_la_SOURCES = $(C_SOURCES)
@@ -0,0 +1,4 @@
C_SOURCES := \
id_objects.c \
id_context.c \
id_screen.c
+2 -5
View File
@@ -4,11 +4,8 @@ env = env.Clone()
identity = env.ConvenienceLibrary(
target = 'identity',
source = [
'id_context.c',
'id_objects.c',
'id_screen.c',
])
source = env.ParseSourceList('Makefile.sources', 'C_SOURCES')
)
env.Alias('identity', identity)