[niepce] [mg] INCLUDES -> AM_CPPFLAGS to comply with newer automake.



commit de17217b4f6401c081696827cc1cb018dbf556d2
Author: Hubert Figuière <hub figuiere net>
Date:   Fri Jul 4 20:12:56 2014 -0400

    [mg] INCLUDES -> AM_CPPFLAGS to comply with newer automake.

 magellan/src/Makefile.am |   11 +++++------
 1 files changed, 5 insertions(+), 6 deletions(-)
---
diff --git a/magellan/src/Makefile.am b/magellan/src/Makefile.am
index f06f3c0..796a40e 100644
--- a/magellan/src/Makefile.am
+++ b/magellan/src/Makefile.am
@@ -1,6 +1,10 @@
 
 
-AM_CPPFLAGS = -DMG_LOCALEDIR=\"${MG_LOCALEDIR}\"
+AM_CPPFLAGS = -DMG_LOCALEDIR=\"${MG_LOCALEDIR}\" \
+       -DDATADIR=\"$(datadir)\" \
+       -DGLADEDIR=\"$(gladedir)\" \
+       -I$(top_srcdir)/src  \
+       @LIBGLIBMM_CFLAGS@ @LIBGTKMM_CFLAGS@
 
 gladefiles = mgwindow.ui
 gladedir = @datarootdir@/niepce/glade/
@@ -8,11 +12,6 @@ glade_DATA = $(gladefiles)
 
 bin_PROGRAMS = magellan
 
-INCLUDES = -DDATADIR=\"$(datadir)\" \
-       -DGLADEDIR=\"$(gladedir)\" \
-       -I$(top_srcdir)/src  \
-       @LIBGLIBMM_CFLAGS@ @LIBGTKMM_CFLAGS@
-
 magellan_SOURCES = \
        mgapplication.hpp mgapplication.cpp \
        mgwindow.hpp mgwindow.cpp \


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]