[Xcb] [PATCH util-wm 4/7] make: use AM_CPPFLAGS rather than per-target libxcb_render_util_la_CPPFLAGS
Gaetan Nadon
memsize at videotron.ca
Thu Feb 6 13:55:50 PST 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_ewmh_la-ewmh.o simply becomes ewmh.o.
http://www.gnu.org/software/automake/manual/automake.html#Renamed-Objects
Signed-off-by: Gaetan Nadon <memsize at videotron.ca>
---
ewmh/Makefile.am | 2 +-
icccm/Makefile.am | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/ewmh/Makefile.am b/ewmh/Makefile.am
index 49e2ad8..9a2acd8 100644
--- a/ewmh/Makefile.am
+++ b/ewmh/Makefile.am
@@ -5,10 +5,10 @@ lib_LTLIBRARIES = libxcb-ewmh.la
nodist_xcbinclude_HEADERS = xcb_ewmh.h
AM_CFLAGS = $(CWARNFLAGS)
+AM_CPPFLAGS = $(XCB_CFLAGS)
libxcb_ewmh_la_SOURCES = ewmh.c.m4 atomlist.m4 xcb_ewmh.h.m4
nodist_libxcb_ewmh_la_SOURCES = ewmh.c
-libxcb_ewmh_la_CPPFLAGS = $(XCB_CFLAGS)
libxcb_ewmh_la_LIBADD = $(XCB_LIBS)
libxcb_ewmh_la_LDFLAGS = -version-info 2:0:0 -no-undefined
diff --git a/icccm/Makefile.am b/icccm/Makefile.am
index 32b6f92..5850db4 100644
--- a/icccm/Makefile.am
+++ b/icccm/Makefile.am
@@ -6,9 +6,9 @@ lib_LTLIBRARIES = libxcb-icccm.la
xcbinclude_HEADERS = xcb_icccm.h
AM_CFLAGS = $(CWARNFLAGS)
+AM_CPPFLAGS = $(XCB_CFLAGS)
libxcb_icccm_la_SOURCES = icccm.c
-libxcb_icccm_la_CPPFLAGS = $(XCB_CFLAGS)
libxcb_icccm_la_LIBADD = $(XCB_LIBS)
libxcb_icccm_la_LDFLAGS = -version-info 4:0:0 -no-undefined
--
1.7.9.5
More information about the Xcb
mailing list