summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGaetan Nadon <memsize@videotron.ca>2014-02-04 19:16:27 -0500
committerArnaud Fontaine <arnau@debian.org>2014-02-17 17:38:46 +0900
commite8cc2005ef9ef55fd5119c654cc38deebf3428fe (patch)
tree9750381fbfa68b2e2fa869f9321ce58c7dd58b7a
parenta1652bcda071279b5782e7413fb0a5eb326b1fc5 (diff)
make: use AM_CPPFLAGS rather than per-target libxcb_render_util_la_CPPFLAGS
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@videotron.ca> Reviewed-by: Arnaud Fontaine <arnau@debian.org>
-rw-r--r--renderutil/Makefile.am2
1 files changed, 1 insertions, 1 deletions
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