summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri/Makefile
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2004-03-26 15:19:11 +0000
committerBrian Paul <[email protected]>2004-03-26 15:19:11 +0000
commitde0ee3187c8fffb52327f9a5680a3eafea872276 (patch)
tree69ca2969c64ddd79910f0783639d4c7bd65df792 /src/mesa/drivers/dri/Makefile
parenta70ad91209b08ebe7122ace6d6656b11d9b04542 (diff)
New Makefile system
Diffstat (limited to 'src/mesa/drivers/dri/Makefile')
-rw-r--r--src/mesa/drivers/dri/Makefile31
1 files changed, 31 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/Makefile b/src/mesa/drivers/dri/Makefile
new file mode 100644
index 00000000000..5a961e96afe
--- /dev/null
+++ b/src/mesa/drivers/dri/Makefile
@@ -0,0 +1,31 @@
+# src/mesa/drivers/dri/Makefile
+
+TOP = ../../../..
+
+include $(TOP)/configs/current
+
+#SUBDIRS = fb ffb gamma i810 i830 mach64 mga r128 r200 radeon sis tdfx unichrome
+SUBDIRS = fb gamma i810 i830 mach64 mga r128 r200 radeon sis tdfx
+
+
+default: $(LIB_DIR) subdirs
+
+
+$(LIB_DIR):
+ -mkdir $(LIB_DIR)
+
+
+subdirs:
+ @for dir in $(SUBDIRS) ; do \
+ pushd $$dir ; \
+ make ; \
+ popd ; \
+ done
+
+
+clean:
+ @for dir in $(SUBDIRS) ; do \
+ pushd $$dir ; \
+ make clean ; \
+ popd ; \
+ done