From 8acbae598b39a421b5d0a871d47b8c60d8e24f55 Mon Sep 17 00:00:00 2001 From: Dmitry Eremin-Solenikov Date: Thu, 23 May 2019 15:26:21 +0300 Subject: [PATCH] ima-evm-utils: replace INCLUDES with AM_CPPFLAGS Replace INCLUDES variable with AM_CPPFLAGS to stop Automake from warning about deprecated variable usage. Signed-off-by: Dmitry Eremin-Solenikov Signed-off-by: Mimi Zohar --- src/Makefile.am | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/Makefile.am b/src/Makefile.am index b81281a..164e7e4 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -1,7 +1,7 @@ lib_LTLIBRARIES = libimaevm.la libimaevm_la_SOURCES = libimaevm.c -libimaevm_la_CPPFLAGS = $(LIBCRYPTO_CFLAGS) +libimaevm_la_CPPFLAGS = $(AM_CPPFLAGS) $(LIBCRYPTO_CFLAGS) # current[:revision[:age]] # result: [current-age].age.revision libimaevm_la_LDFLAGS = -version-info 0:0:0 @@ -17,11 +17,11 @@ hash_info.h: Makefile bin_PROGRAMS = evmctl evmctl_SOURCES = evmctl.c -evmctl_CPPFLAGS = $(LIBCRYPTO_CFLAGS) +evmctl_CPPFLAGS = $(AM_CPPFLAGS) $(LIBCRYPTO_CFLAGS) evmctl_LDFLAGS = $(LDFLAGS_READLINE) evmctl_LDADD = $(LIBCRYPTO_LIBS) -lkeyutils libimaevm.la -INCLUDES = -I$(top_srcdir) -include config.h +AM_CPPFLAGS = -I$(top_srcdir) -include config.h CLEANFILES = hash_info.h DISTCLEANFILES = @DISTCLEANFILES@