Mercurial > octave
annotate libinterp/parse-tree/module.mk @ 21242:ae03a16f3343
don't install oct-gperf.h, oct-parse.h, or oct-tex-parser.h
* libinterp/corefcn/module.mk (COREFCN_SRC): List oct-tex-parser.h
here, not in COREFCN_INC.
* libinterp/module.mk (GENERATED_PARSER_FILES): Include
oct-tex-parser.h in the list.
(octinclude_HEADERS): Remove oct-gperf.h from the list.
* libinterp/parse-tree/module.mk (PARSE_TREE_SRC): Include
oct-gperf.h and oct-parse.h in the list.
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Wed, 10 Feb 2016 13:21:57 -0500 |
parents | ec532a439c6f |
children | db574711df78 |
rev | line source |
---|---|
21023
ec532a439c6f
rework method of disabling warnings from GCC
John W. Eaton <jwe@octave.org>
parents:
20366
diff
changeset
|
1 PARSE_TREE_INC = \ |
20327
0ce7d8303152
eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents:
19879
diff
changeset
|
2 libinterp/parse-tree/lex.h \ |
21023
ec532a439c6f
rework method of disabling warnings from GCC
John W. Eaton <jwe@octave.org>
parents:
20366
diff
changeset
|
3 libinterp/parse-tree/parse.h \ |
20327
0ce7d8303152
eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents:
19879
diff
changeset
|
4 libinterp/parse-tree/pt-all.h \ |
0ce7d8303152
eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents:
19879
diff
changeset
|
5 libinterp/parse-tree/pt-arg-list.h \ |
0ce7d8303152
eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents:
19879
diff
changeset
|
6 libinterp/parse-tree/pt-array-list.h \ |
0ce7d8303152
eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents:
19879
diff
changeset
|
7 libinterp/parse-tree/pt-assign.h \ |
0ce7d8303152
eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents:
19879
diff
changeset
|
8 libinterp/parse-tree/pt-binop.h \ |
0ce7d8303152
eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents:
19879
diff
changeset
|
9 libinterp/parse-tree/pt-bp.h \ |
0ce7d8303152
eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents:
19879
diff
changeset
|
10 libinterp/parse-tree/pt-cbinop.h \ |
0ce7d8303152
eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents:
19879
diff
changeset
|
11 libinterp/parse-tree/pt-cell.h \ |
0ce7d8303152
eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents:
19879
diff
changeset
|
12 libinterp/parse-tree/pt-check.h \ |
0ce7d8303152
eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents:
19879
diff
changeset
|
13 libinterp/parse-tree/pt-classdef.h \ |
0ce7d8303152
eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents:
19879
diff
changeset
|
14 libinterp/parse-tree/pt-cmd.h \ |
0ce7d8303152
eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents:
19879
diff
changeset
|
15 libinterp/parse-tree/pt-colon.h \ |
0ce7d8303152
eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents:
19879
diff
changeset
|
16 libinterp/parse-tree/pt-const.h \ |
0ce7d8303152
eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents:
19879
diff
changeset
|
17 libinterp/parse-tree/pt-decl.h \ |
0ce7d8303152
eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents:
19879
diff
changeset
|
18 libinterp/parse-tree/pt-eval.h \ |
0ce7d8303152
eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents:
19879
diff
changeset
|
19 libinterp/parse-tree/pt-except.h \ |
0ce7d8303152
eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents:
19879
diff
changeset
|
20 libinterp/parse-tree/pt-exp.h \ |
0ce7d8303152
eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents:
19879
diff
changeset
|
21 libinterp/parse-tree/pt-fcn-handle.h \ |
0ce7d8303152
eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents:
19879
diff
changeset
|
22 libinterp/parse-tree/pt-funcall.h \ |
0ce7d8303152
eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents:
19879
diff
changeset
|
23 libinterp/parse-tree/pt-id.h \ |
0ce7d8303152
eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents:
19879
diff
changeset
|
24 libinterp/parse-tree/pt-idx.h \ |
0ce7d8303152
eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents:
19879
diff
changeset
|
25 libinterp/parse-tree/pt-jump.h \ |
0ce7d8303152
eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents:
19879
diff
changeset
|
26 libinterp/parse-tree/pt-loop.h \ |
0ce7d8303152
eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents:
19879
diff
changeset
|
27 libinterp/parse-tree/pt-mat.h \ |
0ce7d8303152
eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents:
19879
diff
changeset
|
28 libinterp/parse-tree/pt-misc.h \ |
0ce7d8303152
eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents:
19879
diff
changeset
|
29 libinterp/parse-tree/pt-pr-code.h \ |
0ce7d8303152
eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents:
19879
diff
changeset
|
30 libinterp/parse-tree/pt-select.h \ |
0ce7d8303152
eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents:
19879
diff
changeset
|
31 libinterp/parse-tree/pt-stmt.h \ |
0ce7d8303152
eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents:
19879
diff
changeset
|
32 libinterp/parse-tree/pt-unop.h \ |
0ce7d8303152
eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents:
19879
diff
changeset
|
33 libinterp/parse-tree/pt-walk.h \ |
0ce7d8303152
eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents:
19879
diff
changeset
|
34 libinterp/parse-tree/pt.h \ |
0ce7d8303152
eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents:
19879
diff
changeset
|
35 libinterp/parse-tree/token.h |
15057
46b19589b593
maint: Partition src/ directory with more code in subdirs.
Rik <rik@octave.org>
parents:
diff
changeset
|
36 |
21242
ae03a16f3343
don't install oct-gperf.h, oct-parse.h, or oct-tex-parser.h
John W. Eaton <jwe@octave.org>
parents:
21023
diff
changeset
|
37 ## oct-gperf.h and oct-parse.h are in the SRC list so that they will |
ae03a16f3343
don't install oct-gperf.h, oct-parse.h, or oct-tex-parser.h
John W. Eaton <jwe@octave.org>
parents:
21023
diff
changeset
|
38 ## be distributed but not installed. |
ae03a16f3343
don't install oct-gperf.h, oct-parse.h, or oct-tex-parser.h
John W. Eaton <jwe@octave.org>
parents:
21023
diff
changeset
|
39 |
15057
46b19589b593
maint: Partition src/ directory with more code in subdirs.
Rik <rik@octave.org>
parents:
diff
changeset
|
40 PARSE_TREE_SRC = \ |
21023
ec532a439c6f
rework method of disabling warnings from GCC
John W. Eaton <jwe@octave.org>
parents:
20366
diff
changeset
|
41 libinterp/parse-tree/lex.ll \ |
21242
ae03a16f3343
don't install oct-gperf.h, oct-parse.h, or oct-tex-parser.h
John W. Eaton <jwe@octave.org>
parents:
21023
diff
changeset
|
42 libinterp/parse-tree/oct-gperf.h \ |
ae03a16f3343
don't install oct-gperf.h, oct-parse.h, or oct-tex-parser.h
John W. Eaton <jwe@octave.org>
parents:
21023
diff
changeset
|
43 libinterp/parse-tree/oct-parse.h \ |
21023
ec532a439c6f
rework method of disabling warnings from GCC
John W. Eaton <jwe@octave.org>
parents:
20366
diff
changeset
|
44 libinterp/parse-tree/oct-parse.yy \ |
20327
0ce7d8303152
eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents:
19879
diff
changeset
|
45 libinterp/parse-tree/pt-arg-list.cc \ |
0ce7d8303152
eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents:
19879
diff
changeset
|
46 libinterp/parse-tree/pt-array-list.cc \ |
0ce7d8303152
eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents:
19879
diff
changeset
|
47 libinterp/parse-tree/pt-assign.cc \ |
0ce7d8303152
eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents:
19879
diff
changeset
|
48 libinterp/parse-tree/pt-binop.cc \ |
0ce7d8303152
eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents:
19879
diff
changeset
|
49 libinterp/parse-tree/pt-bp.cc \ |
0ce7d8303152
eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents:
19879
diff
changeset
|
50 libinterp/parse-tree/pt-cbinop.cc \ |
0ce7d8303152
eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents:
19879
diff
changeset
|
51 libinterp/parse-tree/pt-cell.cc \ |
0ce7d8303152
eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents:
19879
diff
changeset
|
52 libinterp/parse-tree/pt-check.cc \ |
0ce7d8303152
eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents:
19879
diff
changeset
|
53 libinterp/parse-tree/pt-classdef.cc \ |
0ce7d8303152
eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents:
19879
diff
changeset
|
54 libinterp/parse-tree/pt-cmd.cc \ |
0ce7d8303152
eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents:
19879
diff
changeset
|
55 libinterp/parse-tree/pt-colon.cc \ |
0ce7d8303152
eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents:
19879
diff
changeset
|
56 libinterp/parse-tree/pt-const.cc \ |
0ce7d8303152
eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents:
19879
diff
changeset
|
57 libinterp/parse-tree/pt-decl.cc \ |
0ce7d8303152
eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents:
19879
diff
changeset
|
58 libinterp/parse-tree/pt-eval.cc \ |
0ce7d8303152
eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents:
19879
diff
changeset
|
59 libinterp/parse-tree/pt-except.cc \ |
0ce7d8303152
eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents:
19879
diff
changeset
|
60 libinterp/parse-tree/pt-exp.cc \ |
0ce7d8303152
eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents:
19879
diff
changeset
|
61 libinterp/parse-tree/pt-fcn-handle.cc \ |
0ce7d8303152
eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents:
19879
diff
changeset
|
62 libinterp/parse-tree/pt-funcall.cc \ |
0ce7d8303152
eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents:
19879
diff
changeset
|
63 libinterp/parse-tree/pt-id.cc \ |
0ce7d8303152
eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents:
19879
diff
changeset
|
64 libinterp/parse-tree/pt-idx.cc \ |
0ce7d8303152
eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents:
19879
diff
changeset
|
65 libinterp/parse-tree/pt-jump.cc \ |
0ce7d8303152
eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents:
19879
diff
changeset
|
66 libinterp/parse-tree/pt-loop.cc \ |
0ce7d8303152
eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents:
19879
diff
changeset
|
67 libinterp/parse-tree/pt-mat.cc \ |
0ce7d8303152
eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents:
19879
diff
changeset
|
68 libinterp/parse-tree/pt-misc.cc \ |
0ce7d8303152
eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents:
19879
diff
changeset
|
69 libinterp/parse-tree/pt-pr-code.cc \ |
0ce7d8303152
eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents:
19879
diff
changeset
|
70 libinterp/parse-tree/pt-select.cc \ |
0ce7d8303152
eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents:
19879
diff
changeset
|
71 libinterp/parse-tree/pt-stmt.cc \ |
0ce7d8303152
eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents:
19879
diff
changeset
|
72 libinterp/parse-tree/pt-unop.cc \ |
0ce7d8303152
eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents:
19879
diff
changeset
|
73 libinterp/parse-tree/pt.cc \ |
0ce7d8303152
eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents:
19879
diff
changeset
|
74 libinterp/parse-tree/token.cc |
15057
46b19589b593
maint: Partition src/ directory with more code in subdirs.
Rik <rik@octave.org>
parents:
diff
changeset
|
75 |
15096
909a2797935b
maint: Move interp source code without DEFUNs to interp-core/ dir.
Rik <rik@octave.org>
parents:
15087
diff
changeset
|
76 ## Special rules for sources which must be built before rest of compilation. |
909a2797935b
maint: Move interp source code without DEFUNs to interp-core/ dir.
Rik <rik@octave.org>
parents:
15087
diff
changeset
|
77 |
909a2797935b
maint: Move interp source code without DEFUNs to interp-core/ dir.
Rik <rik@octave.org>
parents:
15087
diff
changeset
|
78 ## Don't use a pipeline to process gperf output since if gperf |
909a2797935b
maint: Move interp source code without DEFUNs to interp-core/ dir.
Rik <rik@octave.org>
parents:
15087
diff
changeset
|
79 ## is missing but sed is not, the exit status of the pipeline |
909a2797935b
maint: Move interp source code without DEFUNs to interp-core/ dir.
Rik <rik@octave.org>
parents:
15087
diff
changeset
|
80 ## will still be success and we will end up creating an empty |
909a2797935b
maint: Move interp source code without DEFUNs to interp-core/ dir.
Rik <rik@octave.org>
parents:
15087
diff
changeset
|
81 ## oct-gperf.h file. |
20327
0ce7d8303152
eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents:
19879
diff
changeset
|
82 libinterp/parse-tree/oct-gperf.h: libinterp/parse-tree/octave.gperf |
19792
4f6ae6b94abe
make --enable-silent-rules configure option more useful
John W. Eaton <jwe@octave.org>
parents:
19775
diff
changeset
|
83 $(AM_V_GEN)rm -f $@-t $@t1 $@ && \ |
4f6ae6b94abe
make --enable-silent-rules configure option more useful
John W. Eaton <jwe@octave.org>
parents:
19775
diff
changeset
|
84 $(GPERF) -t -C -D -G -L C++ -Z octave_kw_hash $< > $@-t1 && \ |
4f6ae6b94abe
make --enable-silent-rules configure option more useful
John W. Eaton <jwe@octave.org>
parents:
19775
diff
changeset
|
85 $(SED) 's,lookup\[,gperf_lookup[,' < $@-t1 > $@-t && \ |
4f6ae6b94abe
make --enable-silent-rules configure option more useful
John W. Eaton <jwe@octave.org>
parents:
19775
diff
changeset
|
86 mv $@-t $@ && \ |
15096
909a2797935b
maint: Move interp source code without DEFUNs to interp-core/ dir.
Rik <rik@octave.org>
parents:
15087
diff
changeset
|
87 rm -f $@-t1 |
909a2797935b
maint: Move interp source code without DEFUNs to interp-core/ dir.
Rik <rik@octave.org>
parents:
15087
diff
changeset
|
88 |
20327
0ce7d8303152
eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents:
19879
diff
changeset
|
89 libinterp/parse-tree/oct-parse.h: libinterp/parse-tree/oct-parse.cc |
19879
2350fc8ba960
build: Fix build failure on missing oct-parse.h (bug #44391)
Mike Miller <mtmiller@ieee.org>
parents:
19792
diff
changeset
|
90 |
20327
0ce7d8303152
eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents:
19879
diff
changeset
|
91 libinterp/parse-tree/oct-parse.yy: libinterp/parse-tree/oct-parse.in.yy |
19792
4f6ae6b94abe
make --enable-silent-rules configure option more useful
John W. Eaton <jwe@octave.org>
parents:
19775
diff
changeset
|
92 $(AM_V_GEN)$(call subst-bison-api-decls,octave_) |
16174
39096b290a2f
check syntax used to enable bison push/pull parser
John W. Eaton <jwe@octave.org>
parents:
15413
diff
changeset
|
93 |
16298
faaf60aa457c
use separate automake convenience library for bison and flex generated files
John W. Eaton <jwe@octave.org>
parents:
16237
diff
changeset
|
94 noinst_LTLIBRARIES += \ |
21023
ec532a439c6f
rework method of disabling warnings from GCC
John W. Eaton <jwe@octave.org>
parents:
20366
diff
changeset
|
95 libinterp/parse-tree/libparse-tree.la |
20327
0ce7d8303152
eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents:
19879
diff
changeset
|
96 |
0ce7d8303152
eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents:
19879
diff
changeset
|
97 libinterp_parse_tree_libparse_tree_la_SOURCES = $(PARSE_TREE_SRC) |
0ce7d8303152
eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents:
19879
diff
changeset
|
98 |
0ce7d8303152
eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents:
19879
diff
changeset
|
99 libinterp_parse_tree_libparse_tree_la_CPPFLAGS = $(libinterp_liboctinterp_la_CPPFLAGS) |
15107
03381a36f70d
generate convenience libraries for new parse-tree and interpfcn subdirectories
John W. Eaton <jwe@octave.org>
parents:
15096
diff
changeset
|
100 |
21023
ec532a439c6f
rework method of disabling warnings from GCC
John W. Eaton <jwe@octave.org>
parents:
20366
diff
changeset
|
101 libinterp_parse_tree_libparse_tree_la_CFLAGS = $(AM_CFLAGS) $(WARN_CFLAGS) |
20327
0ce7d8303152
eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents:
19879
diff
changeset
|
102 |
0ce7d8303152
eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents:
19879
diff
changeset
|
103 libinterp_parse_tree_libparse_tree_la_CXXFLAGS = $(AM_CXXFLAGS) $(WARN_CXXFLAGS) |
16298
faaf60aa457c
use separate automake convenience library for bison and flex generated files
John W. Eaton <jwe@octave.org>
parents:
16237
diff
changeset
|
104 |
20366
9b44691a3520
provide per-directory clean targets
John W. Eaton <jwe@octave.org>
parents:
20327
diff
changeset
|
105 libinterp_EXTRA_DIST += \ |
9b44691a3520
provide per-directory clean targets
John W. Eaton <jwe@octave.org>
parents:
20327
diff
changeset
|
106 libinterp/parse-tree/oct-parse.in.yy \ |
9b44691a3520
provide per-directory clean targets
John W. Eaton <jwe@octave.org>
parents:
20327
diff
changeset
|
107 libinterp/parse-tree/octave.gperf |
9b44691a3520
provide per-directory clean targets
John W. Eaton <jwe@octave.org>
parents:
20327
diff
changeset
|
108 |