comparison libinterp/parse-tree/module.mk @ 18976:dcb260e7a648

maint: Periodic merge of gui-release to default.
author John W. Eaton <jwe@octave.org>
date Fri, 01 Aug 2014 12:10:05 -0400
parents c702371ff6df d8abf813c69f
children fe505ff21d5b
comparison
equal deleted inserted replaced
18972:19cb2530c16b 18976:dcb260e7a648
88 $(SED) 's,lookup\[,gperf_lookup[,' < $@-t1 > $@-t 88 $(SED) 's,lookup\[,gperf_lookup[,' < $@-t1 > $@-t
89 mv $@-t $@ 89 mv $@-t $@
90 rm -f $@-t1 90 rm -f $@-t1
91 91
92 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*) api_prefix_decl='%define api.prefix "octave-"'; ;; \
95 *name*) api_prefix_decl='%name-prefix="octave_"'; ;; \
96 esac; \
93 case "$(BISON_PUSH_PULL_DECL_STYLE)" in \ 97 case "$(BISON_PUSH_PULL_DECL_STYLE)" in \
94 *quote*) quote='"' ;; \ 98 *quote*) quote='"' ;; \
95 *) quote="" ;; \ 99 *) quote="" ;; \
96 esac; \ 100 esac; \
97 case "$(BISON_PUSH_PULL_DECL_STYLE)" in \ 101 case "$(BISON_PUSH_PULL_DECL_STYLE)" in \
98 *dash*) decl="%define api.push-pull $${quote}both$${quote}"; ;; \ 102 *dash*) push_pull_decl="%define api.push-pull $${quote}both$${quote}"; ;; \
99 *underscore*) decl="%define api.push_pull $${quote}both$${quote}"; ;; \ 103 *underscore*) push_pull_decl="%define api.push_pull $${quote}both$${quote}"; ;; \
100 esac; \ 104 esac; \
101 $(SED) "s/%PUSH_PULL_DECL%/$$decl/" $< > $@-t 105 $(SED) -e "s/%PUSH_PULL_DECL%/$$push_pull_decl/" \
106 -e "s/%API_PREFIX_DECL%/$$api_prefix_decl/" $< > $@-t
102 mv $@-t $@ 107 mv $@-t $@
103 108
104 noinst_LTLIBRARIES += \ 109 noinst_LTLIBRARIES += \
105 parse-tree/libparse-tree.la \ 110 parse-tree/libparse-tree.la \
106 parse-tree/libparser.la 111 parse-tree/libparser.la