Merge branch 'mesa_7_7_branch'
[mesa.git] / src / gallium / state_trackers / Makefile
index 07b3fbf3119594b1a559a549cd63082f39b9494a..0900efc664fb68499882586a8bfa16794a9e0db8 100644 (file)
@@ -2,7 +2,7 @@ TOP = ../../..
 include $(TOP)/configs/current
 
 
-SUBDIRS = glx
+SUBDIRS = $(GALLIUM_STATE_TRACKERS_DIRS)
 
 
 default: subdirs
@@ -21,5 +21,9 @@ clean:
        rm -f `find . -name depend`
 
 
-# Dummy install target
 install:
+       @for dir in $(SUBDIRS) ; do \
+               if [ -d $$dir ] ; then \
+                       (cd $$dir && $(MAKE) $@) || exit 1 ; \
+               fi \
+       done