2020-06-21 14:15:17 +00:00
|
|
|
QFCC_LIBS=@QFCC_LIBS@
|
|
|
|
QFCC_DEPS=@QFCC_DEPS@
|
|
|
|
QFCC_INCS=@QFCC_INCS@
|
|
|
|
|
2021-03-27 11:09:37 +00:00
|
|
|
EXTRA_PROGRAMS += qfcc$(EXEEXT) qfprogs$(EXEEXT)
|
2021-03-26 07:11:29 +00:00
|
|
|
bin_PROGRAMS += @QFCC_TARGETS@
|
2020-06-21 14:15:17 +00:00
|
|
|
bin_SCRIPTS += tools/qfcc/source/qfpreqcc
|
|
|
|
|
|
|
|
qfcc_SOURCES = \
|
2023-08-21 08:37:56 +00:00
|
|
|
tools/qfcc/source/algebra.c \
|
2022-02-02 14:51:37 +00:00
|
|
|
tools/qfcc/source/attribute.c \
|
2020-06-21 14:15:17 +00:00
|
|
|
tools/qfcc/source/class.c \
|
|
|
|
tools/qfcc/source/codespace.c \
|
|
|
|
tools/qfcc/source/constfold.c \
|
|
|
|
tools/qfcc/source/cpp.c \
|
|
|
|
tools/qfcc/source/dags.c \
|
|
|
|
tools/qfcc/source/debug.c \
|
|
|
|
tools/qfcc/source/def.c \
|
|
|
|
tools/qfcc/source/defspace.c \
|
|
|
|
tools/qfcc/source/diagnostic.c \
|
|
|
|
tools/qfcc/source/dot.c \
|
|
|
|
tools/qfcc/source/dot_dag.c \
|
|
|
|
tools/qfcc/source/dot_expr.c \
|
|
|
|
tools/qfcc/source/dot_flow.c \
|
|
|
|
tools/qfcc/source/dot_sblock.c \
|
|
|
|
tools/qfcc/source/dot_type.c \
|
|
|
|
tools/qfcc/source/emit.c \
|
|
|
|
tools/qfcc/source/expr.c \
|
2023-08-21 08:37:56 +00:00
|
|
|
tools/qfcc/source/expr_algebra.c \
|
2020-06-21 14:15:17 +00:00
|
|
|
tools/qfcc/source/expr_assign.c \
|
|
|
|
tools/qfcc/source/expr_binary.c \
|
|
|
|
tools/qfcc/source/expr_bool.c \
|
2022-04-27 12:36:15 +00:00
|
|
|
tools/qfcc/source/expr_cast.c \
|
2024-11-04 11:28:30 +00:00
|
|
|
tools/qfcc/source/expr_call.c \
|
2020-06-21 14:15:17 +00:00
|
|
|
tools/qfcc/source/expr_compound.c \
|
2024-08-30 04:53:31 +00:00
|
|
|
tools/qfcc/source/expr_construct.c \
|
2023-09-25 07:03:29 +00:00
|
|
|
tools/qfcc/source/expr_dag.c \
|
2020-06-21 14:15:17 +00:00
|
|
|
tools/qfcc/source/expr_obj.c \
|
2023-10-01 07:29:14 +00:00
|
|
|
tools/qfcc/source/expr_optimize.c \
|
2024-10-01 05:13:16 +00:00
|
|
|
tools/qfcc/source/expr_process.c \
|
2024-04-26 06:20:13 +00:00
|
|
|
tools/qfcc/source/expr_type.c \
|
2024-09-22 03:44:12 +00:00
|
|
|
tools/qfcc/source/expr_unary.c \
|
2022-04-27 02:25:33 +00:00
|
|
|
tools/qfcc/source/expr_vector.c \
|
2023-08-20 14:38:45 +00:00
|
|
|
tools/qfcc/source/evaluate.c \
|
2024-09-05 16:00:25 +00:00
|
|
|
tools/qfcc/source/evaluate_type.c \
|
2020-06-21 14:15:17 +00:00
|
|
|
tools/qfcc/source/flow.c \
|
|
|
|
tools/qfcc/source/function.c \
|
2024-09-09 02:52:47 +00:00
|
|
|
tools/qfcc/source/glsl-attribute.c \
|
2024-08-30 16:15:07 +00:00
|
|
|
tools/qfcc/source/glsl-block.c \
|
2024-08-28 04:53:30 +00:00
|
|
|
tools/qfcc/source/glsl-builtins.c \
|
2024-09-09 02:52:47 +00:00
|
|
|
tools/qfcc/source/glsl-declaration.c \
|
2024-09-10 10:03:13 +00:00
|
|
|
tools/qfcc/source/glsl-layout.c \
|
2024-04-17 07:25:43 +00:00
|
|
|
tools/qfcc/source/glsl-parse.y \
|
2024-09-09 02:52:47 +00:00
|
|
|
tools/qfcc/source/glsl-sub_comp.c \
|
|
|
|
tools/qfcc/source/glsl-sub_frag.c \
|
|
|
|
tools/qfcc/source/glsl-sub_geom.c \
|
|
|
|
tools/qfcc/source/glsl-sub_tesc.c \
|
|
|
|
tools/qfcc/source/glsl-sub_tese.c \
|
|
|
|
tools/qfcc/source/glsl-sub_vert.c \
|
2020-06-21 14:15:17 +00:00
|
|
|
tools/qfcc/source/grab.c \
|
|
|
|
tools/qfcc/source/idstuff.c \
|
|
|
|
tools/qfcc/source/linker.c \
|
|
|
|
tools/qfcc/source/method.c \
|
|
|
|
tools/qfcc/source/obj_file.c \
|
|
|
|
tools/qfcc/source/obj_type.c \
|
|
|
|
tools/qfcc/source/opcodes.c \
|
|
|
|
tools/qfcc/source/options.c \
|
|
|
|
tools/qfcc/source/pragma.c \
|
2023-10-22 11:56:12 +00:00
|
|
|
tools/qfcc/source/pre-parse.y \
|
2020-06-21 14:15:17 +00:00
|
|
|
tools/qfcc/source/qc-lex.l \
|
|
|
|
tools/qfcc/source/qc-parse.y \
|
|
|
|
tools/qfcc/source/qfcc.c \
|
|
|
|
tools/qfcc/source/qp-lex.l \
|
|
|
|
tools/qfcc/source/qp-parse.y \
|
|
|
|
tools/qfcc/source/reloc.c \
|
2024-12-06 17:38:00 +00:00
|
|
|
tools/qfcc/source/rua-declaration.c \
|
2020-06-21 14:15:17 +00:00
|
|
|
tools/qfcc/source/shared.c \
|
2025-01-06 18:26:12 +00:00
|
|
|
tools/qfcc/source/spirv_grammar.c \
|
2020-06-21 14:15:17 +00:00
|
|
|
tools/qfcc/source/statements.c \
|
|
|
|
tools/qfcc/source/strpool.c \
|
|
|
|
tools/qfcc/source/struct.c \
|
|
|
|
tools/qfcc/source/switch.c \
|
|
|
|
tools/qfcc/source/symtab.c \
|
2024-10-06 05:29:02 +00:00
|
|
|
tools/qfcc/source/target.c \
|
|
|
|
tools/qfcc/source/target_rua.c \
|
|
|
|
tools/qfcc/source/target_spirv.c \
|
|
|
|
tools/qfcc/source/target_v6.c \
|
2020-06-21 14:15:17 +00:00
|
|
|
tools/qfcc/source/type.c \
|
2024-01-03 09:22:13 +00:00
|
|
|
tools/qfcc/source/value.c \
|
|
|
|
$(tracy_src)
|
2020-06-21 14:15:17 +00:00
|
|
|
|
2025-01-06 18:26:12 +00:00
|
|
|
qfcc_source = $(top_builddir)/tools/qfcc/source
|
|
|
|
|
|
|
|
embed_py = $(srcdir)/tools/qfcc/source/embed.py
|
|
|
|
|
|
|
|
spirv_core_grammar_json = spirv/unified1/spirv.core.grammar.json
|
|
|
|
spirv_core_grammar_jinc = $(qfcc_source)/spirv.core.grammar.jinc
|
|
|
|
$(spirv_core_grammar_jinc): $(embed_py)
|
|
|
|
$(V_PY)$(PYTHON) $(embed_py) $(COMPILE) \
|
|
|
|
-o $@.t $(spirv_core_grammar_json) && \
|
|
|
|
$(am__mv) $@.t $@
|
|
|
|
|
|
|
|
extinst_glsl_std_450_grammar_json = \
|
|
|
|
spirv/unified1/extinst.glsl.std.450.grammar.json
|
|
|
|
extinst_glsl_std_450_grammar_jinc = \
|
|
|
|
$(qfcc_source)/extinst.glsl.std.450.grammar.jinc
|
|
|
|
$(extinst_glsl_std_450_grammar_jinc): $(embed_py)
|
|
|
|
$(V_PY)$(PYTHON) $(embed_py) $(COMPILE) \
|
|
|
|
-o $@.t $(extinst_glsl_std_450_grammar_json) && \
|
|
|
|
$(am__mv) $@.t $@
|
|
|
|
|
|
|
|
tools/qfcc/source/spirv_grammar.$(OBJEXT): \
|
|
|
|
tools/qfcc/source/spirv_grammar.c \
|
|
|
|
$(spirv_core_grammar_jinc) \
|
|
|
|
$(extinst_glsl_std_450_grammar_jinc)
|
|
|
|
|
2020-06-21 14:15:17 +00:00
|
|
|
qfcc_LDADD= $(QFCC_LIBS)
|
|
|
|
qfcc_DEPENDENCIES= $(QFCC_DEPS)
|
|
|
|
|
|
|
|
qfprogs_SOURCES= \
|
|
|
|
tools/qfcc/source/disassemble.c \
|
|
|
|
tools/qfcc/source/dump_globals.c \
|
|
|
|
tools/qfcc/source/dump_lines.c \
|
|
|
|
tools/qfcc/source/dump_modules.c \
|
|
|
|
tools/qfcc/source/dump_strings.c \
|
|
|
|
tools/qfcc/source/obj_file.c \
|
|
|
|
tools/qfcc/source/qfprogs.c \
|
|
|
|
tools/qfcc/source/strpool.c \
|
|
|
|
tools/qfcc/source/stub.c \
|
2024-01-03 09:22:13 +00:00
|
|
|
tools/qfcc/source/type.c \
|
|
|
|
$(tracy_src)
|
2020-06-21 14:15:17 +00:00
|
|
|
qfprogs_LDADD= $(QFCC_LIBS)
|
|
|
|
qfprogs_DEPENDENCIES= $(QFCC_DEPS)
|
|
|
|
|
|
|
|
BUILT_SOURCES += \
|
2024-04-17 07:25:43 +00:00
|
|
|
tools/qfcc/source/glsl-parse.c \
|
|
|
|
tools/qfcc/source/glsl-parse.h \
|
2023-10-30 14:17:08 +00:00
|
|
|
tools/qfcc/source/pre-parse.c \
|
|
|
|
tools/qfcc/source/pre-parse.h \
|
2020-06-21 14:15:17 +00:00
|
|
|
tools/qfcc/source/qc-parse.c \
|
|
|
|
tools/qfcc/source/qc-parse.h \
|
|
|
|
tools/qfcc/source/qc-lex.c \
|
|
|
|
tools/qfcc/source/qp-parse.c \
|
|
|
|
tools/qfcc/source/qp-parse.h \
|
|
|
|
tools/qfcc/source/qp-lex.c
|
|
|
|
|
2024-04-17 07:25:43 +00:00
|
|
|
tools/qfcc/source/glsl-parse.c: tools/qfcc/source/glsl-parse.y
|
|
|
|
$(AM_V_YACC)$(YACCCOMPILE) $< -o $@
|
2023-10-22 11:56:12 +00:00
|
|
|
tools/qfcc/source/pre-parse.c: tools/qfcc/source/pre-parse.y
|
|
|
|
$(AM_V_YACC)$(YACCCOMPILE) $< -o $@
|
2020-06-21 14:15:17 +00:00
|
|
|
tools/qfcc/source/qc-parse.c: tools/qfcc/source/qc-parse.y
|
2023-10-08 01:57:57 +00:00
|
|
|
$(AM_V_YACC)$(YACCCOMPILE) $< -o $@
|
2022-12-02 08:10:04 +00:00
|
|
|
tools/qfcc/source/qc-lex.c: tools/qfcc/source/qc-lex.l
|
2023-10-08 01:57:57 +00:00
|
|
|
$(AM_V_LEX)$(LEXCOMPILE) -o$@ $<
|
2020-06-21 14:15:17 +00:00
|
|
|
tools/qfcc/source/qp-parse.c: tools/qfcc/source/qp-parse.y
|
2023-10-10 17:34:39 +00:00
|
|
|
$(AM_V_YACC)$(YACCCOMPILE) $< -o $@
|
2022-12-02 08:10:04 +00:00
|
|
|
tools/qfcc/source/qp-lex.c: tools/qfcc/source/qp-lex.l
|
2023-10-10 17:34:39 +00:00
|
|
|
$(AM_V_LEX)$(LEXCOMPILE) -o$@ $<
|
2020-06-21 14:15:17 +00:00
|
|
|
|
|
|
|
EXTRA_DIST += \
|
|
|
|
tools/qfcc/source/qfpreqcc
|