i915: Fix driver after automakeification.
authorEric Anholt <eric@anholt.net>
Wed, 25 Jan 2012 19:23:51 +0000 (11:23 -0800)
committerEric Anholt <eric@anholt.net>
Fri, 27 Jan 2012 00:13:39 +0000 (16:13 -0800)
src/mesa/drivers/dri/i915/Makefile.am

index 6bc7061..5c44a9e 100644 (file)
@@ -46,9 +46,17 @@ if HAVE_I915_DRI
 dri_LTLIBRARIES = i915_dri.la
 endif
 
+# These should be an ltlibrary that's built once.  Let's fix that once
+# the other drivers are converted to automake.
+COMMON_FILES = \
+       ../common/utils.c \
+       ../common/dri_util.c \
+       ../common/xmlconfig.c
+
 i915_dri_la_SOURCES = \
        $(i915_C_FILES) \
-       $(i915_CXX_FILES)
+       $(i915_CXX_FILES) \
+       $(COMMON_FILES)
 
 i915_dri_la_LDFLAGS = -module -avoid-version -shared
 i915_dri_la_LIBADD = \