summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorTom Stellard <[email protected]>2012-03-03 20:14:00 -0500
committerTom Stellard <[email protected]>2012-03-14 10:25:59 -0400
commit3f3f10f78c4ae5baa3344a2424b687518510c2fc (patch)
treebe688eb38bcdf0a3a8e048e4146f8f04e8d29448 /src
parent26ab747284e0d7ec5ef039c6ab3d50c3fab42ac4 (diff)
identity: Use non-recursive automake
Diffstat (limited to 'src')
-rw-r--r--src/gallium/drivers/Makefile.am14
-rw-r--r--src/gallium/drivers/identity/Makefile14
2 files changed, 14 insertions, 14 deletions
diff --git a/src/gallium/drivers/Makefile.am b/src/gallium/drivers/Makefile.am
index 6a0a2472c16..f2e7da110f9 100644
--- a/src/gallium/drivers/Makefile.am
+++ b/src/gallium/drivers/Makefile.am
@@ -25,7 +25,21 @@ endif
################################################################################
+if HAVE_IDENTITY_GALLIUM
+
+noinst_LIBRARIES+= identity/libidentity.a
+
+identity_libidentity_a_SOURCES = \
+ identity/id_objects.c \
+ identity/id_context.c \
+ identity/id_screen.c
+
+endif
+
+################################################################################
+
SUBDIRS = $(GALLIUM_MAKE_DIRS)
# FIXME: Remove when the rest of Gallium is converted to automake.
default: all
+
diff --git a/src/gallium/drivers/identity/Makefile b/src/gallium/drivers/identity/Makefile
deleted file mode 100644
index a15e17e0d4a..00000000000
--- a/src/gallium/drivers/identity/Makefile
+++ /dev/null
@@ -1,14 +0,0 @@
-TOP = ../../../..
-include $(TOP)/configs/current
-
-LIBNAME = identity
-
-C_SOURCES = \
- id_objects.c \
- id_context.c \
- id_screen.c
-
-include ../../Makefile.template
-
-# FIXME: Remove when this driver is converted to automake.
-all: default