build: avoid use of deprecated INCLUDES
authorJan Engelhardt <jengelh@medozas.de>
Sat, 30 Oct 2010 21:05:38 +0000 (23:05 +0200)
committerr.kubiak <r.kubiak@samsung.com>
Mon, 16 Nov 2015 13:12:06 +0000 (14:12 +0100)
Makefile.am: "INCLUDES" is the old name for "AM_CPPFLAGS" (or "*_CPPFLAGS")

And remove unused $(all_includes)

Signed-off-by: Jan Engelhardt <jengelh@medozas.de>
src/Makefile.am
utils/Makefile.am

index 63d5bc8..c408961 100644 (file)
@@ -20,7 +20,7 @@
 #
 LIBVERSION=2:0:1
 
-INCLUDES = $(all_includes) -I$(top_srcdir)/include -I${KERNELDIR}
+AM_CPPFLAGS = -I$(top_srcdir)/include -I${KERNELDIR}
 AM_CFLAGS = -fPIC -Wall
 LIBS = @LIBNFQUEUE_LIBS@
 
index 9a5e9d6..1f52864 100644 (file)
@@ -1,5 +1,5 @@
 
-INCLUDES = $(all_includes) -I$(top_srcdir)/include -I${KERNELDIR} 
+AM_CPPFLAGS = -I$(top_srcdir)/include -I${KERNELDIR}
 
 check_PROGRAMS = nfqnl_test