gallium/drivers: Use automake to generate makefile
authorTom Stellard <tstellar@gmail.com>
Sat, 3 Mar 2012 14:07:48 +0000 (09:07 -0500)
committerTom Stellard <thomas.stellard@amd.com>
Wed, 14 Mar 2012 14:25:59 +0000 (10:25 -0400)
19 files changed:
configure.ac
src/gallium/drivers/.gitignore [new file with mode: 0644]
src/gallium/drivers/Makefile [deleted file]
src/gallium/drivers/Makefile.am [new file with mode: 0644]
src/gallium/drivers/galahad/Makefile
src/gallium/drivers/i915/Makefile
src/gallium/drivers/identity/Makefile
src/gallium/drivers/llvmpipe/Makefile
src/gallium/drivers/noop/Makefile
src/gallium/drivers/nouveau/Makefile
src/gallium/drivers/nv50/Makefile
src/gallium/drivers/nvc0/Makefile
src/gallium/drivers/nvfx/Makefile
src/gallium/drivers/r300/Makefile.am
src/gallium/drivers/r600/Makefile
src/gallium/drivers/rbug/Makefile
src/gallium/drivers/softpipe/Makefile
src/gallium/drivers/svga/Makefile
src/gallium/drivers/trace/Makefile

index a2d906a..4515731 100644 (file)
@@ -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 (file)
index 0000000..a963aad
--- /dev/null
@@ -0,0 +1,3 @@
+Makefile
+Makefile.in
+.deps/
diff --git a/src/gallium/drivers/Makefile b/src/gallium/drivers/Makefile
deleted file mode 100644 (file)
index 9fe9b2c..0000000
+++ /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 (file)
index 0000000..b6954e2
--- /dev/null
@@ -0,0 +1,4 @@
+SUBDIRS = $(GALLIUM_DRIVERS_DIRS)
+
+# FIXME: Remove when the rest of Gallium is converted to automake.
+default: all
index e9c4f7e..15ea136 100644 (file)
@@ -9,3 +9,6 @@ C_SOURCES = \
        glhd_screen.c
 
 include ../../Makefile.template
+
+# FIXME: Remove when this driver is converted to automake.
+all: default
index 0e57678..b7d8a1f 100644 (file)
@@ -7,3 +7,6 @@ LIBNAME = i915
 include Makefile.sources
 
 include ../../Makefile.template
+
+# FIXME: Remove when this driver is converted to automake.
+all: default
index 74692d9..a15e17e 100644 (file)
@@ -9,3 +9,6 @@ C_SOURCES = \
        id_screen.c
 
 include ../../Makefile.template
+
+# FIXME: Remove when this driver is converted to automake.
+all: default
index 1a4e93d..8df891c 100644 (file)
@@ -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
index 29b8d73..75e65ed 100644 (file)
@@ -11,3 +11,6 @@ C_SOURCES = \
        noop_state.c
 
 include ../../Makefile.template
+
+# FIXME: Remove when this driver is converted to automake.
+all: default
index d583324..cfb8831 100644 (file)
@@ -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
index 18e30b0..2dd37ee 100644 (file)
@@ -10,3 +10,6 @@ LIBRARY_INCLUDES = \
        $(LIBDRM_CFLAGS)
 
 include ../../Makefile.template
+
+# FIXME: Remove when this driver is converted to automake.
+all: default
index c412625..a60127f 100644 (file)
@@ -10,3 +10,6 @@ LIBRARY_INCLUDES = \
        $(LIBDRM_CFLAGS)
 
 include ../../Makefile.template
+
+# FIXME: Remove when this driver is converted to automake.
+all: default
index 53292d6..9b6ed1c 100644 (file)
@@ -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
index 8ec47d7..af352aa 100644 (file)
@@ -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
index 62e760c..e15e2ff 100644 (file)
@@ -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
index 64e172f..a426727 100644 (file)
@@ -10,3 +10,6 @@ C_SOURCES = \
        rbug_screen.c
 
 include ../../Makefile.template
+
+# FIXME: Remove when this driver is converted to automake.
+all: default
index 27b5d99..bcafa3c 100644 (file)
@@ -35,3 +35,6 @@ C_SOURCES = \
        sp_surface.c
 
 include ../../Makefile.template
+
+# FIXME: Remove when this driver is converted to automake.
+all: default
index 97f68f0..825f15b 100644 (file)
@@ -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
index 99e5fb8..c842be8 100644 (file)
@@ -11,3 +11,6 @@ C_SOURCES = \
        tr_texture.c
 
 include ../../Makefile.template
+
+# FIXME: Remove when this driver is converted to automake.
+all: default