"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "tests/Makefile.am" between
flex-2.6.3.tar.gz and flex-2.6.4.tar.gz

About: Flex ("Fast Lexical Analyzer") is a tool for generating scanners/tokenizers.

Makefile.am  (flex-2.6.3):Makefile.am  (flex-2.6.4)
skipping to change at line 34 skipping to change at line 34
TESTS = $(check_PROGRAMS) options.cn TESTS = $(check_PROGRAMS) options.cn
# The script testwrapper.sh will run most tests as is. A couple tests # The script testwrapper.sh will run most tests as is. A couple tests
# in the suite end in .reject, .table and the like so that we can pass # in the suite end in .reject, .table and the like so that we can pass
# different arguments to the test runner. We list those extensions so # different arguments to the test runner. We list those extensions so
# automake knows how to distinguish between the various kinds of tests # automake knows how to distinguish between the various kinds of tests
# we have. # we have.
TEST_EXTENSIONS = .reject .table .direct .cn .i3 .pthread .one .opt .ser .ver TEST_EXTENSIONS = .reject .table .direct .cn .i3 .pthread .one .opt .ser .ver
LOG_COMPILER = $(srcdir)/testwrapper.sh LOG_COMPILER = $(SHELL) $(srcdir)/testwrapper.sh
AM_LOG_FLAGS = -d $(srcdir) -r AM_LOG_FLAGS = -d $(srcdir) -r
REJECT_LOG_COMPILER = $(srcdir)/testwrapper.sh REJECT_LOG_COMPILER = $(SHELL) $(srcdir)/testwrapper.sh
AM_REJECT_LOG_FLAGS = -d $(srcdir) -i $(srcdir)/reject.txt -r AM_REJECT_LOG_FLAGS = -d $(srcdir) -i $(srcdir)/reject.txt -r
TABLE_LOG_COMPILER = $(srcdir)/testwrapper.sh TABLE_LOG_COMPILER = $(SHELL) $(srcdir)/testwrapper.sh
AM_TABLE_LOG_FLAGS = -d $(builddir) -i $(srcdir)/reject.txt -t AM_TABLE_LOG_FLAGS = -d $(builddir) -i $(srcdir)/reject.txt -t
DIRECT_LOG_COMPILER=$(srcdir)/testwrapper-direct.sh DIRECT_LOG_COMPILER = $(SHELL) $(srcdir)/testwrapper-direct.sh
AM_DIRECT_LOG_FLAGS = -b $(abs_builddir) -s $(srcdir) AM_DIRECT_LOG_FLAGS = -b $(abs_builddir) -s $(srcdir)
CN_LOG_COMPILER=$(srcdir)/options.cn CN_LOG_COMPILER = $(SHELL) $(srcdir)/options.cn
AM_CN_LOG_FLAGS=$(FLEX) AM_CN_LOG_FLAGS = $(FLEX)
I3_LOG_COMPILER=$(srcdir)/testwrapper.sh I3_LOG_COMPILER = $(SHELL) $(srcdir)/testwrapper.sh
AM_I3_LOG_FLAGS=-i $(srcdir)/cxx_yywrap.txt -i $(srcdir)/cxx_yywrap.txt -i $(src AM_I3_LOG_FLAGS = -i $(srcdir)/cxx_yywrap.txt -i $(srcdir)/cxx_yywrap.txt -i $(s
dir)/cxx_yywrap.txt rcdir)/cxx_yywrap.txt
PTHREAD_LOG_COMPILER=$(srcdir)/testwrapper.sh PTHREAD_LOG_COMPILER = $(SHELL) $(srcdir)/testwrapper.sh
AM_PTHREAD_LOG_FLAGS=-i $(srcdir)/pthread_1.txt -i $(srcdir)/pthread_2.txt -i $( AM_PTHREAD_LOG_FLAGS = -i $(srcdir)/pthread_1.txt -i $(srcdir)/pthread_2.txt -i
srcdir)/pthread_3.txt -i $(srcdir)/pthread_4.txt -i $(srcdir)/pthread_5.txt $(srcdir)/pthread_3.txt -i $(srcdir)/pthread_4.txt -i $(srcdir)/pthread_5.txt
ONE_LOG_COMPILER = $(srcdir)/testwrapper.sh ONE_LOG_COMPILER = $(SHELL) $(srcdir)/testwrapper.sh
AM_ONE_LOG_FLAGS = -1 -d $(srcdir) AM_ONE_LOG_FLAGS = -1 -d $(srcdir)
AM_YFLAGS = -d -p test AM_YFLAGS = -d -p test
AM_CPPFLAGS = -I$(top_builddir)/src -I$(top_srcdir)/src AM_CPPFLAGS = -I$(top_builddir)/src -I$(top_srcdir)/src
check_PROGRAMS = $(simple_tests) $(reject_tests) $(TABLE_TESTS) $(DIRECT_TESTS) $(I3_TESTS) $(PTHREAD_TESTS) $(ONE_TESTS) $(TABLEOPTS_TESTS) check_PROGRAMS = $(simple_tests) $(reject_tests) $(TABLE_TESTS) $(DIRECT_TESTS) $(I3_TESTS) $(PTHREAD_TESTS) $(ONE_TESTS) $(TABLEOPTS_TESTS)
simple_tests = \ simple_tests = \
alloc_extra \ alloc_extra \
array_nr \ array_nr \
skipping to change at line 116 skipping to change at line 116
DIRECT_TESTS = \ DIRECT_TESTS = \
include_by_buffer.direct \ include_by_buffer.direct \
include_by_push.direct \ include_by_push.direct \
include_by_reentrant.direct \ include_by_reentrant.direct \
rescan_nr.direct \ rescan_nr.direct \
rescan_r.direct rescan_r.direct
I3_TESTS = \ I3_TESTS = \
cxx_yywrap.i3 cxx_yywrap.i3
if want_pthread
PTHREAD_TESTS = \ PTHREAD_TESTS = \
pthread.pthread pthread.pthread
endif
ONE_TESTS = \ ONE_TESTS = \
lineno_nr.one \ lineno_nr.one \
lineno_r.one \ lineno_r.one \
lineno_trailing.one lineno_trailing.one
quote_in_comment_SOURCES = quote_in_comment.l quote_in_comment_SOURCES = quote_in_comment.l
alloc_extra_SOURCES = alloc_extra.l alloc_extra_SOURCES = alloc_extra.l
array_nr_SOURCES = array_nr.l array_nr_SOURCES = array_nr.l
array_r_SOURCES = array_r.l array_r_SOURCES = array_r.l
basic_nr_SOURCES = basic_nr.l basic_nr_SOURCES = basic_nr.l
basic_r_SOURCES = basic_r.l basic_r_SOURCES = basic_r.l
if HAVE_BISON
bison_nr_SOURCES = bison_nr_scanner.l bison_nr_parser.y bison_nr_main.c bison_nr_SOURCES = bison_nr_scanner.l bison_nr_parser.y bison_nr_main.c
nodist_bison_nr_SOURCES = bison_nr_parser.h bison_nr_scanner.h
bison_yylloc_SOURCES = bison_yylloc_scanner.l bison_yylloc_parser.y bison_yylloc _main.c bison_yylloc_SOURCES = bison_yylloc_scanner.l bison_yylloc_parser.y bison_yylloc _main.c
nodist_bison_yylloc_SOURCES = bison_yylloc_parser.h bison_yylloc_scanner.h
bison_yylval_SOURCES = bison_yylval_scanner.l bison_yylval_parser.y bison_yylval _main.c bison_yylval_SOURCES = bison_yylval_scanner.l bison_yylval_parser.y bison_yylval _main.c
nodist_bison_yylval_SOURCES = bison_yylval_parser.h bison_yylval_scanner.h
else
bison_nr_SOURCES = no_bison_stub.c
bison_yylloc_SOURCES = no_bison_stub.c
bison_yylval_SOURCES = no_bison_stub.c
endif
c_cxx_nr_SOURCES = c_cxx_nr.lll c_cxx_nr_SOURCES = c_cxx_nr.lll
c_cxx_r_SOURCES = c_cxx_r.lll c_cxx_r_SOURCES = c_cxx_r.lll
ccl_SOURCES = ccl.l ccl_SOURCES = ccl.l
cxx_basic_SOURCES = cxx_basic.ll cxx_basic_SOURCES = cxx_basic.ll
cxx_restart_SOURCES = cxx_restart.ll cxx_restart_SOURCES = cxx_restart.ll
cxx_multiple_scanners_SOURCES = cxx_multiple_scanners_main.cc cxx_multiple_scann ers_1.ll cxx_multiple_scanners_2.ll cxx_multiple_scanners_SOURCES = cxx_multiple_scanners_main.cc cxx_multiple_scann ers_1.ll cxx_multiple_scanners_2.ll
cxx_yywrap_i3_SOURCES = cxx_yywrap.ll cxx_yywrap_i3_SOURCES = cxx_yywrap.ll
debug_nr_SOURCES = debug_nr.l debug_nr_SOURCES = debug_nr.l
debug_r_SOURCES = debug_r.l debug_r_SOURCES = debug_r.l
extended_SOURCES = extended.l extended_SOURCES = extended.l
header_nr_SOURCES = header_nr_scanner.l header_nr_main.c header_nr_SOURCES = header_nr_scanner.l header_nr_main.c
nodist_header_nr_SOURCES = header_nr_scanner.h
header_r_SOURCES = header_r_scanner.l header_r_main.c header_r_SOURCES = header_r_scanner.l header_r_main.c
nodist_header_r_SOURCES = header_r_scanner.h
include_by_buffer_direct_SOURCES = include_by_buffer.direct.l include_by_buffer_direct_SOURCES = include_by_buffer.direct.l
include_by_push_direct_SOURCES = include_by_push.direct.l include_by_push_direct_SOURCES = include_by_push.direct.l
include_by_reentrant_direct_SOURCES = include_by_reentrant.direct.l include_by_reentrant_direct_SOURCES = include_by_reentrant.direct.l
lineno_nr_one_SOURCES = lineno_nr.l lineno_nr_one_SOURCES = lineno_nr.l
lineno_r_one_SOURCES = lineno_r.l lineno_r_one_SOURCES = lineno_r.l
lineno_trailing_one_SOURCES = lineno_trailing.l lineno_trailing_one_SOURCES = lineno_trailing.l
mem_nr_SOURCES = mem_nr.l mem_nr_SOURCES = mem_nr.l
mem_r_SOURCES = mem_r.l mem_r_SOURCES = mem_r.l
multiple_scanners_nr_SOURCES = multiple_scanners_nr_main.c multiple_scanners_nr_ 1.l multiple_scanners_nr_2.l multiple_scanners_nr_SOURCES = multiple_scanners_nr_main.c multiple_scanners_nr_ 1.l multiple_scanners_nr_2.l
nodist_multiple_scanners_nr_SOURCES = multiple_scanners_nr_1.h multiple_scanners _nr_2.h
multiple_scanners_r_SOURCES = multiple_scanners_r_main.c multiple_scanners_r_1.l multiple_scanners_r_2.l multiple_scanners_r_SOURCES = multiple_scanners_r_main.c multiple_scanners_r_1.l multiple_scanners_r_2.l
nodist_multiple_scanners_r_SOURCES = multiple_scanners_nr_1.h multiple_scanners_ nr_2.h
posix_SOURCES = posix.l posix_SOURCES = posix.l
posixly_correct_SOURCES = posixly_correct.l posixly_correct_SOURCES = posixly_correct.l
prefix_nr_SOURCES = prefix_nr.l prefix_nr_SOURCES = prefix_nr.l
prefix_r_SOURCES = prefix_r.l prefix_r_SOURCES = prefix_r.l
pthread_pthread_SOURCES = pthread.l pthread_pthread_SOURCES = pthread.l
quotes_SOURCES = quotes.l quotes_SOURCES = quotes.l
reject_nr_reject_SOURCES = reject.l4 reject_nr_reject_SOURCES = reject.l4
reject_r_reject_SOURCES = reject.l4 reject_r_reject_SOURCES = reject.l4
reject_ver_table_SOURCES = reject.l4 reject_ver_table_SOURCES = reject.l4
reject_ser_table_SOURCES = reject.l4 reject_ser_table_SOURCES = reject.l4
rescan_nr_direct_SOURCES = rescan_nr.direct.l rescan_nr_direct_SOURCES = rescan_nr.direct.l
rescan_r_direct_SOURCES = rescan_r.direct.l rescan_r_direct_SOURCES = rescan_r.direct.l
string_nr_SOURCES = string_nr.l string_nr_SOURCES = string_nr.l
string_r_SOURCES = string_r.l string_r_SOURCES = string_r.l
top_SOURCES = top.l top_main.c top_SOURCES = top.l top_main.c
nodist_top_SOURCES = top.h
yyextra_SOURCES = yyextra.l yyextra_SOURCES = yyextra.l
BUILT_SOURCES = \
bison_nr_parser.h \
bison_nr_scanner.h \
bison_yylloc_parser.h \
bison_yylloc_scanner.h \
bison_yylval_parser.h \
bison_yylval_scanner.h \
header_nr_scanner.h \
header_r_scanner.h \
multiple_scanners_nr_1.h \
multiple_scanners_nr_2.h \
multiple_scanners_r_1.h \
multiple_scanners_r_2.h \
top.h
# Normally, automake would distribute files built by flex. Since the # Normally, automake would distribute files built by flex. Since the
# point of the test suite is to test the files that flex builds, and # point of the test suite is to test the files that flex builds, and
# since anyone who has the flex distribution can build a flex binary # since anyone who has the flex distribution can build a flex binary
# without having a flex binary, we want to not distribute the files # without having a flex binary, we want to not distribute the files
# built by flex in the test suite. The dist-hook target accomplishes # built by flex in the test suite. The dist-hook target accomplishes
# this goal. It's also handy to have the list of files to clean since # this goal. It's also handy to have the list of files to clean since
# automake doesn't know about the whacky ways in which we're abusing # automake doesn't know about the whacky ways in which we're abusing
# it. # it.
CLEANFILES = \ CLEANFILES = \
alloc_extra.c \
array_nr.c \ array_nr.c \
array_r.c \ array_r.c \
basic_nr.c \ basic_nr.c \
basic_r.c \ basic_r.c \
bison_nr_parser.c \ bison_nr_parser.c \
bison_nr_parser.h \ bison_nr_parser.h \
bison_nr_scanner.c \ bison_nr_scanner.c \
bison_nr_scanner.h \ bison_nr_scanner.h \
bison_yylloc_parser.c \ bison_yylloc_parser.c \
bison_yylloc_parser.h \ bison_yylloc_parser.h \
skipping to change at line 266 skipping to change at line 264
reject_ser.table.tables \ reject_ser.table.tables \
reject_ver.table.c \ reject_ver.table.c \
reject_ver.table.tables \ reject_ver.table.tables \
rescan_nr.direct.c \ rescan_nr.direct.c \
rescan_r.direct.c \ rescan_r.direct.c \
string_nr.c \ string_nr.c \
string_r.c \ string_r.c \
top.c \ top.c \
top.h \ top.h \
yyextra.c \ yyextra.c \
alloc_extra.c \
$(tableopts_c) \ $(tableopts_c) \
$(tableopts_tables) $(tableopts_tables)
dist-hook: dist-hook:
for file in $(CLEANFILES) ; do \ for file in $(CLEANFILES) ; do \
rm -f $(distdir)/$$file \ rm -f $(distdir)/$$file \
; done ; done
EXTRA_DIST = \ EXTRA_DIST = \
README \ README \
skipping to change at line 335 skipping to change at line 332
tableopts.txt tableopts.txt
dist_noinst_SCRIPTS = \ dist_noinst_SCRIPTS = \
tableopts.sh tableopts.sh
dist_check_SCRIPTS = \ dist_check_SCRIPTS = \
options.cn \ options.cn \
testwrapper-direct.sh \ testwrapper-direct.sh \
testwrapper.sh testwrapper.sh
pthread_pthread_LDADD = -lpthread pthread_pthread_LDADD = @LIBPTHREAD@
# specify how to process .l files in order to test the flex built by make all # specify how to process .l files in order to test the flex built by make all
FLEX = $(top_builddir)/src/flex FLEX = $(top_builddir)/src/flex
.l.c: $(FLEX) .l.c: $(FLEX)
$(FLEX) -o $@ $< $(AM_V_LEX)$(FLEX) -o $@ $<
.ll.cc: $(FLEX) .ll.cc: $(FLEX)
$(FLEX) -+ -o $@ $< $(AM_V_LEX)$(FLEX) -+ -o $@ $<
bison_nr_main.$(OBJEXT): bison_nr_parser.h bison_nr_scanner.h
bison_nr_scanner.$(OBJEXT): bison_nr_parser.h
bison_nr_main.($OBJEXT): bison_nr_parser.h bison_nr_scanner.h
bison_nr_scanner.h: bison_nr_scanner.c bison_nr_scanner.h: bison_nr_scanner.c
@if test ! -f $@; then rm -f $<; else :; fi
@if test ! -f $@; then $(MAKE) $(AM_MAKEFLAGS) $<; else :; fi
bison_yylloc_main.$(OBJEXT): bison_yylloc_parser.h bison_yylloc_scanner.h bison_yylloc_main.$(OBJEXT): bison_yylloc_parser.h bison_yylloc_scanner.h
bison_yylloc_scanner.$(OBJEXT): bison_yylloc_parser.h
bison_yylloc_scanner.h: bison_yylloc_scanner.c bison_yylloc_scanner.h: bison_yylloc_scanner.c
@if test ! -f $@; then rm -f $<; else :; fi
@if test ! -f $@; then $(MAKE) $(AM_MAKEFLAGS) $<; else :; fi
bison_yylval_main.$(OBJEXT): bison_yylval_parser.h bison_yylval_scanner.h bison_yylval_main.$(OBJEXT): bison_yylval_parser.h bison_yylval_scanner.h
bison_yylval_scanner.$(OBJEXT): bison_yylval_parser.h
bison_yylval_scanner.h: bison_yylval_scanner.c bison_yylval_scanner.h: bison_yylval_scanner.c
@if test ! -f $@; then rm -f $<; else :; fi
@if test ! -f $@; then $(MAKE) $(AM_MAKEFLAGS) $<; else :; fi
# automake does not support compiling flex scanners output in C as C++ # automake does not support compiling flex scanners output in C as C++
# so we explicitly sayhow, using the .lll suffix for the lex input file # so we explicitly sayhow, using the .lll suffix for the lex input file
.lll.cc: $(FLEX) .lll.cc: $(FLEX)
$(FLEX) -o $@ $< $(AM_V_LEX)$(FLEX) -o $@ $<
header_nr_main.$(OBJEXT): header_nr_scanner.h header_nr_main.$(OBJEXT): header_nr_scanner.h
header_nr_scanner.h: header_nr_scanner.c header_nr_scanner.h: header_nr_scanner.c
@if test ! -f $@; then rm -f $<; else :; fi
@if test ! -f $@; then $(MAKE) $(AM_MAKEFLAGS) $<; else :; fi
header_r_main.$(OBJEXT): header_r_scanner.h header_r_main.$(OBJEXT): header_r_scanner.h
header_r_scanner.h: header_r_scanner.c header_r_scanner.h: header_r_scanner.c
@if test ! -f $@; then rm -f $<; else :; fi
@if test ! -f $@; then $(MAKE) $(AM_MAKEFLAGS) $<; else :; fi
multiple_scanners_nr_main.$(OBJEXT): multiple_scanners_nr_1.h multiple_scanners_ nr_2.h multiple_scanners_nr_main.$(OBJEXT): multiple_scanners_nr_1.h multiple_scanners_ nr_2.h
multiple_scanners_nr_1.h: multiple_scanners_nr_1.c multiple_scanners_nr_1.h: multiple_scanners_nr_1.c
@if test ! -f $@; then rm -f $<; else :; fi
@if test ! -f $@; then $(MAKE) $(AM_MAKEFLAGS) $<; else :; fi
multiple_scanners_nr_2.h: multiple_scanners_nr_2.c multiple_scanners_nr_2.h: multiple_scanners_nr_2.c
@if test ! -f $@; then rm -f $<; else :; fi
@if test ! -f $@; then $(MAKE) $(AM_MAKEFLAGS) $<; else :; fi
multiple_scanners_r_main.$(OBJEXT): multiple_scanners_r_1.h multiple_scanners_r_ 2.h multiple_scanners_r_main.$(OBJEXT): multiple_scanners_r_1.h multiple_scanners_r_ 2.h
multiple_scanners_r_1.h: multiple_scanners_r_1.c multiple_scanners_r_1.h: multiple_scanners_r_1.c
@if test ! -f $@; then rm -f $<; else :; fi
@if test ! -f $@; then $(MAKE) $(AM_MAKEFLAGS) $<; else :; fi
multiple_scanners_r_2.h: multiple_scanners_r_2.c multiple_scanners_r_2.h: multiple_scanners_r_2.c
@if test ! -f $@; then rm -f $<; else :; fi
@if test ! -f $@; then $(MAKE) $(AM_MAKEFLAGS) $<; else :; fi
posixly_correct.c: posixly_correct.l $(FLEX) posixly_correct.c: posixly_correct.l $(FLEX)
POSIXLY_CORRECT=1 $(FLEX) -o $@ $< $(AM_V_LEX)POSIXLY_CORRECT=1 $(FLEX) -o $@ $<
reject_nr.reject.c: reject.l4 $(FLEX) reject_nr.reject.c: reject.l4 $(FLEX)
$(FLEX) --unsafe-no-m4-sect3-escape -o $@ $< $(AM_V_LEX)$(FLEX) --unsafe-no-m4-sect3-escape -o $@ $<
reject_nr.reject$(EXEEXT): reject_nr.reject.$(OBJEXT) reject_nr.reject$(EXEEXT): reject_nr.reject.$(OBJEXT)
$(LINK) $^ $(AM_V_CCLD)$(LINK) $^
reject_r.reject.c: reject.l4 $(FLEX) reject_r.reject.c: reject.l4 $(FLEX)
$(FLEX) --unsafe-no-m4-sect3-escape --reentrant -o $@ $< $(AM_V_LEX)$(FLEX) --unsafe-no-m4-sect3-escape --reentrant -o $@ $<
reject_r.reject.$(OBJEXT): reject_r.reject.c reject_r.reject.$(OBJEXT): reject_r.reject.c
$(COMPILE) -DTEST_IS_REENTRANT -c -o $@ $< $(AM_V_CC)$(COMPILE) -DTEST_IS_REENTRANT -c -o $@ $<
reject_r.reject$(EXEEXT): reject_r.reject.$(OBJEXT) reject_r.reject$(EXEEXT): reject_r.reject.$(OBJEXT)
$(LINK) $^ $(AM_V_CCLD)$(LINK) $^
reject_ver.table.c: reject.l4 $(FLEX) reject_ver.table.c: reject.l4 $(FLEX)
$(FLEX) --unsafe-no-m4-sect3-escape -o $@ --tables-verify --tables-file=$ (basename $@).tables $< $(AM_V_LEX)$(FLEX) --unsafe-no-m4-sect3-escape -o $@ --tables-verify --ta bles-file=$(basename $@).tables $<
reject_ver.table.$(OBJEXT): reject_ver.table.c reject_ver.table.$(OBJEXT): reject_ver.table.c
$(COMPILE) -DTEST_HAS_TABLES_EXTERNAL -c -o $@ $< $(AM_V_CC)$(COMPILE) -DTEST_HAS_TABLES_EXTERNAL -c -o $@ $<
reject_ver.table$(EXEEXT): reject_ver.table.$(OBJEXT) reject_ver.table$(EXEEXT): reject_ver.table.$(OBJEXT)
$(LINK) $^ $(AM_V_CCLD)$(LINK) $^
reject_ser.table.c: reject.l4 $(FLEX) reject_ser.table.c: reject.l4 $(FLEX)
$(FLEX) -o $@ --unsafe-no-m4-sect3-escape --tables-file=$(basename $@).ta bles $< $(AM_V_LEX)$(FLEX) -o $@ --unsafe-no-m4-sect3-escape --tables-file=$(base name $@).tables $<
reject_ser.table.$(OBJEXT): reject_ser.table.c reject_ser.table.$(OBJEXT): reject_ser.table.c
$(COMPILE) -DTEST_HAS_TABLES_EXTERNAL -c -o $@ $< $(AM_V_CC)$(COMPILE) -DTEST_HAS_TABLES_EXTERNAL -c -o $@ $<
reject_ser.table$(EXEEXT): reject_ser.table.$(OBJEXT) reject_ser.table$(EXEEXT): reject_ser.table.$(OBJEXT)
$(LINK) $^ $(AM_V_CCLD)$(LINK) $^
top_main.$(OBJEXT): top.h top_main.$(OBJEXT): top.h
top.h: top.c top.h: top.c
# We separate out the tableopts _SOURCES variables and the linking # We separate out the tableopts _SOURCES variables and the linking
# rules for those programs because automake has no way to specify such # rules for those programs because automake has no way to specify such
# things with a loop in a variable (even though make can do such # things with a loop in a variable (even though make can do such
# things) and the resultant list is both long an unenlightening. And # things) and the resultant list is both long an unenlightening. And
# it can be / is generated by a shell script, tableopts.sh. # it can be / is generated by a shell script, tableopts.sh.
tableopts.am: tableopts.sh tableopts.am: tableopts.sh
$(srcdir)/tableopts.sh > $(srcdir)/tableopts.am $(SHELL) $(srcdir)/tableopts.sh > $(srcdir)/tableopts.am
include $(srcdir)/tableopts.am include $(srcdir)/tableopts.am
tableopts := -Ca -Ce -Cf -CF -Cm -Cem -Cae -Caef -CaeF -Cam -Caem tableopts := -Ca -Ce -Cf -CF -Cm -Cem -Cae -Caef -CaeF -Cam -Caem
tableopts_opt_tests := $(foreach opt,$(tableopts), tableopts_opt_nr$(opt) table opts_opt_r$(opt)) tableopts_opt_tests := $(foreach opt,$(tableopts), tableopts_opt_nr$(opt) table opts_opt_r$(opt))
tableopts_sertests := $(foreach opt,$(tableopts), tableopts_ser_nr$(opt) tableo pts_ser_r$(opt)) tableopts_sertests := $(foreach opt,$(tableopts), tableopts_ser_nr$(opt) tableo pts_ser_r$(opt))
tableopts_vertests := $(foreach opt,$(tableopts), tableopts_ver_nr$(opt) tableo pts_ver_r$(opt)) tableopts_vertests := $(foreach opt,$(tableopts), tableopts_ver_nr$(opt) tableo pts_ver_r$(opt))
tableopts_tests := $(tableopts_opttests) $(tableopts_vertests) $(tableopts_sert ests) tableopts_tests := $(tableopts_opttests) $(tableopts_vertests) $(tableopts_sert ests)
tableopts_c := $(addsuffix .c,$(tableopts_tests)) tableopts_c := $(addsuffix .c,$(tableopts_tests))
OPT_LOG_COMPILER = $(srcdir)/testwrapper.sh OPT_LOG_COMPILER = $(SHELL) $(srcdir)/testwrapper.sh
AM_OPT_LOG_FLAGS = -d $(srcdir) -i $(srcdir)/tableopts.txt -r AM_OPT_LOG_FLAGS = -d $(srcdir) -i $(srcdir)/tableopts.txt -r
tableopts_opt_nr%.c: tableopts.l4 $(FLEX) tableopts_opt_nr%.c: tableopts.l4 $(FLEX)
$(FLEX) --unsafe-no-m4-sect3-escape -P $(subst -,_,$(basename $(*F))) $* -o $@ $< $(AM_V_LEX)$(FLEX) --unsafe-no-m4-sect3-escape -P $(subst -,_,$(basename $(*F))) $* -o $@ $<
tableopts_opt_nr%.$(OBJEXT): tableopts_opt_nr%.c tableopts_opt_nr%.$(OBJEXT): tableopts_opt_nr%.c
$(COMPILE) -c -o $@ $< $(AM_V_CC)$(COMPILE) -c -o $@ $<
tableopts_opt_r%.c: tableopts.l4 $(FLEX) tableopts_opt_r%.c: tableopts.l4 $(FLEX)
$(FLEX) --unsafe-no-m4-sect3-escape -P $(subst -,_,$(basename $(*F))) --r eentrant $* -o $@ $< $(AM_V_LEX)$(FLEX) --unsafe-no-m4-sect3-escape -P $(subst -,_,$(basename $(*F))) --reentrant $* -o $@ $<
tableopts_opt_r%.$(OBJEXT): tableopts_opt_r%.c tableopts_opt_r%.$(OBJEXT): tableopts_opt_r%.c
$(COMPILE) -DTEST_IS_REENTRANT -c -o $@ $< $(AM_V_CC)$(COMPILE) -DTEST_IS_REENTRANT -c -o $@ $<
SER_LOG_COMPILER = $(srcdir)/testwrapper.sh SER_LOG_COMPILER = $(SHELL) $(srcdir)/testwrapper.sh
AM_SER_LOG_FLAGS = -d $(builddir) -i $(srcdir)/tableopts.txt -r -t AM_SER_LOG_FLAGS = -d $(builddir) -i $(srcdir)/tableopts.txt -r -t
tableopts_ser_nr%.c: tableopts.l4 $(FLEX) tableopts_ser_nr%.c: tableopts.l4 $(FLEX)
$(FLEX) --unsafe-no-m4-sect3-escape -P $(subst -,_,$(basename $(*F))) --t ables-file="tableopts_ser_nr$*.ser.tables" $* -o $@ $< $(AM_V_LEX)$(FLEX) --unsafe-no-m4-sect3-escape -P $(subst -,_,$(basename $(*F))) --tables-file="tableopts_ser_nr$*.ser.tables" $* -o $@ $<
tableopts_ser_nr%.$(OBJEXT): tableopts_ser_nr%.c tableopts_ser_nr%.$(OBJEXT): tableopts_ser_nr%.c
$(COMPILE) -DTEST_HAS_TABLES_EXTERNAL -c -o $@ $< $(AM_V_CC)$(COMPILE) -DTEST_HAS_TABLES_EXTERNAL -c -o $@ $<
tableopts_ser_r%.c: tableopts.l4 $(FLEX) tableopts_ser_r%.c: tableopts.l4 $(FLEX)
$(FLEX) --unsafe-no-m4-sect3-escape -P $(subst -,_,$(basename $(*F))) -R --tables-file="tableopts_ser_r$*.ser.tables" $* -o $@ $< $(AM_V_LEX)$(FLEX) --unsafe-no-m4-sect3-escape -P $(subst -,_,$(basename $(*F))) -R --tables-file="tableopts_ser_r$*.ser.tables" $* -o $@ $<
tableopts_ser_r%.$(OBJEXT): tableopts_ser_r%.c tableopts_ser_r%.$(OBJEXT): tableopts_ser_r%.c
$(COMPILE) -DTEST_HAS_TABLES_EXTERNAL -DTEST_IS_REENTRANT -c -o $@ $< $(AM_V_CC)$(COMPILE) -DTEST_HAS_TABLES_EXTERNAL -DTEST_IS_REENTRANT -c -o $@ $<
VER_LOG_COMPILER = $(srcdir)/testwrapper.sh VER_LOG_COMPILER = $(SHELL) $(srcdir)/testwrapper.sh
AM_VER_LOG_FLAGS = -d $(builddir) -i $(srcdir)/tableopts.txt -r -t AM_VER_LOG_FLAGS = -d $(builddir) -i $(srcdir)/tableopts.txt -r -t
tableopts_ver_nr%.c: tableopts.l4 $(FLEX) tableopts_ver_nr%.c: tableopts.l4 $(FLEX)
$(FLEX) --unsafe-no-m4-sect3-escape -P $(subst -,_,$(basename $(*F))) --t ables-file="tableopts_ver_nr$*.ver.tables" --tables-verify $* -o $@ $< $(AM_V_LEX)$(FLEX) --unsafe-no-m4-sect3-escape -P $(subst -,_,$(basename $(*F))) --tables-file="tableopts_ver_nr$*.ver.tables" --tables-verify $* -o $@ $ <
tableopts_ver_nr%.$(OBJEXT): tableopts_ver_nr%.c tableopts_ver_nr%.$(OBJEXT): tableopts_ver_nr%.c
$(COMPILE) -DTEST_HAS_TABLES_EXTERNAL -c -o $@ $< $(AM_V_CC)$(COMPILE) -DTEST_HAS_TABLES_EXTERNAL -c -o $@ $<
tableopts_ver_nr%.ver$(EXEEXT): tableopts_ver_nr%.$(OBJEXT) tableopts_ver_nr%.ver$(EXEEXT): tableopts_ver_nr%.$(OBJEXT)
$(LINK) -o $@ $^ $(AM_V_CCLD)$(LINK) -o $@ $^
tableopts_ver_r%.c: tableopts.l4 $(FLEX) tableopts_ver_r%.c: tableopts.l4 $(FLEX)
$(FLEX) --unsafe-no-m4-sect3-escape -P $(subst -,_,$(basename $(*F))) -R --tables-file="tableopts_ver_r$*.ver.tables" --tables-verify $* -o $@ $< $(AM_V_LEX)$(FLEX) --unsafe-no-m4-sect3-escape -P $(subst -,_,$(basename $(*F))) -R --tables-file="tableopts_ver_r$*.ver.tables" --tables-verify $* -o $ @ $<
tableopts_ver_r%.$(OBJEXT): tableopts_ver_r%.c tableopts_ver_r%.$(OBJEXT): tableopts_ver_r%.c
$(COMPILE) -DTEST_HAS_TABLES_EXTERNAL -DTEST_IS_REENTRANT -c -o $@ $< $(AM_V_CC)$(COMPILE) -DTEST_HAS_TABLES_EXTERNAL -DTEST_IS_REENTRANT -c -o $@ $<
 End of changes. 71 change blocks. 
64 lines changed or deleted 91 lines changed or added

Home  |  About  |  All  |  Newest  |  Fossies Dox  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTPS