diff options
author | Kristian Høgsberg <[email protected]> | 2010-05-02 14:09:52 -0400 |
---|---|---|
committer | Kristian Høgsberg <[email protected]> | 2010-05-02 14:09:52 -0400 |
commit | da76a4d845367242c1ae7726d1dc23900f31e1e4 (patch) | |
tree | ff45a40eb51a1020f6782e4b44bdddbfec38854e /src/mesa | |
parent | 559d124ed3f2070c73c5cb9c3b506ddd9cfaeb02 (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/mesa')
-rw-r--r-- | src/mesa/sources.mak | 15 |
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 \ |