mesa: just re-order some parts and update comments in sources.mak
diff --git a/src/mesa/sources.mak b/src/mesa/sources.mak
index 7c71010..3576614 100644
--- a/src/mesa/sources.mak
+++ b/src/mesa/sources.mak
@@ -308,9 +308,7 @@
drivers/common/driverfuncs.c
-
-### All the core C sources
-
+# Sources for building non-Gallium drivers
MESA_SOURCES = \
$(MAIN_SOURCES) \
$(MATH_XFORM_SOURCES) \
@@ -323,12 +321,7 @@
$(ASM_C_SOURCES) \
$(SLANG_SOURCES)
-ALL_SOURCES = \
- $(MESA_SOURCES) \
- $(GLAPI_SOURCES) \
- $(MESA_ASM_SOURCES) \
- $(STATETRACKER_SOURCES)
-
+# Sources for building Gallium drivers
MESA_GALLIUM_SOURCES = \
$(MAIN_SOURCES) \
$(MATH_SOURCES) \
@@ -337,6 +330,13 @@
$(SHADER_SOURCES) \
$(SLANG_SOURCES)
+# All the core C sources, for dependency checking
+ALL_SOURCES = \
+ $(MESA_SOURCES) \
+ $(GLAPI_SOURCES) \
+ $(MESA_ASM_SOURCES) \
+ $(STATETRACKER_SOURCES)
+
### Object files