mesa: remove old colortable, histogram, etc. code from dlist.c
[mesa.git] / src / mesa / Android.libmesa_st_mesa.mk
index a0621e35231b3006b536aa580827e677b92a84e3..e6374a6d815830a181d1bd7342058230fbaf52a4 100644 (file)
@@ -31,14 +31,12 @@ LOCAL_PATH := $(call my-dir)
 # Import variables:
 #      MESA_GALLIUM_FILES.
 #      X86_FILES
-include $(LOCAL_PATH)/sources.mak
+include $(LOCAL_PATH)/Makefile.sources
 
 include $(CLEAR_VARS)
 
 LOCAL_MODULE := libmesa_st_mesa
 
-MESA_ENABLED_APIS := ES1 ES2
-
 LOCAL_SRC_FILES := \
        $(MESA_GALLIUM_FILES)
 
@@ -49,11 +47,15 @@ endif # x86
 endif # MESA_ENABLE_ASM
 
 LOCAL_C_INCLUDES := \
+       $(call intermediates-dir-for STATIC_LIBRARIES,libmesa_program,,) \
        $(MESA_TOP)/src/gallium/auxiliary \
        $(MESA_TOP)/src/gallium/include \
        $(MESA_TOP)/src/glsl \
        $(MESA_TOP)/src/mapi
 
+LOCAL_WHOLE_STATIC_LIBRARIES := \
+       libmesa_program
+
 include $(LOCAL_PATH)/Android.gen.mk
 include $(MESA_COMMON_MK)
 include $(BUILD_STATIC_LIBRARY)