r300/compiler: Clear empty registers after constant folding
[mesa.git] / src / glsl / Makefile
index 1d200b47b40b3458d01e34422fd2a1161829f2a7..83869b1d846704cf34a10a130d1e3ab7ed5651b5 100644 (file)
@@ -28,6 +28,7 @@ CXX_SOURCES = \
        glsl_parser.cpp \
        glsl_parser_extras.cpp \
        glsl_types.cpp \
+       glsl_symbol_table.cpp \
        hir_field_selection.cpp \
        ir_algebraic.cpp \
        ir_basic_block.cpp \
@@ -49,10 +50,10 @@ CXX_SOURCES = \
        ir_function_inlining.cpp \
        ir_hierarchical_visitor.cpp \
        ir_hv_accept.cpp \
-       ir_if_return.cpp \
        ir_if_simplification.cpp \
        ir_if_to_cond_assign.cpp \
        ir_import_prototypes.cpp \
+       ir_lower_jumps.cpp \
        ir_mat_op_to_vec.cpp \
        ir_mod_to_fract.cpp \
        ir_noop_swizzle.cpp \
@@ -71,11 +72,18 @@ CXX_SOURCES = \
        ir_vec_index_to_swizzle.cpp \
        linker.cpp \
        link_functions.cpp \
+       loop_analysis.cpp \
+       loop_controls.cpp \
+       loop_unroll.cpp \
+       lower_noise.cpp \
+       lower_texture_projection.cpp \
+       lower_variable_index_to_cond_assign.cpp \
+       opt_redundant_jumps.cpp \
        s_expression.cpp
 
 LIBS = \
        $(TOP)/src/glsl/libglsl.a \
-       $(shell pkg-config --libs talloc)
+       $(TALLOC_LIBS)
 
 APPS = glsl_compiler glcpp/glcpp
 
@@ -104,6 +112,7 @@ OBJECTS = \
        $(CXX_SOURCES:.cpp=.o)
 
 INCLUDES = \
+       $(TALLOC_CFLAGS) \
        -I. \
        -I../mesa \
        -I../mapi \
@@ -130,7 +139,7 @@ depend: $(ALL_SOURCES) Makefile
 
 # Remove .o and backup files
 clean:
-       rm -f $(OBJECTS) lib$(LIBNAME).a depend depend.bak
+       rm -f $(GLCPP_OBJECTS) $(GLSL2_OBJECTS) $(OBJECTS) lib$(LIBNAME).a depend depend.bak
        -rm -f $(APPS)
 
 # Dummy target