glsl: Make the generated sources build rules more like NIR
Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Matt Turner <mattst88@gmail.com>
This commit is contained in:
parent
120c9c6380
commit
de71bc9eb6
|
@ -39,7 +39,7 @@ LOCAL_C_INCLUDES += \
|
||||||
|
|
||||||
LOCAL_GENERATED_SOURCES += $(addprefix $(intermediates)/, \
|
LOCAL_GENERATED_SOURCES += $(addprefix $(intermediates)/, \
|
||||||
$(LIBGLCPP_GENERATED_FILES) \
|
$(LIBGLCPP_GENERATED_FILES) \
|
||||||
$(LIBGLSL_GENERATED_CXX_FILES))
|
$(LIBGLSL_GENERATED_FILES))
|
||||||
|
|
||||||
define local-l-or-ll-to-c-or-cpp
|
define local-l-or-ll-to-c-or-cpp
|
||||||
@mkdir -p $(dir $@)
|
@mkdir -p $(dir $@)
|
||||||
|
|
|
@ -116,9 +116,7 @@ glsl_libglsl_la_LIBADD = \
|
||||||
glsl/libglcpp.la
|
glsl/libglcpp.la
|
||||||
|
|
||||||
glsl_libglsl_la_SOURCES = \
|
glsl_libglsl_la_SOURCES = \
|
||||||
glsl/glsl_lexer.cpp \
|
$(LIBGLSL_GENERATED_FILES) \
|
||||||
glsl/glsl_parser.cpp \
|
|
||||||
glsl/glsl_parser.h \
|
|
||||||
$(LIBGLSL_FILES)
|
$(LIBGLSL_FILES)
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -144,9 +144,10 @@ GLSL_COMPILER_CXX_FILES = \
|
||||||
glsl/standalone.h
|
glsl/standalone.h
|
||||||
|
|
||||||
# libglsl generated sources
|
# libglsl generated sources
|
||||||
LIBGLSL_GENERATED_CXX_FILES = \
|
LIBGLSL_GENERATED_FILES = \
|
||||||
glsl/glsl_lexer.cpp \
|
glsl/glsl_lexer.cpp \
|
||||||
glsl/glsl_parser.cpp
|
glsl/glsl_parser.cpp \
|
||||||
|
glsl/glsl_parser.h
|
||||||
|
|
||||||
# libglcpp
|
# libglcpp
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue