summaryrefslogtreecommitdiff
path: root/src/mesa/drivers/dri/Makefile
diff options
context:
space:
mode:
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 0000000000..5a961e96af
--- /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