[Xcb] [PATCH util-renderutil 6/9] make: use AM_CPPFLAGS rather than per-target libxcb_render_util_la_CPPFLAGS

Gaetan Nadon memsize at videotron.ca
Thu Feb 6 23:30:08 CET 2014


There is only one target in this directory, so we do not need to trigger
the per-target infrastructure which would require AC_PROG_CC_C_O macro.
So libxcb_render_util_la-util.o simply becomes util.o.

http://www.gnu.org/software/automake/manual/automake.html#Renamed-Objects

Signed-off-by: Gaetan Nadon <memsize at videotron.ca>
---
 renderutil/Makefile.am |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/renderutil/Makefile.am b/renderutil/Makefile.am
index 3bff67a..5e5c59b 100644
--- a/renderutil/Makefile.am
+++ b/renderutil/Makefile.am
@@ -5,8 +5,8 @@ lib_LTLIBRARIES = libxcb-render-util.la
 
 xcbinclude_HEADERS = xcb_renderutil.h
 
+AM_CPPFLAGS = $(XCB_CFLAGS) $(XCB_RENDER_CFLAGS)
 libxcb_render_util_la_SOURCES = cache.c util.c glyph.c
-libxcb_render_util_la_CPPFLAGS = $(XCB_CFLAGS) $(XCB_RENDER_CFLAGS)
 libxcb_render_util_la_LIBADD = $(XCB_LIBS) $(XCB_RENDER_LIBS)
 libxcb_render_util_la_LDFLAGS = -no-undefined
 
-- 
1.7.9.5



More information about the Xcb mailing list