summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2017-09-04 22:36:34 +0200
committerMarek Olšák <[email protected]>2018-02-07 22:08:34 +0100
commit6f82b8d8d0a986aac28e7bec47fc313fb950475c (patch)
tree69eac15198a19e2e16447b5d4774a5c787af677e /src/gallium/drivers
parentdef09f8db0ce77fc41f5188418e0b06356ce59b7 (diff)
gallium: build ddebug, noop, rbug, trace as part of auxiliary
Building gallium is faster by 7.5 seconds on a 4core/8thread 3GHz CPU. (gallium build time is reduced by 15% when building only radeonsi) Non-recursive makefiles are great!
Diffstat (limited to 'src/gallium/drivers')
-rw-r--r--src/gallium/drivers/ddebug/Makefile.sources14
-rw-r--r--src/gallium/drivers/noop/Makefile.sources8
-rw-r--r--src/gallium/drivers/rbug/Makefile.sources18
-rw-r--r--src/gallium/drivers/trace/Makefile.sources26
4 files changed, 33 insertions, 33 deletions
diff --git a/src/gallium/drivers/ddebug/Makefile.sources b/src/gallium/drivers/ddebug/Makefile.sources
index 1bd38274df8..d43a75ba402 100644
--- a/src/gallium/drivers/ddebug/Makefile.sources
+++ b/src/gallium/drivers/ddebug/Makefile.sources
@@ -1,7 +1,7 @@
-C_SOURCES := \
- dd_context.c \
- dd_draw.c \
- dd_pipe.h \
- dd_public.h \
- dd_screen.c \
- dd_util.h
+DDEBUG_SOURCES := \
+ $(top_srcdir)/src/gallium/drivers/ddebug/dd_context.c \
+ $(top_srcdir)/src/gallium/drivers/ddebug/dd_draw.c \
+ $(top_srcdir)/src/gallium/drivers/ddebug/dd_pipe.h \
+ $(top_srcdir)/src/gallium/drivers/ddebug/dd_public.h \
+ $(top_srcdir)/src/gallium/drivers/ddebug/dd_screen.c \
+ $(top_srcdir)/src/gallium/drivers/ddebug/dd_util.h
diff --git a/src/gallium/drivers/noop/Makefile.sources b/src/gallium/drivers/noop/Makefile.sources
index 6d4228630bc..fea96e31e56 100644
--- a/src/gallium/drivers/noop/Makefile.sources
+++ b/src/gallium/drivers/noop/Makefile.sources
@@ -1,4 +1,4 @@
-C_SOURCES := \
- noop_pipe.c \
- noop_public.h \
- noop_state.c
+NOOP_SOURCES := \
+ $(top_srcdir)/src/gallium/drivers/noop/noop_pipe.c \
+ $(top_srcdir)/src/gallium/drivers/noop/noop_public.h \
+ $(top_srcdir)/src/gallium/drivers/noop/noop_state.c
diff --git a/src/gallium/drivers/rbug/Makefile.sources b/src/gallium/drivers/rbug/Makefile.sources
index f9f1d5c3a49..b21e51e3099 100644
--- a/src/gallium/drivers/rbug/Makefile.sources
+++ b/src/gallium/drivers/rbug/Makefile.sources
@@ -1,9 +1,9 @@
-C_SOURCES := \
- rbug_context.c \
- rbug_context.h \
- rbug_core.c \
- rbug_objects.c \
- rbug_objects.h \
- rbug_public.h \
- rbug_screen.c \
- rbug_screen.h
+RBUG_SOURCES := \
+ $(top_srcdir)/src/gallium/drivers/rbug/rbug_context.c \
+ $(top_srcdir)/src/gallium/drivers/rbug/rbug_context.h \
+ $(top_srcdir)/src/gallium/drivers/rbug/rbug_core.c \
+ $(top_srcdir)/src/gallium/drivers/rbug/rbug_objects.c \
+ $(top_srcdir)/src/gallium/drivers/rbug/rbug_objects.h \
+ $(top_srcdir)/src/gallium/drivers/rbug/rbug_public.h \
+ $(top_srcdir)/src/gallium/drivers/rbug/rbug_screen.c \
+ $(top_srcdir)/src/gallium/drivers/rbug/rbug_screen.h
diff --git a/src/gallium/drivers/trace/Makefile.sources b/src/gallium/drivers/trace/Makefile.sources
index 4c019a3bc60..f3451d4c140 100644
--- a/src/gallium/drivers/trace/Makefile.sources
+++ b/src/gallium/drivers/trace/Makefile.sources
@@ -1,13 +1,13 @@
-C_SOURCES := \
- tr_context.c \
- tr_context.h \
- tr_dump.c \
- tr_dump_defines.h \
- tr_dump.h \
- tr_dump_state.c \
- tr_dump_state.h \
- tr_public.h \
- tr_screen.c \
- tr_screen.h \
- tr_texture.c \
- tr_texture.h
+TRACE_SOURCES := \
+ $(top_srcdir)/src/gallium/drivers/trace/tr_context.c \
+ $(top_srcdir)/src/gallium/drivers/trace/tr_context.h \
+ $(top_srcdir)/src/gallium/drivers/trace/tr_dump.c \
+ $(top_srcdir)/src/gallium/drivers/trace/tr_dump_defines.h \
+ $(top_srcdir)/src/gallium/drivers/trace/tr_dump.h \
+ $(top_srcdir)/src/gallium/drivers/trace/tr_dump_state.c \
+ $(top_srcdir)/src/gallium/drivers/trace/tr_dump_state.h \
+ $(top_srcdir)/src/gallium/drivers/trace/tr_public.h \
+ $(top_srcdir)/src/gallium/drivers/trace/tr_screen.c \
+ $(top_srcdir)/src/gallium/drivers/trace/tr_screen.h \
+ $(top_srcdir)/src/gallium/drivers/trace/tr_texture.c \
+ $(top_srcdir)/src/gallium/drivers/trace/tr_texture.h