Mercurial > hg > octave-nkf
comparison libinterp/parse-tree/module.mk @ 19705:bf27e21f0bfb
maint: Merge default to temporary audio-gsoc branch.
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Wed, 31 Dec 2014 14:59:42 -0500 |
parents | 5bc7d059344d |
children | a941a65c7cb8 |
comparison
equal
deleted
inserted
replaced
19704:dac3191a5301 | 19705:bf27e21f0bfb |
---|---|
19 parse-tree/pt-binop.h \ | 19 parse-tree/pt-binop.h \ |
20 parse-tree/pt-bp.h \ | 20 parse-tree/pt-bp.h \ |
21 parse-tree/pt-cbinop.h \ | 21 parse-tree/pt-cbinop.h \ |
22 parse-tree/pt-cell.h \ | 22 parse-tree/pt-cell.h \ |
23 parse-tree/pt-check.h \ | 23 parse-tree/pt-check.h \ |
24 parse-tree/pt-classdef.h \ | |
24 parse-tree/pt-cmd.h \ | 25 parse-tree/pt-cmd.h \ |
25 parse-tree/pt-colon.h \ | 26 parse-tree/pt-colon.h \ |
26 parse-tree/pt-const.h \ | 27 parse-tree/pt-const.h \ |
27 parse-tree/pt-decl.h \ | 28 parse-tree/pt-decl.h \ |
28 parse-tree/pt-eval.h \ | 29 parse-tree/pt-eval.h \ |
29 parse-tree/pt-except.h \ | 30 parse-tree/pt-except.h \ |
30 parse-tree/pt-exp.h \ | 31 parse-tree/pt-exp.h \ |
31 parse-tree/pt-fcn-handle.h \ | 32 parse-tree/pt-fcn-handle.h \ |
33 parse-tree/pt-funcall.h \ | |
32 parse-tree/pt-id.h \ | 34 parse-tree/pt-id.h \ |
33 parse-tree/pt-idx.h \ | 35 parse-tree/pt-idx.h \ |
34 parse-tree/pt-jump.h \ | 36 parse-tree/pt-jump.h \ |
35 parse-tree/pt-loop.h \ | 37 parse-tree/pt-loop.h \ |
36 parse-tree/pt-mat.h \ | 38 parse-tree/pt-mat.h \ |
50 parse-tree/pt-binop.cc \ | 52 parse-tree/pt-binop.cc \ |
51 parse-tree/pt-bp.cc \ | 53 parse-tree/pt-bp.cc \ |
52 parse-tree/pt-cbinop.cc \ | 54 parse-tree/pt-cbinop.cc \ |
53 parse-tree/pt-cell.cc \ | 55 parse-tree/pt-cell.cc \ |
54 parse-tree/pt-check.cc \ | 56 parse-tree/pt-check.cc \ |
57 parse-tree/pt-classdef.cc \ | |
55 parse-tree/pt-cmd.cc \ | 58 parse-tree/pt-cmd.cc \ |
56 parse-tree/pt-colon.cc \ | 59 parse-tree/pt-colon.cc \ |
57 parse-tree/pt-const.cc \ | 60 parse-tree/pt-const.cc \ |
58 parse-tree/pt-decl.cc \ | 61 parse-tree/pt-decl.cc \ |
59 parse-tree/pt-eval.cc \ | 62 parse-tree/pt-eval.cc \ |
60 parse-tree/pt-except.cc \ | 63 parse-tree/pt-except.cc \ |
61 parse-tree/pt-exp.cc \ | 64 parse-tree/pt-exp.cc \ |
62 parse-tree/pt-fcn-handle.cc \ | 65 parse-tree/pt-fcn-handle.cc \ |
66 parse-tree/pt-funcall.cc \ | |
63 parse-tree/pt-id.cc \ | 67 parse-tree/pt-id.cc \ |
64 parse-tree/pt-idx.cc \ | 68 parse-tree/pt-idx.cc \ |
65 parse-tree/pt-jump.cc \ | 69 parse-tree/pt-jump.cc \ |
66 parse-tree/pt-loop.cc \ | 70 parse-tree/pt-loop.cc \ |
67 parse-tree/pt-mat.cc \ | 71 parse-tree/pt-mat.cc \ |
84 $(SED) 's,lookup\[,gperf_lookup[,' < $@-t1 > $@-t | 88 $(SED) 's,lookup\[,gperf_lookup[,' < $@-t1 > $@-t |
85 mv $@-t $@ | 89 mv $@-t $@ |
86 rm -f $@-t1 | 90 rm -f $@-t1 |
87 | 91 |
88 parse-tree/oct-parse.yy: parse-tree/oct-parse.in.yy | 92 parse-tree/oct-parse.yy: parse-tree/oct-parse.in.yy |
93 case "$(BISON_API_PREFIX_DECL_STYLE)" in \ | |
94 *api*) \ | |
95 case "$(BISON_API_PREFIX_DECL_STYLE)" in \ | |
96 *brace*) \ | |
97 api_prefix_decl='%define api.prefix {octave_}'; ;; \ | |
98 *) \ | |
99 api_prefix_decl='%define api.prefix "octave_"'; ;; \ | |
100 esac; \ | |
101 ;; \ | |
102 *name*) \ | |
103 case "$(BISON_API_PREFIX_DECL_STYLE)" in \ | |
104 *brace*) \ | |
105 api_prefix_decl='%name-prefix {octave_}'; ;; \ | |
106 *) \ | |
107 api_prefix_decl='%name-prefix="octave_"'; ;; \ | |
108 esac; \ | |
109 ;; \ | |
110 esac; \ | |
89 case "$(BISON_PUSH_PULL_DECL_STYLE)" in \ | 111 case "$(BISON_PUSH_PULL_DECL_STYLE)" in \ |
90 *quote*) quote='"' ;; \ | 112 *quote*) quote='"' ;; \ |
91 *) quote="" ;; \ | 113 *) quote="" ;; \ |
92 esac; \ | 114 esac; \ |
93 case "$(BISON_PUSH_PULL_DECL_STYLE)" in \ | 115 case "$(BISON_PUSH_PULL_DECL_STYLE)" in \ |
94 *dash*) decl="%define api.push-pull $${quote}both$${quote}"; ;; \ | 116 *dash*) push_pull_decl="%define api.push-pull $${quote}both$${quote}"; ;; \ |
95 *underscore*) decl="%define api.push_pull $${quote}both$${quote}"; ;; \ | 117 *underscore*) push_pull_decl="%define api.push_pull $${quote}both$${quote}"; ;; \ |
96 esac; \ | 118 esac; \ |
97 $(SED) "s/%PUSH_PULL_DECL%/$$decl/" $< > $@-t | 119 $(SED) -e "s/%PUSH_PULL_DECL%/$$push_pull_decl/" \ |
120 -e "s/%API_PREFIX_DECL%/$$api_prefix_decl/" $< > $@-t | |
98 mv $@-t $@ | 121 mv $@-t $@ |
99 | 122 |
100 noinst_LTLIBRARIES += \ | 123 noinst_LTLIBRARIES += \ |
101 parse-tree/libparse-tree.la \ | 124 parse-tree/libparse-tree.la \ |
102 parse-tree/libparser.la | 125 parse-tree/libparser.la |