summaryrefslogtreecommitdiff
path: root/src/mesa/Android.libmesa_dricore.mk
diff options
context:
space:
mode:
authorEric Anholt <eric@anholt.net>2012-11-07 16:33:39 -0800
committerChad Versace <chad.versace@linux.intel.com>2012-11-12 15:52:42 -0800
commit907844107252260c646aca361191ef7f121f3d23 (patch)
treecf9a5a54b804e852344541a096992943687e2a6a /src/mesa/Android.libmesa_dricore.mk
parent0ef85357479a47c2bdd05df3b2183bc7bfa0ac6e (diff)
automake,android: Build program/ into a helper lib (v2)
While simplifying mesa/Makefile.am, the more important feature of this commit is allowing a file with the same name to appear in both main/ and program/. v2: [chadv] Add changes to Android makefiles. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> (v1) Signed-off-by: Chad Versace <chad.versace@linux.intel.com> (v2)
Diffstat (limited to 'src/mesa/Android.libmesa_dricore.mk')
-rw-r--r--src/mesa/Android.libmesa_dricore.mk4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/mesa/Android.libmesa_dricore.mk b/src/mesa/Android.libmesa_dricore.mk
index 48a37a19730..093d7a18940 100644
--- a/src/mesa/Android.libmesa_dricore.mk
+++ b/src/mesa/Android.libmesa_dricore.mk
@@ -53,9 +53,13 @@ LOCAL_CFLAGS := \
$(patsubst %,-DFEATURE_%=1,$(MESA_ENABLED_APIS))
LOCAL_C_INCLUDES := \
+ $(call intermediates-dir-for STATIC_LIBRARIES,libmesa_program,,) \
$(MESA_TOP)/src/mapi \
$(MESA_TOP)/src/glsl
+LOCAL_WHOLE_STATIC_LIBRARIES := \
+ libmesa_program
+
include $(LOCAL_PATH)/Android.gen.mk
include $(MESA_COMMON_MK)
include $(BUILD_STATIC_LIBRARY)