diff options
-rw-r--r-- | src/gallium/drivers/trace/Makefile.am | 8 | ||||
-rw-r--r-- | src/gallium/drivers/trace/Makefile.sources | 6 | ||||
-rw-r--r-- | src/gallium/drivers/trace/SConscript | 9 |
3 files changed, 10 insertions, 13 deletions
diff --git a/src/gallium/drivers/trace/Makefile.am b/src/gallium/drivers/trace/Makefile.am index 984ead4d7ab..db5904d23e6 100644 --- a/src/gallium/drivers/trace/Makefile.am +++ b/src/gallium/drivers/trace/Makefile.am @@ -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) diff --git a/src/gallium/drivers/trace/Makefile.sources b/src/gallium/drivers/trace/Makefile.sources new file mode 100644 index 00000000000..d325739913d --- /dev/null +++ b/src/gallium/drivers/trace/Makefile.sources @@ -0,0 +1,6 @@ +C_SOURCES := \ + tr_context.c \ + tr_dump.c \ + tr_dump_state.c \ + tr_screen.c \ + tr_texture.c diff --git a/src/gallium/drivers/trace/SConscript b/src/gallium/drivers/trace/SConscript index 1384fe33d72..7341d1c1c1d 100644 --- a/src/gallium/drivers/trace/SConscript +++ b/src/gallium/drivers/trace/SConscript @@ -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) |