Drop main() prototype. Syncs with NetBSD-8
[minix.git] / external / mit / xorg / lib / dri7 / libglsl7.mk
blobffb9a2e3b6478382bdefe05ad6b09135f3031191
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
18 SRCS.glsl.libglcpp= \
19 glcpp-lex.c \
20 glcpp-parse.c \
21 pp.c
23 SRCS.glsl.glcpp= \
24 ${SRCS.glsl.libglcpp} \
25 strtod.c \
26 glcpp.c
28 SRCS.glsl.c= \
29 strtod.c \
30 ralloc.c \
31 ${SRCS.glsl.libglcpp}
33 SRCS.glsl.cxx= \
34 ast_expr.cpp \
35 ast_function.cpp \
36 ast_to_hir.cpp \
37 ast_type.cpp \
38 glsl_lexer.cpp \
39 glsl_parser.cpp \
40 glsl_parser_extras.cpp \
41 glsl_types.cpp \
42 glsl_symbol_table.cpp \
43 hir_field_selection.cpp \
44 ir_basic_block.cpp \
45 ir_clone.cpp \
46 ir_constant_expression.cpp \
47 ir.cpp \
48 ir_expression_flattening.cpp \
49 ir_function_can_inline.cpp \
50 ir_function_detect_recursion.cpp \
51 ir_function.cpp \
52 ir_hierarchical_visitor.cpp \
53 ir_hv_accept.cpp \
54 ir_import_prototypes.cpp \
55 ir_print_visitor.cpp \
56 ir_reader.cpp \
57 ir_rvalue_visitor.cpp \
58 ir_set_program_inouts.cpp \
59 ir_validate.cpp \
60 ir_variable.cpp \
61 ir_variable_refcount.cpp \
62 linker.cpp \
63 link_functions.cpp \
64 loop_analysis.cpp \
65 loop_controls.cpp \
66 loop_unroll.cpp \
67 lower_discard.cpp \
68 lower_if_to_cond_assign.cpp \
69 lower_instructions.cpp \
70 lower_jumps.cpp \
71 lower_mat_op_to_vec.cpp \
72 lower_noise.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 \
77 lower_vector.cpp \
78 opt_algebraic.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 \
84 opt_dead_code.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 \
95 s_expression.cpp
97 SRCS.glsl= \
98 ${SRCS.glsl.c} \
99 ${SRCS.glsl.cxx}
101 SRCS.glsl+= \
102 builtin_function.cpp