Mesa (master): build: Clean glx Makefile.am

Matt Turner mattst88 at kemper.freedesktop.org
Wed Aug 22 18:07:31 UTC 2012


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

Author: Matt Turner <mattst88 at gmail.com>
Date:   Fri Aug 17 15:43:27 2012 -0700

build: Clean glx Makefile.am

mapi/glapi is already built when make is run in src/glx.

Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>

---

 src/glx/Makefile.am |    5 +----
 1 files changed, 1 insertions(+), 4 deletions(-)

diff --git a/src/glx/Makefile.am b/src/glx/Makefile.am
index 40e6b60..4aa900a 100644
--- a/src/glx/Makefile.am
+++ b/src/glx/Makefile.am
@@ -26,7 +26,7 @@ endif
 
 SUBDIRS=. tests
 
-GLAPI_LIB = ../mapi/glapi/libglapi.la
+GLAPI_LIB = $(top_builddir)/src/mapi/glapi/libglapi.la
 
 if HAVE_XF86VIDMODE
 EXTRA_DEFINES_XF86VIDMODE = -DXF86VIDMODE
@@ -113,6 +113,3 @@ all-local: lib at GL_LIB@.la
 	$(MKDIR_P) $(top_builddir)/$(LIB_DIR);
 	ln -f .libs/lib at GL_LIB@.so.1.2.0 $(top_builddir)/$(LIB_DIR)/lib at GL_LIB@.so.1
 	ln -sf lib at GL_LIB@.so.1 $(top_builddir)/$(LIB_DIR)/lib at GL_LIB@.so
-
-$(GLAPI_LIB):
-	@$(MAKE) -C $(TOP)/src/mapi/glapi




More information about the mesa-commit mailing list