Mercurial > octave
annotate libinterp/module.mk @ 22614:78b3c48be3e6 stable
build -tst files with "make all" (bug #49310)
* liboctave/module.mk (OCTAVE_INTERPRETER_TARGETS): Add
$(LIBOCTAVE_TST_FILES) to the list.
* libinterp/module.mk (OCTAVE_INTERPRETER_TARGETS): Add
$(LIBINTERP_TST_FILES) to the list.
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Tue, 11 Oct 2016 13:26:54 -0400 |
parents | b8eeca55fa81 |
children | 5521b8a271ae |
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@ \ |
21290
1309edb344e1
use top_srcdir, top_builddir, abs_top_srcdir or abs_top_builddir only if needed
John W. Eaton <jwe@octave.org>
parents:
21282
diff
changeset
|
10 -Iliboctave -I$(srcdir)/liboctave \ |
1309edb344e1
use top_srcdir, top_builddir, abs_top_srcdir or abs_top_builddir only if needed
John W. Eaton <jwe@octave.org>
parents:
21282
diff
changeset
|
11 -I$(srcdir)/liboctave/cruft/misc \ |
1309edb344e1
use top_srcdir, top_builddir, abs_top_srcdir or abs_top_builddir only if needed
John W. Eaton <jwe@octave.org>
parents:
21282
diff
changeset
|
12 -I$(srcdir)/liboctave/array \ |
1309edb344e1
use top_srcdir, top_builddir, abs_top_srcdir or abs_top_builddir only if needed
John W. Eaton <jwe@octave.org>
parents:
21282
diff
changeset
|
13 -Iliboctave/numeric -I$(srcdir)/liboctave/numeric \ |
1309edb344e1
use top_srcdir, top_builddir, abs_top_srcdir or abs_top_builddir only if needed
John W. Eaton <jwe@octave.org>
parents:
21282
diff
changeset
|
14 -Iliboctave/operators -I$(srcdir)/liboctave/operators \ |
1309edb344e1
use top_srcdir, top_builddir, abs_top_srcdir or abs_top_builddir only if needed
John W. Eaton <jwe@octave.org>
parents:
21282
diff
changeset
|
15 -I$(srcdir)/liboctave/system \ |
1309edb344e1
use top_srcdir, top_builddir, abs_top_srcdir or abs_top_builddir only if needed
John W. Eaton <jwe@octave.org>
parents:
21282
diff
changeset
|
16 -I$(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 \ |
21888
00f1249f2483
create wrappers for some gnulib functions
John W. Eaton <jwe@octave.org>
parents:
21680
diff
changeset
|
22 -I$(srcdir)/liboctave/wrappers \ |
21678
6586202b3a87
make __magick_read__ a built-in function (bug #41699)
John W. Eaton <jwe@octave.org>
parents:
21673
diff
changeset
|
23 $(HDF5_CPPFLAGS) \ |
6586202b3a87
make __magick_read__ a built-in function (bug #41699)
John W. Eaton <jwe@octave.org>
parents:
21673
diff
changeset
|
24 $(MAGICK_CPPFLAGS) |
9794
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
25 |
20327
0ce7d8303152
eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents:
20134
diff
changeset
|
26 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
|
27 |
21216
b7a191eb0c3c
fix typo in definition of libinterp_liboctinterp_la_CXXFLAGS
John W. Eaton <jwe@octave.org>
parents:
21185
diff
changeset
|
28 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
|
29 |
20327
0ce7d8303152
eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents:
20134
diff
changeset
|
30 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
|
31 |
21966
112b20240c87
move docstrings in C++ files out of C strings and into comments
John W. Eaton <jwe@octave.org>
parents:
21942
diff
changeset
|
32 BUILT_SOURCES += \ |
112b20240c87
move docstrings in C++ files out of C strings and into comments
John W. Eaton <jwe@octave.org>
parents:
21942
diff
changeset
|
33 libinterp/builtin-defun-decls.h \ |
20327
0ce7d8303152
eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents:
20134
diff
changeset
|
34 libinterp/corefcn/defaults.h \ |
0ce7d8303152
eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents:
20134
diff
changeset
|
35 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
|
36 libinterp/corefcn/graphics.h \ |
0ce7d8303152
eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents:
20134
diff
changeset
|
37 libinterp/corefcn/mxarray.h \ |
21970
9adb35378488
* libinterp/module.mk (BUILT_SOURCES): Include oct-tex-parser.h in the list.
John W. Eaton <jwe@octave.org>
parents:
21966
diff
changeset
|
38 libinterp/corefcn/oct-tex-parser.h \ |
22078
ce69151a2d1b
fix dependency for txt-eng.cc
John W. Eaton <jwe@octave.org>
parents:
22077
diff
changeset
|
39 libinterp/corefcn/oct-tex-symbols.cc \ |
20327
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-gperf.h \ |
0ce7d8303152
eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents:
20134
diff
changeset
|
41 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
|
42 libinterp/version.h |
19878
7575048a555b
build: Declare dependencies between generated sources (bug #44383)
Mike Miller <mtmiller@ieee.org>
parents:
19798
diff
changeset
|
43 |
19775
a941a65c7cb8
handle bison syntax changes in TeX parser
John W. Eaton <jwe@octave.org>
parents:
19697
diff
changeset
|
44 ULT_PARSER_SRC := \ |
20327
0ce7d8303152
eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents:
20134
diff
changeset
|
45 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
|
46 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
|
47 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
|
48 |
a941a65c7cb8
handle bison syntax changes in TeX parser
John W. Eaton <jwe@octave.org>
parents:
19697
diff
changeset
|
49 GENERATED_PARSER_FILES := \ |
20327
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-lexer.ll \ |
21242
ae03a16f3343
don't install oct-gperf.h, oct-parse.h, or oct-tex-parser.h
John W. Eaton <jwe@octave.org>
parents:
21220
diff
changeset
|
51 libinterp/corefcn/oct-tex-parser.h \ |
20327
0ce7d8303152
eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents:
20134
diff
changeset
|
52 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
|
53 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
|
54 |
21966
112b20240c87
move docstrings in C++ files out of C strings and into comments
John W. Eaton <jwe@octave.org>
parents:
21942
diff
changeset
|
55 ## These generated files are included in the source distribution to |
112b20240c87
move docstrings in C++ files out of C strings and into comments
John W. Eaton <jwe@octave.org>
parents:
21942
diff
changeset
|
56 ## avoid needing certain tools to build from a distribution tarball. |
112b20240c87
move docstrings in C++ files out of C strings and into comments
John W. Eaton <jwe@octave.org>
parents:
21942
diff
changeset
|
57 |
20346
86299d2fbf87
* libinterp/module.mk: Don't add BUILT_DISTFILES to MAINTAINERCLEANFILES.
John W. Eaton <jwe@octave.org>
parents:
20333
diff
changeset
|
58 LIBINTERP_BUILT_DISTFILES = \ |
19775
a941a65c7cb8
handle bison syntax changes in TeX parser
John W. Eaton <jwe@octave.org>
parents:
19697
diff
changeset
|
59 $(GENERATED_PARSER_FILES) \ |
21966
112b20240c87
move docstrings in C++ files out of C strings and into comments
John W. Eaton <jwe@octave.org>
parents:
21942
diff
changeset
|
60 $(OPT_HANDLERS) \ |
20327
0ce7d8303152
eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents:
20134
diff
changeset
|
61 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
|
62 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
|
63 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
|
64 libinterp/parse-tree/oct-parse.h |
9906 | 65 |
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
|
66 ## 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
|
67 ## 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
|
68 LIBINTERP_BUILT_NODISTFILES = \ |
21220
d78e45987d6a
rename octave::build_env namespace from octave::config
John W. Eaton <jwe@octave.org>
parents:
21216
diff
changeset
|
69 libinterp/build-env.cc \ |
d78e45987d6a
rename octave::build_env namespace from octave::config
John W. Eaton <jwe@octave.org>
parents:
21216
diff
changeset
|
70 libinterp/build-env-features.cc \ |
21607
37f6ed8a6f1b
store liboctave and liboctinterp hg ids separately
John W. Eaton <jwe@octave.org>
parents:
21605
diff
changeset
|
71 libinterp/liboctinterp-build-info.cc \ |
20327
0ce7d8303152
eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents:
20134
diff
changeset
|
72 libinterp/corefcn/mxarray.h \ |
0ce7d8303152
eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents:
20134
diff
changeset
|
73 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
|
74 libinterp/corefcn/defaults.h \ |
22024
659731a4563f
build: delete generated files, keep distributed files on clean and distclean (bug #45646)
Mike Miller <mtmiller@octave.org>
parents:
22020
diff
changeset
|
75 libinterp/corefcn/graphics-props.cc \ |
20327
0ce7d8303152
eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents:
20134
diff
changeset
|
76 libinterp/corefcn/graphics.h \ |
0ce7d8303152
eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents:
20134
diff
changeset
|
77 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
|
78 libinterp/operators/ops.cc \ |
0ce7d8303152
eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents:
20134
diff
changeset
|
79 libinterp/version.h \ |
0ce7d8303152
eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents:
20134
diff
changeset
|
80 libinterp/builtins.cc |
9794
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
81 |
20366
9b44691a3520
provide per-directory clean targets
John W. Eaton <jwe@octave.org>
parents:
20356
diff
changeset
|
82 libinterp_EXTRA_DIST += \ |
22077
df50d42d4b1b
build: build doc-cache and DOCSTRINGS files in the build dir
Mike Miller <mtmiller@octave.org>
parents:
22074
diff
changeset
|
83 libinterp/DOCSTRINGS \ |
21220
d78e45987d6a
rename octave::build_env namespace from octave::config
John W. Eaton <jwe@octave.org>
parents:
21216
diff
changeset
|
84 libinterp/build-env.in.cc \ |
d78e45987d6a
rename octave::build_env namespace from octave::config
John W. Eaton <jwe@octave.org>
parents:
21216
diff
changeset
|
85 libinterp/build-env-features.sh \ |
22147
da413c03920c
distribute deprecated-config.h source file
Mike Miller <mtmiller@octave.org>
parents:
22124
diff
changeset
|
86 libinterp/deprecated-config.h \ |
20327
0ce7d8303152
eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents:
20134
diff
changeset
|
87 libinterp/gendoc.pl \ |
0ce7d8303152
eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents:
20134
diff
changeset
|
88 libinterp/genprops.awk \ |
21607
37f6ed8a6f1b
store liboctave and liboctinterp hg ids separately
John W. Eaton <jwe@octave.org>
parents:
21605
diff
changeset
|
89 libinterp/liboctinterp-build-info.in.cc \ |
20327
0ce7d8303152
eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents:
20134
diff
changeset
|
90 libinterp/mk-errno-list \ |
0ce7d8303152
eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents:
20134
diff
changeset
|
91 libinterp/mk-pkg-add \ |
0ce7d8303152
eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents:
20134
diff
changeset
|
92 libinterp/mkops \ |
22156
187b6727c75e
build doc-cache without running Octave (bug #48508)
John W. Eaton <jwe@octave.org>
parents:
22147
diff
changeset
|
93 libinterp/op-kw-docs \ |
20327
0ce7d8303152
eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents:
20134
diff
changeset
|
94 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
|
95 $(LIBINTERP_BUILT_DISTFILES) |
9794
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
96 |
20327
0ce7d8303152
eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents:
20134
diff
changeset
|
97 octinclude_HEADERS += \ |
0ce7d8303152
eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents:
20134
diff
changeset
|
98 libinterp/builtins.h \ |
21220
d78e45987d6a
rename octave::build_env namespace from octave::config
John W. Eaton <jwe@octave.org>
parents:
21216
diff
changeset
|
99 libinterp/build-env.h \ |
21607
37f6ed8a6f1b
store liboctave and liboctinterp hg ids separately
John W. Eaton <jwe@octave.org>
parents:
21605
diff
changeset
|
100 libinterp/liboctinterp-build-info.h \ |
20327
0ce7d8303152
eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents:
20134
diff
changeset
|
101 libinterp/octave.h \ |
0ce7d8303152
eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents:
20134
diff
changeset
|
102 libinterp/options-usage.h \ |
21999 | 103 $(COREFCN_INC) \ |
104 $(LIBINTERP_OPERATORS_INC) \ | |
15281
03ef3a183129
build: Use INC rather than INCLUDES for consistent naming in libinterp Makefile.am.
Rik <rik@octave.org>
parents:
15278
diff
changeset
|
105 $(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
|
106 $(PARSE_TREE_INC) \ |
21999 | 107 $(PARSER_INC) |
9794
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
108 |
21452
769f9a7c02ae
don't install headers from libinterp/operators directory (bug #41027)
John W. Eaton <jwe@octave.org>
parents:
21432
diff
changeset
|
109 noinst_HEADERS += \ |
21999 | 110 $(NOINSTALL_LIBINTERP_OPERATORS_INC) |
21452
769f9a7c02ae
don't install headers from libinterp/operators directory (bug #41027)
John W. Eaton <jwe@octave.org>
parents:
21432
diff
changeset
|
111 |
20327
0ce7d8303152
eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents:
20134
diff
changeset
|
112 nodist_octinclude_HEADERS += \ |
22024
659731a4563f
build: delete generated files, keep distributed files on clean and distclean (bug #45646)
Mike Miller <mtmiller@octave.org>
parents:
22020
diff
changeset
|
113 libinterp/builtin-defun-decls.h \ |
20327
0ce7d8303152
eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents:
20134
diff
changeset
|
114 libinterp/corefcn/defaults.h \ |
22024
659731a4563f
build: delete generated files, keep distributed files on clean and distclean (bug #45646)
Mike Miller <mtmiller@octave.org>
parents:
22020
diff
changeset
|
115 libinterp/corefcn/graphics-props.cc \ |
20327
0ce7d8303152
eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents:
20134
diff
changeset
|
116 libinterp/corefcn/graphics.h \ |
22024
659731a4563f
build: delete generated files, keep distributed files on clean and distclean (bug #45646)
Mike Miller <mtmiller@octave.org>
parents:
22020
diff
changeset
|
117 libinterp/corefcn/mxarray.h \ |
20327
0ce7d8303152
eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents:
20134
diff
changeset
|
118 libinterp/version.h |
12730
633ef00d963c
maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents:
12727
diff
changeset
|
119 |
20327
0ce7d8303152
eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents:
20134
diff
changeset
|
120 DIST_SRC += \ |
0ce7d8303152
eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents:
20134
diff
changeset
|
121 libinterp/octave.cc \ |
0ce7d8303152
eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents:
20134
diff
changeset
|
122 libinterp/version.cc \ |
15057
46b19589b593
maint: Partition src/ directory with more code in subdirs.
Rik <rik@octave.org>
parents:
15051
diff
changeset
|
123 $(OCTAVE_VALUE_SRC) \ |
46b19589b593
maint: Partition src/ directory with more code in subdirs.
Rik <rik@octave.org>
parents:
15051
diff
changeset
|
124 $(PARSE_TREE_SRC) \ |
21023
ec532a439c6f
rework method of disabling warnings from GCC
John W. Eaton <jwe@octave.org>
parents:
20712
diff
changeset
|
125 $(COREFCN_SRC) |
9794
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
126 |
20327
0ce7d8303152
eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents:
20134
diff
changeset
|
127 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
|
128 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
|
129 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
|
130 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
|
131 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
|
132 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
|
133 |
20327
0ce7d8303152
eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents:
20134
diff
changeset
|
134 $(srcdir)/libinterp/dldfcn/module.mk: $(srcdir)/libinterp/dldfcn/config-module.sh $(srcdir)/libinterp/dldfcn/config-module.awk $(srcdir)/libinterp/dldfcn/module-files |
21290
1309edb344e1
use top_srcdir, top_builddir, abs_top_srcdir or abs_top_builddir only if needed
John W. Eaton <jwe@octave.org>
parents:
21282
diff
changeset
|
135 $(AM_V_GEN)$(SHELL) $(srcdir)/libinterp/dldfcn/config-module.sh $(srcdir) |
10376
1ed7cc046c52
Makefile.am rules for rebuilding .mk files
John W. Eaton <jwe@octave.org>
parents:
10342
diff
changeset
|
136 |
9794
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
137 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
|
138 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
|
139 DLD_LIBOCTINTERP_LIBADD = libinterp/liboctinterp.la |
22006
f1136cf44edc
fix linking of DLD functions with static build
John W. Eaton <jwe@octave.org>
parents:
22002
diff
changeset
|
140 LIBINTERP_DLDFCN_LIBADD = |
9794
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
141 else |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
142 OCT_FILES = |
14295
21572e9bd365
make --disable-dl work again
John W. Eaton <jwe@octave.org>
parents:
14192
diff
changeset
|
143 DLD_LIBOCTINTERP_LIBADD = |
22006
f1136cf44edc
fix linking of DLD functions with static build
John W. Eaton <jwe@octave.org>
parents:
22002
diff
changeset
|
144 LIBINTERP_DLDFCN_LIBADD = $(DLDFCN_LIBS) |
9794
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
145 endif |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
146 |
20327
0ce7d8303152
eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents:
20134
diff
changeset
|
147 libinterp_liboctinterp_la_SOURCES = \ |
0ce7d8303152
eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents:
20134
diff
changeset
|
148 libinterp/octave.cc \ |
0ce7d8303152
eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents:
20134
diff
changeset
|
149 libinterp/version.cc \ |
0ce7d8303152
eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents:
20134
diff
changeset
|
150 $(LIBINTERP_OPERATORS_SRC) \ |
9794
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
151 $(TEMPLATE_INST_SRC) |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
152 |
20327
0ce7d8303152
eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents:
20134
diff
changeset
|
153 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
|
154 libinterp/corefcn/mxarray.h \ |
0ce7d8303152
eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents:
20134
diff
changeset
|
155 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
|
156 libinterp/corefcn/defaults.h \ |
0ce7d8303152
eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents:
20134
diff
changeset
|
157 libinterp/corefcn/graphics.h \ |
0ce7d8303152
eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents:
20134
diff
changeset
|
158 libinterp/operators/ops.cc \ |
0ce7d8303152
eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents:
20134
diff
changeset
|
159 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
|
160 libinterp/builtins.cc \ |
21220
d78e45987d6a
rename octave::build_env namespace from octave::config
John W. Eaton <jwe@octave.org>
parents:
21216
diff
changeset
|
161 libinterp/build-env.cc \ |
d78e45987d6a
rename octave::build_env namespace from octave::config
John W. Eaton <jwe@octave.org>
parents:
21216
diff
changeset
|
162 libinterp/build-env-features.cc \ |
21607
37f6ed8a6f1b
store liboctave and liboctinterp hg ids separately
John W. Eaton <jwe@octave.org>
parents:
21605
diff
changeset
|
163 libinterp/liboctinterp-build-info.cc \ |
20327
0ce7d8303152
eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents:
20134
diff
changeset
|
164 libinterp/version.h |
9794
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
165 |
20327
0ce7d8303152
eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents:
20134
diff
changeset
|
166 libinterp_liboctinterp_la_LIBADD = \ |
0ce7d8303152
eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents:
20134
diff
changeset
|
167 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
|
168 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
|
169 libinterp/corefcn/libcorefcn.la \ |
22006
f1136cf44edc
fix linking of DLD functions with static build
John W. Eaton <jwe@octave.org>
parents:
22002
diff
changeset
|
170 $(LIBINTERP_DLDFCN_LIBADD) \ |
21290
1309edb344e1
use top_srcdir, top_builddir, abs_top_srcdir or abs_top_builddir only if needed
John W. Eaton <jwe@octave.org>
parents:
21282
diff
changeset
|
171 liboctave/liboctave.la \ |
13022
05534f03377d
maint: ensure we always link with local libtool libraries
John W. Eaton <jwe@octave.org>
parents:
13016
diff
changeset
|
172 $(LIBOCTINTERP_LINK_DEPS) |
9816
b1462c588dd5
add -DX_DLL_DEFS to CPPFLAGS
John W. Eaton <jwe@octave.org>
parents:
9798
diff
changeset
|
173 |
12730
633ef00d963c
maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents:
12727
diff
changeset
|
174 # Increment these as needed and according to the rules in the libtool manual: |
22455
b8eeca55fa81
maint: Bump version number for 4.2.0-rc1.
John W. Eaton <jwe@octave.org>
parents:
22304
diff
changeset
|
175 libinterp_liboctinterp_current = 4 |
20327
0ce7d8303152
eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents:
20134
diff
changeset
|
176 libinterp_liboctinterp_revision = 0 |
0ce7d8303152
eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents:
20134
diff
changeset
|
177 libinterp_liboctinterp_age = 0 |
12708
e34f2bf7319d
maint: implement proper library versioning.
John W. Eaton <jwe@octave.org>
parents:
12218
diff
changeset
|
178 |
20327
0ce7d8303152
eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents:
20134
diff
changeset
|
179 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
|
180 |
20327
0ce7d8303152
eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents:
20134
diff
changeset
|
181 libinterp_liboctinterp_la_LDFLAGS = \ |
0ce7d8303152
eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents:
20134
diff
changeset
|
182 -version-info $(libinterp_liboctinterp_version_info) \ |
12708
e34f2bf7319d
maint: implement proper library versioning.
John W. Eaton <jwe@octave.org>
parents:
12218
diff
changeset
|
183 $(NO_UNDEFINED_LDFLAG) \ |
13010
edc5ec6e949b
maint: allow --enable-static --disable-dl to work again
John W. Eaton <jwe@octave.org>
parents:
12958
diff
changeset
|
184 -bindir $(bindir) \ |
20712
4a25c398ffa2
configure option to build with address sanitizer (bugg #46449)
John W. Eaton <jwe@octave.org>
parents:
20522
diff
changeset
|
185 $(LIBOCTINTERP_LINK_OPTS) \ |
4a25c398ffa2
configure option to build with address sanitizer (bugg #46449)
John W. Eaton <jwe@octave.org>
parents:
20522
diff
changeset
|
186 $(WARN_LDFLAGS) |
9794
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
187 |
16174
39096b290a2f
check syntax used to enable bison push/pull parser
John W. Eaton <jwe@octave.org>
parents:
16170
diff
changeset
|
188 ULT_DIST_SRC := \ |
19775
a941a65c7cb8
handle bison syntax changes in TeX parser
John W. Eaton <jwe@octave.org>
parents:
19697
diff
changeset
|
189 $(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
|
190 |
22095
6119019d42f6
move find-defun-files.sh and mkbuiltins to build-aux directory
John W. Eaton <jwe@octave.org>
parents:
22078
diff
changeset
|
191 LIBINTERP_FOUND_DEFUN_FILES := \ |
6119019d42f6
move find-defun-files.sh and mkbuiltins to build-aux directory
John W. Eaton <jwe@octave.org>
parents:
22078
diff
changeset
|
192 $(shell $(SHELL) $(srcdir)/build-aux/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
|
193 |
22095
6119019d42f6
move find-defun-files.sh and mkbuiltins to build-aux directory
John W. Eaton <jwe@octave.org>
parents:
22078
diff
changeset
|
194 BUILT_IN_DEFUN_FILES = $(OPT_HANDLERS) $(LIBINTERP_FOUND_DEFUN_FILES) |
12730
633ef00d963c
maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents:
12727
diff
changeset
|
195 |
21966
112b20240c87
move docstrings in C++ files out of C strings and into comments
John W. Eaton <jwe@octave.org>
parents:
21942
diff
changeset
|
196 DLDFCN_DEFUN_FILES = $(DLDFCN_SRC) |
112b20240c87
move docstrings in C++ files out of C strings and into comments
John W. Eaton <jwe@octave.org>
parents:
21942
diff
changeset
|
197 |
13010
edc5ec6e949b
maint: allow --enable-static --disable-dl to work again
John W. Eaton <jwe@octave.org>
parents:
12958
diff
changeset
|
198 if AMCOND_ENABLE_DYNAMIC_LINKING |
22095
6119019d42f6
move find-defun-files.sh and mkbuiltins to build-aux directory
John W. Eaton <jwe@octave.org>
parents:
22078
diff
changeset
|
199 DEFUN_FILES = $(BUILT_IN_DEFUN_FILES) |
13010
edc5ec6e949b
maint: allow --enable-static --disable-dl to work again
John W. Eaton <jwe@octave.org>
parents:
12958
diff
changeset
|
200 else |
22095
6119019d42f6
move find-defun-files.sh and mkbuiltins to build-aux directory
John W. Eaton <jwe@octave.org>
parents:
22078
diff
changeset
|
201 DEFUN_FILES = $(BUILT_IN_DEFUN_FILES) $(DLDFCN_DEFUN_FILES) |
13010
edc5ec6e949b
maint: allow --enable-static --disable-dl to work again
John W. Eaton <jwe@octave.org>
parents:
12958
diff
changeset
|
202 endif |
12730
633ef00d963c
maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents:
12727
diff
changeset
|
203 |
22095
6119019d42f6
move find-defun-files.sh and mkbuiltins to build-aux directory
John W. Eaton <jwe@octave.org>
parents:
22078
diff
changeset
|
204 LIBINTERP_DEFUN_FILES = $(BUILT_IN_DEFUN_FILES) $(DLDFCN_DEFUN_FILES) |
12730
633ef00d963c
maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents:
12727
diff
changeset
|
205 |
15415
15c435992d3c
build: Deprecate DLL_CDEFS, CLL_CXXDEFS in Makefiles.
Rik <rik@octave.org>
parents:
15363
diff
changeset
|
206 ## 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
|
207 ## 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
|
208 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
|
209 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
|
210 |
16019
5b2126a8c84f
install tests and functions to run them
John W. Eaton <jwe@octave.org>
parents:
15924
diff
changeset
|
211 ## Rules to build test files |
5b2126a8c84f
install tests and functions to run them
John W. Eaton <jwe@octave.org>
parents:
15924
diff
changeset
|
212 |
21290
1309edb344e1
use top_srcdir, top_builddir, abs_top_srcdir or abs_top_builddir only if needed
John W. Eaton <jwe@octave.org>
parents:
21282
diff
changeset
|
213 LIBINTERP_TST_FILES_SRC := $(shell $(SHELL) $(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
|
214 |
20327
0ce7d8303152
eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents:
20134
diff
changeset
|
215 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
|
216 |
20373
3c70050faa1e
Fix install paths of fixed and generated test files
Mike Miller <mtmiller@octave.org>
parents:
20366
diff
changeset
|
217 libinterptestsdir := $(octtestsdir) |
16019
5b2126a8c84f
install tests and functions to run them
John W. Eaton <jwe@octave.org>
parents:
15924
diff
changeset
|
218 |
20327
0ce7d8303152
eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents:
20134
diff
changeset
|
219 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
|
220 |
21977
b5e75ce299d8
use pattern rule for Bison
John W. Eaton <jwe@octave.org>
parents:
21971
diff
changeset
|
221 ## Cancel the suffix rule and use a pattern rule instead. |
15203
aa7f4e33c524
override automake .yy.cc rule (bug #36407)
John W. Eaton <jwe@octave.org>
parents:
15195
diff
changeset
|
222 .yy.cc: |
21977
b5e75ce299d8
use pattern rule for Bison
John W. Eaton <jwe@octave.org>
parents:
21971
diff
changeset
|
223 |
22008
5b521e104f2a
avoid updating parser source files unnecessarily
John W. Eaton <jwe@octave.org>
parents:
22006
diff
changeset
|
224 ## The ylwrap script always updates the parser source file so we use a temporary file |
22108
783d5fb46892
build: fix bison generated source files to list correct file name
Mike Miller <mtmiller@octave.org>
parents:
22095
diff
changeset
|
225 ## name and our own move-if-change rule for that file. Additionally fix up the file |
783d5fb46892
build: fix bison generated source files to list correct file name
Mike Miller <mtmiller@octave.org>
parents:
22095
diff
changeset
|
226 ## name comments that bison writes into the source file. |
21977
b5e75ce299d8
use pattern rule for Bison
John W. Eaton <jwe@octave.org>
parents:
21971
diff
changeset
|
227 %.cc %.h : %.yy |
22108
783d5fb46892
build: fix bison generated source files to list correct file name
Mike Miller <mtmiller@octave.org>
parents:
22095
diff
changeset
|
228 $(AM_V_YACC)$(am__skipyacc) rm -f $*.cc-t $*.cc-tt && \ |
783d5fb46892
build: fix bison generated source files to list correct file name
Mike Miller <mtmiller@octave.org>
parents:
22095
diff
changeset
|
229 $(SHELL) $(YLWRAP) $< y.tab.c $*.cc-t y.tab.h $*.h y.output $*.output -- $(YACCCOMPILE) && \ |
783d5fb46892
build: fix bison generated source files to list correct file name
Mike Miller <mtmiller@octave.org>
parents:
22095
diff
changeset
|
230 $(SED) 's|"$*\.cc-t"|"$*.cc"|g' $*.cc-t > $*.cc-tt && \ |
783d5fb46892
build: fix bison generated source files to list correct file name
Mike Miller <mtmiller@octave.org>
parents:
22095
diff
changeset
|
231 mv $*.cc-tt $*.cc-t && \ |
783d5fb46892
build: fix bison generated source files to list correct file name
Mike Miller <mtmiller@octave.org>
parents:
22095
diff
changeset
|
232 $(call move_if_change_rule,$*.cc-t,$*.cc) |
15203
aa7f4e33c524
override automake .yy.cc rule (bug #36407)
John W. Eaton <jwe@octave.org>
parents:
15195
diff
changeset
|
233 |
13141
e81ddf9cacd5
maint: untabify and remove trailing whitespace from source files
John W. Eaton <jwe@octave.org>
parents:
13024
diff
changeset
|
234 ## Special rules: |
12730
633ef00d963c
maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents:
12727
diff
changeset
|
235 ## 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
|
236 |
22074
5a0eea960bdb
build: fix typo of $(octave_dirstamp) in build prerequisites
Mike Miller <mtmiller@octave.org>
parents:
22067
diff
changeset
|
237 libinterp/build-env.cc: libinterp/build-env.in.cc build-aux/subst-config-vals.sh | libinterp/$(octave_dirstamp) |
21398
7e8a410e6124
break generated file dependence on Makefile (bug #46063)
John W. Eaton <jwe@octave.org>
parents:
21382
diff
changeset
|
238 $(AM_V_GEN)$(call simple-filter-rule,build-aux/subst-config-vals.sh) |
12730
633ef00d963c
maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents:
12727
diff
changeset
|
239 |
22074
5a0eea960bdb
build: fix typo of $(octave_dirstamp) in build prerequisites
Mike Miller <mtmiller@octave.org>
parents:
22067
diff
changeset
|
240 libinterp/build-env-features.cc: config.h libinterp/build-env-features.sh | libinterp/$(octave_dirstamp) |
20354
456c7e4cb34d
use move-if-change for most rules that generate source files
John W. Eaton <jwe@octave.org>
parents:
20346
diff
changeset
|
241 $(AM_V_GEN)rm -f $@-t && \ |
21281
b76955e83fe4
maint: Run all build shell scripts with SHELL as command interpreter
Mike Miller <mtmiller@octave.org>
parents:
21254
diff
changeset
|
242 $(SHELL) $(srcdir)/libinterp/build-env-features.sh $< > $@-t && \ |
21966
112b20240c87
move docstrings in C++ files out of C strings and into comments
John W. Eaton <jwe@octave.org>
parents:
21942
diff
changeset
|
243 mv $@-t $@ |
16170
2a4f83826024
new way to test for features in Octave scripts
John W. Eaton <jwe@octave.org>
parents:
16156
diff
changeset
|
244 |
22074
5a0eea960bdb
build: fix typo of $(octave_dirstamp) in build prerequisites
Mike Miller <mtmiller@octave.org>
parents:
22067
diff
changeset
|
245 libinterp/version.h: libinterp/version.in.h build-aux/mk-version-h.sh | libinterp/$(octave_dirstamp) |
21398
7e8a410e6124
break generated file dependence on Makefile (bug #46063)
John W. Eaton <jwe@octave.org>
parents:
21382
diff
changeset
|
246 $(AM_V_GEN)$(call simple-filter-rule,build-aux/mk-version-h.sh) |
12730
633ef00d963c
maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents:
12727
diff
changeset
|
247 |
22074
5a0eea960bdb
build: fix typo of $(octave_dirstamp) in build prerequisites
Mike Miller <mtmiller@octave.org>
parents:
22067
diff
changeset
|
248 libinterp/liboctinterp-build-info.cc: libinterp/liboctinterp-build-info.in.cc HG-ID | libinterp/$(octave_dirstamp) |
21598
cf552443c104
revise method of handling hg id for build info
John W. Eaton <jwe@octave.org>
parents:
21597
diff
changeset
|
249 $(AM_V_GEN)rm -f $@-t && \ |
cf552443c104
revise method of handling hg id for build info
John W. Eaton <jwe@octave.org>
parents:
21597
diff
changeset
|
250 $(SED) \ |
cf552443c104
revise method of handling hg id for build info
John W. Eaton <jwe@octave.org>
parents:
21597
diff
changeset
|
251 -e "s|%NO_EDIT_WARNING%|DO NOT EDIT! Generated automatically by Makefile|" \ |
22020
e154d23b2fd1
maint: reduce multiple mentions of the HG-ID file name and contents
Mike Miller <mtmiller@octave.org>
parents:
22015
diff
changeset
|
252 -e "s|%OCTAVE_HG_ID%|$(HG_ID_VAR)|" $< > $@-t && \ |
21598
cf552443c104
revise method of handling hg id for build info
John W. Eaton <jwe@octave.org>
parents:
21597
diff
changeset
|
253 $(simple_move_if_change_rule) |
21597
fe1447ae68cf
Add more info to version.m and store build info in the binary (bug #45659)
mmuetzel <markus.muetzel@gmx.de>
parents:
21452
diff
changeset
|
254 |
22002
40e9cb6bd95c
avoid macros in generated built-in function files
John W. Eaton <jwe@octave.org>
parents:
21999
diff
changeset
|
255 if AMCOND_ENABLE_DYNAMIC_LINKING |
40e9cb6bd95c
avoid macros in generated built-in function files
John W. Eaton <jwe@octave.org>
parents:
21999
diff
changeset
|
256 mkbuiltins_dld_opt = |
40e9cb6bd95c
avoid macros in generated built-in function files
John W. Eaton <jwe@octave.org>
parents:
21999
diff
changeset
|
257 else |
40e9cb6bd95c
avoid macros in generated built-in function files
John W. Eaton <jwe@octave.org>
parents:
21999
diff
changeset
|
258 mkbuiltins_dld_opt = --disable-dl |
40e9cb6bd95c
avoid macros in generated built-in function files
John W. Eaton <jwe@octave.org>
parents:
21999
diff
changeset
|
259 endif |
40e9cb6bd95c
avoid macros in generated built-in function files
John W. Eaton <jwe@octave.org>
parents:
21999
diff
changeset
|
260 |
22095
6119019d42f6
move find-defun-files.sh and mkbuiltins to build-aux directory
John W. Eaton <jwe@octave.org>
parents:
22078
diff
changeset
|
261 libinterp/builtins.cc: $(LIBINTERP_DEFUN_FILES) build-aux/mk-builtins.sh | libinterp/$(octave_dirstamp) |
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 && \ |
22095
6119019d42f6
move find-defun-files.sh and mkbuiltins to build-aux directory
John W. Eaton <jwe@octave.org>
parents:
22078
diff
changeset
|
263 $(SHELL) $(srcdir)/build-aux/mk-builtins.sh --source $(mkbuiltins_dld_opt) "$(srcdir)" -- $(LIBINTERP_DEFUN_FILES) > $@-t && \ |
21966
112b20240c87
move docstrings in C++ files out of C strings and into comments
John W. Eaton <jwe@octave.org>
parents:
21942
diff
changeset
|
264 mv $@-t $@ |
15418
60090630cb76
generate declarations for all built-in DEFUN functions
John W. Eaton <jwe@octave.org>
parents:
15417
diff
changeset
|
265 |
22095
6119019d42f6
move find-defun-files.sh and mkbuiltins to build-aux directory
John W. Eaton <jwe@octave.org>
parents:
22078
diff
changeset
|
266 libinterp/builtin-defun-decls.h: $(LIBINTERP_DEFUN_FILES) build-aux/mk-builtins.sh | libinterp/$(octave_dirstamp) |
20354
456c7e4cb34d
use move-if-change for most rules that generate source files
John W. Eaton <jwe@octave.org>
parents:
20346
diff
changeset
|
267 $(AM_V_GEN)rm -f $@-t && \ |
22095
6119019d42f6
move find-defun-files.sh and mkbuiltins to build-aux directory
John W. Eaton <jwe@octave.org>
parents:
22078
diff
changeset
|
268 $(SHELL) $(srcdir)/build-aux/mk-builtins.sh --header $(mkbuiltins_dld_opt) "$(srcdir)" -- $(LIBINTERP_DEFUN_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
|
269 $(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
|
270 |
13010
edc5ec6e949b
maint: allow --enable-static --disable-dl to work again
John W. Eaton <jwe@octave.org>
parents:
12958
diff
changeset
|
271 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
|
272 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
|
273 |
22074
5a0eea960bdb
build: fix typo of $(octave_dirstamp) in build prerequisites
Mike Miller <mtmiller@octave.org>
parents:
22067
diff
changeset
|
274 libinterp/dldfcn/PKG_ADD: $(DLDFCN_DEFUN_FILES) libinterp/mk-pkg-add | libinterp/$(octave_dirstamp) |
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 && \ |
21966
112b20240c87
move docstrings in C++ files out of C strings and into comments
John W. Eaton <jwe@octave.org>
parents:
21942
diff
changeset
|
276 $(SHELL) $(srcdir)/libinterp/mk-pkg-add "$(srcdir)" $(DLDFCN_DEFUN_FILES) > $@-t && \ |
112b20240c87
move docstrings in C++ files out of C strings and into comments
John W. Eaton <jwe@octave.org>
parents:
21942
diff
changeset
|
277 mv $@-t $@ |
13010
edc5ec6e949b
maint: allow --enable-static --disable-dl to work again
John W. Eaton <jwe@octave.org>
parents:
12958
diff
changeset
|
278 endif |
12730
633ef00d963c
maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents:
12727
diff
changeset
|
279 |
22077
df50d42d4b1b
build: build doc-cache and DOCSTRINGS files in the build dir
Mike Miller <mtmiller@octave.org>
parents:
22074
diff
changeset
|
280 DOCSTRING_FILES += libinterp/DOCSTRINGS |
20393
0fbe2e28ea84
build: Avoid triggering rebuild of docs when DOCSTRINGS regenerated (bug #45567)
Mike Miller <mtmiller@octave.org>
parents:
20373
diff
changeset
|
281 |
22156
187b6727c75e
build doc-cache without running Octave (bug #48508)
John W. Eaton <jwe@octave.org>
parents:
22147
diff
changeset
|
282 libinterp/DOCSTRINGS: $(LIBINTERP_DEFUN_FILES) libinterp/op-kw-docs | libinterp/$(octave_dirstamp) |
21673
9631aac4b635
build: avoid writing to srcdir unless DOCSTRINGS contents change (bug #47832)
Mike Miller <mtmiller@octave.org>
parents:
21653
diff
changeset
|
283 $(AM_V_GEN)rm -f libinterp/DOCSTRINGS-t && \ |
22304
c0cdf1c92086
strip header from op-kw-docs when generating libinterp/DOCSTRINGS
John W. Eaton <jwe@octave.org>
parents:
22156
diff
changeset
|
284 ( $(PERL) $(srcdir)/libinterp/gendoc.pl "$(srcdir)" $(LIBINTERP_DEFUN_FILES); $(SED) -ne '/^\x1d/,$$p' $(srcdir)/libinterp/op-kw-docs ) > libinterp/DOCSTRINGS-t && \ |
22067
1340feab13a8
restore move-if-change rule for DOCSTRINGS files (bug #48430)
John W. Eaton <jwe@octave.org>
parents:
22030
diff
changeset
|
285 $(call move_if_change_rule,libinterp/DOCSTRINGS-t,$@) |
20327
0ce7d8303152
eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents:
20134
diff
changeset
|
286 |
0ce7d8303152
eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents:
20134
diff
changeset
|
287 OCTAVE_INTERPRETER_TARGETS += \ |
0ce7d8303152
eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents:
20134
diff
changeset
|
288 $(OCT_FILES) \ |
22614
78b3c48be3e6
build -tst files with "make all" (bug #49310)
John W. Eaton <jwe@octave.org>
parents:
22455
diff
changeset
|
289 $(DLDFCN_PKG_ADD_FILE) \ |
78b3c48be3e6
build -tst files with "make all" (bug #49310)
John W. Eaton <jwe@octave.org>
parents:
22455
diff
changeset
|
290 $(LIBINTERP_TST_FILES) |
20327
0ce7d8303152
eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents:
20134
diff
changeset
|
291 |
22074
5a0eea960bdb
build: fix typo of $(octave_dirstamp) in build prerequisites
Mike Miller <mtmiller@octave.org>
parents:
22067
diff
changeset
|
292 DIRSTAMP_FILES += libinterp/$(octave_dirstamp) |
5a0eea960bdb
build: fix typo of $(octave_dirstamp) in build prerequisites
Mike Miller <mtmiller@octave.org>
parents:
22067
diff
changeset
|
293 |
22124
64f82a8b46e1
config.h: install a stub replacement with a deprecation warning (bug #41027)
Mike Miller <mtmiller@octave.org>
parents:
22108
diff
changeset
|
294 install-data-hook: install-oct install-built-in-docstrings install-deprecated-config-h |
12730
633ef00d963c
maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents:
12727
diff
changeset
|
295 |
22124
64f82a8b46e1
config.h: install a stub replacement with a deprecation warning (bug #41027)
Mike Miller <mtmiller@octave.org>
parents:
22108
diff
changeset
|
296 uninstall-local: uninstall-oct uninstall-built-in-docstrings uninstall-deprecated-config-h |
12730
633ef00d963c
maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents:
12727
diff
changeset
|
297 |
633ef00d963c
maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents:
12727
diff
changeset
|
298 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
|
299 install-oct: |
17232
090145ad5b4b
build: Eliminate obsolete mkinstalldirs helper scripts
Mike Miller <mtmiller@ieee.org>
parents:
16892
diff
changeset
|
300 $(MKDIR_P) $(DESTDIR)$(octfiledir) |
15076
000587f92082
rename src/DLD-FUNCTIONS directory to src/dldfcn
John W. Eaton <jwe@octave.org>
parents:
15075
diff
changeset
|
301 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
|
302 $(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
|
303 fi |
633ef00d963c
maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents:
12727
diff
changeset
|
304 cd $(DESTDIR)$(octlibdir) && \ |
15076
000587f92082
rename src/DLD-FUNCTIONS directory to src/dldfcn
John W. Eaton <jwe@octave.org>
parents:
15075
diff
changeset
|
305 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
|
306 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
|
307 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
|
308 if [ -n "$$dl" ]; then \ |
633ef00d963c
maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents:
12727
diff
changeset
|
309 $(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
|
310 else \ |
633ef00d963c
maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents:
12727
diff
changeset
|
311 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
|
312 exit 1; \ |
633ef00d963c
maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents:
12727
diff
changeset
|
313 fi; \ |
633ef00d963c
maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents:
12727
diff
changeset
|
314 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
|
315 if [ -n "$$lnames" ]; then \ |
633ef00d963c
maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents:
12727
diff
changeset
|
316 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
|
317 fi \ |
633ef00d963c
maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents:
12727
diff
changeset
|
318 done |
633ef00d963c
maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents:
12727
diff
changeset
|
319 |
633ef00d963c
maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents:
12727
diff
changeset
|
320 uninstall-oct: |
633ef00d963c
maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents:
12727
diff
changeset
|
321 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
|
322 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
|
323 done |
633ef00d963c
maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents:
12727
diff
changeset
|
324 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
|
325 endif |
633ef00d963c
maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents:
12727
diff
changeset
|
326 .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
|
327 |
22156
187b6727c75e
build doc-cache without running Octave (bug #48508)
John W. Eaton <jwe@octave.org>
parents:
22147
diff
changeset
|
328 install-built-in-docstrings: libinterp/DOCSTRINGS |
15482
cb49817af457
ensure $(octetcdir) exists when installing built-in-docstrings file
John W. Eaton <jwe@octave.org>
parents:
15470
diff
changeset
|
329 $(MKDIR_P) $(DESTDIR)$(octetcdir) |
22156
187b6727c75e
build doc-cache without running Octave (bug #48508)
John W. Eaton <jwe@octave.org>
parents:
22147
diff
changeset
|
330 $(INSTALL_DATA) $< $(DESTDIR)$(octetcdir)/built-in-docstrings |
21971
eb68218e743a
create and install built-in docstrings file even with --disable-docs
John W. Eaton <jwe@octave.org>
parents:
21970
diff
changeset
|
331 .PHONY: install-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
|
332 |
07231ebb6df3
build: Add rule to uninstall built-in-docstrings and allow distcheck to pass.
Rik <rik@octave.org>
parents:
15768
diff
changeset
|
333 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
|
334 rm -f $(DESTDIR)$(octetcdir)/built-in-docstrings |
21971
eb68218e743a
create and install built-in docstrings file even with --disable-docs
John W. Eaton <jwe@octave.org>
parents:
21970
diff
changeset
|
335 .PHONY: uninstall-built-in-docstrings |
15470
bf0857c789f4
initialize docstrings for built-in functions from file
John W. Eaton <jwe@octave.org>
parents:
15463
diff
changeset
|
336 |
22124
64f82a8b46e1
config.h: install a stub replacement with a deprecation warning (bug #41027)
Mike Miller <mtmiller@octave.org>
parents:
22108
diff
changeset
|
337 install-deprecated-config-h: libinterp/deprecated-config.h |
64f82a8b46e1
config.h: install a stub replacement with a deprecation warning (bug #41027)
Mike Miller <mtmiller@octave.org>
parents:
22108
diff
changeset
|
338 $(MKDIR_P) $(DESTDIR)$(octincludedir) |
64f82a8b46e1
config.h: install a stub replacement with a deprecation warning (bug #41027)
Mike Miller <mtmiller@octave.org>
parents:
22108
diff
changeset
|
339 $(INSTALL_DATA) $< $(DESTDIR)$(octincludedir)/config.h |
64f82a8b46e1
config.h: install a stub replacement with a deprecation warning (bug #41027)
Mike Miller <mtmiller@octave.org>
parents:
22108
diff
changeset
|
340 .PHONY: install-deprecated-config-h |
64f82a8b46e1
config.h: install a stub replacement with a deprecation warning (bug #41027)
Mike Miller <mtmiller@octave.org>
parents:
22108
diff
changeset
|
341 |
64f82a8b46e1
config.h: install a stub replacement with a deprecation warning (bug #41027)
Mike Miller <mtmiller@octave.org>
parents:
22108
diff
changeset
|
342 uninstall-deprecated-config-h: |
64f82a8b46e1
config.h: install a stub replacement with a deprecation warning (bug #41027)
Mike Miller <mtmiller@octave.org>
parents:
22108
diff
changeset
|
343 rm -f $(DESTDIR)$(octincludedir)/config.h |
64f82a8b46e1
config.h: install a stub replacement with a deprecation warning (bug #41027)
Mike Miller <mtmiller@octave.org>
parents:
22108
diff
changeset
|
344 .PHONY: uninstall-deprecated-config-h |
64f82a8b46e1
config.h: install a stub replacement with a deprecation warning (bug #41027)
Mike Miller <mtmiller@octave.org>
parents:
22108
diff
changeset
|
345 |
20366
9b44691a3520
provide per-directory clean targets
John W. Eaton <jwe@octave.org>
parents:
20356
diff
changeset
|
346 EXTRA_DIST += $(libinterp_EXTRA_DIST) |
9b44691a3520
provide per-directory clean targets
John W. Eaton <jwe@octave.org>
parents:
20356
diff
changeset
|
347 |
9b44691a3520
provide per-directory clean targets
John W. Eaton <jwe@octave.org>
parents:
20356
diff
changeset
|
348 libinterp_CLEANFILES += \ |
15076
000587f92082
rename src/DLD-FUNCTIONS directory to src/dldfcn
John W. Eaton <jwe@octave.org>
parents:
15075
diff
changeset
|
349 $(DLDFCN_PKG_ADD_FILE) \ |
22024
659731a4563f
build: delete generated files, keep distributed files on clean and distclean (bug #45646)
Mike Miller <mtmiller@octave.org>
parents:
22020
diff
changeset
|
350 $(LIBINTERP_BUILT_NODISTFILES) \ |
22015
cb25e0da9541
build: clean all PKG_ADD, *.oct, and *-tst files on 'make clean'
Mike Miller <mtmiller@octave.org>
parents:
22008
diff
changeset
|
351 $(LIBINTERP_TST_FILES) \ |
cb25e0da9541
build: clean all PKG_ADD, *.oct, and *-tst files on 'make clean'
Mike Miller <mtmiller@octave.org>
parents:
22008
diff
changeset
|
352 $(OCT_FILES) \ |
20327
0ce7d8303152
eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents:
20134
diff
changeset
|
353 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
|
354 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
|
355 |
20366
9b44691a3520
provide per-directory clean targets
John W. Eaton <jwe@octave.org>
parents:
20356
diff
changeset
|
356 libinterp_MAINTAINERCLEANFILES += \ |
22077
df50d42d4b1b
build: build doc-cache and DOCSTRINGS files in the build dir
Mike Miller <mtmiller@octave.org>
parents:
22074
diff
changeset
|
357 libinterp/DOCSTRINGS \ |
20346
86299d2fbf87
* libinterp/module.mk: Don't add BUILT_DISTFILES to MAINTAINERCLEANFILES.
John W. Eaton <jwe@octave.org>
parents:
20333
diff
changeset
|
358 $(LIBINTERP_BUILT_DISTFILES) |
16056
f4f0aea29b21
build: remove *-tst files with distclean rule.
Rik <rik@octave.org>
parents:
16019
diff
changeset
|
359 |
20346
86299d2fbf87
* libinterp/module.mk: Don't add BUILT_DISTFILES to MAINTAINERCLEANFILES.
John W. Eaton <jwe@octave.org>
parents:
20333
diff
changeset
|
360 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
|
361 BUILT_NODISTFILES += $(LIBINTERP_BUILT_NODISTFILES) |
20366
9b44691a3520
provide per-directory clean targets
John W. Eaton <jwe@octave.org>
parents:
20356
diff
changeset
|
362 |
9b44691a3520
provide per-directory clean targets
John W. Eaton <jwe@octave.org>
parents:
20356
diff
changeset
|
363 CLEANFILES += $(libinterp_CLEANFILES) |
9b44691a3520
provide per-directory clean targets
John W. Eaton <jwe@octave.org>
parents:
20356
diff
changeset
|
364 DISTCLEANFILES += $(libinterp_DISTCLEANFILES) |
9b44691a3520
provide per-directory clean targets
John W. Eaton <jwe@octave.org>
parents:
20356
diff
changeset
|
365 MAINTAINERCLEANFILES += $(libinterp_MAINTAINERCLEANFILES) |
9b44691a3520
provide per-directory clean targets
John W. Eaton <jwe@octave.org>
parents:
20356
diff
changeset
|
366 |
9b44691a3520
provide per-directory clean targets
John W. Eaton <jwe@octave.org>
parents:
20356
diff
changeset
|
367 libinterp-clean: |
9b44691a3520
provide per-directory clean targets
John W. Eaton <jwe@octave.org>
parents:
20356
diff
changeset
|
368 rm -f $(libinterp_CLEANFILES) |
9b44691a3520
provide per-directory clean targets
John W. Eaton <jwe@octave.org>
parents:
20356
diff
changeset
|
369 |
9b44691a3520
provide per-directory clean targets
John W. Eaton <jwe@octave.org>
parents:
20356
diff
changeset
|
370 libinterp-distclean: libinterp-clean |
9b44691a3520
provide per-directory clean targets
John W. Eaton <jwe@octave.org>
parents:
20356
diff
changeset
|
371 rm -f $(libinterp_DISTCLEANFILES) |
9b44691a3520
provide per-directory clean targets
John W. Eaton <jwe@octave.org>
parents:
20356
diff
changeset
|
372 |
9b44691a3520
provide per-directory clean targets
John W. Eaton <jwe@octave.org>
parents:
20356
diff
changeset
|
373 libinterp-maintainer-clean: libinterp-distclean |
9b44691a3520
provide per-directory clean targets
John W. Eaton <jwe@octave.org>
parents:
20356
diff
changeset
|
374 rm -f $(libinterp_MAINTAINERCLEANFILES) |