7 env.Prepend(CPPPATH = [
12 if env['platform'] == 'windows':
13 env.Prepend(CPPPATH = ['#src/talloc'])
17 'glcpp/glcpp-parse.c',
23 'builtin_function.cpp',
26 'glsl_parser_extras.cpp',
28 'glsl_symbol_table.cpp',
29 'hir_field_selection.cpp',
33 'ir_constant_expression.cpp',
34 'ir_constant_folding.cpp',
35 'ir_constant_propagation.cpp',
36 'ir_constant_variable.cpp',
37 'ir_copy_propagation.cpp',
40 'ir_dead_code_local.cpp',
41 'ir_dead_functions.cpp',
42 'ir_div_to_mul_rcp.cpp',
43 'ir_explog_to_explog2.cpp',
44 'ir_expression_flattening.cpp',
45 'ir_function_can_inline.cpp',
47 'ir_function_inlining.cpp',
48 'ir_hierarchical_visitor.cpp',
50 'ir_if_simplification.cpp',
51 'ir_if_to_cond_assign.cpp',
52 'ir_import_prototypes.cpp',
54 'ir_mat_op_to_vec.cpp',
55 'ir_mod_to_fract.cpp',
56 'ir_noop_swizzle.cpp',
57 'ir_print_visitor.cpp',
59 'ir_rvalue_visitor.cpp',
60 'ir_set_program_inouts.cpp',
61 'ir_structure_splitting.cpp',
62 'ir_sub_to_add_neg.cpp',
63 'ir_swizzle_swizzle.cpp',
64 'ir_tree_grafting.cpp',
67 'ir_variable_refcount.cpp',
68 'ir_vec_index_to_cond_assign.cpp',
69 'ir_vec_index_to_swizzle.cpp',
79 glsl = env.ConvenienceLibrary(
86 # FIXME: We can't build the programs because there's a cyclic dependency between tis directory and src/mesa
91 if env['platform'] == 'windows':
92 env.PrependUnique(LIBS = [
96 env.Prepend(LIBS = [glsl, talloc])
107 source = ['glcpp/glcpp.c'],