Mercurial > hg > octave-nkf
annotate src/parse-tree/module.mk @ 15096:909a2797935b
maint: Move interp source code without DEFUNs to interp-core/ dir.
* src/Makefile.am, interpfcn/module.mk, operators/module.mk,
parse-tree/module.mk: Update build system by moving source lists and rules
to the correct directory.
* Cell.cc, Cell.h, c-file-ptr-stream.cc, c-file-ptr-stream.h, comment-list.cc,
comment-list.h, cutils.c, cutils.h, defun-dld.h, defun-int.h, display.cc,
display.h, dynamic-ld.cc, dynamic-ld.h, gl-render.cc, gl-render.h,
gl2ps-renderer.cc, gl2ps-renderer.h, gl2ps.c, gl2ps.h, gripes.cc, gripes.h,
jit-ir.cc, jit-ir.h, jit-typeinfo.cc, jit-typeinfo.h, jit-util.cc, jit-util.h,
ls-ascii-helper.cc, ls-ascii-helper.h, ls-hdf5.cc, ls-hdf5.h, ls-mat-ascii.cc,
ls-mat-ascii.h, ls-mat4.cc, ls-mat4.h, ls-mat5.cc, ls-mat5.h, ls-oct-binary.cc,
ls-oct-binary.h, ls-utils.cc, ls-utils.h, matherr.c, mex.cc, mex.h, mexproto.h,
module.mk, mxarray.in.h, oct-errno.h, oct-errno.in.cc, oct-fstrm.cc,
oct-fstrm.h, oct-hdf5.h, oct-iostrm.cc, oct-iostrm.h, oct-lvalue.cc,
oct-lvalue.h, oct-map.cc, oct-map.h, oct-obj.cc, oct-obj.h, oct-prcstrm.cc,
oct-prcstrm.h, oct-procbuf.cc, oct-procbuf.h, oct-stdstrm.h, oct-stream.cc,
oct-stream.h, oct-strstrm.cc, oct-strstrm.h, oct.h, procstream.cc,
procstream.h, pt-jit.cc, pt-jit.h, siglist.c, siglist.h, sparse-xdiv.cc,
sparse-xdiv.h, sparse-xpow.cc, sparse-xpow.h, txt-eng-ft.cc, txt-eng-ft.h,
txt-eng.h, unwind-prot.cc, unwind-prot.h, xdiv.cc, xdiv.h, xgl2ps.c, xnorm.cc,
xnorm.h, xpow.cc, xpow.h, zfstream.cc, zfstream.h: Move from src/ dir to
src/interp-core dir.
* ops.h: Move to operators/ directory.
* octave.gperf, token.cc, token.h: Move to parse-tree directory.
author | Rik <rik@octave.org> |
---|---|
date | Fri, 03 Aug 2012 13:18:21 -0700 |
parents | 20b33f227599 |
children | 7c7b9ea23a86 03381a36f70d |
rev | line source |
---|---|
15057
46b19589b593
maint: Partition src/ directory with more code in subdirs.
Rik <rik@octave.org>
parents:
diff
changeset
|
1 EXTRA_DIST += \ |
15096
909a2797935b
maint: Move interp source code without DEFUNs to interp-core/ dir.
Rik <rik@octave.org>
parents:
15087
diff
changeset
|
2 parse-tree/module.mk \ |
909a2797935b
maint: Move interp source code without DEFUNs to interp-core/ dir.
Rik <rik@octave.org>
parents:
15087
diff
changeset
|
3 parse-tree/octave.gperf |
15057
46b19589b593
maint: Partition src/ directory with more code in subdirs.
Rik <rik@octave.org>
parents:
diff
changeset
|
4 |
15085
28f5f4a4a80a
maint: Move parser code and rules to parse-tree/ directory
Rik <rik@octave.org>
parents:
15057
diff
changeset
|
5 PARSER_INCLUDES = \ |
28f5f4a4a80a
maint: Move parser code and rules to parse-tree/ directory
Rik <rik@octave.org>
parents:
15057
diff
changeset
|
6 parse-tree/lex.h \ |
15087
20b33f227599
fix the names of parse.h and parse-private.h in module.mk file
John W. Eaton <jwe@octave.org>
parents:
15085
diff
changeset
|
7 parse-tree/parse.h \ |
20b33f227599
fix the names of parse.h and parse-private.h in module.mk file
John W. Eaton <jwe@octave.org>
parents:
15085
diff
changeset
|
8 parse-tree/parse-private.h |
15085
28f5f4a4a80a
maint: Move parser code and rules to parse-tree/ directory
Rik <rik@octave.org>
parents:
15057
diff
changeset
|
9 |
28f5f4a4a80a
maint: Move parser code and rules to parse-tree/ directory
Rik <rik@octave.org>
parents:
15057
diff
changeset
|
10 PARSER_SRC = \ |
28f5f4a4a80a
maint: Move parser code and rules to parse-tree/ directory
Rik <rik@octave.org>
parents:
15057
diff
changeset
|
11 parse-tree/lex.ll \ |
28f5f4a4a80a
maint: Move parser code and rules to parse-tree/ directory
Rik <rik@octave.org>
parents:
15057
diff
changeset
|
12 parse-tree/oct-parse.yy |
28f5f4a4a80a
maint: Move parser code and rules to parse-tree/ directory
Rik <rik@octave.org>
parents:
15057
diff
changeset
|
13 |
28f5f4a4a80a
maint: Move parser code and rules to parse-tree/ directory
Rik <rik@octave.org>
parents:
15057
diff
changeset
|
14 lex.lo lex.o oct-parse.lo oct-parse.o: \ |
28f5f4a4a80a
maint: Move parser code and rules to parse-tree/ directory
Rik <rik@octave.org>
parents:
15057
diff
changeset
|
15 AM_CXXFLAGS := $(filter-out -Wold-style-cast, $(AM_CXXFLAGS)) |
28f5f4a4a80a
maint: Move parser code and rules to parse-tree/ directory
Rik <rik@octave.org>
parents:
15057
diff
changeset
|
16 |
15057
46b19589b593
maint: Partition src/ directory with more code in subdirs.
Rik <rik@octave.org>
parents:
diff
changeset
|
17 PT_INCLUDES = \ |
46b19589b593
maint: Partition src/ directory with more code in subdirs.
Rik <rik@octave.org>
parents:
diff
changeset
|
18 parse-tree/pt-all.h \ |
46b19589b593
maint: Partition src/ directory with more code in subdirs.
Rik <rik@octave.org>
parents:
diff
changeset
|
19 parse-tree/pt-arg-list.h \ |
46b19589b593
maint: Partition src/ directory with more code in subdirs.
Rik <rik@octave.org>
parents:
diff
changeset
|
20 parse-tree/pt-assign.h \ |
46b19589b593
maint: Partition src/ directory with more code in subdirs.
Rik <rik@octave.org>
parents:
diff
changeset
|
21 parse-tree/pt-binop.h \ |
46b19589b593
maint: Partition src/ directory with more code in subdirs.
Rik <rik@octave.org>
parents:
diff
changeset
|
22 parse-tree/pt-bp.h \ |
46b19589b593
maint: Partition src/ directory with more code in subdirs.
Rik <rik@octave.org>
parents:
diff
changeset
|
23 parse-tree/pt-cbinop.h \ |
46b19589b593
maint: Partition src/ directory with more code in subdirs.
Rik <rik@octave.org>
parents:
diff
changeset
|
24 parse-tree/pt-cell.h \ |
46b19589b593
maint: Partition src/ directory with more code in subdirs.
Rik <rik@octave.org>
parents:
diff
changeset
|
25 parse-tree/pt-check.h \ |
46b19589b593
maint: Partition src/ directory with more code in subdirs.
Rik <rik@octave.org>
parents:
diff
changeset
|
26 parse-tree/pt-cmd.h \ |
46b19589b593
maint: Partition src/ directory with more code in subdirs.
Rik <rik@octave.org>
parents:
diff
changeset
|
27 parse-tree/pt-colon.h \ |
46b19589b593
maint: Partition src/ directory with more code in subdirs.
Rik <rik@octave.org>
parents:
diff
changeset
|
28 parse-tree/pt-const.h \ |
46b19589b593
maint: Partition src/ directory with more code in subdirs.
Rik <rik@octave.org>
parents:
diff
changeset
|
29 parse-tree/pt-decl.h \ |
46b19589b593
maint: Partition src/ directory with more code in subdirs.
Rik <rik@octave.org>
parents:
diff
changeset
|
30 parse-tree/pt-eval.h \ |
46b19589b593
maint: Partition src/ directory with more code in subdirs.
Rik <rik@octave.org>
parents:
diff
changeset
|
31 parse-tree/pt-except.h \ |
46b19589b593
maint: Partition src/ directory with more code in subdirs.
Rik <rik@octave.org>
parents:
diff
changeset
|
32 parse-tree/pt-exp.h \ |
46b19589b593
maint: Partition src/ directory with more code in subdirs.
Rik <rik@octave.org>
parents:
diff
changeset
|
33 parse-tree/pt-fcn-handle.h \ |
46b19589b593
maint: Partition src/ directory with more code in subdirs.
Rik <rik@octave.org>
parents:
diff
changeset
|
34 parse-tree/pt-id.h \ |
46b19589b593
maint: Partition src/ directory with more code in subdirs.
Rik <rik@octave.org>
parents:
diff
changeset
|
35 parse-tree/pt-idx.h \ |
46b19589b593
maint: Partition src/ directory with more code in subdirs.
Rik <rik@octave.org>
parents:
diff
changeset
|
36 parse-tree/pt-jump.h \ |
46b19589b593
maint: Partition src/ directory with more code in subdirs.
Rik <rik@octave.org>
parents:
diff
changeset
|
37 parse-tree/pt-loop.h \ |
46b19589b593
maint: Partition src/ directory with more code in subdirs.
Rik <rik@octave.org>
parents:
diff
changeset
|
38 parse-tree/pt-mat.h \ |
46b19589b593
maint: Partition src/ directory with more code in subdirs.
Rik <rik@octave.org>
parents:
diff
changeset
|
39 parse-tree/pt-misc.h \ |
46b19589b593
maint: Partition src/ directory with more code in subdirs.
Rik <rik@octave.org>
parents:
diff
changeset
|
40 parse-tree/pt-pr-code.h \ |
46b19589b593
maint: Partition src/ directory with more code in subdirs.
Rik <rik@octave.org>
parents:
diff
changeset
|
41 parse-tree/pt-select.h \ |
46b19589b593
maint: Partition src/ directory with more code in subdirs.
Rik <rik@octave.org>
parents:
diff
changeset
|
42 parse-tree/pt-stmt.h \ |
46b19589b593
maint: Partition src/ directory with more code in subdirs.
Rik <rik@octave.org>
parents:
diff
changeset
|
43 parse-tree/pt-unop.h \ |
46b19589b593
maint: Partition src/ directory with more code in subdirs.
Rik <rik@octave.org>
parents:
diff
changeset
|
44 parse-tree/pt-walk.h \ |
15085
28f5f4a4a80a
maint: Move parser code and rules to parse-tree/ directory
Rik <rik@octave.org>
parents:
15057
diff
changeset
|
45 parse-tree/pt.h \ |
15096
909a2797935b
maint: Move interp source code without DEFUNs to interp-core/ dir.
Rik <rik@octave.org>
parents:
15087
diff
changeset
|
46 parse-tree/token.h \ |
15085
28f5f4a4a80a
maint: Move parser code and rules to parse-tree/ directory
Rik <rik@octave.org>
parents:
15057
diff
changeset
|
47 $(PARSER_INCLUDES) |
15057
46b19589b593
maint: Partition src/ directory with more code in subdirs.
Rik <rik@octave.org>
parents:
diff
changeset
|
48 |
46b19589b593
maint: Partition src/ directory with more code in subdirs.
Rik <rik@octave.org>
parents:
diff
changeset
|
49 PARSE_TREE_SRC = \ |
46b19589b593
maint: Partition src/ directory with more code in subdirs.
Rik <rik@octave.org>
parents:
diff
changeset
|
50 parse-tree/pt-arg-list.cc \ |
46b19589b593
maint: Partition src/ directory with more code in subdirs.
Rik <rik@octave.org>
parents:
diff
changeset
|
51 parse-tree/pt-assign.cc \ |
46b19589b593
maint: Partition src/ directory with more code in subdirs.
Rik <rik@octave.org>
parents:
diff
changeset
|
52 parse-tree/pt-binop.cc \ |
46b19589b593
maint: Partition src/ directory with more code in subdirs.
Rik <rik@octave.org>
parents:
diff
changeset
|
53 parse-tree/pt-bp.cc \ |
46b19589b593
maint: Partition src/ directory with more code in subdirs.
Rik <rik@octave.org>
parents:
diff
changeset
|
54 parse-tree/pt-cbinop.cc \ |
46b19589b593
maint: Partition src/ directory with more code in subdirs.
Rik <rik@octave.org>
parents:
diff
changeset
|
55 parse-tree/pt-cell.cc \ |
46b19589b593
maint: Partition src/ directory with more code in subdirs.
Rik <rik@octave.org>
parents:
diff
changeset
|
56 parse-tree/pt-check.cc \ |
46b19589b593
maint: Partition src/ directory with more code in subdirs.
Rik <rik@octave.org>
parents:
diff
changeset
|
57 parse-tree/pt-cmd.cc \ |
46b19589b593
maint: Partition src/ directory with more code in subdirs.
Rik <rik@octave.org>
parents:
diff
changeset
|
58 parse-tree/pt-colon.cc \ |
46b19589b593
maint: Partition src/ directory with more code in subdirs.
Rik <rik@octave.org>
parents:
diff
changeset
|
59 parse-tree/pt-const.cc \ |
46b19589b593
maint: Partition src/ directory with more code in subdirs.
Rik <rik@octave.org>
parents:
diff
changeset
|
60 parse-tree/pt-decl.cc \ |
46b19589b593
maint: Partition src/ directory with more code in subdirs.
Rik <rik@octave.org>
parents:
diff
changeset
|
61 parse-tree/pt-eval.cc \ |
46b19589b593
maint: Partition src/ directory with more code in subdirs.
Rik <rik@octave.org>
parents:
diff
changeset
|
62 parse-tree/pt-except.cc \ |
46b19589b593
maint: Partition src/ directory with more code in subdirs.
Rik <rik@octave.org>
parents:
diff
changeset
|
63 parse-tree/pt-exp.cc \ |
46b19589b593
maint: Partition src/ directory with more code in subdirs.
Rik <rik@octave.org>
parents:
diff
changeset
|
64 parse-tree/pt-fcn-handle.cc \ |
46b19589b593
maint: Partition src/ directory with more code in subdirs.
Rik <rik@octave.org>
parents:
diff
changeset
|
65 parse-tree/pt-id.cc \ |
46b19589b593
maint: Partition src/ directory with more code in subdirs.
Rik <rik@octave.org>
parents:
diff
changeset
|
66 parse-tree/pt-idx.cc \ |
46b19589b593
maint: Partition src/ directory with more code in subdirs.
Rik <rik@octave.org>
parents:
diff
changeset
|
67 parse-tree/pt-jump.cc \ |
46b19589b593
maint: Partition src/ directory with more code in subdirs.
Rik <rik@octave.org>
parents:
diff
changeset
|
68 parse-tree/pt-loop.cc \ |
46b19589b593
maint: Partition src/ directory with more code in subdirs.
Rik <rik@octave.org>
parents:
diff
changeset
|
69 parse-tree/pt-mat.cc \ |
46b19589b593
maint: Partition src/ directory with more code in subdirs.
Rik <rik@octave.org>
parents:
diff
changeset
|
70 parse-tree/pt-misc.cc \ |
46b19589b593
maint: Partition src/ directory with more code in subdirs.
Rik <rik@octave.org>
parents:
diff
changeset
|
71 parse-tree/pt-pr-code.cc \ |
46b19589b593
maint: Partition src/ directory with more code in subdirs.
Rik <rik@octave.org>
parents:
diff
changeset
|
72 parse-tree/pt-select.cc \ |
46b19589b593
maint: Partition src/ directory with more code in subdirs.
Rik <rik@octave.org>
parents:
diff
changeset
|
73 parse-tree/pt-stmt.cc \ |
46b19589b593
maint: Partition src/ directory with more code in subdirs.
Rik <rik@octave.org>
parents:
diff
changeset
|
74 parse-tree/pt-unop.cc \ |
15085
28f5f4a4a80a
maint: Move parser code and rules to parse-tree/ directory
Rik <rik@octave.org>
parents:
15057
diff
changeset
|
75 parse-tree/pt.cc \ |
15096
909a2797935b
maint: Move interp source code without DEFUNs to interp-core/ dir.
Rik <rik@octave.org>
parents:
15087
diff
changeset
|
76 parse-tree/token.cc \ |
15085
28f5f4a4a80a
maint: Move parser code and rules to parse-tree/ directory
Rik <rik@octave.org>
parents:
15057
diff
changeset
|
77 $(PARSER_SRC) |
15057
46b19589b593
maint: Partition src/ directory with more code in subdirs.
Rik <rik@octave.org>
parents:
diff
changeset
|
78 |
15096
909a2797935b
maint: Move interp source code without DEFUNs to interp-core/ dir.
Rik <rik@octave.org>
parents:
15087
diff
changeset
|
79 ## 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
|
80 |
909a2797935b
maint: Move interp source code without DEFUNs to interp-core/ dir.
Rik <rik@octave.org>
parents:
15087
diff
changeset
|
81 ## 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
|
82 ## 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
|
83 ## 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
|
84 ## oct-gperf.h file. |
909a2797935b
maint: Move interp source code without DEFUNs to interp-core/ dir.
Rik <rik@octave.org>
parents:
15087
diff
changeset
|
85 parse-tree/oct-gperf.h: parse-tree/octave.gperf |
909a2797935b
maint: Move interp source code without DEFUNs to interp-core/ dir.
Rik <rik@octave.org>
parents:
15087
diff
changeset
|
86 $(GPERF) -t -C -D -G -L C++ -Z octave_kw_hash $< > $@-t1 |
909a2797935b
maint: Move interp source code without DEFUNs to interp-core/ dir.
Rik <rik@octave.org>
parents:
15087
diff
changeset
|
87 $(SED) 's,lookup\[,gperf_lookup[,' < $@-t1 > $@-t |
909a2797935b
maint: Move interp source code without DEFUNs to interp-core/ dir.
Rik <rik@octave.org>
parents:
15087
diff
changeset
|
88 mv $@-t $@ |
909a2797935b
maint: Move interp source code without DEFUNs to interp-core/ dir.
Rik <rik@octave.org>
parents:
15087
diff
changeset
|
89 rm -f $@-t1 |
909a2797935b
maint: Move interp source code without DEFUNs to interp-core/ dir.
Rik <rik@octave.org>
parents:
15087
diff
changeset
|
90 |