From da76a4d845367242c1ae7726d1dc23900f31e1e4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kristian=20H=C3=B8gsberg?= Date: Sun, 2 May 2010 14:09:52 -0400 Subject: 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. --- src/mesa/sources.mak | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) (limited to 'src/mesa/sources.mak') diff --git a/src/mesa/sources.mak b/src/mesa/sources.mak index 3b2dcad..be859e4 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 \ -- cgit v1.1