[Mesa-dev] [PATCH] shared-glapi: Convert to automake
Jon TURNEY
jon.turney at dronecode.org.uk
Mon Mar 19 08:23:55 PDT 2012
> I don't see that here, I can remove glapi_mapi_tmp.h and make will
> rebuild it with the python script. A full autogen should generate the
> new dep rules (though ./config.status depfiles may be enough).
I did not find that to be the case.
Attached is a patch which adds BUILT_SOURCES and the -no-undefined libtool
flag, which you may wish to squash into you patch before pushing.
Otherwise, Reviewed-by: Jon TURNEY <jon.turney at dronecode.org.uk>
-------------- next part --------------
From 27d0e18f44b2c3647d33bdc707eaf135520ceb5b Mon Sep 17 00:00:00 2001
From: Jon TURNEY <jon.turney at dronecode.org.uk>
Date: Mon, 19 Mar 2012 15:18:23 +0000
Subject: [PATCH] shared-glapi: Convert to automake fixes
Signed-off-by: Jon TURNEY <jon.turney at dronecode.org.uk>
---
src/mapi/shared-glapi/Makefile.am | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/src/mapi/shared-glapi/Makefile.am b/src/mapi/shared-glapi/Makefile.am
index d24a57e..c879997 100644
--- a/src/mapi/shared-glapi/Makefile.am
+++ b/src/mapi/shared-glapi/Makefile.am
@@ -6,6 +6,7 @@ include $(top_srcdir)/src/mapi/mapi/sources.mak
lib_LTLIBRARIES = libglapi.la
libglapi_la_SOURCES = $(MAPI_GLAPI_FILES)
+libglapi_la_LDFLAGS = -no-undefined
include $(GLAPI)/gen/glapi_gen.mk
glapi_mapi_tmp.h : $(GLAPI)/gen/gl_and_es_API.xml $(glapi_gen_mapi_deps)
@@ -21,3 +22,5 @@ AM_CPPFLAGS = \
all-local: libglapi.la
$(MKDIR_P) $(top_builddir)/$(LIB_DIR)
ln -f .libs/libglapi.so.0.0.0 $(top_builddir)/$(LIB_DIR)/libglapi.so
+
+BUILT_SOURCES = glapi_mapi_tmp.h
--
1.7.9
More information about the mesa-dev
mailing list