]> granicus.if.org Git - flex/commitdiff
Cleaned more generated sources.
authorMightyjo <mightyjo@gmail.com>
Sun, 8 Nov 2015 07:11:35 +0000 (23:11 -0800)
committerWill Estes <westes575@gmail.com>
Sun, 8 Nov 2015 19:59:29 +0000 (14:59 -0500)
Added skel.c explicitly to MAINTAINERCLEANFILES in src/Makefile.am.

Added a bunch of files to built_SOURCES in tests/Makefile.am so that the
suite is easier to clean up.

src/Makefile.am
tests/Makefile.am

index 5353ebb1618bab279e49d9acc0bda35fc4e80b3b..a1fc8698350ff2c63c7c2459ba52eef9cbc4a76c 100644 (file)
@@ -67,6 +67,8 @@ EXTRA_DIST = \
 BUILT_SOURCES = \
        skel.c
 
+MAINTAINERCLEANFILES = skel.c
+
 skel.c: flex.skl mkskel.sh flexint.h tables_shared.h
        sed 's/m4_/m4postproc_/g; s/m4preproc_/m4_/g' $(srcdir)/flex.skl | $(m4) -P -DFLEX_MAJOR_VERSION=`echo $(VERSION)|cut -f 1 -d .` -DFLEX_MINOR_VERSION=`echo $(VERSION)|cut -f 2 -d .` -DFLEX_SUBMINOR_VERSION=`echo $(VERSION)|cut -f 3 -d .` | sed 's/m4postproc_/m4_/g' | $(SHELL) $(srcdir)/mkskel.sh  >skel.c
 
index a68359a9b0657babad8cb883fe2ff033bc89c192..f490909ccdb9a8ce43dff65f6de96c51e14ca56a 100644 (file)
@@ -88,7 +88,7 @@ simple_tests = \
        prefix_r \
        quotes \
        string_nr \
-string_r \
+       string_r \
        top \
        yyextra
 
@@ -107,7 +107,7 @@ DIRECT_TESTS = \
        rescan_nr.direct \
        rescan_r.direct
 
- I3_TESTS = \
+I3_TESTS = \
        cxx_yywrap.i3
 
 if want_pthread
@@ -169,34 +169,83 @@ top_SOURCES = top.l top_main.c
 yyextra_SOURCES = yyextra.l
 
 BUILT_SOURCES = \
-       bison_nr_scanner.h \
+       alloc_extra.c \
+       array_nr.c \
+       array_r.c \
+       basic_nr.c \
+       basic_r.c \
+       bison_nr_parser.c \
        bison_nr_parser.h \
+       bison_nr_scanner.c \
+       bison_nr_scanner.h \
+       bison_yylloc_parser.c \
        bison_yylloc_parser.h \
+       bison_yylloc_scanner.c \
        bison_yylloc_scanner.h \
+       bison_yylval_parser.c \
        bison_yylval_parser.h \
+       bison_yylval_scanner.c \
        bison_yylval_scanner.h \
+       ccl.c \
        c_cxx_nr.cc \
        c_cxx_r.cc \
+       cxx_basic.cc \
+       cxx_multiple_scanners_1.cc \
+       cxx_multiple_scanners_2.cc \
+       cxx_yywrap.cc \
+       debug_nr.c \
+       debug_r.c \
+       extended.c \
+       header_nr_scanner.c \
        header_nr_scanner.h \
+       header_r_scanner.c \
        header_r_scanner.h \
+       include_by_buffer.direct.c \
+       include_by_push.direct.c \
+       include_by_reentrant.direct.c \
+       lineno_nr.c \
+       lineno_r.c \
+       lineno_trailing.c \
+       mem_nr.c \
+       mem_r.c \
+       multiple_scanners_nr_1.c \
        multiple_scanners_nr_1.h \
+       multiple_scanners_nr_2.c \
        multiple_scanners_nr_2.h \
+       multiple_scanners_r_1.c \
        multiple_scanners_r_1.h \
+       multiple_scanners_r_2.c \
        multiple_scanners_r_2.h \
+       noansi_nr.c \
+       noansi_r.c \
+       posix.c \
+       posixly_correct.c \
+       prefix_nr.c \
+       prefix_r.c \
+       pthread.c \
+       quotes.c \
        reject_nr.reject.c \
        reject_r.reject.c \
        reject_ver.table.c \
        reject_ser.table.c \
+       rescan_nr.direct.c \
+       rescan_r.direct.c \
+       string_nr.c \
+       string_r.c \
+       top.c \
        top.h \
+       yyextra.c \
        $(tableopts_c)
 
+CLEANFILES = $(BUILT_SOURCES)
+
 EXTRA_DIST = \
        README \
        testwrapper.sh \
        alloc_extra.txt \
        array_nr.txt \
        array_r.txt \
-basic_nr.txt \
+       basic_nr.txt \
        basic_r.txt \
        bison_nr_scanner.h \
        bison_nr.txt \