summaryrefslogtreecommitdiffstats
path: root/src/mesa/Android.mk
diff options
context:
space:
mode:
authorEric Anholt <eric@anholt.net>2012-05-24 15:25:09 -0700
committerEric Anholt <eric@anholt.net>2012-05-29 12:39:45 -0700
commite86c40a84d241b954594f5ae7df9b9c3fc797a4e (patch)
tree639805ea1fb37789949a3805c30beeaa2fa9b3f6 /src/mesa/Android.mk
parent7d7fe1b0376d5017c21351c0df8168b733801570 (diff)
downloadexternal_mesa3d-e86c40a84d241b954594f5ae7df9b9c3fc797a4e.zip
external_mesa3d-e86c40a84d241b954594f5ae7df9b9c3fc797a4e.tar.gz
external_mesa3d-e86c40a84d241b954594f5ae7df9b9c3fc797a4e.tar.bz2
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 <mattst88@gmail.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Diffstat (limited to 'src/mesa/Android.mk')
-rw-r--r--src/mesa/Android.mk1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mesa/Android.mk b/src/mesa/Android.mk
index 4b62b81..115db47 100644
--- a/src/mesa/Android.mk
+++ b/src/mesa/Android.mk
@@ -31,6 +31,7 @@ LOCAL_PATH := $(call my-dir)
# MESA_GALLIUM_FILES
# MESA_FILES
# X86_FILES
+SRCDIR = .
include $(LOCAL_PATH)/sources.mak
common_CFLAGS := \