Mercurial > octave
annotate libinterp/module.mk @ 21216:b7a191eb0c3c
fix typo in definition of libinterp_liboctinterp_la_CXXFLAGS
* libinterp/module.mk (libinterp_liboctinterp_la_CXXFLAGS):
Use $(AM_CXXFLAGS) in definition, not $(AM_CFLAGS).
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Sun, 07 Feb 2016 02:33:24 -0500 |
parents | c784207fe0b6 |
children | d78e45987d6a |
rev | line source |
---|---|
20366
9b44691a3520
provide per-directory clean targets
John W. Eaton <jwe@octave.org>
parents:
20356
diff
changeset
|
1 libinterp_EXTRA_DIST = |
9b44691a3520
provide per-directory clean targets
John W. Eaton <jwe@octave.org>
parents:
20356
diff
changeset
|
2 |
9b44691a3520
provide per-directory clean targets
John W. Eaton <jwe@octave.org>
parents:
20356
diff
changeset
|
3 libinterp_CLEANFILES = |
9b44691a3520
provide per-directory clean targets
John W. Eaton <jwe@octave.org>
parents:
20356
diff
changeset
|
4 libinterp_DISTCLEANFILES = |
9b44691a3520
provide per-directory clean targets
John W. Eaton <jwe@octave.org>
parents:
20356
diff
changeset
|
5 libinterp_MAINTAINERCLEANFILES = |
9b44691a3520
provide per-directory clean targets
John W. Eaton <jwe@octave.org>
parents:
20356
diff
changeset
|
6 |
14397
670feb71afde
maint: Move @CPPFLAGS@ to end of AM_CPPFLAGS lists in Makefiles.
John W. Eaton <jwe@octave.org>
parents:
14348
diff
changeset
|
7 ## Search local directories before those specified by the user. |
20327
0ce7d8303152
eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents:
20134
diff
changeset
|
8 libinterp_liboctinterp_la_CPPFLAGS = \ |
0ce7d8303152
eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents:
20134
diff
changeset
|
9 @OCTINTERP_DLL_DEFS@ \ |
0ce7d8303152
eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents:
20134
diff
changeset
|
10 -I$(top_builddir)/liboctave -I$(top_srcdir)/liboctave \ |
15271
648dabbb4c6b
build: Refactor liboctave into multiple subdirectories. Move libcruft into liboctave.
Rik <rik@octave.org>
parents:
15269
diff
changeset
|
11 -I$(top_srcdir)/liboctave/cruft/misc \ |
15278
f4b5304ee451
build: Remove unnecessary -I includes from AM_CPPFLAGS.
Rik <rik@octave.org>
parents:
15271
diff
changeset
|
12 -I$(top_srcdir)/liboctave/array \ |
f4b5304ee451
build: Remove unnecessary -I includes from AM_CPPFLAGS.
Rik <rik@octave.org>
parents:
15271
diff
changeset
|
13 -I$(top_builddir)/liboctave/numeric -I$(top_srcdir)/liboctave/numeric \ |
f4b5304ee451
build: Remove unnecessary -I includes from AM_CPPFLAGS.
Rik <rik@octave.org>
parents:
15271
diff
changeset
|
14 -I$(top_builddir)/liboctave/operators -I$(top_srcdir)/liboctave/operators \ |
f4b5304ee451
build: Remove unnecessary -I includes from AM_CPPFLAGS.
Rik <rik@octave.org>
parents:
15271
diff
changeset
|
15 -I$(top_srcdir)/liboctave/system \ |
f4b5304ee451
build: Remove unnecessary -I includes from AM_CPPFLAGS.
Rik <rik@octave.org>
parents:
15271
diff
changeset
|
16 -I$(top_srcdir)/liboctave/util \ |
20327
0ce7d8303152
eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents:
20134
diff
changeset
|
17 -I$(srcdir)/libinterp/octave-value \ |
0ce7d8303152
eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents:
20134
diff
changeset
|
18 -Ilibinterp -I$(srcdir)/libinterp \ |
0ce7d8303152
eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents:
20134
diff
changeset
|
19 -I$(srcdir)/libinterp/operators \ |
0ce7d8303152
eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents:
20134
diff
changeset
|
20 -Ilibinterp/parse-tree -I$(srcdir)/libinterp/parse-tree \ |
0ce7d8303152
eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents:
20134
diff
changeset
|
21 -Ilibinterp/corefcn -I$(srcdir)/libinterp/corefcn \ |
19277
18a3eaf7bdf0
make --with-PKG-includedir and --with-PKG-libdir configure options work again
John W. Eaton <jwe@octave.org>
parents:
18233
diff
changeset
|
22 -I$(top_builddir)/libgnu -I$(top_srcdir)/libgnu \ |
19281
4b8b942ef8db
limit specific CPPFLAGS variables to specific convenience libs (bug #38928)
John W. Eaton <jwe@octave.org>
parents:
19277
diff
changeset
|
23 $(HDF5_CPPFLAGS) |
9794
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
24 |
20327
0ce7d8303152
eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents:
20134
diff
changeset
|
25 libinterp_liboctinterp_la_CFLAGS = $(AM_CFLAGS) $(WARN_CFLAGS) |
15363
482d92904aa4
don't use WARN_CXXFLAGS for qterminal library
John W. Eaton <jwe@octave.org>
parents:
15281
diff
changeset
|
26 |
21216
b7a191eb0c3c
fix typo in definition of libinterp_liboctinterp_la_CXXFLAGS
John W. Eaton <jwe@octave.org>
parents:
21185
diff
changeset
|
27 libinterp_liboctinterp_la_CXXFLAGS = $(AM_CXXFLAGS) $(WARN_CXXFLAGS) |
15363
482d92904aa4
don't use WARN_CXXFLAGS for qterminal library
John W. Eaton <jwe@octave.org>
parents:
15281
diff
changeset
|
28 |
20327
0ce7d8303152
eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents:
20134
diff
changeset
|
29 octlib_LTLIBRARIES += libinterp/liboctinterp.la |
12727
40b16bb69fec
maint: Don't distribute files in tarball which must be re-built for each installation
Rik <octave@nomad.inbox5.com>
parents:
12720
diff
changeset
|
30 |
19878
7575048a555b
build: Declare dependencies between generated sources (bug #44383)
Mike Miller <mtmiller@ieee.org>
parents:
19798
diff
changeset
|
31 ## This is the subset of $(BUILT_SOURCES) that may be included by source |
7575048a555b
build: Declare dependencies between generated sources (bug #44383)
Mike Miller <mtmiller@ieee.org>
parents:
19798
diff
changeset
|
32 ## files that are preprocessed to make $(DEF_FILES). This ensures that |
7575048a555b
build: Declare dependencies between generated sources (bug #44383)
Mike Miller <mtmiller@ieee.org>
parents:
19798
diff
changeset
|
33 ## files in $(BUILT_SOURCES) are built in the right dependency order. |
7575048a555b
build: Declare dependencies between generated sources (bug #44383)
Mike Miller <mtmiller@ieee.org>
parents:
19798
diff
changeset
|
34 GENERATED_MAKE_BUILTINS_INCS = \ |
20327
0ce7d8303152
eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents:
20134
diff
changeset
|
35 libinterp/corefcn/defaults.h \ |
0ce7d8303152
eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents:
20134
diff
changeset
|
36 libinterp/corefcn/graphics-props.cc \ |
0ce7d8303152
eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents:
20134
diff
changeset
|
37 libinterp/corefcn/graphics.h \ |
0ce7d8303152
eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents:
20134
diff
changeset
|
38 libinterp/corefcn/mxarray.h \ |
0ce7d8303152
eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents:
20134
diff
changeset
|
39 libinterp/parse-tree/oct-gperf.h \ |
0ce7d8303152
eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents:
20134
diff
changeset
|
40 libinterp/parse-tree/oct-parse.h \ |
0ce7d8303152
eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents:
20134
diff
changeset
|
41 libinterp/version.h |
19878
7575048a555b
build: Declare dependencies between generated sources (bug #44383)
Mike Miller <mtmiller@ieee.org>
parents:
19798
diff
changeset
|
42 |
20327
0ce7d8303152
eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents:
20134
diff
changeset
|
43 BUILT_SOURCES += \ |
19878
7575048a555b
build: Declare dependencies between generated sources (bug #44383)
Mike Miller <mtmiller@ieee.org>
parents:
19798
diff
changeset
|
44 $(GENERATED_MAKE_BUILTINS_INCS) \ |
20327
0ce7d8303152
eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents:
20134
diff
changeset
|
45 libinterp/builtin-defun-decls.h \ |
0ce7d8303152
eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents:
20134
diff
changeset
|
46 libinterp/builtins.cc \ |
21181 | 47 libinterp/oct-conf.cc \ |
20327
0ce7d8303152
eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents:
20134
diff
changeset
|
48 libinterp/corefcn/oct-errno.cc \ |
0ce7d8303152
eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents:
20134
diff
changeset
|
49 libinterp/corefcn/oct-tex-lexer.cc \ |
0ce7d8303152
eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents:
20134
diff
changeset
|
50 libinterp/corefcn/oct-tex-parser.cc \ |
0ce7d8303152
eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents:
20134
diff
changeset
|
51 libinterp/corefcn/oct-tex-symbols.cc \ |
0ce7d8303152
eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents:
20134
diff
changeset
|
52 libinterp/operators/ops.cc \ |
0ce7d8303152
eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents:
20134
diff
changeset
|
53 libinterp/parse-tree/lex.cc \ |
0ce7d8303152
eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents:
20134
diff
changeset
|
54 libinterp/parse-tree/oct-parse.cc |
9906 | 55 |
19775
a941a65c7cb8
handle bison syntax changes in TeX parser
John W. Eaton <jwe@octave.org>
parents:
19697
diff
changeset
|
56 ULT_PARSER_SRC := \ |
20327
0ce7d8303152
eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents:
20134
diff
changeset
|
57 libinterp/corefcn/oct-tex-lexer.in.ll \ |
0ce7d8303152
eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents:
20134
diff
changeset
|
58 libinterp/corefcn/oct-tex-parser.in.yy \ |
0ce7d8303152
eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents:
20134
diff
changeset
|
59 libinterp/parse-tree/oct-parse.in.yy |
19775
a941a65c7cb8
handle bison syntax changes in TeX parser
John W. Eaton <jwe@octave.org>
parents:
19697
diff
changeset
|
60 |
a941a65c7cb8
handle bison syntax changes in TeX parser
John W. Eaton <jwe@octave.org>
parents:
19697
diff
changeset
|
61 GENERATED_PARSER_FILES := \ |
20327
0ce7d8303152
eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents:
20134
diff
changeset
|
62 libinterp/corefcn/oct-tex-lexer.ll \ |
0ce7d8303152
eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents:
20134
diff
changeset
|
63 libinterp/corefcn/oct-tex-parser.yy \ |
0ce7d8303152
eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents:
20134
diff
changeset
|
64 libinterp/parse-tree/oct-parse.yy |
19775
a941a65c7cb8
handle bison syntax changes in TeX parser
John W. Eaton <jwe@octave.org>
parents:
19697
diff
changeset
|
65 |
20346
86299d2fbf87
* libinterp/module.mk: Don't add BUILT_DISTFILES to MAINTAINERCLEANFILES.
John W. Eaton <jwe@octave.org>
parents:
20333
diff
changeset
|
66 LIBINTERP_BUILT_DISTFILES = \ |
19775
a941a65c7cb8
handle bison syntax changes in TeX parser
John W. Eaton <jwe@octave.org>
parents:
19697
diff
changeset
|
67 $(GENERATED_PARSER_FILES) \ |
20327
0ce7d8303152
eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents:
20134
diff
changeset
|
68 libinterp/corefcn/oct-tex-parser.h \ |
0ce7d8303152
eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents:
20134
diff
changeset
|
69 libinterp/corefcn/oct-tex-symbols.cc \ |
0ce7d8303152
eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents:
20134
diff
changeset
|
70 libinterp/parse-tree/oct-gperf.h \ |
0ce7d8303152
eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents:
20134
diff
changeset
|
71 libinterp/parse-tree/oct-parse.h |
9906 | 72 |
12727
40b16bb69fec
maint: Don't distribute files in tarball which must be re-built for each installation
Rik <octave@nomad.inbox5.com>
parents:
12720
diff
changeset
|
73 ## Files that are created during build process and installed, |
40b16bb69fec
maint: Don't distribute files in tarball which must be re-built for each installation
Rik <octave@nomad.inbox5.com>
parents:
12720
diff
changeset
|
74 ## BUT not distributed in tarball. |
20346
86299d2fbf87
* libinterp/module.mk: Don't add BUILT_DISTFILES to MAINTAINERCLEANFILES.
John W. Eaton <jwe@octave.org>
parents:
20333
diff
changeset
|
75 LIBINTERP_BUILT_NODISTFILES = \ |
20327
0ce7d8303152
eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents:
20134
diff
changeset
|
76 libinterp/corefcn/mxarray.h \ |
0ce7d8303152
eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents:
20134
diff
changeset
|
77 libinterp/corefcn/oct-errno.cc \ |
0ce7d8303152
eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents:
20134
diff
changeset
|
78 libinterp/corefcn/defaults.h \ |
0ce7d8303152
eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents:
20134
diff
changeset
|
79 libinterp/corefcn/graphics.h \ |
0ce7d8303152
eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents:
20134
diff
changeset
|
80 libinterp/builtin-defun-decls.h \ |
0ce7d8303152
eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents:
20134
diff
changeset
|
81 libinterp/operators/ops.cc \ |
21181 | 82 libinterp/oct-conf.cc \ |
21182
82a44483dbff
move octave_config_features function out of header file
John W. Eaton <jwe@octave.org>
parents:
21181
diff
changeset
|
83 libinterp/oct-conf-features.cc \ |
20327
0ce7d8303152
eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents:
20134
diff
changeset
|
84 libinterp/version.h \ |
9794
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
85 $(OPT_HANDLERS) \ |
12720
ccfe03bebeba
src/Makefile.am: Fixes to get 'make dist' working
Rik <octave@nomad.inbox5.com>
parents:
12717
diff
changeset
|
86 $(ALL_DEF_FILES) \ |
20327
0ce7d8303152
eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents:
20134
diff
changeset
|
87 libinterp/builtins.cc |
9794
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
88 |
20366
9b44691a3520
provide per-directory clean targets
John W. Eaton <jwe@octave.org>
parents:
20356
diff
changeset
|
89 libinterp_EXTRA_DIST += \ |
20327
0ce7d8303152
eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents:
20134
diff
changeset
|
90 libinterp/DOCSTRINGS \ |
0ce7d8303152
eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents:
20134
diff
changeset
|
91 libinterp/config-features.sh \ |
0ce7d8303152
eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents:
20134
diff
changeset
|
92 libinterp/find-defun-files.sh \ |
0ce7d8303152
eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents:
20134
diff
changeset
|
93 libinterp/gendoc.pl \ |
0ce7d8303152
eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents:
20134
diff
changeset
|
94 libinterp/genprops.awk \ |
0ce7d8303152
eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents:
20134
diff
changeset
|
95 libinterp/mk-errno-list \ |
0ce7d8303152
eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents:
20134
diff
changeset
|
96 libinterp/mk-pkg-add \ |
0ce7d8303152
eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents:
20134
diff
changeset
|
97 libinterp/mkbuiltins \ |
0ce7d8303152
eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents:
20134
diff
changeset
|
98 libinterp/mkdefs \ |
0ce7d8303152
eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents:
20134
diff
changeset
|
99 libinterp/mkops \ |
21185
c784207fe0b6
distribute oct-conf.in.cc (bug #47057)
John W. Eaton <jwe@octave.org>
parents:
21182
diff
changeset
|
100 libinterp/oct-conf.in.cc \ |
20327
0ce7d8303152
eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents:
20134
diff
changeset
|
101 libinterp/version.in.h \ |
20346
86299d2fbf87
* libinterp/module.mk: Don't add BUILT_DISTFILES to MAINTAINERCLEANFILES.
John W. Eaton <jwe@octave.org>
parents:
20333
diff
changeset
|
102 $(LIBINTERP_BUILT_DISTFILES) |
9794
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
103 |
20327
0ce7d8303152
eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents:
20134
diff
changeset
|
104 octinclude_HEADERS += \ |
0ce7d8303152
eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents:
20134
diff
changeset
|
105 libinterp/corefcn/graphics-props.cc \ |
0ce7d8303152
eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents:
20134
diff
changeset
|
106 libinterp/parse-tree/oct-gperf.h \ |
0ce7d8303152
eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents:
20134
diff
changeset
|
107 libinterp/builtins.h \ |
0ce7d8303152
eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents:
20134
diff
changeset
|
108 libinterp/builtin-defun-decls.h \ |
21181 | 109 libinterp/oct-conf.h \ |
21182
82a44483dbff
move octave_config_features function out of header file
John W. Eaton <jwe@octave.org>
parents:
21181
diff
changeset
|
110 libinterp/oct-conf-features.h \ |
20327
0ce7d8303152
eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents:
20134
diff
changeset
|
111 libinterp/octave.h \ |
0ce7d8303152
eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents:
20134
diff
changeset
|
112 libinterp/options-usage.h \ |
15281
03ef3a183129
build: Use INC rather than INCLUDES for consistent naming in libinterp Makefile.am.
Rik <rik@octave.org>
parents:
15278
diff
changeset
|
113 $(OCTAVE_VALUE_INC) \ |
03ef3a183129
build: Use INC rather than INCLUDES for consistent naming in libinterp Makefile.am.
Rik <rik@octave.org>
parents:
15278
diff
changeset
|
114 $(PARSE_TREE_INC) \ |
16321
7612d75a559b
distribute parser header files omitted in changeset faaf60aa457c
John W. Eaton <jwe@octave.org>
parents:
16298
diff
changeset
|
115 $(PARSER_INC) \ |
20327
0ce7d8303152
eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents:
20134
diff
changeset
|
116 $(LIBINTERP_OPERATORS_INC) \ |
16892
68fc671a9339
maint: Collapse interpfcn and interpfcn-core directories into corefcn directory.
Rik <rik@octave.org>
parents:
16321
diff
changeset
|
117 $(COREFCN_INC) |
9794
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
118 |
20327
0ce7d8303152
eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents:
20134
diff
changeset
|
119 nodist_octinclude_HEADERS += \ |
0ce7d8303152
eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents:
20134
diff
changeset
|
120 libinterp/corefcn/mxarray.h \ |
0ce7d8303152
eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents:
20134
diff
changeset
|
121 libinterp/corefcn/defaults.h \ |
0ce7d8303152
eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents:
20134
diff
changeset
|
122 libinterp/corefcn/graphics.h \ |
0ce7d8303152
eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents:
20134
diff
changeset
|
123 libinterp/version.h |
12730
633ef00d963c
maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents:
12727
diff
changeset
|
124 |
20327
0ce7d8303152
eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents:
20134
diff
changeset
|
125 DIST_SRC += \ |
0ce7d8303152
eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents:
20134
diff
changeset
|
126 libinterp/octave.cc \ |
0ce7d8303152
eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents:
20134
diff
changeset
|
127 libinterp/version.cc \ |
15057
46b19589b593
maint: Partition src/ directory with more code in subdirs.
Rik <rik@octave.org>
parents:
15051
diff
changeset
|
128 $(OCTAVE_VALUE_SRC) \ |
46b19589b593
maint: Partition src/ directory with more code in subdirs.
Rik <rik@octave.org>
parents:
15051
diff
changeset
|
129 $(PARSE_TREE_SRC) \ |
21023
ec532a439c6f
rework method of disabling warnings from GCC
John W. Eaton <jwe@octave.org>
parents:
20712
diff
changeset
|
130 $(COREFCN_SRC) |
9794
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
131 |
20327
0ce7d8303152
eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents:
20134
diff
changeset
|
132 include libinterp/parse-tree/module.mk |
0ce7d8303152
eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents:
20134
diff
changeset
|
133 include libinterp/octave-value/module.mk |
0ce7d8303152
eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents:
20134
diff
changeset
|
134 include libinterp/operators/module.mk |
0ce7d8303152
eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents:
20134
diff
changeset
|
135 include libinterp/template-inst/module.mk |
0ce7d8303152
eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents:
20134
diff
changeset
|
136 include libinterp/corefcn/module.mk |
0ce7d8303152
eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents:
20134
diff
changeset
|
137 include libinterp/dldfcn/module.mk |
15039
e753177cde93
maint: Move non-dynamically linked functions from DLD-FUNCTIONS/ to corefcn/ directory
Rik <rik@octave.org>
parents:
15016
diff
changeset
|
138 |
20327
0ce7d8303152
eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents:
20134
diff
changeset
|
139 $(srcdir)/libinterp/dldfcn/module.mk: $(srcdir)/libinterp/dldfcn/config-module.sh $(srcdir)/libinterp/dldfcn/config-module.awk $(srcdir)/libinterp/dldfcn/module-files |
0ce7d8303152
eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents:
20134
diff
changeset
|
140 $(srcdir)/libinterp/dldfcn/config-module.sh $(top_srcdir) |
10376
1ed7cc046c52
Makefile.am rules for rebuilding .mk files
John W. Eaton <jwe@octave.org>
parents:
10342
diff
changeset
|
141 |
9794
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
142 if AMCOND_ENABLE_DYNAMIC_LINKING |
15076
000587f92082
rename src/DLD-FUNCTIONS directory to src/dldfcn
John W. Eaton <jwe@octave.org>
parents:
15075
diff
changeset
|
143 OCT_FILES = $(DLDFCN_LIBS:.la=.oct) |
20327
0ce7d8303152
eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents:
20134
diff
changeset
|
144 DLD_LIBOCTINTERP_LIBADD = libinterp/liboctinterp.la |
9794
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
145 else |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
146 OCT_FILES = |
14295
21572e9bd365
make --disable-dl work again
John W. Eaton <jwe@octave.org>
parents:
14192
diff
changeset
|
147 DLD_LIBOCTINTERP_LIBADD = |
9794
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
148 endif |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
149 |
20327
0ce7d8303152
eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents:
20134
diff
changeset
|
150 libinterp_liboctinterp_la_SOURCES = \ |
0ce7d8303152
eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents:
20134
diff
changeset
|
151 libinterp/octave.cc \ |
0ce7d8303152
eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents:
20134
diff
changeset
|
152 libinterp/version.cc \ |
0ce7d8303152
eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents:
20134
diff
changeset
|
153 $(LIBINTERP_OPERATORS_SRC) \ |
9794
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
154 $(TEMPLATE_INST_SRC) |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
155 |
20327
0ce7d8303152
eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents:
20134
diff
changeset
|
156 nodist_libinterp_liboctinterp_la_SOURCES = \ |
0ce7d8303152
eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents:
20134
diff
changeset
|
157 libinterp/corefcn/mxarray.h \ |
0ce7d8303152
eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents:
20134
diff
changeset
|
158 libinterp/corefcn/oct-errno.cc \ |
0ce7d8303152
eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents:
20134
diff
changeset
|
159 libinterp/corefcn/defaults.h \ |
0ce7d8303152
eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents:
20134
diff
changeset
|
160 libinterp/corefcn/graphics.h \ |
0ce7d8303152
eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents:
20134
diff
changeset
|
161 libinterp/operators/ops.cc \ |
0ce7d8303152
eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents:
20134
diff
changeset
|
162 libinterp/builtin-defun-decls.h \ |
0ce7d8303152
eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents:
20134
diff
changeset
|
163 libinterp/builtins.cc \ |
21181 | 164 libinterp/oct-conf.cc \ |
21182
82a44483dbff
move octave_config_features function out of header file
John W. Eaton <jwe@octave.org>
parents:
21181
diff
changeset
|
165 libinterp/oct-conf-features.cc \ |
20327
0ce7d8303152
eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents:
20134
diff
changeset
|
166 libinterp/version.h |
9794
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
167 |
20327
0ce7d8303152
eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents:
20134
diff
changeset
|
168 libinterp_liboctinterp_la_LIBADD = \ |
0ce7d8303152
eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents:
20134
diff
changeset
|
169 libinterp/octave-value/liboctave-value.la \ |
0ce7d8303152
eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents:
20134
diff
changeset
|
170 libinterp/parse-tree/libparse-tree.la \ |
0ce7d8303152
eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents:
20134
diff
changeset
|
171 libinterp/corefcn/libcorefcn.la \ |
15278
f4b5304ee451
build: Remove unnecessary -I includes from AM_CPPFLAGS.
Rik <rik@octave.org>
parents:
15271
diff
changeset
|
172 $(top_builddir)/liboctave/liboctave.la \ |
13022
05534f03377d
maint: ensure we always link with local libtool libraries
John W. Eaton <jwe@octave.org>
parents:
13016
diff
changeset
|
173 $(LIBOCTINTERP_LINK_DEPS) |
9816
b1462c588dd5
add -DX_DLL_DEFS to CPPFLAGS
John W. Eaton <jwe@octave.org>
parents:
9798
diff
changeset
|
174 |
12730
633ef00d963c
maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents:
12727
diff
changeset
|
175 # Increment these as needed and according to the rules in the libtool manual: |
20327
0ce7d8303152
eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents:
20134
diff
changeset
|
176 libinterp_liboctinterp_current = 3 |
0ce7d8303152
eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents:
20134
diff
changeset
|
177 libinterp_liboctinterp_revision = 0 |
0ce7d8303152
eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents:
20134
diff
changeset
|
178 libinterp_liboctinterp_age = 0 |
12708
e34f2bf7319d
maint: implement proper library versioning.
John W. Eaton <jwe@octave.org>
parents:
12218
diff
changeset
|
179 |
20327
0ce7d8303152
eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents:
20134
diff
changeset
|
180 libinterp_liboctinterp_version_info = $(libinterp_liboctinterp_current):$(libinterp_liboctinterp_revision):$(libinterp_liboctinterp_age) |
12708
e34f2bf7319d
maint: implement proper library versioning.
John W. Eaton <jwe@octave.org>
parents:
12218
diff
changeset
|
181 |
20327
0ce7d8303152
eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents:
20134
diff
changeset
|
182 libinterp_liboctinterp_la_LDFLAGS = \ |
0ce7d8303152
eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents:
20134
diff
changeset
|
183 -version-info $(libinterp_liboctinterp_version_info) \ |
12708
e34f2bf7319d
maint: implement proper library versioning.
John W. Eaton <jwe@octave.org>
parents:
12218
diff
changeset
|
184 $(NO_UNDEFINED_LDFLAG) \ |
13010
edc5ec6e949b
maint: allow --enable-static --disable-dl to work again
John W. Eaton <jwe@octave.org>
parents:
12958
diff
changeset
|
185 -bindir $(bindir) \ |
20712
4a25c398ffa2
configure option to build with address sanitizer (bugg #46449)
John W. Eaton <jwe@octave.org>
parents:
20522
diff
changeset
|
186 $(LIBOCTINTERP_LINK_OPTS) \ |
4a25c398ffa2
configure option to build with address sanitizer (bugg #46449)
John W. Eaton <jwe@octave.org>
parents:
20522
diff
changeset
|
187 $(WARN_LDFLAGS) |
9794
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
188 |
12730
633ef00d963c
maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents:
12727
diff
changeset
|
189 ## Section for defining and creating DEF_FILES |
16174
39096b290a2f
check syntax used to enable bison push/pull parser
John W. Eaton <jwe@octave.org>
parents:
16170
diff
changeset
|
190 |
39096b290a2f
check syntax used to enable bison push/pull parser
John W. Eaton <jwe@octave.org>
parents:
16170
diff
changeset
|
191 ULT_DIST_SRC := \ |
19775
a941a65c7cb8
handle bison syntax changes in TeX parser
John W. Eaton <jwe@octave.org>
parents:
19697
diff
changeset
|
192 $(filter-out $(GENERATED_PARSER_FILES), $(DIST_SRC)) $(ULT_PARSER_SRC) |
16174
39096b290a2f
check syntax used to enable bison push/pull parser
John W. Eaton <jwe@octave.org>
parents:
16170
diff
changeset
|
193 |
20327
0ce7d8303152
eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents:
20134
diff
changeset
|
194 SRC_DEF_FILES := $(shell $(srcdir)/libinterp/find-defun-files.sh "$(srcdir)" $(ULT_DIST_SRC)) |
12730
633ef00d963c
maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents:
12727
diff
changeset
|
195 |
15076
000587f92082
rename src/DLD-FUNCTIONS directory to src/dldfcn
John W. Eaton <jwe@octave.org>
parents:
15075
diff
changeset
|
196 DLDFCN_DEF_FILES = $(DLDFCN_SRC:.cc=.df) |
12730
633ef00d963c
maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents:
12727
diff
changeset
|
197 |
633ef00d963c
maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents:
12727
diff
changeset
|
198 ## builtins.cc depends on $(DEF_FILES), so DEF_FILES should only include |
633ef00d963c
maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents:
12727
diff
changeset
|
199 ## .df files that correspond to sources included in liboctave. |
13010
edc5ec6e949b
maint: allow --enable-static --disable-dl to work again
John W. Eaton <jwe@octave.org>
parents:
12958
diff
changeset
|
200 if AMCOND_ENABLE_DYNAMIC_LINKING |
edc5ec6e949b
maint: allow --enable-static --disable-dl to work again
John W. Eaton <jwe@octave.org>
parents:
12958
diff
changeset
|
201 DEF_FILES = $(SRC_DEF_FILES) |
edc5ec6e949b
maint: allow --enable-static --disable-dl to work again
John W. Eaton <jwe@octave.org>
parents:
12958
diff
changeset
|
202 else |
15076
000587f92082
rename src/DLD-FUNCTIONS directory to src/dldfcn
John W. Eaton <jwe@octave.org>
parents:
15075
diff
changeset
|
203 DEF_FILES = $(SRC_DEF_FILES) $(DLDFCN_DEF_FILES) |
13010
edc5ec6e949b
maint: allow --enable-static --disable-dl to work again
John W. Eaton <jwe@octave.org>
parents:
12958
diff
changeset
|
204 endif |
12730
633ef00d963c
maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents:
12727
diff
changeset
|
205 |
15076
000587f92082
rename src/DLD-FUNCTIONS directory to src/dldfcn
John W. Eaton <jwe@octave.org>
parents:
15075
diff
changeset
|
206 ALL_DEF_FILES = $(SRC_DEF_FILES) $(DLDFCN_DEF_FILES) |
12730
633ef00d963c
maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents:
12727
diff
changeset
|
207 |
20327
0ce7d8303152
eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents:
20134
diff
changeset
|
208 $(SRC_DEF_FILES): libinterp/mkdefs Makefile |
12730
633ef00d963c
maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents:
12727
diff
changeset
|
209 |
20327
0ce7d8303152
eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents:
20134
diff
changeset
|
210 $(DEF_FILES): $(OPT_HANDLERS) $(LIBOCTAVE_OPT_INC) |
12730
633ef00d963c
maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents:
12727
diff
changeset
|
211 |
15415
15c435992d3c
build: Deprecate DLL_CDEFS, CLL_CXXDEFS in Makefiles.
Rik <rik@octave.org>
parents:
15363
diff
changeset
|
212 ## FIXME: The following two variables are deprecated and should be removed |
15c435992d3c
build: Deprecate DLL_CDEFS, CLL_CXXDEFS in Makefiles.
Rik <rik@octave.org>
parents:
15363
diff
changeset
|
213 ## in Octave version 3.12. |
12730
633ef00d963c
maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents:
12727
diff
changeset
|
214 DLL_CDEFS = @OCTINTERP_DLL_DEFS@ |
633ef00d963c
maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents:
12727
diff
changeset
|
215 DLL_CXXDEFS = @OCTINTERP_DLL_DEFS@ |
633ef00d963c
maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents:
12727
diff
changeset
|
216 |
633ef00d963c
maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents:
12727
diff
changeset
|
217 ## Rule to build a DEF file from a .cc file |
17830
f22714d4a5da
build: Don't use JAVA_CPPFLAGS, FT2_CPPFLAGS everywhere when making .df files.
Rik <rik@octave.org>
parents:
17820
diff
changeset
|
218 ## See also module.mk files for overrides when speciall CPPFLAGS are needed. |
17820
3488d987eb50
build: Remove LLVM_(CPPFLAGS|CXXFLAGS) from XTRA_CXXFLAGS.
Rik <rik@octave.org>
parents:
17816
diff
changeset
|
219 ## FIXME: Shouldn't the build stop if CPP fails here? Yes (10/31/2013) |
19878
7575048a555b
build: Declare dependencies between generated sources (bug #44383)
Mike Miller <mtmiller@ieee.org>
parents:
19798
diff
changeset
|
220 %.df: %.cc $(GENERATED_MAKE_BUILTINS_INCS) |
19792
4f6ae6b94abe
make --enable-silent-rules configure option more useful
John W. Eaton <jwe@octave.org>
parents:
19775
diff
changeset
|
221 $(AM_V_GEN)rm -f $@-t $@-t1 $@ && \ |
12730
633ef00d963c
maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents:
12727
diff
changeset
|
222 $(CXXCPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \ |
20327
0ce7d8303152
eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents:
20134
diff
changeset
|
223 $(libinterp_liboctinterp_la_CPPFLAGS) $(LLVM_CPPFLAGS) $(CPPFLAGS) \ |
20522
818122703f1e
Use CXXFLAGS to build *.df files (fix regression by 0ce7d8303152)
Carnë Draug <carandraug@octave.org>
parents:
20409
diff
changeset
|
224 $(libinterp_liboctinterp_la_CXXFLAGS) $(CXXFLAGS) \ |
19792
4f6ae6b94abe
make --enable-silent-rules configure option more useful
John W. Eaton <jwe@octave.org>
parents:
19775
diff
changeset
|
225 -DMAKE_BUILTINS $< > $@-t1 && \ |
20327
0ce7d8303152
eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents:
20134
diff
changeset
|
226 $(srcdir)/libinterp/mkdefs $(srcdir)/libinterp $< < $@-t1 > $@-t && \ |
20354
456c7e4cb34d
use move-if-change for most rules that generate source files
John W. Eaton <jwe@octave.org>
parents:
20346
diff
changeset
|
227 rm -f $@-t1 && \ |
456c7e4cb34d
use move-if-change for most rules that generate source files
John W. Eaton <jwe@octave.org>
parents:
20346
diff
changeset
|
228 mv $@-t $@ |
12730
633ef00d963c
maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents:
12727
diff
changeset
|
229 |
16019
5b2126a8c84f
install tests and functions to run them
John W. Eaton <jwe@octave.org>
parents:
15924
diff
changeset
|
230 ## Rules to build test files |
5b2126a8c84f
install tests and functions to run them
John W. Eaton <jwe@octave.org>
parents:
15924
diff
changeset
|
231 |
20327
0ce7d8303152
eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents:
20134
diff
changeset
|
232 LIBINTERP_TST_FILES_SRC := $(shell $(top_srcdir)/build-aux/find-files-with-tests.sh "$(srcdir)" $(ULT_DIST_SRC) $(DLDFCN_SRC)) |
16019
5b2126a8c84f
install tests and functions to run them
John W. Eaton <jwe@octave.org>
parents:
15924
diff
changeset
|
233 |
20327
0ce7d8303152
eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents:
20134
diff
changeset
|
234 LIBINTERP_TST_FILES := $(addsuffix -tst,$(LIBINTERP_TST_FILES_SRC)) |
16019
5b2126a8c84f
install tests and functions to run them
John W. Eaton <jwe@octave.org>
parents:
15924
diff
changeset
|
235 |
20373
3c70050faa1e
Fix install paths of fixed and generated test files
Mike Miller <mtmiller@octave.org>
parents:
20366
diff
changeset
|
236 libinterptestsdir := $(octtestsdir) |
16019
5b2126a8c84f
install tests and functions to run them
John W. Eaton <jwe@octave.org>
parents:
15924
diff
changeset
|
237 |
20327
0ce7d8303152
eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents:
20134
diff
changeset
|
238 nobase_libinterptests_DATA = $(LIBINTERP_TST_FILES) |
16019
5b2126a8c84f
install tests and functions to run them
John W. Eaton <jwe@octave.org>
parents:
15924
diff
changeset
|
239 |
15203
aa7f4e33c524
override automake .yy.cc rule (bug #36407)
John W. Eaton <jwe@octave.org>
parents:
15195
diff
changeset
|
240 ## Override Automake's rule that forces a .hh extension on us even |
aa7f4e33c524
override automake .yy.cc rule (bug #36407)
John W. Eaton <jwe@octave.org>
parents:
15195
diff
changeset
|
241 ## though we don't want it. It would be super awesome if automake |
aa7f4e33c524
override automake .yy.cc rule (bug #36407)
John W. Eaton <jwe@octave.org>
parents:
15195
diff
changeset
|
242 ## would allow users to choose the header file extension. |
aa7f4e33c524
override automake .yy.cc rule (bug #36407)
John W. Eaton <jwe@octave.org>
parents:
15195
diff
changeset
|
243 .yy.cc: |
17375
bc018154e46a
build: Support optional Automake silent rules
Mike Miller <mtmiller@ieee.org>
parents:
17327
diff
changeset
|
244 $(AM_V_YACC)$(am__skipyacc) $(SHELL) $(YLWRAP) $< y.tab.c $@ y.tab.h $*.h y.output $*.output -- $(YACCCOMPILE) |
15203
aa7f4e33c524
override automake .yy.cc rule (bug #36407)
John W. Eaton <jwe@octave.org>
parents:
15195
diff
changeset
|
245 |
13141
e81ddf9cacd5
maint: untabify and remove trailing whitespace from source files
John W. Eaton <jwe@octave.org>
parents:
13024
diff
changeset
|
246 ## Special rules: |
12730
633ef00d963c
maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents:
12727
diff
changeset
|
247 ## Mostly for sources which must be built before rest of compilation. |
633ef00d963c
maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents:
12727
diff
changeset
|
248 |
21181 | 249 ## oct-conf.cc must depend on Makefile. |
15278
f4b5304ee451
build: Remove unnecessary -I includes from AM_CPPFLAGS.
Rik <rik@octave.org>
parents:
15271
diff
changeset
|
250 ## Calling configure may change default/config values. |
f4b5304ee451
build: Remove unnecessary -I includes from AM_CPPFLAGS.
Rik <rik@octave.org>
parents:
15271
diff
changeset
|
251 ## However, calling configure will also regenerate the Makefiles from |
f4b5304ee451
build: Remove unnecessary -I includes from AM_CPPFLAGS.
Rik <rik@octave.org>
parents:
15271
diff
changeset
|
252 ## Makefile.am and trigger the rules below. |
21181 | 253 libinterp/oct-conf.cc: libinterp/oct-conf.in.cc Makefile |
19792
4f6ae6b94abe
make --enable-silent-rules configure option more useful
John W. Eaton <jwe@octave.org>
parents:
19775
diff
changeset
|
254 $(AM_V_GEN)$(do_subst_config_vals) |
12730
633ef00d963c
maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents:
12727
diff
changeset
|
255 |
21182
82a44483dbff
move octave_config_features function out of header file
John W. Eaton <jwe@octave.org>
parents:
21181
diff
changeset
|
256 libinterp/oct-conf-features.cc: $(top_builddir)/config.h libinterp/config-features.sh |
20354
456c7e4cb34d
use move-if-change for most rules that generate source files
John W. Eaton <jwe@octave.org>
parents:
20346
diff
changeset
|
257 $(AM_V_GEN)rm -f $@-t && \ |
20327
0ce7d8303152
eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents:
20134
diff
changeset
|
258 $(srcdir)/libinterp/config-features.sh $< > $@-t && \ |
20354
456c7e4cb34d
use move-if-change for most rules that generate source files
John W. Eaton <jwe@octave.org>
parents:
20346
diff
changeset
|
259 $(simple_move_if_change_rule) |
16170
2a4f83826024
new way to test for features in Octave scripts
John W. Eaton <jwe@octave.org>
parents:
16156
diff
changeset
|
260 |
20327
0ce7d8303152
eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents:
20134
diff
changeset
|
261 libinterp/version.h: libinterp/version.in.h Makefile |
20354
456c7e4cb34d
use move-if-change for most rules that generate source files
John W. Eaton <jwe@octave.org>
parents:
20346
diff
changeset
|
262 $(AM_V_GEN)rm -f $@-t && \ |
12730
633ef00d963c
maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents:
12727
diff
changeset
|
263 $(SED) < $< \ |
15100
8523df595d42
maint: Add DO NOT EDIT messages to build system for src/*.in.h.
Rik <rik@octave.org>
parents:
15096
diff
changeset
|
264 -e "s|%NO_EDIT_WARNING%|DO NOT EDIT! Generated automatically from $(<F) by Make.|" \ |
12730
633ef00d963c
maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents:
12727
diff
changeset
|
265 -e "s|%OCTAVE_API_VERSION%|\"${OCTAVE_API_VERSION}\"|" \ |
633ef00d963c
maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents:
12727
diff
changeset
|
266 -e "s|%OCTAVE_COPYRIGHT%|\"${OCTAVE_COPYRIGHT}\"|" \ |
18229
b6b6e0dc700e
provide version number macros (bug #41045)
John W. Eaton <jwe@octave.org>
parents:
18041
diff
changeset
|
267 -e "s|%OCTAVE_MAJOR_VERSION%|${OCTAVE_MAJOR_VERSION}|" \ |
b6b6e0dc700e
provide version number macros (bug #41045)
John W. Eaton <jwe@octave.org>
parents:
18041
diff
changeset
|
268 -e "s|%OCTAVE_MINOR_VERSION%|${OCTAVE_MINOR_VERSION}|" \ |
b6b6e0dc700e
provide version number macros (bug #41045)
John W. Eaton <jwe@octave.org>
parents:
18041
diff
changeset
|
269 -e "s|%OCTAVE_PATCH_VERSION%|${OCTAVE_PATCH_VERSION}|" \ |
12730
633ef00d963c
maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents:
12727
diff
changeset
|
270 -e "s|%OCTAVE_RELEASE_DATE%|\"${OCTAVE_RELEASE_DATE}\"|" \ |
19792
4f6ae6b94abe
make --enable-silent-rules configure option more useful
John W. Eaton <jwe@octave.org>
parents:
19775
diff
changeset
|
271 -e "s|%OCTAVE_VERSION%|\"${OCTAVE_VERSION}\"|" > $@-t && \ |
20354
456c7e4cb34d
use move-if-change for most rules that generate source files
John W. Eaton <jwe@octave.org>
parents:
20346
diff
changeset
|
272 $(simple_move_if_change_rule) |
12730
633ef00d963c
maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents:
12727
diff
changeset
|
273 |
20327
0ce7d8303152
eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents:
20134
diff
changeset
|
274 libinterp/builtins.cc: $(DEF_FILES) libinterp/mkbuiltins |
20354
456c7e4cb34d
use move-if-change for most rules that generate source files
John W. Eaton <jwe@octave.org>
parents:
20346
diff
changeset
|
275 $(AM_V_GEN)rm -f $@-t && \ |
20327
0ce7d8303152
eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents:
20134
diff
changeset
|
276 $(srcdir)/libinterp/mkbuiltins --source $(DEF_FILES) > $@-t && \ |
20354
456c7e4cb34d
use move-if-change for most rules that generate source files
John W. Eaton <jwe@octave.org>
parents:
20346
diff
changeset
|
277 $(simple_move_if_change_rule) |
15418
60090630cb76
generate declarations for all built-in DEFUN functions
John W. Eaton <jwe@octave.org>
parents:
15417
diff
changeset
|
278 |
20327
0ce7d8303152
eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents:
20134
diff
changeset
|
279 libinterp/builtin-defun-decls.h: $(SRC_DEF_FILES) libinterp/mkbuiltins |
20354
456c7e4cb34d
use move-if-change for most rules that generate source files
John W. Eaton <jwe@octave.org>
parents:
20346
diff
changeset
|
280 $(AM_V_GEN)rm -f $@-t && \ |
20327
0ce7d8303152
eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents:
20134
diff
changeset
|
281 $(srcdir)/libinterp/mkbuiltins --header $(SRC_DEF_FILES) > $@-t && \ |
20354
456c7e4cb34d
use move-if-change for most rules that generate source files
John W. Eaton <jwe@octave.org>
parents:
20346
diff
changeset
|
282 $(simple_move_if_change_rule) |
12730
633ef00d963c
maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents:
12727
diff
changeset
|
283 |
13010
edc5ec6e949b
maint: allow --enable-static --disable-dl to work again
John W. Eaton <jwe@octave.org>
parents:
12958
diff
changeset
|
284 if AMCOND_ENABLE_DYNAMIC_LINKING |
20327
0ce7d8303152
eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents:
20134
diff
changeset
|
285 DLDFCN_PKG_ADD_FILE = libinterp/dldfcn/PKG_ADD |
13010
edc5ec6e949b
maint: allow --enable-static --disable-dl to work again
John W. Eaton <jwe@octave.org>
parents:
12958
diff
changeset
|
286 |
20327
0ce7d8303152
eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents:
20134
diff
changeset
|
287 libinterp/dldfcn/PKG_ADD: $(DLDFCN_DEF_FILES) libinterp/mk-pkg-add |
20354
456c7e4cb34d
use move-if-change for most rules that generate source files
John W. Eaton <jwe@octave.org>
parents:
20346
diff
changeset
|
288 $(AM_V_GEN)rm -f $@-t && \ |
20327
0ce7d8303152
eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents:
20134
diff
changeset
|
289 $(srcdir)/libinterp/mk-pkg-add $(DLDFCN_DEF_FILES) > $@-t && \ |
20354
456c7e4cb34d
use move-if-change for most rules that generate source files
John W. Eaton <jwe@octave.org>
parents:
20346
diff
changeset
|
290 $(simple_move_if_change_rule) |
13010
edc5ec6e949b
maint: allow --enable-static --disable-dl to work again
John W. Eaton <jwe@octave.org>
parents:
12958
diff
changeset
|
291 endif |
12730
633ef00d963c
maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents:
12727
diff
changeset
|
292 |
14432
e053d1622f4e
build: Don't build DOCSTRINGS files when --disable-docs specified.
Rik <octave@nomad.inbox5.com>
parents:
14398
diff
changeset
|
293 if AMCOND_BUILD_DOCS |
20327
0ce7d8303152
eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents:
20134
diff
changeset
|
294 |
20393
0fbe2e28ea84
build: Avoid triggering rebuild of docs when DOCSTRINGS regenerated (bug #45567)
Mike Miller <mtmiller@octave.org>
parents:
20373
diff
changeset
|
295 DOCSTRING_FILES += libinterp/DOCSTRINGS |
0fbe2e28ea84
build: Avoid triggering rebuild of docs when DOCSTRINGS regenerated (bug #45567)
Mike Miller <mtmiller@octave.org>
parents:
20373
diff
changeset
|
296 |
0fbe2e28ea84
build: Avoid triggering rebuild of docs when DOCSTRINGS regenerated (bug #45567)
Mike Miller <mtmiller@octave.org>
parents:
20373
diff
changeset
|
297 libinterp/DOCSTRINGS: | libinterp/.DOCSTRINGS |
0fbe2e28ea84
build: Avoid triggering rebuild of docs when DOCSTRINGS regenerated (bug #45567)
Mike Miller <mtmiller@octave.org>
parents:
20373
diff
changeset
|
298 |
20327
0ce7d8303152
eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents:
20134
diff
changeset
|
299 libinterp/.DOCSTRINGS: $(ALL_DEF_FILES) libinterp/gendoc.pl |
19792
4f6ae6b94abe
make --enable-silent-rules configure option more useful
John W. Eaton <jwe@octave.org>
parents:
19775
diff
changeset
|
300 $(AM_V_GEN)rm -f $@-t $@ && \ |
20327
0ce7d8303152
eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents:
20134
diff
changeset
|
301 if [ "x$(srcdir)" != "x." ] && [ -f $(srcdir)/libinterp/DOCSTRINGS ] && [ ! -f DOCSTRINGS ]; then \ |
0ce7d8303152
eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents:
20134
diff
changeset
|
302 cp $(srcdir)/libinterp/DOCSTRINGS libinterp/DOCSTRINGS; \ |
0ce7d8303152
eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents:
20134
diff
changeset
|
303 touch -r $(srcdir)/libinterp/DOCSTRINGS libinterp/DOCSTRINGS; \ |
19792
4f6ae6b94abe
make --enable-silent-rules configure option more useful
John W. Eaton <jwe@octave.org>
parents:
19775
diff
changeset
|
304 fi && \ |
20327
0ce7d8303152
eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents:
20134
diff
changeset
|
305 $(PERL) $(srcdir)/libinterp/gendoc.pl $(ALL_DEF_FILES) > $@-t && \ |
19792
4f6ae6b94abe
make --enable-silent-rules configure option more useful
John W. Eaton <jwe@octave.org>
parents:
19775
diff
changeset
|
306 mv $@-t $@ && \ |
20327
0ce7d8303152
eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents:
20134
diff
changeset
|
307 $(top_srcdir)/build-aux/move-if-change $@ libinterp/DOCSTRINGS && \ |
12730
633ef00d963c
maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents:
12727
diff
changeset
|
308 touch $@ |
633ef00d963c
maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents:
12727
diff
changeset
|
309 |
20327
0ce7d8303152
eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents:
20134
diff
changeset
|
310 OCTAVE_INTERPRETER_TARGETS += \ |
0ce7d8303152
eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents:
20134
diff
changeset
|
311 libinterp/.DOCSTRINGS |
0ce7d8303152
eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents:
20134
diff
changeset
|
312 |
14432
e053d1622f4e
build: Don't build DOCSTRINGS files when --disable-docs specified.
Rik <octave@nomad.inbox5.com>
parents:
14398
diff
changeset
|
313 endif |
12730
633ef00d963c
maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents:
12727
diff
changeset
|
314 |
20327
0ce7d8303152
eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents:
20134
diff
changeset
|
315 OCTAVE_INTERPRETER_TARGETS += \ |
0ce7d8303152
eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents:
20134
diff
changeset
|
316 $(OCT_FILES) \ |
0ce7d8303152
eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents:
20134
diff
changeset
|
317 $(DLDFCN_PKG_ADD_FILE) |
0ce7d8303152
eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents:
20134
diff
changeset
|
318 |
15492
f62c2c57b800
build: do not install DOCSTRINGS when configuring with --disable-docs
Stefan Husmann <stefan-husmann@t-online.de>
parents:
15482
diff
changeset
|
319 if AMCOND_BUILD_DOCS |
15470
bf0857c789f4
initialize docstrings for built-in functions from file
John W. Eaton <jwe@octave.org>
parents:
15463
diff
changeset
|
320 install-data-hook: install-oct install-built-in-docstrings |
15492
f62c2c57b800
build: do not install DOCSTRINGS when configuring with --disable-docs
Stefan Husmann <stefan-husmann@t-online.de>
parents:
15482
diff
changeset
|
321 else |
15796
07231ebb6df3
build: Add rule to uninstall built-in-docstrings and allow distcheck to pass.
Rik <rik@octave.org>
parents:
15768
diff
changeset
|
322 install-data-hook: install-oct uninstall-built-in-docstrings |
15492
f62c2c57b800
build: do not install DOCSTRINGS when configuring with --disable-docs
Stefan Husmann <stefan-husmann@t-online.de>
parents:
15482
diff
changeset
|
323 endif |
12730
633ef00d963c
maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents:
12727
diff
changeset
|
324 |
15796
07231ebb6df3
build: Add rule to uninstall built-in-docstrings and allow distcheck to pass.
Rik <rik@octave.org>
parents:
15768
diff
changeset
|
325 uninstall-local: uninstall-oct uninstall-built-in-docstrings |
12730
633ef00d963c
maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents:
12727
diff
changeset
|
326 |
633ef00d963c
maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents:
12727
diff
changeset
|
327 if AMCOND_ENABLE_DYNAMIC_LINKING |
633ef00d963c
maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents:
12727
diff
changeset
|
328 install-oct: |
17232
090145ad5b4b
build: Eliminate obsolete mkinstalldirs helper scripts
Mike Miller <mtmiller@ieee.org>
parents:
16892
diff
changeset
|
329 $(MKDIR_P) $(DESTDIR)$(octfiledir) |
15076
000587f92082
rename src/DLD-FUNCTIONS directory to src/dldfcn
John W. Eaton <jwe@octave.org>
parents:
15075
diff
changeset
|
330 if [ -n "`cat $(DLDFCN_PKG_ADD_FILE)`" ]; then \ |
000587f92082
rename src/DLD-FUNCTIONS directory to src/dldfcn
John W. Eaton <jwe@octave.org>
parents:
15075
diff
changeset
|
331 $(INSTALL_DATA) $(DLDFCN_PKG_ADD_FILE) $(DESTDIR)$(octfiledir)/PKG_ADD; \ |
12730
633ef00d963c
maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents:
12727
diff
changeset
|
332 fi |
633ef00d963c
maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents:
12727
diff
changeset
|
333 cd $(DESTDIR)$(octlibdir) && \ |
15076
000587f92082
rename src/DLD-FUNCTIONS directory to src/dldfcn
John W. Eaton <jwe@octave.org>
parents:
15075
diff
changeset
|
334 for ltlib in $(DLDFCN_LIBS); do \ |
12730
633ef00d963c
maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents:
12727
diff
changeset
|
335 f=`echo $$ltlib | $(SED) 's,.*/,,'`; \ |
633ef00d963c
maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents:
12727
diff
changeset
|
336 dl=`$(SED) -n -e "s/dlname='\([^']*\)'/\1/p" < $$f`; \ |
633ef00d963c
maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents:
12727
diff
changeset
|
337 if [ -n "$$dl" ]; then \ |
633ef00d963c
maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents:
12727
diff
changeset
|
338 $(INSTALL_PROGRAM) $$dl $(DESTDIR)$(octfiledir)/`echo $$f | $(SED) 's,^lib,,; s,\.la$$,.oct,'`; \ |
633ef00d963c
maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents:
12727
diff
changeset
|
339 else \ |
633ef00d963c
maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents:
12727
diff
changeset
|
340 echo "error: dlname is empty in $$ltlib!"; \ |
633ef00d963c
maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents:
12727
diff
changeset
|
341 exit 1; \ |
633ef00d963c
maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents:
12727
diff
changeset
|
342 fi; \ |
633ef00d963c
maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents:
12727
diff
changeset
|
343 lnames=`$(SED) -n -e "s/library_names='\([^']*\)'/\1/p" < $$f`; \ |
633ef00d963c
maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents:
12727
diff
changeset
|
344 if [ -n "$$lnames" ]; then \ |
633ef00d963c
maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents:
12727
diff
changeset
|
345 rm -f $$f $$lnames $$dl; \ |
633ef00d963c
maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents:
12727
diff
changeset
|
346 fi \ |
633ef00d963c
maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents:
12727
diff
changeset
|
347 done |
633ef00d963c
maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents:
12727
diff
changeset
|
348 |
633ef00d963c
maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents:
12727
diff
changeset
|
349 uninstall-oct: |
633ef00d963c
maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents:
12727
diff
changeset
|
350 for f in $(notdir $(OCT_FILES)); do \ |
633ef00d963c
maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents:
12727
diff
changeset
|
351 rm -f $(DESTDIR)$(octfiledir)/$$f; \ |
633ef00d963c
maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents:
12727
diff
changeset
|
352 done |
633ef00d963c
maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents:
12727
diff
changeset
|
353 rm -f $(DESTDIR)$(octfiledir)/PKG_ADD |
633ef00d963c
maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents:
12727
diff
changeset
|
354 endif |
633ef00d963c
maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents:
12727
diff
changeset
|
355 .PHONY: install-oct uninstall-oct |
633ef00d963c
maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents:
12727
diff
changeset
|
356 |
15492
f62c2c57b800
build: do not install DOCSTRINGS when configuring with --disable-docs
Stefan Husmann <stefan-husmann@t-online.de>
parents:
15482
diff
changeset
|
357 if AMCOND_BUILD_DOCS |
15470
bf0857c789f4
initialize docstrings for built-in functions from file
John W. Eaton <jwe@octave.org>
parents:
15463
diff
changeset
|
358 install-built-in-docstrings: |
15482
cb49817af457
ensure $(octetcdir) exists when installing built-in-docstrings file
John W. Eaton <jwe@octave.org>
parents:
15470
diff
changeset
|
359 $(MKDIR_P) $(DESTDIR)$(octetcdir) |
20333
23172e987766
Fix 'make install' errors for non-recursive build
Mike Miller <mtmiller@octave.org>
parents:
20327
diff
changeset
|
360 $(INSTALL_DATA) libinterp/DOCSTRINGS $(DESTDIR)$(octetcdir)/built-in-docstrings |
15796
07231ebb6df3
build: Add rule to uninstall built-in-docstrings and allow distcheck to pass.
Rik <rik@octave.org>
parents:
15768
diff
changeset
|
361 |
07231ebb6df3
build: Add rule to uninstall built-in-docstrings and allow distcheck to pass.
Rik <rik@octave.org>
parents:
15768
diff
changeset
|
362 uninstall-built-in-docstrings: |
07231ebb6df3
build: Add rule to uninstall built-in-docstrings and allow distcheck to pass.
Rik <rik@octave.org>
parents:
15768
diff
changeset
|
363 rm -f $(DESTDIR)$(octetcdir)/built-in-docstrings |
15496
acfee9c61f80
build: Fix Makefile warning about redefinition of PHONY target
Rik <rik@octave.org>
parents:
15492
diff
changeset
|
364 endif |
15796
07231ebb6df3
build: Add rule to uninstall built-in-docstrings and allow distcheck to pass.
Rik <rik@octave.org>
parents:
15768
diff
changeset
|
365 .PHONY: install-built-in-docstrings uninstall-built-in-docstrings |
15470
bf0857c789f4
initialize docstrings for built-in functions from file
John W. Eaton <jwe@octave.org>
parents:
15463
diff
changeset
|
366 |
20366
9b44691a3520
provide per-directory clean targets
John W. Eaton <jwe@octave.org>
parents:
20356
diff
changeset
|
367 EXTRA_DIST += $(libinterp_EXTRA_DIST) |
9b44691a3520
provide per-directory clean targets
John W. Eaton <jwe@octave.org>
parents:
20356
diff
changeset
|
368 |
9b44691a3520
provide per-directory clean targets
John W. Eaton <jwe@octave.org>
parents:
20356
diff
changeset
|
369 libinterp_CLEANFILES += \ |
15076
000587f92082
rename src/DLD-FUNCTIONS directory to src/dldfcn
John W. Eaton <jwe@octave.org>
parents:
15075
diff
changeset
|
370 $(DLDFCN_PKG_ADD_FILE) \ |
20327
0ce7d8303152
eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents:
20134
diff
changeset
|
371 libinterp/corefcn/graphics-props.cc \ |
0ce7d8303152
eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents:
20134
diff
changeset
|
372 libinterp/corefcn/oct-tex-parser.output \ |
0ce7d8303152
eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents:
20134
diff
changeset
|
373 libinterp/parse-tree/oct-parse.output |
12730
633ef00d963c
maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents:
12727
diff
changeset
|
374 |
20366
9b44691a3520
provide per-directory clean targets
John W. Eaton <jwe@octave.org>
parents:
20356
diff
changeset
|
375 libinterp_DISTCLEANFILES += \ |
20346
86299d2fbf87
* libinterp/module.mk: Don't add BUILT_DISTFILES to MAINTAINERCLEANFILES.
John W. Eaton <jwe@octave.org>
parents:
20333
diff
changeset
|
376 $(LIBINTERP_BUILT_NODISTFILES) \ |
12730
633ef00d963c
maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents:
12727
diff
changeset
|
377 $(OCT_FILES) \ |
20327
0ce7d8303152
eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents:
20134
diff
changeset
|
378 $(LIBINTERP_TST_FILES) |
12730
633ef00d963c
maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents:
12727
diff
changeset
|
379 |
20366
9b44691a3520
provide per-directory clean targets
John W. Eaton <jwe@octave.org>
parents:
20356
diff
changeset
|
380 libinterp_MAINTAINERCLEANFILES += \ |
20409
4300fe896004
build: Don't remove built documentation for distclean target (bug #45646).
Rik <rik@octave.org>
parents:
20393
diff
changeset
|
381 libinterp/.DOCSTRINGS \ |
4300fe896004
build: Don't remove built documentation for distclean target (bug #45646).
Rik <rik@octave.org>
parents:
20393
diff
changeset
|
382 libinterp/DOCSTRINGS \ |
20346
86299d2fbf87
* libinterp/module.mk: Don't add BUILT_DISTFILES to MAINTAINERCLEANFILES.
John W. Eaton <jwe@octave.org>
parents:
20333
diff
changeset
|
383 $(LIBINTERP_BUILT_DISTFILES) |
16056
f4f0aea29b21
build: remove *-tst files with distclean rule.
Rik <rik@octave.org>
parents:
16019
diff
changeset
|
384 |
20346
86299d2fbf87
* libinterp/module.mk: Don't add BUILT_DISTFILES to MAINTAINERCLEANFILES.
John W. Eaton <jwe@octave.org>
parents:
20333
diff
changeset
|
385 BUILT_DISTFILES += $(LIBINTERP_BUILT_DISTFILES) |
86299d2fbf87
* libinterp/module.mk: Don't add BUILT_DISTFILES to MAINTAINERCLEANFILES.
John W. Eaton <jwe@octave.org>
parents:
20333
diff
changeset
|
386 BUILT_NODISTFILES += $(LIBINTERP_BUILT_NODISTFILES) |
20366
9b44691a3520
provide per-directory clean targets
John W. Eaton <jwe@octave.org>
parents:
20356
diff
changeset
|
387 |
9b44691a3520
provide per-directory clean targets
John W. Eaton <jwe@octave.org>
parents:
20356
diff
changeset
|
388 CLEANFILES += $(libinterp_CLEANFILES) |
9b44691a3520
provide per-directory clean targets
John W. Eaton <jwe@octave.org>
parents:
20356
diff
changeset
|
389 DISTCLEANFILES += $(libinterp_DISTCLEANFILES) |
9b44691a3520
provide per-directory clean targets
John W. Eaton <jwe@octave.org>
parents:
20356
diff
changeset
|
390 MAINTAINERCLEANFILES += $(libinterp_MAINTAINERCLEANFILES) |
9b44691a3520
provide per-directory clean targets
John W. Eaton <jwe@octave.org>
parents:
20356
diff
changeset
|
391 |
9b44691a3520
provide per-directory clean targets
John W. Eaton <jwe@octave.org>
parents:
20356
diff
changeset
|
392 libinterp-clean: |
9b44691a3520
provide per-directory clean targets
John W. Eaton <jwe@octave.org>
parents:
20356
diff
changeset
|
393 rm -f $(libinterp_CLEANFILES) |
9b44691a3520
provide per-directory clean targets
John W. Eaton <jwe@octave.org>
parents:
20356
diff
changeset
|
394 |
9b44691a3520
provide per-directory clean targets
John W. Eaton <jwe@octave.org>
parents:
20356
diff
changeset
|
395 libinterp-distclean: libinterp-clean |
9b44691a3520
provide per-directory clean targets
John W. Eaton <jwe@octave.org>
parents:
20356
diff
changeset
|
396 rm -f $(libinterp_DISTCLEANFILES) |
9b44691a3520
provide per-directory clean targets
John W. Eaton <jwe@octave.org>
parents:
20356
diff
changeset
|
397 |
9b44691a3520
provide per-directory clean targets
John W. Eaton <jwe@octave.org>
parents:
20356
diff
changeset
|
398 libinterp-maintainer-clean: libinterp-distclean |
9b44691a3520
provide per-directory clean targets
John W. Eaton <jwe@octave.org>
parents:
20356
diff
changeset
|
399 rm -f $(libinterp_MAINTAINERCLEANFILES) |