1 # $NetBSD: libglsl7.mk,v 1.1 2015/01/05 03:45:31 mrg Exp $
3 # This copy for MesaLib7 old drivers.
5 # Derived loosely from src/glsl/Makefile.
7 # XXX Now that we don't need glsl-compile as a tool, this should just
8 # be made into a library instead.
10 .PATH
: ${X11SRCDIR.MesaLib7
}/src
/glsl
11 .PATH
: ${X11SRCDIR.MesaLib7
}/src
/glsl
/glcpp
13 CPPFLAGS
+= -I
${X11SRCDIR.MesaLib7
}/include
14 CPPFLAGS
+= -I
${X11SRCDIR.MesaLib7
}/src
/glsl
15 CPPFLAGS
+= -I
${X11SRCDIR.MesaLib7
}/src
/mapi
16 CPPFLAGS
+= -I
${X11SRCDIR.MesaLib7
}/src
/mesa
24 ${SRCS.glsl.libglcpp
} \
40 glsl_parser_extras.
cpp \
42 glsl_symbol_table.
cpp \
43 hir_field_selection.
cpp \
46 ir_constant_expression.
cpp \
48 ir_expression_flattening.
cpp \
49 ir_function_can_inline.
cpp \
50 ir_function_detect_recursion.
cpp \
52 ir_hierarchical_visitor.
cpp \
54 ir_import_prototypes.
cpp \
55 ir_print_visitor.
cpp \
57 ir_rvalue_visitor.
cpp \
58 ir_set_program_inouts.
cpp \
61 ir_variable_refcount.
cpp \
68 lower_if_to_cond_assign.
cpp \
69 lower_instructions.
cpp \
71 lower_mat_op_to_vec.
cpp \
73 lower_texture_projection.
cpp \
74 lower_variable_index_to_cond_assign.
cpp \
75 lower_vec_index_to_cond_assign.
cpp \
76 lower_vec_index_to_swizzle.
cpp \
79 opt_constant_folding.
cpp \
80 opt_constant_propagation.
cpp \
81 opt_constant_variable.
cpp \
82 opt_copy_propagation.
cpp \
83 opt_copy_propagation_elements.
cpp \
85 opt_dead_code_local.
cpp \
86 opt_dead_functions.
cpp \
87 opt_discard_simplification.
cpp \
88 opt_function_inlining.
cpp \
89 opt_if_simplification.
cpp \
90 opt_noop_swizzle.
cpp \
91 opt_redundant_jumps.
cpp \
92 opt_structure_splitting.
cpp \
93 opt_swizzle_swizzle.
cpp \
94 opt_tree_grafting.
cpp \