summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Stellard <tstellar@gmail.com>2012-03-03 09:07:48 -0500
committerTom Stellard <thomas.stellard@amd.com>2012-03-14 10:25:59 -0400
commitfe3f98ed70be01a49dd2e93870907d092fe4a283 (patch)
tree9f7e40a483c3ddded783396123af89012166e501
parentea738548e58a76547a5cdd4b38ad354314c40e77 (diff)
gallium/drivers: Use automake to generate makefile
-rw-r--r--configure.ac1
-rw-r--r--src/gallium/drivers/.gitignore3
-rw-r--r--src/gallium/drivers/Makefile12
-rw-r--r--src/gallium/drivers/Makefile.am4
-rw-r--r--src/gallium/drivers/galahad/Makefile3
-rw-r--r--src/gallium/drivers/i915/Makefile3
-rw-r--r--src/gallium/drivers/identity/Makefile3
-rw-r--r--src/gallium/drivers/llvmpipe/Makefile3
-rw-r--r--src/gallium/drivers/noop/Makefile3
-rw-r--r--src/gallium/drivers/nouveau/Makefile3
-rw-r--r--src/gallium/drivers/nv50/Makefile3
-rw-r--r--src/gallium/drivers/nvc0/Makefile3
-rw-r--r--src/gallium/drivers/nvfx/Makefile3
-rw-r--r--src/gallium/drivers/r300/Makefile.am4
-rw-r--r--src/gallium/drivers/r600/Makefile3
-rw-r--r--src/gallium/drivers/rbug/Makefile3
-rw-r--r--src/gallium/drivers/softpipe/Makefile3
-rw-r--r--src/gallium/drivers/svga/Makefile3
-rw-r--r--src/gallium/drivers/trace/Makefile3
19 files changed, 50 insertions, 16 deletions
diff --git a/configure.ac b/configure.ac
index a2d906abb9..4515731859 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1948,6 +1948,7 @@ CXXFLAGS="$CXXFLAGS $USER_CXXFLAGS"
dnl Substitute the config
AC_CONFIG_FILES([configs/autoconf
+ src/gallium/drivers/Makefile
src/gallium/drivers/r300/Makefile
src/gbm/Makefile
src/gbm/main/gbm.pc
diff --git a/src/gallium/drivers/.gitignore b/src/gallium/drivers/.gitignore
new file mode 100644
index 0000000000..a963aad2d3
--- /dev/null
+++ b/src/gallium/drivers/.gitignore
@@ -0,0 +1,3 @@
+Makefile
+Makefile.in
+.deps/
diff --git a/src/gallium/drivers/Makefile b/src/gallium/drivers/Makefile
deleted file mode 100644
index 9fe9b2c11d..0000000000
--- a/src/gallium/drivers/Makefile
+++ /dev/null
@@ -1,12 +0,0 @@
-# src/gallium/drivers/Makefile
-TOP = ../../..
-include $(TOP)/configs/current
-
-SUBDIRS = $(GALLIUM_DRIVERS_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/drivers/Makefile.am b/src/gallium/drivers/Makefile.am
new file mode 100644
index 0000000000..b6954e2d94
--- /dev/null
+++ b/src/gallium/drivers/Makefile.am
@@ -0,0 +1,4 @@
+SUBDIRS = $(GALLIUM_DRIVERS_DIRS)
+
+# FIXME: Remove when the rest of Gallium is converted to automake.
+default: all
diff --git a/src/gallium/drivers/galahad/Makefile b/src/gallium/drivers/galahad/Makefile
index e9c4f7e28c..15ea136a81 100644
--- a/src/gallium/drivers/galahad/Makefile
+++ b/src/gallium/drivers/galahad/Makefile
@@ -9,3 +9,6 @@ C_SOURCES = \
glhd_screen.c
include ../../Makefile.template
+
+# FIXME: Remove when this driver is converted to automake.
+all: default
diff --git a/src/gallium/drivers/i915/Makefile b/src/gallium/drivers/i915/Makefile
index 0e57678484..b7d8a1f1d4 100644
--- a/src/gallium/drivers/i915/Makefile
+++ b/src/gallium/drivers/i915/Makefile
@@ -7,3 +7,6 @@ LIBNAME = i915
include Makefile.sources
include ../../Makefile.template
+
+# FIXME: Remove when this driver is converted to automake.
+all: default
diff --git a/src/gallium/drivers/identity/Makefile b/src/gallium/drivers/identity/Makefile
index 74692d9761..a15e17e0d4 100644
--- a/src/gallium/drivers/identity/Makefile
+++ b/src/gallium/drivers/identity/Makefile
@@ -9,3 +9,6 @@ C_SOURCES = \
id_screen.c
include ../../Makefile.template
+
+# FIXME: Remove when this driver is converted to automake.
+all: default
diff --git a/src/gallium/drivers/llvmpipe/Makefile b/src/gallium/drivers/llvmpipe/Makefile
index 1a4e93d7ce..8df891cd1b 100644
--- a/src/gallium/drivers/llvmpipe/Makefile
+++ b/src/gallium/drivers/llvmpipe/Makefile
@@ -62,6 +62,9 @@ CLEAN_EXTRA = *.o
include ../../Makefile.template
+# FIXME: Remove when this driver is converted to automake.
+all: default
+
PROGS_DEPS := ../../auxiliary/libgallium.a
lp_tile_soa.c: lp_tile_soa.py ../../auxiliary/util/u_format_parse.py ../../auxiliary/util/u_format_pack.py ../../auxiliary/util/u_format.csv
diff --git a/src/gallium/drivers/noop/Makefile b/src/gallium/drivers/noop/Makefile
index 29b8d73de2..75e65ed60f 100644
--- a/src/gallium/drivers/noop/Makefile
+++ b/src/gallium/drivers/noop/Makefile
@@ -11,3 +11,6 @@ C_SOURCES = \
noop_state.c
include ../../Makefile.template
+
+# FIXME: Remove when this driver is converted to automake.
+all: default
diff --git a/src/gallium/drivers/nouveau/Makefile b/src/gallium/drivers/nouveau/Makefile
index d583324b02..cfb8831582 100644
--- a/src/gallium/drivers/nouveau/Makefile
+++ b/src/gallium/drivers/nouveau/Makefile
@@ -14,3 +14,6 @@ LIBRARY_DEFINES += $(shell $(PKG_CONFIG) libdrm libdrm_nouveau --cflags-only-oth
include Makefile.sources
include ../../Makefile.template
+
+# FIXME: Remove when this driver is converted to automake.
+all: default
diff --git a/src/gallium/drivers/nv50/Makefile b/src/gallium/drivers/nv50/Makefile
index 18e30b0a54..2dd37eeace 100644
--- a/src/gallium/drivers/nv50/Makefile
+++ b/src/gallium/drivers/nv50/Makefile
@@ -10,3 +10,6 @@ LIBRARY_INCLUDES = \
$(LIBDRM_CFLAGS)
include ../../Makefile.template
+
+# FIXME: Remove when this driver is converted to automake.
+all: default
diff --git a/src/gallium/drivers/nvc0/Makefile b/src/gallium/drivers/nvc0/Makefile
index c41262559c..a60127fe2d 100644
--- a/src/gallium/drivers/nvc0/Makefile
+++ b/src/gallium/drivers/nvc0/Makefile
@@ -10,3 +10,6 @@ LIBRARY_INCLUDES = \
$(LIBDRM_CFLAGS)
include ../../Makefile.template
+
+# FIXME: Remove when this driver is converted to automake.
+all: default
diff --git a/src/gallium/drivers/nvfx/Makefile b/src/gallium/drivers/nvfx/Makefile
index 53292d6da1..9b6ed1cad6 100644
--- a/src/gallium/drivers/nvfx/Makefile
+++ b/src/gallium/drivers/nvfx/Makefile
@@ -11,3 +11,6 @@ LIBRARY_INCLUDES = \
-I$(TOP)/src/gallium/drivers/nouveau/include
include ../../Makefile.template
+
+# FIXME: Remove when this driver is converted to automake.
+all: default
diff --git a/src/gallium/drivers/r300/Makefile.am b/src/gallium/drivers/r300/Makefile.am
index 8ec47d77ec..af352aa23e 100644
--- a/src/gallium/drivers/r300/Makefile.am
+++ b/src/gallium/drivers/r300/Makefile.am
@@ -32,7 +32,3 @@ r300_compiler_tests_SOURCES = \
$(testdir)/radeon_compiler_util_tests.c \
$(testdir)/rc_test_helpers.c \
$(testdir)/unit_test.c
-
-# FIXME: remove this when the rest of the gallium
-# build system is converted to automake.
-default: libr300.a
diff --git a/src/gallium/drivers/r600/Makefile b/src/gallium/drivers/r600/Makefile
index 62e760c78a..e15e2ff266 100644
--- a/src/gallium/drivers/r600/Makefile
+++ b/src/gallium/drivers/r600/Makefile
@@ -12,3 +12,6 @@ LIBRARY_INCLUDES = -I$(TOP)/include
include Makefile.sources
include ../../Makefile.template
+
+# FIXME: Remove when this driver is converted to automake.
+all: default
diff --git a/src/gallium/drivers/rbug/Makefile b/src/gallium/drivers/rbug/Makefile
index 64e172fe5c..a426727c83 100644
--- a/src/gallium/drivers/rbug/Makefile
+++ b/src/gallium/drivers/rbug/Makefile
@@ -10,3 +10,6 @@ C_SOURCES = \
rbug_screen.c
include ../../Makefile.template
+
+# FIXME: Remove when this driver is converted to automake.
+all: default
diff --git a/src/gallium/drivers/softpipe/Makefile b/src/gallium/drivers/softpipe/Makefile
index 27b5d991a7..bcafa3c7fc 100644
--- a/src/gallium/drivers/softpipe/Makefile
+++ b/src/gallium/drivers/softpipe/Makefile
@@ -35,3 +35,6 @@ C_SOURCES = \
sp_surface.c
include ../../Makefile.template
+
+# FIXME: Remove when this driver is converted to automake.
+all: default
diff --git a/src/gallium/drivers/svga/Makefile b/src/gallium/drivers/svga/Makefile
index 97f68f06f4..825f15b84c 100644
--- a/src/gallium/drivers/svga/Makefile
+++ b/src/gallium/drivers/svga/Makefile
@@ -17,3 +17,6 @@ LIBRARY_DEFINES = \
-DHAVE_STDINT_H -DHAVE_SYS_TYPES_H
include ../../Makefile.template
+
+# FIXME: Remove when this driver is converted to automake.
+all: default
diff --git a/src/gallium/drivers/trace/Makefile b/src/gallium/drivers/trace/Makefile
index 99e5fb81c2..c842be8059 100644
--- a/src/gallium/drivers/trace/Makefile
+++ b/src/gallium/drivers/trace/Makefile
@@ -11,3 +11,6 @@ C_SOURCES = \
tr_texture.c
include ../../Makefile.template
+
+# FIXME: Remove when this driver is converted to automake.
+all: default