Mesa (master): i915: Fix driver after automakeification.

Eric Anholt anholt at kemper.freedesktop.org
Thu Jan 26 16:17:00 PST 2012


Module: Mesa
Branch: master
Commit: 29ea1c44612b25806e71d55b88e7e8385af940a6
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=29ea1c44612b25806e71d55b88e7e8385af940a6

Author: Eric Anholt <eric at anholt.net>
Date:   Wed Jan 25 11:23:51 2012 -0800

i915: Fix driver after automakeification.

---

 src/mesa/drivers/dri/i915/Makefile.am |   10 +++++++++-
 1 files changed, 9 insertions(+), 1 deletions(-)

diff --git a/src/mesa/drivers/dri/i915/Makefile.am b/src/mesa/drivers/dri/i915/Makefile.am
index 6bc7061..5c44a9e 100644
--- a/src/mesa/drivers/dri/i915/Makefile.am
+++ b/src/mesa/drivers/dri/i915/Makefile.am
@@ -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 = \



More information about the mesa-commit mailing list