automake: Convert Gallium target and winsys
authorMatt Turner <mattst88@gmail.com>
Thu, 23 Aug 2012 22:55:53 +0000 (15:55 -0700)
committerAndreas Boll <andreas.boll.dev@gmail.com>
Thu, 10 Jan 2013 21:01:06 +0000 (22:01 +0100)
configure.ac
src/gallium/targets/.gitignore [new file with mode: 0644]
src/gallium/targets/Makefile [deleted file]
src/gallium/targets/Makefile.am [new file with mode: 0644]
src/gallium/winsys/.gitignore [new file with mode: 0644]
src/gallium/winsys/Makefile [deleted file]
src/gallium/winsys/Makefile.am [new file with mode: 0644]

index 685b29a7f44cdd030bd98a14919b84341b04ec1c..5cc611ff8b0dedf79f92220c90bab6c22b0dabe3 100644 (file)
@@ -2007,7 +2007,9 @@ AC_CONFIG_FILES([configs/current
                src/gallium/drivers/r300/Makefile
                src/gallium/drivers/r600/Makefile
                src/gallium/state_trackers/clover/Makefile
+               src/gallium/targets/Makefile
                src/gallium/targets/opencl/Makefile
+               src/gallium/winsys/Makefile
                src/gbm/Makefile
                src/gbm/main/gbm.pc
                src/glsl/Makefile
diff --git a/src/gallium/targets/.gitignore b/src/gallium/targets/.gitignore
new file mode 100644 (file)
index 0000000..f3c7a7c
--- /dev/null
@@ -0,0 +1 @@
+Makefile
diff --git a/src/gallium/targets/Makefile b/src/gallium/targets/Makefile
deleted file mode 100644 (file)
index a0bc5eb..0000000
+++ /dev/null
@@ -1,12 +0,0 @@
-# src/gallium/winsys/Makefile
-TOP = ../../..
-include $(TOP)/configs/current
-
-SUBDIRS = $(GALLIUM_TARGET_DIRS)
-
-default install clean:
-       @for dir in $(SUBDIRS) ; do \
-               if [ -d $$dir ] ; then \
-                       (cd $$dir && $(MAKE) $@) || exit 1; \
-               fi \
-       done
diff --git a/src/gallium/targets/Makefile.am b/src/gallium/targets/Makefile.am
new file mode 100644 (file)
index 0000000..deeefbe
--- /dev/null
@@ -0,0 +1 @@
+SUBDIRS = $(GALLIUM_TARGET_DIRS)
diff --git a/src/gallium/winsys/.gitignore b/src/gallium/winsys/.gitignore
new file mode 100644 (file)
index 0000000..f3c7a7c
--- /dev/null
@@ -0,0 +1 @@
+Makefile
diff --git a/src/gallium/winsys/Makefile b/src/gallium/winsys/Makefile
deleted file mode 100644 (file)
index bce5b3f..0000000
+++ /dev/null
@@ -1,12 +0,0 @@
-# src/gallium/winsys/Makefile
-TOP = ../../..
-include $(TOP)/configs/current
-
-SUBDIRS = $(GALLIUM_WINSYS_DIRS)
-
-default install clean:
-       @for dir in $(SUBDIRS) ; do \
-               if [ -d $$dir ] ; then \
-                       (cd $$dir && $(MAKE) $@) || exit 1; \
-               fi \
-       done
diff --git a/src/gallium/winsys/Makefile.am b/src/gallium/winsys/Makefile.am
new file mode 100644 (file)
index 0000000..f2c96b3
--- /dev/null
@@ -0,0 +1 @@
+SUBDIRS = $(GALLIUM_WINSYS_DIRS)