aboutsummaryrefslogtreecommitdiffstats
path: root/src/Makefile_Evas.am
diff options
context:
space:
mode:
authorJean-Philippe Andre <jp.andre@samsung.com>2016-06-27 16:00:50 +0900
committerJean-Philippe Andre <jp.andre@samsung.com>2016-06-27 16:19:43 +0900
commit89dca5ba6c4ebbe5b5b11e8e3e14f73753b443c9 (patch)
tree718e9efcfb1cfe0684860c6793b40b80a936efb1 /src/Makefile_Evas.am
parentRevert "evas: Fix compilation when using different build directory" (diff)
downloadefl-89dca5ba6c4ebbe5b5b11e8e3e14f73753b443c9.tar.gz
evas: Make shaders regen an opt-in behaviour
While the shaders automatic regeneration is very useful when working on shaders, it has been the source of too many build breaks. So I'm making this regeneration an opt-in. You work on shaders? Set the env var EFL_SHD_REGEN=1
Diffstat (limited to 'src/Makefile_Evas.am')
-rw-r--r--src/Makefile_Evas.am12
1 files changed, 8 insertions, 4 deletions
diff --git a/src/Makefile_Evas.am b/src/Makefile_Evas.am
index 9d45c16848..118741c1b8 100644
--- a/src/Makefile_Evas.am
+++ b/src/Makefile_Evas.am
@@ -774,8 +774,10 @@ $(NULL)
EXTRA_DIST2 += $(EVAS_GL_SHADERS_GEN)
modules/evas/engines/gl_common/shader/evas_gl_shaders.x: $(EVAS_GL_SHADERS_GEN) $(top_srcdir)/src/modules/evas/engines/gl_common/shader/gen_shaders.sh
- @echo " SHADERS $@"
- @sh $(top_srcdir)/src/modules/evas/engines/gl_common/shader/gen_shaders.sh
+ @if [ "x$(EFL_SHD_REGEN)" = "x1" ] ; then \
+ echo " SHADERS $@" ; \
+ sh $(top_srcdir)/src/modules/evas/engines/gl_common/shader/gen_shaders.sh ; \
+ fi
modules/evas/engines/gl_common/evas_gl_shader.c: modules/evas/engines/gl_common/shader/evas_gl_shaders.x
@@ -807,8 +809,10 @@ modules/evas/engines/gl_common/shader_3d/include.shd \
$(GL_SHADERS_3D_GEN)
modules/evas/engines/gl_common/shader_3d/evas_gl_3d_shaders.x: $(top_srcdir)/src/modules/evas/engines/gl_common/shader_3d/gen_shaders_3d.sh $(GL_SHADERS_3D_GEN) $(top_srcdir)/src/modules/evas/engines/gl_common/shader_3d/include.shd
- @echo " SHADERS $@"
- @sh $(top_srcdir)/src/modules/evas/engines/gl_common/shader_3d/gen_shaders_3d.sh $(GL_SHADERS_3D_GEN)
+ @if [ "x$(EFL_SHD_REGEN)" = "x1" ] ; then \
+ echo " SHADERS $@" ; \
+ sh $(top_srcdir)/src/modules/evas/engines/gl_common/shader_3d/gen_shaders_3d.sh $(GL_SHADERS_3D_GEN) ; \
+ fi
modules/evas/engines/gl_common/evas_gl_3d_shader.c: modules/evas/engines/gl_common/shader_3d/evas_gl_3d_shaders.x