automake: Add a prefix variable to the common sources lists.
authorEric Anholt <eric@anholt.net>
Thu, 24 May 2012 22:25:09 +0000 (15:25 -0700)
committerEric Anholt <eric@anholt.net>
Tue, 29 May 2012 19:39:45 +0000 (12:39 -0700)
commite86c40a84d241b954594f5ae7df9b9c3fc797a4e
tree639805ea1fb37789949a3805c30beeaa2fa9b3f6
parent7d7fe1b0376d5017c21351c0df8168b733801570
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>
src/mesa/Android.mk
src/mesa/Makefile
src/mesa/sources.mak