mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-04 20:00:11 +01:00
trace: 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:
parent
e369126709
commit
b91a9cdeaa
3 changed files with 10 additions and 13 deletions
|
|
@ -1,3 +1,4 @@
|
|||
include Makefile.sources
|
||||
include $(top_srcdir)/src/gallium/Automake.inc
|
||||
|
||||
AM_CFLAGS = \
|
||||
|
|
@ -6,9 +7,4 @@ AM_CFLAGS = \
|
|||
|
||||
noinst_LTLIBRARIES = libtrace.la
|
||||
|
||||
libtrace_la_SOURCES = \
|
||||
tr_context.c \
|
||||
tr_dump.c \
|
||||
tr_dump_state.c \
|
||||
tr_screen.c \
|
||||
tr_texture.c
|
||||
libtrace_la_SOURCES = $(C_SOURCES)
|
||||
|
|
|
|||
6
src/gallium/drivers/trace/Makefile.sources
Normal file
6
src/gallium/drivers/trace/Makefile.sources
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
C_SOURCES := \
|
||||
tr_context.c \
|
||||
tr_dump.c \
|
||||
tr_dump_state.c \
|
||||
tr_screen.c \
|
||||
tr_texture.c
|
||||
|
|
@ -4,13 +4,8 @@ env = env.Clone()
|
|||
|
||||
trace = env.ConvenienceLibrary(
|
||||
target = 'trace',
|
||||
source = [
|
||||
'tr_context.c',
|
||||
'tr_dump.c',
|
||||
'tr_dump_state.c',
|
||||
'tr_screen.c',
|
||||
'tr_texture.c',
|
||||
])
|
||||
source = env.ParseSourceList('Makefile.sources', 'C_SOURCES')
|
||||
)
|
||||
|
||||
env.Alias('trace', trace)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue