Mercurial > octave-nkf
comparison libinterp/Makefile.am @ 17577:c702371ff6df classdef
maint: periodic merge of default to classdef
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Sat, 05 Oct 2013 11:22:09 -0400 |
parents | 498b2dd1bd56 7542f4496974 |
children | 93b3d03b05e7 |
comparison
equal
deleted
inserted
replaced
17414:20d1b911b4e7 | 17577:c702371ff6df |
---|---|
17 # You should have received a copy of the GNU General Public License | 17 # You should have received a copy of the GNU General Public License |
18 # along with Octave; see the file COPYING. If not, see | 18 # along with Octave; see the file COPYING. If not, see |
19 # <http://www.gnu.org/licenses/>. | 19 # <http://www.gnu.org/licenses/>. |
20 | 20 |
21 include $(top_srcdir)/build-aux/common.mk | 21 include $(top_srcdir)/build-aux/common.mk |
22 | |
23 AUTOMAKE_OPTIONS = subdir-objects | |
24 | 22 |
25 ## Search local directories before those specified by the user. | 23 ## Search local directories before those specified by the user. |
26 AM_CPPFLAGS = \ | 24 AM_CPPFLAGS = \ |
27 -I$(top_srcdir)/liboctave/cruft/misc \ | 25 -I$(top_srcdir)/liboctave/cruft/misc \ |
28 -I$(top_srcdir)/liboctave/array \ | 26 -I$(top_srcdir)/liboctave/array \ |
49 corefcn/mxarray.h \ | 47 corefcn/mxarray.h \ |
50 corefcn/oct-errno.cc \ | 48 corefcn/oct-errno.cc \ |
51 corefcn/defaults.h \ | 49 corefcn/defaults.h \ |
52 corefcn/graphics-props.cc \ | 50 corefcn/graphics-props.cc \ |
53 corefcn/graphics.h \ | 51 corefcn/graphics.h \ |
52 corefcn/oct-tex-lexer.cc \ | |
53 corefcn/oct-tex-parser.cc \ | |
54 corefcn/oct-tex-symbols.cc \ | |
54 operators/ops.cc \ | 55 operators/ops.cc \ |
55 parse-tree/lex.cc \ | 56 parse-tree/lex.cc \ |
56 parse-tree/oct-gperf.h \ | 57 parse-tree/oct-gperf.h \ |
57 parse-tree/oct-parse.cc \ | 58 parse-tree/oct-parse.cc \ |
58 oct-conf.h \ | 59 oct-conf.h \ |
60 version.h \ | 61 version.h \ |
61 builtin-defun-decls.h \ | 62 builtin-defun-decls.h \ |
62 builtins.cc | 63 builtins.cc |
63 | 64 |
64 BUILT_DISTFILES = \ | 65 BUILT_DISTFILES = \ |
66 corefcn/oct-tex-lexer.ll \ | |
67 corefcn/oct-tex-parser.h \ | |
68 corefcn/oct-tex-symbols.cc \ | |
65 parse-tree/oct-gperf.h \ | 69 parse-tree/oct-gperf.h \ |
66 parse-tree/oct-parse.h \ | 70 parse-tree/oct-parse.h \ |
67 parse-tree/oct-parse.yy | 71 parse-tree/oct-parse.yy |
68 | 72 |
69 ## Files that are created during build process and installed, | 73 ## Files that are created during build process and installed, |
94 mk-pkg-add \ | 98 mk-pkg-add \ |
95 mkbuiltins \ | 99 mkbuiltins \ |
96 mkdefs \ | 100 mkdefs \ |
97 mkops \ | 101 mkops \ |
98 oct-conf.in.h \ | 102 oct-conf.in.h \ |
99 parse-tree/oct-parse.in.yy \ | |
100 version.in.h \ | 103 version.in.h \ |
101 $(BUILT_DISTFILES) | 104 $(BUILT_DISTFILES) |
102 | 105 |
103 octinclude_HEADERS = \ | 106 octinclude_HEADERS = \ |
104 corefcn/graphics-props.cc \ | 107 corefcn/graphics-props.cc \ |
119 oct-conf.h \ | 122 oct-conf.h \ |
120 version.h | 123 version.h |
121 | 124 |
122 DIST_SRC = \ | 125 DIST_SRC = \ |
123 octave.cc \ | 126 octave.cc \ |
127 version.cc \ | |
124 $(OCTAVE_VALUE_SRC) \ | 128 $(OCTAVE_VALUE_SRC) \ |
125 $(PARSE_TREE_SRC) \ | 129 $(PARSE_TREE_SRC) \ |
126 $(PARSER_SRC) \ | 130 $(PARSER_SRC) \ |
127 $(COREFCN_SRC) | 131 $(COREFCN_SRC) \ |
132 $(TEX_PARSER_SRC) | |
128 | 133 |
129 noinst_LTLIBRARIES = | 134 noinst_LTLIBRARIES = |
130 | 135 |
131 include parse-tree/module.mk | 136 include parse-tree/module.mk |
132 include octave-value/module.mk | 137 include octave-value/module.mk |
148 DLD_LIBOCTINTERP_LIBADD = | 153 DLD_LIBOCTINTERP_LIBADD = |
149 endif | 154 endif |
150 | 155 |
151 liboctinterp_la_SOURCES = \ | 156 liboctinterp_la_SOURCES = \ |
152 octave.cc \ | 157 octave.cc \ |
158 version.cc \ | |
153 $(OPERATORS_SRC) \ | 159 $(OPERATORS_SRC) \ |
154 $(TEMPLATE_INST_SRC) | 160 $(TEMPLATE_INST_SRC) |
155 | 161 |
156 nodist_liboctinterp_la_SOURCES = \ | 162 nodist_liboctinterp_la_SOURCES = \ |
157 corefcn/mxarray.h \ | 163 corefcn/mxarray.h \ |
173 liboctinterp_la_LIBADD = \ | 179 liboctinterp_la_LIBADD = \ |
174 octave-value/liboctave-value.la \ | 180 octave-value/liboctave-value.la \ |
175 parse-tree/libparse-tree.la \ | 181 parse-tree/libparse-tree.la \ |
176 parse-tree/libparser.la \ | 182 parse-tree/libparser.la \ |
177 corefcn/libcorefcn.la \ | 183 corefcn/libcorefcn.la \ |
184 corefcn/libtex_parser.la \ | |
178 $(top_builddir)/liboctave/liboctave.la \ | 185 $(top_builddir)/liboctave/liboctave.la \ |
179 $(LIBOCTINTERP_LINK_DEPS) | 186 $(LIBOCTINTERP_LINK_DEPS) |
180 | 187 |
181 # Increment these as needed and according to the rules in the libtool manual: | 188 # Increment these as needed and according to the rules in the libtool manual: |
182 liboctinterp_current = 1 | 189 liboctinterp_current = 1 |
192 $(LIBOCTINTERP_LINK_OPTS) | 199 $(LIBOCTINTERP_LINK_OPTS) |
193 | 200 |
194 ## Section for defining and creating DEF_FILES | 201 ## Section for defining and creating DEF_FILES |
195 | 202 |
196 ULT_DIST_SRC := \ | 203 ULT_DIST_SRC := \ |
197 $(filter-out parse-tree/oct-parse.yy, $(DIST_SRC)) parse-tree/oct-parse.in.yy | 204 $(filter-out corefcn/oct-tex-lexer.ll parse-tree/oct-parse.yy, $(DIST_SRC)) corefcn/oct-tex-lexer.in.ll parse-tree/oct-parse.in.yy |
198 | 205 |
199 SRC_DEF_FILES := $(shell $(srcdir)/find-defun-files.sh "$(srcdir)" $(ULT_DIST_SRC)) | 206 SRC_DEF_FILES := $(shell $(srcdir)/find-defun-files.sh "$(srcdir)" $(ULT_DIST_SRC)) |
200 | 207 |
201 DLDFCN_DEF_FILES = $(DLDFCN_SRC:.cc=.df) | 208 DLDFCN_DEF_FILES = $(DLDFCN_SRC:.cc=.df) |
202 | 209 |
246 | 253 |
247 ## Override Automake's rule that forces a .hh extension on us even | 254 ## Override Automake's rule that forces a .hh extension on us even |
248 ## though we don't want it. It would be super awesome if automake | 255 ## though we don't want it. It would be super awesome if automake |
249 ## would allow users to choose the header file extension. | 256 ## would allow users to choose the header file extension. |
250 .yy.cc: | 257 .yy.cc: |
251 $(am__skipyacc) $(SHELL) $(YLWRAP) $< y.tab.c $@ y.tab.h $*.h y.output $*.output -- $(YACCCOMPILE) | 258 $(AM_V_YACC)$(am__skipyacc) $(SHELL) $(YLWRAP) $< y.tab.c $@ y.tab.h $*.h y.output $*.output -- $(YACCCOMPILE) |
252 | 259 |
253 ## Special rules: | 260 ## Special rules: |
254 ## Mostly for sources which must be built before rest of compilation. | 261 ## Mostly for sources which must be built before rest of compilation. |
255 | 262 |
256 ## oct-conf.h must depend on Makefile. | 263 ## oct-conf.h must depend on Makefile. |
314 | 321 |
315 uninstall-local: uninstall-oct uninstall-built-in-docstrings | 322 uninstall-local: uninstall-oct uninstall-built-in-docstrings |
316 | 323 |
317 if AMCOND_ENABLE_DYNAMIC_LINKING | 324 if AMCOND_ENABLE_DYNAMIC_LINKING |
318 install-oct: | 325 install-oct: |
319 $(top_srcdir)/build-aux/mkinstalldirs $(DESTDIR)$(octfiledir) | 326 $(MKDIR_P) $(DESTDIR)$(octfiledir) |
320 if [ -n "`cat $(DLDFCN_PKG_ADD_FILE)`" ]; then \ | 327 if [ -n "`cat $(DLDFCN_PKG_ADD_FILE)`" ]; then \ |
321 $(INSTALL_DATA) $(DLDFCN_PKG_ADD_FILE) $(DESTDIR)$(octfiledir)/PKG_ADD; \ | 328 $(INSTALL_DATA) $(DLDFCN_PKG_ADD_FILE) $(DESTDIR)$(octfiledir)/PKG_ADD; \ |
322 fi | 329 fi |
323 cd $(DESTDIR)$(octlibdir) && \ | 330 cd $(DESTDIR)$(octlibdir) && \ |
324 for ltlib in $(DLDFCN_LIBS); do \ | 331 for ltlib in $(DLDFCN_LIBS); do \ |
355 .PHONY: install-built-in-docstrings uninstall-built-in-docstrings | 362 .PHONY: install-built-in-docstrings uninstall-built-in-docstrings |
356 | 363 |
357 CLEANFILES = \ | 364 CLEANFILES = \ |
358 $(DLDFCN_PKG_ADD_FILE) \ | 365 $(DLDFCN_PKG_ADD_FILE) \ |
359 corefcn/graphics-props.cc \ | 366 corefcn/graphics-props.cc \ |
367 corefcn/oct-tex-parser.output \ | |
360 parse-tree/oct-parse.output | 368 parse-tree/oct-parse.output |
361 | 369 |
362 DISTCLEANFILES = \ | 370 DISTCLEANFILES = \ |
363 .DOCSTRINGS \ | 371 .DOCSTRINGS \ |
364 DOCSTRINGS \ | 372 DOCSTRINGS \ |