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 \
- glsl/glcpp/tests/glcpp-test-cr-lf.sh \
glsl/tests/blob-test \
glsl/tests/cache-test \
glsl/tests/general-ir-test \
glsl/tests/warnings-test.sh
TESTS_ENVIRONMENT= \
- export PYTHON2=$(PYTHON2); \
+ export abs_builddir=$(abs_builddir); \
+ export PYTHON=$(PYTHON); \
export PYTHON_FLAGS=$(PYTHON_FLAGS);
check_PROGRAMS += \
glsl/tests/sampler-types-test \
glsl/tests/uniform-initializer-test
-noinst_PROGRAMS = glsl_compiler
+noinst_PROGRAMS += glsl_compiler
glsl_tests_blob_test_SOURCES = \
glsl/tests/blob_test.c
$(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
# 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 \
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 \
glsl/glcpp/glcpp-lex.c
clean-local:
+ $(RM) glsl/tests/lower_jumps/*.opt_test
+ $(RM) glsl/tests/lower_jumps/*.expected
+ $(RM) glsl/tests/lower_jumps/*.out
+ $(RM) glsl/tests/warnings/*.out
+ $(RM) glsl/glcpp/tests/*.out
+ $(RM) -r glsl/glcpp/tests/subtest*/
$(RM) -r subtest-cr subtest-cr-lf subtest-lf subtest-lf-cr
dist-hook: