Mercurial > octave
annotate libinterp/parse-tree/module.mk @ 23749:6921d8458203
move comment-list.h and comment-list.cc to libinterp/parse-tree directory
* libinterp/parse-tree/comment-list.cc,
libinterp/parse-tree/comment-list.h: Move here from libinterp/corefcn
directory.
* libinterp/corefcn/module.mk, libinterp/parse-tree/module.mk:
Update.
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Fri, 07 Jul 2017 18:17:32 -0400 |
parents | a3898679d459 |
children | 0ebc4f1a5714 |
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 = \ |
23495
8308417aff1c
use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents:
23435
diff
changeset
|
2 %reldir%/bp-table.h \ |
23749
6921d8458203
move comment-list.h and comment-list.cc to libinterp/parse-tree directory
John W. Eaton <jwe@octave.org>
parents:
23601
diff
changeset
|
3 %reldir%/comment-list.h \ |
23495
8308417aff1c
use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents:
23435
diff
changeset
|
4 %reldir%/jit-ir.h \ |
8308417aff1c
use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents:
23435
diff
changeset
|
5 %reldir%/jit-typeinfo.h \ |
8308417aff1c
use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents:
23435
diff
changeset
|
6 %reldir%/jit-util.h \ |
8308417aff1c
use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents:
23435
diff
changeset
|
7 %reldir%/lex.h \ |
8308417aff1c
use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents:
23435
diff
changeset
|
8 %reldir%/parse.h \ |
8308417aff1c
use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents:
23435
diff
changeset
|
9 %reldir%/pt-all.h \ |
8308417aff1c
use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents:
23435
diff
changeset
|
10 %reldir%/pt-arg-list.h \ |
8308417aff1c
use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents:
23435
diff
changeset
|
11 %reldir%/pt-array-list.h \ |
8308417aff1c
use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents:
23435
diff
changeset
|
12 %reldir%/pt-assign.h \ |
8308417aff1c
use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents:
23435
diff
changeset
|
13 %reldir%/pt-binop.h \ |
8308417aff1c
use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents:
23435
diff
changeset
|
14 %reldir%/pt-bp.h \ |
8308417aff1c
use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents:
23435
diff
changeset
|
15 %reldir%/pt-cbinop.h \ |
8308417aff1c
use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents:
23435
diff
changeset
|
16 %reldir%/pt-cell.h \ |
8308417aff1c
use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents:
23435
diff
changeset
|
17 %reldir%/pt-check.h \ |
8308417aff1c
use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents:
23435
diff
changeset
|
18 %reldir%/pt-classdef.h \ |
8308417aff1c
use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents:
23435
diff
changeset
|
19 %reldir%/pt-cmd.h \ |
8308417aff1c
use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents:
23435
diff
changeset
|
20 %reldir%/pt-colon.h \ |
8308417aff1c
use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents:
23435
diff
changeset
|
21 %reldir%/pt-const.h \ |
8308417aff1c
use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents:
23435
diff
changeset
|
22 %reldir%/pt-decl.h \ |
8308417aff1c
use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents:
23435
diff
changeset
|
23 %reldir%/pt-eval.h \ |
8308417aff1c
use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents:
23435
diff
changeset
|
24 %reldir%/pt-except.h \ |
8308417aff1c
use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents:
23435
diff
changeset
|
25 %reldir%/pt-exp.h \ |
8308417aff1c
use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents:
23435
diff
changeset
|
26 %reldir%/pt-fcn-handle.h \ |
8308417aff1c
use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents:
23435
diff
changeset
|
27 %reldir%/pt-funcall.h \ |
8308417aff1c
use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents:
23435
diff
changeset
|
28 %reldir%/pt-id.h \ |
8308417aff1c
use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents:
23435
diff
changeset
|
29 %reldir%/pt-idx.h \ |
8308417aff1c
use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents:
23435
diff
changeset
|
30 %reldir%/pt-jit.h \ |
8308417aff1c
use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents:
23435
diff
changeset
|
31 %reldir%/pt-jump.h \ |
8308417aff1c
use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents:
23435
diff
changeset
|
32 %reldir%/pt-loop.h \ |
8308417aff1c
use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents:
23435
diff
changeset
|
33 %reldir%/pt-mat.h \ |
8308417aff1c
use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents:
23435
diff
changeset
|
34 %reldir%/pt-misc.h \ |
8308417aff1c
use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents:
23435
diff
changeset
|
35 %reldir%/pt-pr-code.h \ |
8308417aff1c
use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents:
23435
diff
changeset
|
36 %reldir%/pt-select.h \ |
8308417aff1c
use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents:
23435
diff
changeset
|
37 %reldir%/pt-stmt.h \ |
8308417aff1c
use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents:
23435
diff
changeset
|
38 %reldir%/pt-tm-const.h \ |
8308417aff1c
use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents:
23435
diff
changeset
|
39 %reldir%/pt-unop.h \ |
8308417aff1c
use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents:
23435
diff
changeset
|
40 %reldir%/pt-walk.h \ |
8308417aff1c
use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents:
23435
diff
changeset
|
41 %reldir%/pt.h \ |
8308417aff1c
use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents:
23435
diff
changeset
|
42 %reldir%/token.h |
15057
46b19589b593
maint: Partition src/ directory with more code in subdirs.
Rik <rik@octave.org>
parents:
diff
changeset
|
43 |
23126
2eb7d330eb7f
move JIT compiler files from corefcn to parse-tree directory
John W. Eaton <jwe@octave.org>
parents:
23083
diff
changeset
|
44 |
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
|
45 ## 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
|
46 ## 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
|
47 |
15057
46b19589b593
maint: Partition src/ directory with more code in subdirs.
Rik <rik@octave.org>
parents:
diff
changeset
|
48 PARSE_TREE_SRC = \ |
23495
8308417aff1c
use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents:
23435
diff
changeset
|
49 %reldir%/bp-table.cc \ |
23749
6921d8458203
move comment-list.h and comment-list.cc to libinterp/parse-tree directory
John W. Eaton <jwe@octave.org>
parents:
23601
diff
changeset
|
50 %reldir%/comment-list.cc \ |
23495
8308417aff1c
use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents:
23435
diff
changeset
|
51 %reldir%/jit-ir.cc \ |
8308417aff1c
use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents:
23435
diff
changeset
|
52 %reldir%/jit-typeinfo.cc \ |
8308417aff1c
use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents:
23435
diff
changeset
|
53 %reldir%/jit-util.cc \ |
8308417aff1c
use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents:
23435
diff
changeset
|
54 %reldir%/lex.ll \ |
8308417aff1c
use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents:
23435
diff
changeset
|
55 %reldir%/oct-gperf.h \ |
8308417aff1c
use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents:
23435
diff
changeset
|
56 %reldir%/oct-parse.h \ |
8308417aff1c
use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents:
23435
diff
changeset
|
57 %reldir%/oct-parse.yy \ |
8308417aff1c
use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents:
23435
diff
changeset
|
58 %reldir%/pt-arg-list.cc \ |
8308417aff1c
use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents:
23435
diff
changeset
|
59 %reldir%/pt-array-list.cc \ |
8308417aff1c
use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents:
23435
diff
changeset
|
60 %reldir%/pt-assign.cc \ |
8308417aff1c
use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents:
23435
diff
changeset
|
61 %reldir%/pt-binop.cc \ |
8308417aff1c
use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents:
23435
diff
changeset
|
62 %reldir%/pt-bp.cc \ |
8308417aff1c
use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents:
23435
diff
changeset
|
63 %reldir%/pt-cbinop.cc \ |
8308417aff1c
use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents:
23435
diff
changeset
|
64 %reldir%/pt-cell.cc \ |
8308417aff1c
use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents:
23435
diff
changeset
|
65 %reldir%/pt-check.cc \ |
8308417aff1c
use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents:
23435
diff
changeset
|
66 %reldir%/pt-classdef.cc \ |
8308417aff1c
use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents:
23435
diff
changeset
|
67 %reldir%/pt-colon.cc \ |
8308417aff1c
use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents:
23435
diff
changeset
|
68 %reldir%/pt-const.cc \ |
8308417aff1c
use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents:
23435
diff
changeset
|
69 %reldir%/pt-decl.cc \ |
8308417aff1c
use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents:
23435
diff
changeset
|
70 %reldir%/pt-eval.cc \ |
8308417aff1c
use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents:
23435
diff
changeset
|
71 %reldir%/pt-except.cc \ |
8308417aff1c
use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents:
23435
diff
changeset
|
72 %reldir%/pt-exp.cc \ |
8308417aff1c
use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents:
23435
diff
changeset
|
73 %reldir%/pt-fcn-handle.cc \ |
8308417aff1c
use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents:
23435
diff
changeset
|
74 %reldir%/pt-funcall.cc \ |
8308417aff1c
use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents:
23435
diff
changeset
|
75 %reldir%/pt-id.cc \ |
8308417aff1c
use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents:
23435
diff
changeset
|
76 %reldir%/pt-idx.cc \ |
8308417aff1c
use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents:
23435
diff
changeset
|
77 %reldir%/pt-jit.cc \ |
8308417aff1c
use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents:
23435
diff
changeset
|
78 %reldir%/pt-jump.cc \ |
8308417aff1c
use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents:
23435
diff
changeset
|
79 %reldir%/pt-loop.cc \ |
8308417aff1c
use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents:
23435
diff
changeset
|
80 %reldir%/pt-mat.cc \ |
8308417aff1c
use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents:
23435
diff
changeset
|
81 %reldir%/pt-misc.cc \ |
8308417aff1c
use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents:
23435
diff
changeset
|
82 %reldir%/pt-pr-code.cc \ |
8308417aff1c
use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents:
23435
diff
changeset
|
83 %reldir%/pt-select.cc \ |
8308417aff1c
use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents:
23435
diff
changeset
|
84 %reldir%/pt-stmt.cc \ |
8308417aff1c
use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents:
23435
diff
changeset
|
85 %reldir%/pt-tm-const.cc \ |
8308417aff1c
use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents:
23435
diff
changeset
|
86 %reldir%/pt-unop.cc \ |
8308417aff1c
use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents:
23435
diff
changeset
|
87 %reldir%/pt-walk.cc \ |
8308417aff1c
use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents:
23435
diff
changeset
|
88 %reldir%/pt.cc \ |
8308417aff1c
use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents:
23435
diff
changeset
|
89 %reldir%/token.cc |
15057
46b19589b593
maint: Partition src/ directory with more code in subdirs.
Rik <rik@octave.org>
parents:
diff
changeset
|
90 |
15096
909a2797935b
maint: Move interp source code without DEFUNs to interp-core/ dir.
Rik <rik@octave.org>
parents:
15087
diff
changeset
|
91 ## 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
|
92 |
909a2797935b
maint: Move interp source code without DEFUNs to interp-core/ dir.
Rik <rik@octave.org>
parents:
15087
diff
changeset
|
93 ## 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
|
94 ## 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
|
95 ## 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
|
96 ## oct-gperf.h file. |
23495
8308417aff1c
use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents:
23435
diff
changeset
|
97 %reldir%/oct-gperf.h: %reldir%/octave.gperf |
19792
4f6ae6b94abe
make --enable-silent-rules configure option more useful
John W. Eaton <jwe@octave.org>
parents:
19775
diff
changeset
|
98 $(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
|
99 $(GPERF) -t -C -D -G -L C++ -Z octave_kw_hash $< > $@-t1 && \ |
21332
db574711df78
eliminate deprecated register storage class specifier
John W. Eaton <jwe@octave.org>
parents:
21242
diff
changeset
|
100 $(SED) -e 's,lookup\[,gperf_lookup[,' -e 's,register ,,g' < $@-t1 > $@-t && \ |
19792
4f6ae6b94abe
make --enable-silent-rules configure option more useful
John W. Eaton <jwe@octave.org>
parents:
19775
diff
changeset
|
101 mv $@-t $@ && \ |
15096
909a2797935b
maint: Move interp source code without DEFUNs to interp-core/ dir.
Rik <rik@octave.org>
parents:
15087
diff
changeset
|
102 rm -f $@-t1 |
909a2797935b
maint: Move interp source code without DEFUNs to interp-core/ dir.
Rik <rik@octave.org>
parents:
15087
diff
changeset
|
103 |
23495
8308417aff1c
use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents:
23435
diff
changeset
|
104 %reldir%/oct-parse.yy: %reldir%/oct-parse.in.yy |
19792
4f6ae6b94abe
make --enable-silent-rules configure option more useful
John W. Eaton <jwe@octave.org>
parents:
19775
diff
changeset
|
105 $(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
|
106 |
16298
faaf60aa457c
use separate automake convenience library for bison and flex generated files
John W. Eaton <jwe@octave.org>
parents:
16237
diff
changeset
|
107 noinst_LTLIBRARIES += \ |
23495
8308417aff1c
use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents:
23435
diff
changeset
|
108 %reldir%/libparse-tree.la |
20327
0ce7d8303152
eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents:
19879
diff
changeset
|
109 |
23495
8308417aff1c
use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents:
23435
diff
changeset
|
110 %canon_reldir%_libparse_tree_la_SOURCES = $(PARSE_TREE_SRC) |
20327
0ce7d8303152
eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents:
19879
diff
changeset
|
111 |
23495
8308417aff1c
use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents:
23435
diff
changeset
|
112 %canon_reldir%_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
|
113 |
23495
8308417aff1c
use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents:
23435
diff
changeset
|
114 %canon_reldir%_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
|
115 |
23495
8308417aff1c
use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents:
23435
diff
changeset
|
116 %canon_reldir%_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
|
117 |
20366
9b44691a3520
provide per-directory clean targets
John W. Eaton <jwe@octave.org>
parents:
20327
diff
changeset
|
118 libinterp_EXTRA_DIST += \ |
23495
8308417aff1c
use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents:
23435
diff
changeset
|
119 %reldir%/oct-parse.in.yy \ |
8308417aff1c
use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents:
23435
diff
changeset
|
120 %reldir%/octave.gperf |