summaryrefslogtreecommitdiffstats
path: root/src/mesa/es/Makefile
diff options
context:
space:
mode:
authorChia-I Wu <[email protected]>2010-03-30 13:19:59 +0800
committerChia-I Wu <[email protected]>2010-03-30 15:39:17 +0800
commitf6f5cba9a66afea3f500e3be1c15e7b18d88e265 (patch)
tree04c1e63245345b6fdf4c19ca90acdbc6bffdfdbd /src/mesa/es/Makefile
parent066477ab226c6bf9598511ebe9134cb360fb54a2 (diff)
mesa/es: Use core mesa's mfeatures.h.
Remove mfeatures_es1.h and mfeatures_es2.h. Build the overlay with either FEATURE_ES1 or FEATURE_ES2 defined.
Diffstat (limited to 'src/mesa/es/Makefile')
-rw-r--r--src/mesa/es/Makefile5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/mesa/es/Makefile b/src/mesa/es/Makefile
index fbe67445c93..8b484853afe 100644
--- a/src/mesa/es/Makefile
+++ b/src/mesa/es/Makefile
@@ -19,9 +19,8 @@ es1: $(ES1_LIBS)
es2: $(ES2_LIBS)
@rm -f subdirs-stamp-tmp
-# force the inclusion of es's mfeatures.h
-ES1_CPPFLAGS := -include main/mfeatures_es1.h -D__GL_EXPORTS
-ES2_CPPFLAGS := -include main/mfeatures_es2.h -D__GL_EXPORTS
+ES1_CPPFLAGS := -DFEATURE_ES1=1 -D__GL_EXPORTS
+ES2_CPPFLAGS := -DFEATURE_ES2=1 -D__GL_EXPORTS
ES1_OBJ_DIR := objs-es1
ES2_OBJ_DIR := objs-es2