From 8907c4a3fe20158a42748258f3cce978acc8e272 Mon Sep 17 00:00:00 2001 From: Gaetan Nadon Date: Fri, 26 Aug 2011 12:58:56 -0400 Subject: Move compiler flags from AM_CPPFLAGS to AM_CFLAGS AM_CPPFLAGS should only contain preprocessor directives like -I -D. The various *_CFLAGS may contain compiler flags as they are obtained from pkg-config Cflags variable. Signed-off-by: Gaetan Nadon --- src/Makefile.am | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/src/Makefile.am b/src/Makefile.am index c30d355..05962d1 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -2,13 +2,14 @@ lib_LTLIBRARIES = libXaw3d.la AM_YFLAGS = -d AM_CFLAGS = \ - $(CWARNFLAGS) + $(CWARNFLAGS) \ + $(XAW3D_CFLAGS) \ + $(X11_CFLAGS) \ + $(XPM_CFLAGS) AM_CPPFLAGS = \ -I${top_srcdir}/include \ - -I${top_srcdir}/include/X11/Xaw3d \ - $(XAW3D_CFLAGS) \ - $(X11_CFLAGS) $(XPM_CFLAGS) + -I${top_srcdir}/include/X11/Xaw3d # # This doesn't appear to be used on any -- cgit v1.2.3