summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGaetan Nadon <memsize@videotron.ca>2014-02-04 19:16:27 -0500
committerGaetan Nadon <memsize@videotron.ca>2014-02-06 17:09:13 -0500
commit72b20ff1656aeb7c09511da57f4045b93a6b1e81 (patch)
tree9750381fbfa68b2e2fa869f9321ce58c7dd58b7a
parentf5d530cfa53808eb703ab296b490afeead94c108 (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>
-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