aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/Makefile
diff options
context:
space:
mode:
authorEric Anholt <[email protected]>2012-05-24 15:25:09 -0700
committerEric Anholt <[email protected]>2012-05-29 12:39:45 -0700
commite86c40a84d241b954594f5ae7df9b9c3fc797a4e (patch)
tree639805ea1fb37789949a3805c30beeaa2fa9b3f6 /src/mesa/Makefile
parent7d7fe1b0376d5017c21351c0df8168b733801570 (diff)
automake: Add a prefix variable to the common sources lists.
In order to do the minimal change for libdricore conversion to automake, I need to put its Makefile.am in a subdirectory. Automake gets whiny/broken if you use GNU make features like "addprefix" or "$(FILES:%=../%)" to munge your *_SOURCES. So, use a plain old variable to be able to substitute in that "../" Reviewed-by: Matt Turner <[email protected]> Reviewed-by: Kenneth Graunke <[email protected]>
Diffstat (limited to 'src/mesa/Makefile')
-rw-r--r--src/mesa/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mesa/Makefile b/src/mesa/Makefile
index 39060532545..2d5b7274273 100644
--- a/src/mesa/Makefile
+++ b/src/mesa/Makefile
@@ -9,6 +9,7 @@ DEPENDS := depend
MESA_OBJ_DIR := .
DRICORE_OBJ_DIR := objs-dricore
+SRCDIR = .
include sources.mak
# adjust object dirs