summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorKristian Høgsberg <[email protected]>2010-04-27 13:42:33 -0400
committerKristian Høgsberg <[email protected]>2010-04-28 14:36:28 -0400
commit0f68032a7cebe740421e5de4586d13c99a8728ab (patch)
tree1900e2d5b346b4c2a2f79694b2db35608587e017 /src
parent5efee4d4e68067a3fd85b9ff6a2636f502538768 (diff)
configure.ac: Add options to enable GLES1/2 API support
Diffstat (limited to 'src')
-rw-r--r--src/mesa/Makefile1
-rw-r--r--src/mesa/drivers/dri/Makefile.template1
2 files changed, 2 insertions, 0 deletions
diff --git a/src/mesa/Makefile b/src/mesa/Makefile
index e4040881f13..44e091f2407 100644
--- a/src/mesa/Makefile
+++ b/src/mesa/Makefile
@@ -16,6 +16,7 @@ include sources.mak
.S.o:
$(CC) -c $(INCLUDE_DIRS) $(CFLAGS) $< -o $@
+CFLAGS += $(API_DEFINES)
# Default: build dependencies, then asm_subdirs, GLSL built-in lib,
diff --git a/src/mesa/drivers/dri/Makefile.template b/src/mesa/drivers/dri/Makefile.template
index 4cdd51efeee..4b9a0c1786d 100644
--- a/src/mesa/drivers/dri/Makefile.template
+++ b/src/mesa/drivers/dri/Makefile.template
@@ -31,6 +31,7 @@ SHARED_INCLUDES = \
-I$(TOP)/src/egl/drivers/dri \
$(LIBDRM_CFLAGS)
+CFLAGS += $(API_DEFINES)
##### RULES #####