summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorKristian Høgsberg <[email protected]>2010-05-02 14:09:52 -0400
committerKristian Høgsberg <[email protected]>2010-05-02 14:09:52 -0400
commitda76a4d845367242c1ae7726d1dc23900f31e1e4 (patch)
treeff45a40eb51a1020f6782e4b44bdddbfec38854e /src
parent559d124ed3f2070c73c5cb9c3b506ddd9cfaeb02 (diff)
mesa: Only compile ES files when ES1 or ES2 are selected
This still requieres manual generation of the es1 and es2 glapis and is disabled by default.
Diffstat (limited to 'src')
-rw-r--r--src/mesa/sources.mak15
1 files changed, 10 insertions, 5 deletions
diff --git a/src/mesa/sources.mak b/src/mesa/sources.mak
index 3b2dcad8858..be859e43256 100644
--- a/src/mesa/sources.mak
+++ b/src/mesa/sources.mak
@@ -1,10 +1,16 @@
### Lists of source files, included by Makefiles
+ES1_SOURCES = \
+ main/api_exec_es1.c \
+ main/get_es1.c
+
+ES2_SOURCES = \
+ main/api_exec_es2.c \
+ main/get_es2.c
+
MAIN_SOURCES = \
main/api_arrayelt.c \
main/api_exec.c \
- main/api_exec_es1.c \
- main/api_exec_es2.c \
main/api_loopback.c \
main/api_noop.c \
main/api_validate.c \
@@ -40,8 +46,6 @@ MAIN_SOURCES = \
main/formats.c \
main/framebuffer.c \
main/get.c \
- main/get_es1.c \
- main/get_es2.c \
main/getstring.c \
main/hash.c \
main/hint.c \
@@ -91,7 +95,8 @@ MAIN_SOURCES = \
main/varray.c \
main/version.c \
main/viewport.c \
- main/vtxfmt.c
+ main/vtxfmt.c \
+ $(ES_SOURCES)
GLAPI_SOURCES = \
glapi/glapi.c \