gallium: Allow state trackers to install files.
authorChia-I Wu <olvaffe@gmail.com>
Fri, 6 Nov 2009 09:11:43 +0000 (17:11 +0800)
committerBrian Paul <brianp@vmware.com>
Fri, 6 Nov 2009 21:19:24 +0000 (14:19 -0700)
State trackers like es or vega need to install their libraries.

Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
src/gallium/state_trackers/Makefile

index 265ca468c2d0b36348e3fa2c07386d5994420aaf..0900efc664fb68499882586a8bfa16794a9e0db8 100644 (file)
@@ -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