summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChia-I Wu <olvaffe@gmail.com>2009-11-06 17:11:43 +0800
committerBrian Paul <brianp@vmware.com>2009-11-06 14:19:24 -0700
commit1046f70a7d0592aaf10837ff9d2523de53910a31 (patch)
tree5fe8fa9782e09075c6050b76631cb6356405eca1
parent7fb41df2cbae4cf35d0f73c2261a9409a1367903 (diff)
gallium: Allow state trackers to install files.
State trackers like es or vega need to install their libraries. Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
-rw-r--r--src/gallium/state_trackers/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/gallium/state_trackers/Makefile b/src/gallium/state_trackers/Makefile
index 265ca468c2..0900efc664 100644
--- a/src/gallium/state_trackers/Makefile
+++ b/src/gallium/state_trackers/Makefile
@@ -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