summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGaetan Nadon <memsize@videotron.ca>2011-08-26 12:58:56 -0400
committerGaetan Nadon <memsize@videotron.ca>2011-09-01 13:38:44 -0400
commit8907c4a3fe20158a42748258f3cce978acc8e272 (patch)
tree1cd7210a6ecd4d3a9f3a0af3ee681051a9122e45
parentaaa7de6f16d2f36b2ef9fd30a77abb7cd697ea5d (diff)
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 <memsize@videotron.ca>
-rw-r--r--src/Makefile.am9
1 files 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