mesa: Silence unused parameter warning in _mesa_clear_shader_program_data
[mesa.git] / src / mesa / program / Android.mk
index 51362e0ebb76fba090fb4ada4b1575b53751f6a7..19c4be0feba8983702986added7e38d6fe9aa791 100644 (file)
@@ -38,7 +38,9 @@ endef
 
 # Import the following variables:
 #     PROGRAM_FILES
-include $(MESA_TOP)/src/mesa/sources.mak
+include $(MESA_TOP)/src/mesa/Makefile.sources
+SRCDIR :=
+BUILDDIR :=
 
 include $(CLEAR_VARS)
 
@@ -47,9 +49,7 @@ LOCAL_MODULE_CLASS := STATIC_LIBRARIES
 
 intermediates := $(call local-intermediates-dir)
 
-MESA_ENABLED_APIS := ES1 ES2
-
-# TODO(chadv): In sources.mak, move these vars to a different list so we can
+# TODO(chadv): In Makefile.sources, move these vars to a different list so we can
 # remove this kludge.
 generated_sources_basenames := \
        lex.yy.c \
@@ -71,11 +71,9 @@ $(intermediates)/program/program_parse.tab.h: $(intermediates)/program/program_p
 $(intermediates)/program/lex.yy.c: $(LOCAL_PATH)/program_lexer.l
        $(local-l-to-c)
 
-LOCAL_CFLAGS := \
-       $(patsubst %,-DFEATURE_%=1,$(MESA_ENABLED_APIS))
-
 LOCAL_C_INCLUDES := \
        $(intermediates) \
+       $(MESA_TOP)/src \
        $(MESA_TOP)/src/mapi \
        $(MESA_TOP)/src/mesa \
        $(MESA_TOP)/src/glsl