i965/vs: Add support for copy propagation of the UNIFORM and ATTR files.
[mesa.git] / Makefile
index 6bd4cfdfffb6f433c16e3e624ee8bb71a37ae99a..d65d4c4968e71596ca5d830e9696cac12f1b5c60 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -21,6 +21,10 @@ all: default
 doxygen:
        cd doxygen && $(MAKE)
 
+check:
+       cd src/glsl/tests/ && ./optimization-test
+       @echo "All tests passed."
+
 clean:
        -@touch $(TOP)/configs/current
        -@for dir in $(SUBDIRS) ; do \
@@ -51,7 +55,7 @@ install:
        done
 
 
-.PHONY: default doxygen clean realclean distclean install
+.PHONY: default doxygen clean realclean distclean install check
 
 # If there's no current configuration file
 $(TOP)/configs/current:
@@ -78,7 +82,6 @@ aix-static \
 autoconf \
 bluegene-osmesa \
 bluegene-xlc-osmesa \
-beos \
 catamount-osmesa-pgi \
 darwin \
 darwin-fat-32bit \
@@ -203,18 +206,12 @@ EXTRA_FILES = \
 IGNORE_FILES = \
        -x autogen.sh
 
-DEPEND_FILES = \
-       src/mesa/depend         \
-       src/glx/depend          \
-       src/glw/depend          \
-       src/glu/sgi/depend
-
 
 parsers: configure
        -@touch $(TOP)/configs/current
        $(MAKE) -C src/glsl glsl_parser.cpp glsl_parser.h glsl_lexer.cpp
        $(MAKE) -C src/glsl/glcpp glcpp-lex.c glcpp-parse.c glcpp-parse.h
-       $(MAKE) -C src/mesa/program lex.yy.c program_parse.tab.c program_parse.tab.h
+       $(MAKE) -C src/mesa program/lex.yy.c program/program_parse.tab.c program/program_parse.tab.h
 
 # Everything for new a Mesa release:
 ARCHIVES = $(PACKAGE_NAME).tar.gz \
@@ -231,15 +228,9 @@ AUTOCONF = autoconf
 AC_FLAGS =
 aclocal.m4: configure.ac acinclude.m4
        $(ACLOCAL) $(ACLOCAL_FLAGS)
-configure: rm_depend configure.ac aclocal.m4 acinclude.m4
+configure: configure.ac aclocal.m4 acinclude.m4
        $(AUTOCONF) $(AC_FLAGS)
 
-rm_depend:
-       @for dep in $(DEPEND_FILES) ; do \
-               rm -f $$dep ; \
-               touch $$dep ; \
-       done
-
 manifest.txt: .git
        ( \
                ls -1 $(EXTRA_FILES) ; \
@@ -269,4 +260,4 @@ md5: $(ARCHIVES)
        @-md5sum $(PACKAGE_NAME).tar.bz2
        @-md5sum $(PACKAGE_NAME).zip
 
-.PHONY: tarballs rm_depend md5
+.PHONY: tarballs md5