This patch work good to me.<div><br></div><div>It fixe the build of r600g driver with libdrm compiled in <span style="font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">non-standard dir.</span></div>
<div><font face="arial, sans-serif"><br></font></div><div><font face="arial, sans-serif">Thank you<br></font><br><div class="gmail_quote">Le 13 avril 2012 20:29, Tom Stellard <span dir="ltr"><<a href="mailto:tstellar@gmail.com">tstellar@gmail.com</a>></span> a écrit :<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">---<br>
<a href="http://configure.ac" target="_blank">configure.ac</a> | 1 +<br>
src/gallium/drivers/r600/Makefile | 17 -----------------<br>
src/gallium/drivers/r600/Makefile.am | 17 +++++++++++++++++<br>
3 files changed, 18 insertions(+), 17 deletions(-)<br>
delete mode 100644 src/gallium/drivers/r600/Makefile<br>
create mode 100644 src/gallium/drivers/r600/Makefile.am<br>
<br>
diff --git a/<a href="http://configure.ac" target="_blank">configure.ac</a> b/<a href="http://configure.ac" target="_blank">configure.ac</a><br>
index df65ae5..cb7cc77 100644<br>
--- a/<a href="http://configure.ac" target="_blank">configure.ac</a><br>
+++ b/<a href="http://configure.ac" target="_blank">configure.ac</a><br>
@@ -1992,6 +1992,7 @@ dnl Substitute the config<br>
AC_CONFIG_FILES([configs/autoconf<br>
src/gallium/drivers/Makefile<br>
src/gallium/drivers/r300/Makefile<br>
+ src/gallium/drivers/r600/Makefile<br>
src/gbm/Makefile<br>
src/gbm/main/gbm.pc<br>
src/egl/drivers/Makefile<br>
diff --git a/src/gallium/drivers/r600/Makefile b/src/gallium/drivers/r600/Makefile<br>
deleted file mode 100644<br>
index e15e2ff..0000000<br>
--- a/src/gallium/drivers/r600/Makefile<br>
+++ /dev/null<br>
@@ -1,17 +0,0 @@<br>
-TOP = ../../../..<br>
-include $(TOP)/configs/current<br>
-<br>
-LIBNAME = r600<br>
-<br>
-#This is for libdrm include path<br>
-CFLAGS+=$(RADEON_CFLAGS)<br>
-<br>
-LIBRARY_INCLUDES = -I$(TOP)/include<br>
-<br>
-# get C_SOURCES<br>
-include Makefile.sources<br>
-<br>
-include ../../Makefile.template<br>
-<br>
-# FIXME: Remove when this driver is converted to automake.<br>
-all: default<br>
diff --git a/src/gallium/drivers/r600/Makefile.am b/src/gallium/drivers/r600/Makefile.am<br>
new file mode 100644<br>
index 0000000..8acd36a<br>
--- /dev/null<br>
+++ b/src/gallium/drivers/r600/Makefile.am<br>
@@ -0,0 +1,17 @@<br>
+include Makefile.sources<br>
+<br>
+noinst_LIBRARIES = libr600.a<br>
+<br>
+AM_CFLAGS = \<br>
+ -I$(top_srcdir)/src/gallium/include \<br>
+ -I$(top_srcdir)/src/gallium/auxiliary \<br>
+ -I$(top_srcdir)/src/gallium/drivers \<br>
+ -I$(top_srcdir)/include \<br>
+ $(RADEON_CFLAGS) \<br>
+ $(DEFINES) \<br>
+ $(ASM_FLAGS) \<br>
+ $(PIC_FLAGS) \<br>
+ $(VISIBILITY_CFLAGS)<br>
+<br>
+libr600_a_SOURCES = \<br>
+ $(C_SOURCES)<br>
<span class="HOEnZb"><font color="#888888">--<br>
1.7.7.6<br>
<br>
_______________________________________________<br>
mesa-dev mailing list<br>
<a href="mailto:mesa-dev@lists.freedesktop.org">mesa-dev@lists.freedesktop.org</a><br>
<a href="http://lists.freedesktop.org/mailman/listinfo/mesa-dev" target="_blank">http://lists.freedesktop.org/mailman/listinfo/mesa-dev</a><br>
</font></span></blockquote></div><br></div>