Page 1 sur 1

warning Makefile.am

Message Publié : 16 Oct 2015, 21:56
par domi
Bonjour à tous

ce n'est pas très grave, mais j'ai plein de de messages de warning (tous les mêmes) lorsque j'effectue la commande 'autoreconf' dans le projet que je développe au sujet des AM_CPPFLAGS.
Apparemment les AM_CPPFLAGS sont devenus obsolètes...
Par quoi faut-il les remplacer ?

merci bien pour l'aide

Dom

///////////////////////////////////////////////////////////////////////////////////
voici les messages:

tilities/AZI/Makefile.am:3: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS')
Utilities/AZI_X/Makefile.am:3: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS')
Utilities/CAIRO_SAC/Makefile.am:1: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS')
Utilities/CAIRO_XY/Makefile.am:1: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS')
Utilities/ENVELOP_P_WAVE/Makefile.am:3: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS')
Utilities/FFTX/Makefile.am:1: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS')
Utilities/GMT_plot/Makefile.am:3: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS')
Utilities/INTER_CORR/Makefile.am:3: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS')
Utilities/MECA/Makefile.am:3: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS')
Utilities/MinLINAG/Makefile.am:3: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS')
Utilities/MwP_1_01/Makefile.am:3: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS')
Utilities/RAD_P_WAVE/Makefile.am:3: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS')
Utilities/SAC2WAVE/Makefile.am:3: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS')
Utilities/SACBIN2ASCII/Makefile.am:3: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS')
Utilities/SEED_RESPONSE/Makefile.am:3: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS')
Utilities/SPLINE_INTERPOL/Makefile.am:3: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS')
Utilities/SVDS/Makefile.am:3: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS')
Utilities/SWAP_SAC/Makefile.am:3: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS')
Utilities/TIDE_COMP/Makefile.am:1: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS')
Utilities/TIME_FREQX/Makefile.am:3: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS')
Utilities/TS/Makefile.am:1: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS')
Utilities/Tsu_velocity/Makefile.am:3: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS')
Utilities/UNDER_SAMP/Makefile.am:3: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS')

et voici un exemple de fichier Makefile.am:
///////////////////////////////////////////////////////////////////////////////////////////////
bin_PROGRAMS = inter_cor

INCLUDES = -I$(top_srcdir)/libSTK \
-I$(top_srcdir)/Utilities/Inter_cor


inter_cor_SOURCES = inter_cor.cpp inter_cor.h

AM_CFLAGS = @CFLAGS@
AM_LDFLAGS = @LIBS@ -L$(top_srcdir)/libSTK/.libs -lSTK

CLEANFILES = *.o~
DISTCLEANFILES = .deps/*.P

///////////////////////////////////////////////////////////////////////////////////////////

Re: warning Makefile.am

Message Publié : 23 Oct 2015, 08:53
par J
comme le suggere le message de console , simplement ?
Code : Tout sélectionner
'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS')

Re: warning Makefile.am

Message Publié : 23 Oct 2015, 23:11
par domi
Bon sang mais c'est bien sûr !

merci bien ! plus de warning ...

Dom