noop: 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:
committed by
Tom Stellard
parent
d7c66ff59e
commit
38d80c01d0
@@ -2007,6 +2007,7 @@ AC_CONFIG_FILES([Makefile
|
||||
src/gallium/drivers/identity/Makefile
|
||||
src/gallium/drivers/ilo/Makefile
|
||||
src/gallium/drivers/llvmpipe/Makefile
|
||||
src/gallium/drivers/noop/Makefile
|
||||
src/gallium/drivers/nouveau/Makefile
|
||||
src/gallium/drivers/r300/Makefile
|
||||
src/gallium/drivers/r600/Makefile
|
||||
|
||||
@@ -11,7 +11,7 @@ AM_CFLAGS = $(VISIBILITY_CFLAGS)
|
||||
|
||||
noinst_LTLIBRARIES =
|
||||
|
||||
SUBDIRS = . identity trace rbug
|
||||
SUBDIRS = . identity noop trace rbug
|
||||
|
||||
################################################################################
|
||||
|
||||
@@ -24,17 +24,6 @@ galahad_libgalahad_la_SOURCES = \
|
||||
|
||||
################################################################################
|
||||
|
||||
# Meta-driver which combines whichever software rasterizers have been
|
||||
# built into a single convenience library.
|
||||
|
||||
noinst_LTLIBRARIES += noop/libnoop.la
|
||||
|
||||
noop_libnoop_la_SOURCES = \
|
||||
noop/noop_pipe.c \
|
||||
noop/noop_state.c
|
||||
|
||||
################################################################################
|
||||
|
||||
if HAVE_GALLIUM_R600
|
||||
|
||||
SUBDIRS += radeon
|
||||
|
||||
@@ -0,0 +1,16 @@
|
||||
################################################################################
|
||||
|
||||
# Meta-driver which combines whichever software rasterizers have been
|
||||
# built into a single convenience library.
|
||||
|
||||
include Makefile.sources
|
||||
include $(top_srcdir)/src/gallium/Automake.inc
|
||||
|
||||
AM_CFLAGS = \
|
||||
-I$(top_srcdir)/src/gallium/drivers \
|
||||
$(GALLIUM_CFLAGS) \
|
||||
$(VISIBILITY_CFLAGS)
|
||||
|
||||
noinst_LTLIBRARIES = libnoop.la
|
||||
|
||||
libnoop_la_SOURCES = $(C_SOURCES)
|
||||
@@ -0,0 +1,3 @@
|
||||
C_SOURCES := \
|
||||
noop_pipe.c \
|
||||
noop_state.c
|
||||
@@ -7,9 +7,7 @@ env = env.Clone()
|
||||
|
||||
noop = env.ConvenienceLibrary(
|
||||
target = 'noop',
|
||||
source = [
|
||||
'noop_pipe.c',
|
||||
'noop_state.c'
|
||||
]
|
||||
) + extra
|
||||
source = env.ParseSourceList('Makefile.sources', 'C_SOURCES')
|
||||
) + extra
|
||||
|
||||
Export('noop')
|
||||
|
||||
Reference in New Issue
Block a user