[Mesa-dev] [PATCH 30/32] state_trackers/dri: Convert to automake

Matt Turner mattst88 at gmail.com
Wed Aug 29 23:17:22 PDT 2012


---
 configure.ac                               |    1 +
 src/gallium/state_trackers/dri/.gitignore  |    1 +
 src/gallium/state_trackers/dri/Makefile    |   12 ------------
 src/gallium/state_trackers/dri/Makefile.am |    1 +
 4 files changed, 3 insertions(+), 12 deletions(-)
 create mode 100644 src/gallium/state_trackers/dri/.gitignore
 delete mode 100644 src/gallium/state_trackers/dri/Makefile
 create mode 100644 src/gallium/state_trackers/dri/Makefile.am

diff --git a/configure.ac b/configure.ac
index e655724..a6a13e4 100644
--- a/configure.ac
+++ b/configure.ac
@@ -2033,6 +2033,7 @@ AC_CONFIG_FILES([configs/current
 		src/gallium/drivers/svga/Makefile
 		src/gallium/drivers/trace/Makefile
 		src/gallium/state_trackers/clover/Makefile
+		src/gallium/state_trackers/dri/Makefile
 		src/gallium/targets/Makefile
 		src/gallium/targets/opencl/Makefile
 		src/gallium/winsys/Makefile
diff --git a/src/gallium/state_trackers/dri/.gitignore b/src/gallium/state_trackers/dri/.gitignore
new file mode 100644
index 0000000..f3c7a7c
--- /dev/null
+++ b/src/gallium/state_trackers/dri/.gitignore
@@ -0,0 +1 @@
+Makefile
diff --git a/src/gallium/state_trackers/dri/Makefile b/src/gallium/state_trackers/dri/Makefile
deleted file mode 100644
index 72e7057..0000000
--- a/src/gallium/state_trackers/dri/Makefile
+++ /dev/null
@@ -1,12 +0,0 @@
-# src/gallium/state_trackers/dri/Makefile
-TOP = ../../../..
-include $(TOP)/configs/current
-
-SUBDIRS = drm sw
-
-default install clean:
-	@for dir in $(SUBDIRS) ; do \
-		if [ -d $$dir ] ; then \
-			(cd $$dir && $(MAKE) $@) || exit 1; \
-		fi \
-	done
diff --git a/src/gallium/state_trackers/dri/Makefile.am b/src/gallium/state_trackers/dri/Makefile.am
new file mode 100644
index 0000000..a6c0748
--- /dev/null
+++ b/src/gallium/state_trackers/dri/Makefile.am
@@ -0,0 +1 @@
+SUBDIRS = drm sw
-- 
1.7.8.6



More information about the mesa-dev mailing list