summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorwlestes <wlestes>2002-09-27 20:46:26 +0000
committerwlestes <wlestes>2002-09-27 20:46:26 +0000
commitefa9a73e62d7e0cdbbd6e010821bbeb0e5d14c71 (patch)
treeb88b1487989dae9455890504dd45c35c32b726bd /tests
parent21d200cf9913b93317ac90bb07971d9cb7f4e092 (diff)
downloadflex-efa9a73e62d7e0cdbbd6e010821bbeb0e5d14c71.tar.gz
use AM_CPPFLAGS instead of INCLUDES; write -I with no space after it for broken compilers
Diffstat (limited to 'tests')
-rw-r--r--tests/TEMPLATE/Makefile.am2
-rw-r--r--tests/test-array-nr/Makefile.am2
-rw-r--r--tests/test-array-r/Makefile.am2
-rw-r--r--tests/test-basic-nr/Makefile.am2
-rw-r--r--tests/test-basic-r/Makefile.am2
-rw-r--r--tests/test-bison-nr/Makefile.am2
-rw-r--r--tests/test-bison-yylloc/Makefile.am2
-rw-r--r--tests/test-bison-yylval/Makefile.am2
-rw-r--r--tests/test-c++-basic/Makefile.am2
-rw-r--r--tests/test-c-cpp-nr/Makefile.am2
-rw-r--r--tests/test-c-cpp-r/Makefile.am2
-rw-r--r--tests/test-debug-nr/Makefile.am2
-rw-r--r--tests/test-debug-r/Makefile.am2
-rw-r--r--tests/test-header-nr/Makefile.am2
-rw-r--r--tests/test-header-r/Makefile.am2
-rw-r--r--tests/test-include-by-buffer/Makefile.am2
-rw-r--r--tests/test-include-by-reentrant/Makefile.am2
-rw-r--r--tests/test-lineno-nr/Makefile.am2
-rw-r--r--tests/test-lineno-r/Makefile.am2
-rw-r--r--tests/test-mem-nr/Makefile.am2
-rw-r--r--tests/test-mem-r/Makefile.am2
-rw-r--r--tests/test-multiple-scanners-nr/Makefile.am2
-rw-r--r--tests/test-multiple-scanners-r/Makefile.am2
-rw-r--r--tests/test-posix/Makefile.am2
-rw-r--r--tests/test-posixly-correct/Makefile.am2
-rw-r--r--tests/test-prefix-nr/Makefile.am2
-rw-r--r--tests/test-prefix-r/Makefile.am2
-rw-r--r--tests/test-pthread/Makefile.am2
-rw-r--r--tests/test-reject/Makefile.am2
-rw-r--r--tests/test-string-nr/Makefile.am2
-rw-r--r--tests/test-string-r/Makefile.am2
-rw-r--r--tests/test-table-opts/Makefile.am2
-rw-r--r--tests/test-yyextra/Makefile.am2
33 files changed, 33 insertions, 33 deletions
diff --git a/tests/TEMPLATE/Makefile.am b/tests/TEMPLATE/Makefile.am
index a5816a6..ec1e4f8 100644
--- a/tests/TEMPLATE/Makefile.am
+++ b/tests/TEMPLATE/Makefile.am
@@ -26,7 +26,7 @@ EXTRA_DIST = scanner.l parser.y test.input
CLEANFILES = scanner.c scanner.h parser.c parser.h TEMPLATE OUTPUT $(OBJS)
OBJS = scanner.o # parser.o
-INCLUDES = -I$(srcdir) -I$(top_srcdir) -I$(top_builddir)
+AM_CPPFLAGS = -I$(srcdir) -I$(top_srcdir) -I$(top_builddir)
#LDFLAGS = $(top_srcdir)/libfl.a
#LFLAGS = --header="scanner.h"
#YFLAGS = --defines --output=parser.c
diff --git a/tests/test-array-nr/Makefile.am b/tests/test-array-nr/Makefile.am
index 324e21a..472b6cc 100644
--- a/tests/test-array-nr/Makefile.am
+++ b/tests/test-array-nr/Makefile.am
@@ -26,7 +26,7 @@ EXTRA_DIST = scanner.l test.input
CLEANFILES = scanner.c parser.c parser.h test-array-nr OUTPUT $(OBJS)
OBJS = scanner.o # parser.o
-INCLUDES = -I $(srcdir) -I $(top_srcdir) -I $(top_builddir) -I .
+AM_CPPFLAGS = -I$(srcdir) -I$(top_srcdir) -I$(top_builddir) -I501 507 1002 1001 1000 499 400 100 6 501top_builddir)
#LDFLAGS = $(top_srcdir)/libfl.a
#YFLAGS = --defines --output=parser.c
diff --git a/tests/test-array-r/Makefile.am b/tests/test-array-r/Makefile.am
index 3cc4f81..7eab74e 100644
--- a/tests/test-array-r/Makefile.am
+++ b/tests/test-array-r/Makefile.am
@@ -26,7 +26,7 @@ EXTRA_DIST = scanner.l test.input
CLEANFILES = scanner.c test-array-r OUTPUT $(OBJS)
OBJS = scanner.o
-INCLUDES = -I $(srcdir) -I $(top_srcdir) -I $(top_builddir) -I .
+AM_CPPFLAGS = -I$(srcdir) -I$(top_srcdir) -I$(top_builddir) -I501 507 1002 1001 1000 499 400 100 6 501top_builddir)
#LDFLAGS = $(top_srcdir)/libfl.a
#YFLAGS = --defines --output=parser.c
diff --git a/tests/test-basic-nr/Makefile.am b/tests/test-basic-nr/Makefile.am
index 3b765e6..644127c 100644
--- a/tests/test-basic-nr/Makefile.am
+++ b/tests/test-basic-nr/Makefile.am
@@ -26,7 +26,7 @@ EXTRA_DIST = scanner.l test.input
CLEANFILES = scanner.c parser.c parser.h test-basic-nr OUTPUT $(OBJS)
OBJS = scanner.o # parser.o
-INCLUDES = -I $(srcdir) -I $(top_srcdir) -I $(top_builddir) -I .
+AM_CPPFLAGS = -I$(srcdir) -I$(top_srcdir) -I$(top_builddir) -I501 507 1002 1001 1000 499 400 100 6 501top_builddir)
#LDFLAGS = $(top_srcdir)/libfl.a
#YFLAGS = --defines --output=parser.c
diff --git a/tests/test-basic-r/Makefile.am b/tests/test-basic-r/Makefile.am
index 007f7cd..0dac80b 100644
--- a/tests/test-basic-r/Makefile.am
+++ b/tests/test-basic-r/Makefile.am
@@ -26,7 +26,7 @@ EXTRA_DIST = scanner.l test.input
CLEANFILES = scanner.c parser.c parser.h test-basic-r OUTPUT $(OBJS)
OBJS = scanner.o # parser.o
-INCLUDES = -I $(srcdir) -I $(top_srcdir) -I $(top_builddir) -I .
+AM_CPPFLAGS = -I$(srcdir) -I$(top_srcdir) -I$(top_builddir) -I501 507 1002 1001 1000 499 400 100 6 501top_builddir)
#LDFLAGS = $(top_srcdir)/libfl.a
#YFLAGS = --defines --output=parser.c
diff --git a/tests/test-bison-nr/Makefile.am b/tests/test-bison-nr/Makefile.am
index 227f3ec..6d1f7ee 100644
--- a/tests/test-bison-nr/Makefile.am
+++ b/tests/test-bison-nr/Makefile.am
@@ -26,7 +26,7 @@ EXTRA_DIST = scanner.l parser.y test.input main.c
CLEANFILES = scanner.c scanner.h parser.c parser.h test-bison-nr $(OBJS) OUTPUT
OBJS = scanner.o parser.o main.o
-INCLUDES = -I $(srcdir) -I $(top_srcdir) -I $(top_builddir) -I .
+AM_CPPFLAGS = -I$(srcdir) -I$(top_srcdir) -I$(top_builddir) -I501 507 1002 1001 1000 499 400 100 6 501top_builddir)
#LDFLAGS = $(top_srcdir)/libfl.a
YFLAGS = --defines --output=parser.c --name-prefix="test"
diff --git a/tests/test-bison-yylloc/Makefile.am b/tests/test-bison-yylloc/Makefile.am
index a0762dd..b7eb3a1 100644
--- a/tests/test-bison-yylloc/Makefile.am
+++ b/tests/test-bison-yylloc/Makefile.am
@@ -26,7 +26,7 @@ EXTRA_DIST = scanner.l parser.y test.input main.c
CLEANFILES = scanner.c scanner.h parser.c parser.h test-bison-yylloc $(OBJS) OUTPUT
OBJS = scanner.o parser.o main.o
-INCLUDES = -I $(srcdir) -I $(top_srcdir) -I $(top_builddir) -I .
+AM_CPPFLAGS = -I$(srcdir) -I$(top_srcdir) -I$(top_builddir) -I501 507 1002 1001 1000 499 400 100 6 501top_builddir)
#LDFLAGS = $(top_srcdir)/libfl.a
YFLAGS = --defines --output=parser.c --name-prefix="test"
diff --git a/tests/test-bison-yylval/Makefile.am b/tests/test-bison-yylval/Makefile.am
index 434cb9a..43fe952 100644
--- a/tests/test-bison-yylval/Makefile.am
+++ b/tests/test-bison-yylval/Makefile.am
@@ -26,7 +26,7 @@ EXTRA_DIST = scanner.l parser.y test.input main.c
CLEANFILES = scanner.c scanner.h parser.c parser.h test-bison-yylval $(OBJS) OUTPUT
OBJS = parser.o scanner.o main.o
-INCLUDES = -I $(srcdir) -I $(top_srcdir) -I $(top_builddir) -I .
+AM_CPPFLAGS = -I$(srcdir) -I$(top_srcdir) -I$(top_builddir) -I501 507 1002 1001 1000 499 400 100 6 501top_builddir)
#LDFLAGS = $(top_srcdir)/libfl.a
YFLAGS = --defines --output=parser.c --name-prefix="test"
diff --git a/tests/test-c++-basic/Makefile.am b/tests/test-c++-basic/Makefile.am
index f691216..3844a4e 100644
--- a/tests/test-c++-basic/Makefile.am
+++ b/tests/test-c++-basic/Makefile.am
@@ -26,7 +26,7 @@ EXTRA_DIST = scanner.l test.input
CLEANFILES = scanner.cpp scanner.h test-c++-basic OUTPUT $(OBJS)
OBJS = scanner.o
-INCLUDES = -I $(srcdir) -I $(top_srcdir) -I $(top_builddir) -I .
+AM_CPPFLAGS = -I$(srcdir) -I$(top_srcdir) -I$(top_builddir) -I501 507 1002 1001 1000 499 400 100 6 501top_builddir)
LFLAGS = -+
#LDFLAGS =
diff --git a/tests/test-c-cpp-nr/Makefile.am b/tests/test-c-cpp-nr/Makefile.am
index cbe1cc6..887e001 100644
--- a/tests/test-c-cpp-nr/Makefile.am
+++ b/tests/test-c-cpp-nr/Makefile.am
@@ -26,7 +26,7 @@ EXTRA_DIST = scanner.l test.input
CLEANFILES = scanner.cpp test-c-cpp-nr $(OBJS) OUTPUT
OBJS = scanner.o
-INCLUDES = -I $(srcdir) -I $(top_srcdir) -I $(top_builddir) -I .
+AM_CPPFLAGS = -I$(srcdir) -I$(top_srcdir) -I$(top_builddir) -I501 507 1002 1001 1000 499 400 100 6 501top_builddir)
#LDFLAGS = $(top_srcdir)/libfl.a
#YFLAGS = --defines --output=parser.c
diff --git a/tests/test-c-cpp-r/Makefile.am b/tests/test-c-cpp-r/Makefile.am
index 1c42da5..ab418a7 100644
--- a/tests/test-c-cpp-r/Makefile.am
+++ b/tests/test-c-cpp-r/Makefile.am
@@ -26,7 +26,7 @@ EXTRA_DIST = scanner.l test.input
CLEANFILES = scanner.cpp test-c-cpp-r $(OBJS) OUTPUT
OBJS = scanner.o
-INCLUDES = -I $(srcdir) -I $(top_srcdir) -I $(top_builddir) -I .
+AM_CPPFLAGS = -I$(srcdir) -I$(top_srcdir) -I$(top_builddir) -I501 507 1002 1001 1000 499 400 100 6 501top_builddir)
#LDFLAGS = $(top_srcdir)/libfl.a
#YFLAGS = --defines --output=parser.c
diff --git a/tests/test-debug-nr/Makefile.am b/tests/test-debug-nr/Makefile.am
index 920271e..e0d9002 100644
--- a/tests/test-debug-nr/Makefile.am
+++ b/tests/test-debug-nr/Makefile.am
@@ -26,7 +26,7 @@ EXTRA_DIST = scanner.l test.input
CLEANFILES = scanner.c scanner.h test-debug-nr OUTPUT $(OBJS)
OBJS = scanner.o
-INCLUDES = -I $(srcdir) -I $(top_srcdir) -I $(top_builddir) -I .
+AM_CPPFLAGS = -I$(srcdir) -I$(top_srcdir) -I$(top_builddir) -I501 507 1002 1001 1000 499 400 100 6 501top_builddir)
#LDFLAGS = $(top_srcdir)/libfl.a
testname = test-debug-nr
diff --git a/tests/test-debug-r/Makefile.am b/tests/test-debug-r/Makefile.am
index cbaca0e..b5b7c4d 100644
--- a/tests/test-debug-r/Makefile.am
+++ b/tests/test-debug-r/Makefile.am
@@ -26,7 +26,7 @@ EXTRA_DIST = scanner.l test.input
CLEANFILES = scanner.c test-debug-r OUTPUT $(OBJS)
OBJS = scanner.o
-INCLUDES = -I $(srcdir) -I $(top_srcdir) -I $(top_builddir) -I .
+AM_CPPFLAGS = -I$(srcdir) -I$(top_srcdir) -I$(top_builddir) -I501 507 1002 1001 1000 499 400 100 6 501top_builddir)
#LDFLAGS = $(top_srcdir)/libfl.a
testname = test-debug-r
diff --git a/tests/test-header-nr/Makefile.am b/tests/test-header-nr/Makefile.am
index 5b23caa..e0364b9 100644
--- a/tests/test-header-nr/Makefile.am
+++ b/tests/test-header-nr/Makefile.am
@@ -26,7 +26,7 @@ EXTRA_DIST = scanner.l test.input main.c
CLEANFILES = scanner.c scanner.h test-header-nr $(OBJS) OUTPUT
OBJS = scanner.o main.o
-INCLUDES = -I $(srcdir) -I $(top_srcdir) -I $(top_builddir) -I .
+AM_CPPFLAGS = -I$(srcdir) -I$(top_srcdir) -I$(top_builddir) -I501 507 1002 1001 1000 499 400 100 6 501top_builddir)
#LDFLAGS = $(top_srcdir)/libfl.a
#YFLAGS = --defines --output=parser.c
diff --git a/tests/test-header-r/Makefile.am b/tests/test-header-r/Makefile.am
index 2db2557..11feedc 100644
--- a/tests/test-header-r/Makefile.am
+++ b/tests/test-header-r/Makefile.am
@@ -26,7 +26,7 @@ EXTRA_DIST = scanner.l test.input main.c
CLEANFILES = scanner.c scanner.h test-header-r OUTPUT $(OBJS)
OBJS = scanner.o main.o
-INCLUDES = -I $(srcdir) -I $(top_srcdir) -I $(top_builddir) -I .
+AM_CPPFLAGS = -I$(srcdir) -I$(top_srcdir) -I$(top_builddir) -I501 507 1002 1001 1000 499 400 100 6 501top_builddir)
#LDFLAGS = $(top_srcdir)/libfl.a
LFLAGS = --header="scanner.h"
#YFLAGS = --defines --output=parser.c
diff --git a/tests/test-include-by-buffer/Makefile.am b/tests/test-include-by-buffer/Makefile.am
index f741fe5..bfaac59 100644
--- a/tests/test-include-by-buffer/Makefile.am
+++ b/tests/test-include-by-buffer/Makefile.am
@@ -26,7 +26,7 @@ EXTRA_DIST = scanner.l test-1.input test-2.input test-3.input
CLEANFILES = scanner.c scanner.h parser.c parser.h test-include-by-buffer OUTPUT $(OBJS)
OBJS = scanner.o # parser.o
-INCLUDES = -I $(srcdir) -I $(top_srcdir) -I $(top_builddir) -I .
+AM_CPPFLAGS = -I$(srcdir) -I$(top_srcdir) -I$(top_builddir) -I501 507 1002 1001 1000 499 400 100 6 501top_builddir)
#LDFLAGS = $(top_srcdir)/libfl.a
#LFLAGS = --header="scanner.h"
#YFLAGS = --defines --output=parser.c
diff --git a/tests/test-include-by-reentrant/Makefile.am b/tests/test-include-by-reentrant/Makefile.am
index 793071d..ec2daa1 100644
--- a/tests/test-include-by-reentrant/Makefile.am
+++ b/tests/test-include-by-reentrant/Makefile.am
@@ -26,7 +26,7 @@ EXTRA_DIST = scanner.l test-1.input test-2.input test-3.input
CLEANFILES = scanner.c scanner.h parser.c parser.h test-include-by-reentrant OUTPUT $(OBJS)
OBJS = scanner.o # parser.o
-INCLUDES = -I $(srcdir) -I $(top_srcdir) -I $(top_builddir) -I .
+AM_CPPFLAGS = -I$(srcdir) -I$(top_srcdir) -I$(top_builddir) -I501 507 1002 1001 1000 499 400 100 6 501top_builddir)
#LDFLAGS = $(top_srcdir)/libfl.a
#LFLAGS = --header="scanner.h"
#YFLAGS = --defines --output=parser.c
diff --git a/tests/test-lineno-nr/Makefile.am b/tests/test-lineno-nr/Makefile.am
index 6bfc0aa..829253a 100644
--- a/tests/test-lineno-nr/Makefile.am
+++ b/tests/test-lineno-nr/Makefile.am
@@ -26,7 +26,7 @@ EXTRA_DIST = scanner.l test.input
CLEANFILES = scanner.c test-lineno-nr OUTPUT $(OBJS)
OBJS = scanner.o
-INCLUDES = -I $(srcdir) -I $(top_srcdir) -I $(top_builddir) -I .
+AM_CPPFLAGS = -I$(srcdir) -I$(top_srcdir) -I$(top_builddir) -I501 507 1002 1001 1000 499 400 100 6 501top_builddir)
testname = test-lineno-nr
diff --git a/tests/test-lineno-r/Makefile.am b/tests/test-lineno-r/Makefile.am
index 020c913..9131901 100644
--- a/tests/test-lineno-r/Makefile.am
+++ b/tests/test-lineno-r/Makefile.am
@@ -26,7 +26,7 @@ EXTRA_DIST = scanner.l test.input
CLEANFILES = scanner.c test-lineno-r OUTPUT $(OBJS)
OBJS = scanner.o
-INCLUDES = -I $(srcdir) -I $(top_srcdir) -I $(top_builddir) -I .
+AM_CPPFLAGS = -I$(srcdir) -I$(top_srcdir) -I$(top_builddir) -I501 507 1002 1001 1000 499 400 100 6 501top_builddir)
testname = test-lineno-r
diff --git a/tests/test-mem-nr/Makefile.am b/tests/test-mem-nr/Makefile.am
index d775db8..69f12b8 100644
--- a/tests/test-mem-nr/Makefile.am
+++ b/tests/test-mem-nr/Makefile.am
@@ -26,7 +26,7 @@ EXTRA_DIST = scanner.l test.input
CLEANFILES = scanner.c scanner.h test-mem-nr OUTPUT $(OBJS)
OBJS = scanner.o
-INCLUDES = -I $(srcdir) -I $(top_srcdir) -I $(top_builddir) -I .
+AM_CPPFLAGS = -I$(srcdir) -I$(top_srcdir) -I$(top_builddir) -I501 507 1002 1001 1000 499 400 100 6 501top_builddir)
#LDFLAGS = $(top_srcdir)/libfl.a
testname = test-mem-nr
diff --git a/tests/test-mem-r/Makefile.am b/tests/test-mem-r/Makefile.am
index bf32246..4ecaac7 100644
--- a/tests/test-mem-r/Makefile.am
+++ b/tests/test-mem-r/Makefile.am
@@ -26,7 +26,7 @@ EXTRA_DIST = scanner.l test.input
CLEANFILES = scanner.c scanner.h test-mem-r OUTPUT $(OBJS)
OBJS = scanner.o
-INCLUDES = -I $(srcdir) -I $(top_srcdir) -I $(top_builddir) -I .
+AM_CPPFLAGS = -I$(srcdir) -I$(top_srcdir) -I$(top_builddir) -I501 507 1002 1001 1000 499 400 100 6 501top_builddir)
#LDFLAGS = $(top_srcdir)/libfl.a
testname = test-mem-r
diff --git a/tests/test-multiple-scanners-nr/Makefile.am b/tests/test-multiple-scanners-nr/Makefile.am
index 1db3b8a..c89fca5 100644
--- a/tests/test-multiple-scanners-nr/Makefile.am
+++ b/tests/test-multiple-scanners-nr/Makefile.am
@@ -26,7 +26,7 @@ EXTRA_DIST = scanner-1.l scanner-2.l main.c
CLEANFILES = scanner-1.c scanner-1.h test-multiple-scanners-nr OUTPUT $(OBJS) scanner-2.c scanner-2.h
OBJS = scanner-1.o scanner-2.o main.o
-INCLUDES = -I $(srcdir) -I $(top_srcdir) -I $(top_builddir) -I .
+AM_CPPFLAGS = -I$(srcdir) -I$(top_srcdir) -I$(top_builddir) -I501 507 1002 1001 1000 499 400 100 6 501top_builddir)
#LDFLAGS = $(top_srcdir)/libfl.a
#YFLAGS = --defines --output=parser.c
diff --git a/tests/test-multiple-scanners-r/Makefile.am b/tests/test-multiple-scanners-r/Makefile.am
index 60057a1..1f39f24 100644
--- a/tests/test-multiple-scanners-r/Makefile.am
+++ b/tests/test-multiple-scanners-r/Makefile.am
@@ -28,7 +28,7 @@ CLEANFILES = scanner-1.c scanner-1.h test-multiple-scanners-r OUTPUT\
scanner-2.tables
OBJS = scanner-1.o scanner-2.o main.o
-INCLUDES = -I $(srcdir) -I $(top_srcdir) -I $(top_builddir) -I .
+AM_CPPFLAGS = -I$(srcdir) -I$(top_srcdir) -I$(top_builddir) -I501 507 1002 1001 1000 499 400 100 6 501top_builddir)
#LDFLAGS = $(top_srcdir)/libfl.a
#YFLAGS = --defines --output=parser.c
diff --git a/tests/test-posix/Makefile.am b/tests/test-posix/Makefile.am
index 128bd35..82579d6 100644
--- a/tests/test-posix/Makefile.am
+++ b/tests/test-posix/Makefile.am
@@ -26,7 +26,7 @@ EXTRA_DIST = scanner.l
CLEANFILES = scanner.c scanner.h test-posix OUTPUT $(OBJS)
OBJS = scanner.o
-INCLUDES = -I $(srcdir) -I $(top_srcdir) -I $(top_builddir) -I .
+AM_CPPFLAGS = -I$(srcdir) -I$(top_srcdir) -I$(top_builddir) -I501 507 1002 1001 1000 499 400 100 6 501top_builddir)
#LDFLAGS = $(top_srcdir)/libfl.a
#LFLAGS = --header="scanner.h"
diff --git a/tests/test-posixly-correct/Makefile.am b/tests/test-posixly-correct/Makefile.am
index 7501274..6d86aaa 100644
--- a/tests/test-posixly-correct/Makefile.am
+++ b/tests/test-posixly-correct/Makefile.am
@@ -26,7 +26,7 @@ EXTRA_DIST = scanner.l
CLEANFILES = scanner.c scanner.h test-posixly-correct OUTPUT $(OBJS)
OBJS = scanner.o
-INCLUDES = -I $(srcdir) -I $(top_srcdir) -I $(top_builddir) -I .
+AM_CPPFLAGS = -I$(srcdir) -I$(top_srcdir) -I$(top_builddir) -I501 507 1002 1001 1000 499 400 100 6 501top_builddir)
#LDFLAGS = $(top_srcdir)/libfl.a
#LFLAGS = --header="scanner.h"
diff --git a/tests/test-prefix-nr/Makefile.am b/tests/test-prefix-nr/Makefile.am
index 8e41071..12e810b 100644
--- a/tests/test-prefix-nr/Makefile.am
+++ b/tests/test-prefix-nr/Makefile.am
@@ -26,7 +26,7 @@ EXTRA_DIST = scanner.l test.input
CLEANFILES = scanner.c scanner.h parser.c parser.h test-prefix-nr OUTPUT $(OBJS)
OBJS = scanner.o # parser.o
-INCLUDES = -I $(srcdir) -I $(top_srcdir) -I $(top_builddir) -I .
+AM_CPPFLAGS = -I$(srcdir) -I$(top_srcdir) -I$(top_builddir) -I501 507 1002 1001 1000 499 400 100 6 501top_builddir)
#LDFLAGS = $(top_srcdir)/libfl.a
#LFLAGS = --header="scanner.h"
#YFLAGS = --defines --output=parser.c
diff --git a/tests/test-prefix-r/Makefile.am b/tests/test-prefix-r/Makefile.am
index 1015fd5..b699c94 100644
--- a/tests/test-prefix-r/Makefile.am
+++ b/tests/test-prefix-r/Makefile.am
@@ -26,7 +26,7 @@ EXTRA_DIST = scanner.l test.input
CLEANFILES = scanner.c scanner.h parser.c parser.h test-prefix-r OUTPUT $(OBJS)
OBJS = scanner.o # parser.o
-INCLUDES = -I $(srcdir) -I $(top_srcdir) -I $(top_builddir) -I .
+AM_CPPFLAGS = -I$(srcdir) -I$(top_srcdir) -I$(top_builddir) -I501 507 1002 1001 1000 499 400 100 6 501top_builddir)
#LDFLAGS = $(top_srcdir)/libfl.a
#LFLAGS = --header="scanner.h"
#YFLAGS = --defines --output=parser.c
diff --git a/tests/test-pthread/Makefile.am b/tests/test-pthread/Makefile.am
index 396645c..8222fa3 100644
--- a/tests/test-pthread/Makefile.am
+++ b/tests/test-pthread/Makefile.am
@@ -26,7 +26,7 @@ EXTRA_DIST = scanner.l test-1.input test-2.input test-3.input test-4.input test-
CLEANFILES = scanner.c scanner.h parser.c parser.h test-pthread OUTPUT $(OBJS)
OBJS = scanner.o # parser.o
-INCLUDES = -I $(srcdir) -I $(top_srcdir) -I $(top_builddir) -I .
+AM_CPPFLAGS = -I$(srcdir) -I$(top_srcdir) -I$(top_builddir) -I501 507 1002 1001 1000 499 400 100 6 501top_builddir)
LDFLAGS = -lpthread
#LFLAGS = --header="scanner.h"
#YFLAGS = --defines --output=parser.c
diff --git a/tests/test-reject/Makefile.am b/tests/test-reject/Makefile.am
index cfbf8a0..3cfc214 100644
--- a/tests/test-reject/Makefile.am
+++ b/tests/test-reject/Makefile.am
@@ -27,7 +27,7 @@ CLEANFILES = scanner.c test-reject-* OUTPUT $(OBJS)
OBJS = test-reject-nr.o test-reject-r.o test-reject-ver.o \
test-reject-ser.o
-INCLUDES = -I $(srcdir) -I $(top_srcdir) -I $(top_builddir) -I .
+AM_CPPFLAGS = -I$(srcdir) -I$(top_srcdir) -I$(top_builddir) -I501 507 1002 1001 1000 499 400 100 6 501top_builddir)
tests = test-reject-nr$(EXEEXT) test-reject-r$(EXEEXT) \
test-reject-ser$(EXEEXT) test-reject-ver$(EXEEXT)
diff --git a/tests/test-string-nr/Makefile.am b/tests/test-string-nr/Makefile.am
index ff2bd50..086a00c 100644
--- a/tests/test-string-nr/Makefile.am
+++ b/tests/test-string-nr/Makefile.am
@@ -26,7 +26,7 @@ EXTRA_DIST = scanner.l
CLEANFILES = scanner.c scanner.h parser.c parser.h test-string-nr OUTPUT $(OBJS)
OBJS = scanner.o # parser.o
-INCLUDES = -I $(srcdir) -I $(top_srcdir) -I $(top_builddir) -I .
+AM_CPPFLAGS = -I$(srcdir) -I$(top_srcdir) -I$(top_builddir) -I501 507 1002 1001 1000 499 400 100 6 501top_builddir)
#LDFLAGS = $(top_srcdir)/libfl.a
#LFLAGS = --header="scanner.h"
#YFLAGS = --defines --output=parser.c
diff --git a/tests/test-string-r/Makefile.am b/tests/test-string-r/Makefile.am
index 96e495a..233796c 100644
--- a/tests/test-string-r/Makefile.am
+++ b/tests/test-string-r/Makefile.am
@@ -26,7 +26,7 @@ EXTRA_DIST = scanner.l
CLEANFILES = scanner.c scanner.h parser.c parser.h test-string-r OUTPUT $(OBJS)
OBJS = scanner.o # parser.o
-INCLUDES = -I $(srcdir) -I $(top_srcdir) -I $(top_builddir) -I .
+AM_CPPFLAGS = -I$(srcdir) -I$(top_srcdir) -I$(top_builddir) -I501 507 1002 1001 1000 499 400 100 6 501top_builddir)
#LDFLAGS = $(top_srcdir)/libfl.a
#LFLAGS = --header="scanner.h"
#YFLAGS = --defines --output=parser.c
diff --git a/tests/test-table-opts/Makefile.am b/tests/test-table-opts/Makefile.am
index 97d8b21..46e5146 100644
--- a/tests/test-table-opts/Makefile.am
+++ b/tests/test-table-opts/Makefile.am
@@ -65,7 +65,7 @@ alltables := $(addsuffix .tables,$(alltests))
EXTRA_DIST = scanner.l test.input
CLEANFILES = scanner.c OUTPUT test-*.o test-*.c test-*.tables \
all-ser.tables core $(alltests)
-INCLUDES = -I $(srcdir) -I $(top_srcdir) -I $(top_builddir) -I .
+AM_CPPFLAGS = -I$(srcdir) -I$(top_srcdir) -I$(top_builddir) -I501 507 1002 1001 1000 499 400 100 6 501top_builddir)
test: test-table-opts
test-table-opts: $(alltests)
diff --git a/tests/test-yyextra/Makefile.am b/tests/test-yyextra/Makefile.am
index 6c14ca8..f6d1e4b 100644
--- a/tests/test-yyextra/Makefile.am
+++ b/tests/test-yyextra/Makefile.am
@@ -26,7 +26,7 @@ EXTRA_DIST = scanner.l test.input
CLEANFILES = scanner.c scanner.h parser.c parser.h test-yyextra OUTPUT $(OBJS)
OBJS = scanner.o # parser.o
-INCLUDES = -I $(srcdir) -I $(top_srcdir) -I $(top_builddir) -I .
+AM_CPPFLAGS = -I$(srcdir) -I$(top_srcdir) -I$(top_builddir) -I501 507 1002 1001 1000 499 400 100 6 501top_builddir)
#LDFLAGS = $(top_srcdir)/libfl.a
#LFLAGS = --header="scanner.h"
#YFLAGS = --defines --output=parser.c