aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium
diff options
context:
space:
mode:
authorTom Stellard <[email protected]>2012-03-03 20:35:39 -0500
committerTom Stellard <[email protected]>2012-03-14 10:25:59 -0400
commitdc382e5c35a6e91a323789327c9a1ba3bc9f8c72 (patch)
tree52bca38e15bb1d64b7e7c33f3db288970c8ab25a /src/gallium
parent3f3f10f78c4ae5baa3344a2424b687518510c2fc (diff)
noop: Use non-recursive automake
Diffstat (limited to 'src/gallium')
-rw-r--r--src/gallium/drivers/Makefile.am14
-rw-r--r--src/gallium/drivers/noop/Makefile16
2 files changed, 14 insertions, 16 deletions
diff --git a/src/gallium/drivers/Makefile.am b/src/gallium/drivers/Makefile.am
index f2e7da110f9..0aa2653a0f1 100644
--- a/src/gallium/drivers/Makefile.am
+++ b/src/gallium/drivers/Makefile.am
@@ -38,6 +38,20 @@ endif
################################################################################
+if HAVE_NOOP_GALLIUM
+
+# Meta-driver which combines whichever software rasterizers have been
+# built into a single convenience library.
+
+noinst_LIBRARIES+= noop/libnoop.a
+
+noop_libnoop_a_SOURCES = \
+ noop/noop_pipe.c \
+ noop/noop_state.c
+
+endif
+
+################################################################################
SUBDIRS = $(GALLIUM_MAKE_DIRS)
# FIXME: Remove when the rest of Gallium is converted to automake.
diff --git a/src/gallium/drivers/noop/Makefile b/src/gallium/drivers/noop/Makefile
deleted file mode 100644
index 75e65ed60f4..00000000000
--- a/src/gallium/drivers/noop/Makefile
+++ /dev/null
@@ -1,16 +0,0 @@
-# Meta-driver which combines whichever software rasterizers have been
-# built into a single convenience library.
-
-TOP = ../../../..
-include $(TOP)/configs/current
-
-LIBNAME = noop
-
-C_SOURCES = \
- noop_pipe.c \
- noop_state.c
-
-include ../../Makefile.template
-
-# FIXME: Remove when this driver is converted to automake.
-all: default