Replace obsolete INCLUDES with AM_CPPFLAGS
authorHugo Villeneuve <hugo@hugovil.com>
Tue, 25 Mar 2014 03:56:02 +0000 (23:56 -0400)
committerHugo Villeneuve <hugo@hugovil.com>
Wed, 26 Mar 2014 22:53:53 +0000 (18:53 -0400)
src/Makefile.am

index 68c4ea4..9a18174 100644 (file)
@@ -1,17 +1,19 @@
-INCLUDES = -I$(top_srcdir) -I$(includedir) \
-       -DGNOME_ICONDIR=\""$(datadir)/pixmaps"\" \
-         -DG_LOG_DOMAIN=\"grip\" -DGNOMELOCALEDIR=\""$(datadir)/locale"\" \
-        -I../intl -I$(top_srcdir)/intl \
-       -DPREFIX=\""$(prefix)"\" \
-        -DSYSCONFDIR=\""$(sysconfdir)"\" \
-        -DDATADIR=\""$(datadir)"\" \
-        -DLIBDIR=\""$(libdir)"\"
-
-
+AM_CPPFLAGS = \
+    $(WARNINGCFLAGS) \
+    -I$(top_srcdir) \
+    -I$(includedir) \
+    -DGNOME_ICONDIR=\""$(datadir)/pixmaps"\" \
+    -DG_LOG_DOMAIN=\"grip\" \
+    -DGNOMELOCALEDIR=\""$(datadir)/locale"\" \
+    -I../intl -I$(top_srcdir)/intl \
+    -DPREFIX=\""$(prefix)"\" \
+    -DSYSCONFDIR=\""$(sysconfdir)"\" \
+    -DDATADIR=\""$(datadir)"\" \
+    -DLIBDIR=\""$(libdir)"\"
 
 bin_PROGRAMS = grip
 
-grip_SOURCES =         \
+grip_SOURCES = \
        cppmain.cc \
         main.c \
        common.h \