X-Git-Url: https://git.libre-soc.org/?a=blobdiff_plain;f=src%2Fcompiler%2FMakefile.glsl.am;h=007af4769af338470486ab09bee0ae744187d431;hb=332b969c4ed7fdfc6d65770c07fb573c50174eb0;hp=02a7f4321503b1f7afd2eb35cca631cbf5b6fc8a;hpb=cff80b6c153661ed40a207815a3d3a132daae656;p=mesa.git diff --git a/src/compiler/Makefile.glsl.am b/src/compiler/Makefile.glsl.am index 02a7f432150..007af4769af 100644 --- a/src/compiler/Makefile.glsl.am +++ b/src/compiler/Makefile.glsl.am @@ -28,6 +28,8 @@ EXTRA_DIST += glsl/tests glsl/glcpp/tests glsl/README \ glsl/ir_expression_operation.py \ glsl/glcpp/glcpp-lex.l \ glsl/glcpp/glcpp-parse.y \ + glsl/xxd.py \ + glsl/float64.glsl \ SConscript.glsl TESTS += glsl/glcpp/tests/glcpp-test.sh \ @@ -41,7 +43,7 @@ TESTS += glsl/glcpp/tests/glcpp-test.sh \ TESTS_ENVIRONMENT= \ export abs_builddir=$(abs_builddir); \ - export PYTHON2=$(PYTHON2); \ + export PYTHON=$(PYTHON); \ export PYTHON_FLAGS=$(PYTHON_FLAGS); check_PROGRAMS += \ @@ -225,6 +227,10 @@ glsl/ir_expression_operation_strings.h: glsl/ir_expression_operation.py $(MKDIR_GEN) $(PYTHON_GEN) $(srcdir)/glsl/ir_expression_operation.py strings > $@ || ($(RM) $@; false) +glsl/float64_glsl.h: glsl/xxd.py glsl/float64.glsl + $(MKDIR_GEN) + $(PYTHON_GEN) $(srcdir)/glsl/xxd.py $(srcdir)/glsl/float64.glsl $@ -n float64_source || ($(RM) $@; false) + # Only the parsers (specifically the header files generated at the same time) # need to be in BUILT_SOURCES. Though if we list the parser headers YACC is # called for the .c/.cpp file and the .h files. By listing the .c/.cpp files @@ -232,6 +238,7 @@ glsl/ir_expression_operation_strings.h: glsl/ir_expression_operation.py # will be created at the appropriate times according to standard automake # dependency rules. BUILT_SOURCES += \ + glsl/float64_glsl.h \ glsl/glsl_parser.cpp \ glsl/glsl_lexer.cpp \ glsl/ir_expression_operation.h \ @@ -240,6 +247,7 @@ BUILT_SOURCES += \ glsl/glcpp/glcpp-parse.c \ glsl/glcpp/glcpp-lex.c CLEANFILES += \ + glsl/float64_glsl.h \ glsl/glcpp/glcpp-parse.h \ glsl/glsl_parser.h \ glsl/glsl_parser.cpp \