summaryrefslogtreecommitdiffstats
path: root/src/gallium/auxiliary/Makefile
diff options
context:
space:
mode:
authorJosé Fonseca <[email protected]>2008-02-15 20:07:18 +0900
committerJosé Fonseca <[email protected]>2008-02-15 20:07:18 +0900
commit92fcbf6e7bc622dcace226bb70ff6d5cdbdbaecb (patch)
tree5baeedd4c71c19e62ae293397ee93064bdca4227 /src/gallium/auxiliary/Makefile
parent6d3831b11d9f5aaba61cc2fb8ade61437ad7c335 (diff)
Code reorganization: s/aux/auxiliary/.
"aux" is a reserved name on Windows (X_X)
Diffstat (limited to 'src/gallium/auxiliary/Makefile')
-rw-r--r--src/gallium/auxiliary/Makefile24
1 files changed, 24 insertions, 0 deletions
diff --git a/src/gallium/auxiliary/Makefile b/src/gallium/auxiliary/Makefile
new file mode 100644
index 00000000000..da68498aa1f
--- /dev/null
+++ b/src/gallium/auxiliary/Makefile
@@ -0,0 +1,24 @@
+TOP = ../../..
+include $(TOP)/configs/current
+
+
+ifeq ($(CONFIG_NAME), linux-llvm)
+LLVM_DIR = llvm
+endif
+
+SUBDIRS = pipebuffer $(LLVM_DIR)
+
+
+default: subdirs
+
+
+subdirs:
+ @for dir in $(SUBDIRS) ; do \
+ if [ -d $$dir ] ; then \
+ (cd $$dir && $(MAKE)) || exit 1 ; \
+ fi \
+ done
+
+
+clean:
+ rm -f `find . -name \*.[oa]`