aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/compiler/Makefile.am1
-rw-r--r--src/compiler/Makefile.glsl.am1
-rw-r--r--src/compiler/Makefile.nir.am2
3 files changed, 1 insertions, 3 deletions
diff --git a/src/compiler/Makefile.am b/src/compiler/Makefile.am
index 50e87bb835a..d52da91dab8 100644
--- a/src/compiler/Makefile.am
+++ b/src/compiler/Makefile.am
@@ -57,6 +57,7 @@ CLEANFILES =
EXTRA_DIST = SConscript
MKDIR_GEN = $(AM_V_at)$(MKDIR_P) $(@D)
+PYTHON_GEN = $(AM_V_GEN)$(PYTHON2) $(PYTHON_FLAGS)
include Makefile.glsl.am
diff --git a/src/compiler/Makefile.glsl.am b/src/compiler/Makefile.glsl.am
index 80dfb737fb2..8cc0a4a22e1 100644
--- a/src/compiler/Makefile.glsl.am
+++ b/src/compiler/Makefile.glsl.am
@@ -189,7 +189,6 @@ am__v_YACC_1 =
YACC_GEN = $(AM_V_YACC)$(YACC) $(YFLAGS)
LEX_GEN = $(AM_V_LEX)$(LEX) $(LFLAGS)
-PYTHON_GEN = $(AM_V_GEN)$(PYTHON2) $(PYTHON_FLAGS)
glsl/glsl_parser.cpp glsl/glsl_parser.h: glsl/glsl_parser.yy
$(MKDIR_GEN)
diff --git a/src/compiler/Makefile.nir.am b/src/compiler/Makefile.nir.am
index 6cef3229e46..f4dd8eac9d1 100644
--- a/src/compiler/Makefile.nir.am
+++ b/src/compiler/Makefile.nir.am
@@ -31,8 +31,6 @@ nir_libnir_la_SOURCES = \
$(SPIRV_FILES) \
$(NIR_GENERATED_FILES)
-PYTHON_GEN = $(AM_V_GEN)$(PYTHON2) $(PYTHON_FLAGS)
-
nir/nir_builder_opcodes.h: nir/nir_opcodes.py nir/nir_builder_opcodes_h.py
$(MKDIR_GEN)
$(PYTHON_GEN) $(srcdir)/nir/nir_builder_opcodes_h.py > $@ || ($(RM) $@; false)