automake: don't use INCLUDES, it's AM_CPPFLAGS nowadays

This commit is contained in:
Alexander Barton 2012-09-24 17:45:15 +02:00
parent eed8a4ee6e
commit d4df626d88
4 changed files with 5 additions and 5 deletions

View File

@ -5,7 +5,7 @@
AUTOMAKE_OPTIONS = ../portab/ansi2knr
INCLUDES = -I$(srcdir)/../portab
AM_CPPFLAGS = -I$(srcdir)/../portab
noinst_LIBRARIES = libngipaddr.a

View File

@ -11,7 +11,7 @@
AUTOMAKE_OPTIONS = ../portab/ansi2knr
INCLUDES = -I$(srcdir)/../portab -I$(srcdir)/../tool -I$(srcdir)/../ipaddr
AM_CPPFLAGS = -I$(srcdir)/../portab -I$(srcdir)/../tool -I$(srcdir)/../ipaddr
LINTARGS = -weak -warnunixlib +unixlib -booltype BOOLEAN \
-varuse -retvalother -emptyret -unrecog
@ -120,7 +120,7 @@ lint:
for f in *.c; do \
echo "checking $$f ..."; \
splint $$f $(LINTARGS) -I$(srcdir) -I$(srcdir)/.. \
$(INCLUDES) $(AM_CFLAGS) >lint.out 2>&1; \
$(AM_CPPFLAGS) $(AM_CFLAGS) >lint.out 2>&1; \
grep "no warnings" lint.out > /dev/null 2>&1; \
if [ $$? -ne 0 ]; then \
waswarning=1; \

View File

@ -12,7 +12,7 @@
AUTOMAKE_OPTIONS = ../portab/ansi2knr
INCLUDES = -I$(srcdir)/../portab
AM_CPPFLAGS = -I$(srcdir)/../portab
EXTRA_DIST = \
README functions.inc getpid.sh \

View File

@ -11,7 +11,7 @@
AUTOMAKE_OPTIONS = ../portab/ansi2knr
INCLUDES = -I$(srcdir)/../portab
AM_CPPFLAGS = -I$(srcdir)/../portab
noinst_LIBRARIES = libngtool.a