annotate libinterp/module.mk @ 32956:99d90c3bd485 stable rc-9-0-90

bump version for first 9.1 release candidate * configure.ac (AC_INIT): Set version to 9.0.90. (OCTAVE_PATCH_VERSION): Set to 90. (OCTAVE_RELEASE_DATE): Set to 2024-02-07. * etc/NEWS.9.md: Update. * libgui/module.mk (%canon_reldir%_liboctgui_current): Set to 10. * libinterp/module.mk (%canon_reldir%_liboctinterp_current): Set to 12. * liboctave/module.mk (%canon_reldir%_%canon_reldir%_current): Set to 11.
author John W. Eaton <jwe@octave.org>
date Wed, 07 Feb 2024 01:49:59 -0500
parents 4fe09c1b4148
children 9d55ab463cdd
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
25897
440eb4707570 reorganize rules for building .oct files
John W. Eaton <jwe@octave.org>
parents: 25882
diff changeset
1 LIBINTERP_DEFUN_FILES =
440eb4707570 reorganize rules for building .oct files
John W. Eaton <jwe@octave.org>
parents: 25882
diff changeset
2
23495
8308417aff1c use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents: 23439
diff changeset
3 %canon_reldir%_EXTRA_DIST =
20366
9b44691a3520 provide per-directory clean targets
John W. Eaton <jwe@octave.org>
parents: 20356
diff changeset
4
23495
8308417aff1c use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents: 23439
diff changeset
5 %canon_reldir%_CLEANFILES =
8308417aff1c use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents: 23439
diff changeset
6 %canon_reldir%_DISTCLEANFILES =
8308417aff1c use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents: 23439
diff changeset
7 %canon_reldir%_MAINTAINERCLEANFILES =
20366
9b44691a3520 provide per-directory clean targets
John W. Eaton <jwe@octave.org>
parents: 20356
diff changeset
8
14397
670feb71afde maint: Move @CPPFLAGS@ to end of AM_CPPFLAGS lists in Makefiles.
John W. Eaton <jwe@octave.org>
parents: 14348
diff changeset
9 ## Search local directories before those specified by the user.
23495
8308417aff1c use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents: 23439
diff changeset
10 %canon_reldir%_liboctinterp_la_CPPFLAGS = \
20327
0ce7d8303152 eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents: 20134
diff changeset
11 @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
12 -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
13 -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
14 -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
15 -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
16 -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
17 -I$(srcdir)/liboctave/util \
23495
8308417aff1c use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents: 23439
diff changeset
18 -I$(srcdir)/%reldir%/octave-value \
20327
0ce7d8303152 eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents: 20134
diff changeset
19 -Ilibinterp -I$(srcdir)/libinterp \
23495
8308417aff1c use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents: 23439
diff changeset
20 -I$(srcdir)/%reldir%/operators \
8308417aff1c use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents: 23439
diff changeset
21 -I%reldir%/parse-tree -I$(srcdir)/%reldir%/parse-tree \
8308417aff1c use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents: 23439
diff changeset
22 -I%reldir%/corefcn -I$(srcdir)/%reldir%/corefcn \
21888
00f1249f2483 create wrappers for some gnulib functions
John W. Eaton <jwe@octave.org>
parents: 21680
diff changeset
23 -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
24 $(HDF5_CPPFLAGS) \
6586202b3a87 make __magick_read__ a built-in function (bug #41699)
John W. Eaton <jwe@octave.org>
parents: 21673
diff changeset
25 $(MAGICK_CPPFLAGS)
9794
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
26
23495
8308417aff1c use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents: 23439
diff changeset
27 octlib_LTLIBRARIES += %reldir%/liboctinterp.la
15363
482d92904aa4 don't use WARN_CXXFLAGS for qterminal library
John W. Eaton <jwe@octave.org>
parents: 15281
diff changeset
28
25391
26070f36f1e7 Provide octave configuration files for pkg-config (bug #48775)
Carnë Draug <carandraug@octave.org>
parents: 25295
diff changeset
29 %canon_reldir%_pkgconfig_DATA = %reldir%/octinterp.pc
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
21966
112b20240c87 move docstrings in C++ files out of C strings and into comments
John W. Eaton <jwe@octave.org>
parents: 21942
diff changeset
31 BUILT_SOURCES += \
23495
8308417aff1c use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents: 23439
diff changeset
32 %reldir%/builtin-defun-decls.h \
23720
d3a9ffc9fdbd move config macros from defaults.cc to a separate file
John W. Eaton <jwe@octave.org>
parents: 23714
diff changeset
33 %reldir%/corefcn/default-defs.h \
23495
8308417aff1c use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents: 23439
diff changeset
34 %reldir%/corefcn/graphics-props.cc \
8308417aff1c use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents: 23439
diff changeset
35 %reldir%/corefcn/graphics.h \
28123
4963f23b145c move mex type definitions to separate file
John W. Eaton <jwe@octave.org>
parents: 28090
diff changeset
36 %reldir%/corefcn/mxtypes.h \
23495
8308417aff1c use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents: 23439
diff changeset
37 %reldir%/corefcn/oct-tex-parser.h \
8308417aff1c use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents: 23439
diff changeset
38 %reldir%/corefcn/oct-tex-symbols.cc \
8308417aff1c use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents: 23439
diff changeset
39 %reldir%/parse-tree/oct-gperf.h \
25397
2cf750f5cb7d make version info accessible in liboctave
John W. Eaton <jwe@octave.org>
parents: 25391
diff changeset
40 %reldir%/parse-tree/oct-parse.h
19878
7575048a555b build: Declare dependencies between generated sources (bug #44383)
Mike Miller <mtmiller@ieee.org>
parents: 19798
diff changeset
41
19775
a941a65c7cb8 handle bison syntax changes in TeX parser
John W. Eaton <jwe@octave.org>
parents: 19697
diff changeset
42 ULT_PARSER_SRC := \
25637
e1c3d1c6e896 don't substitute api.prefix style in bison input files
John W. Eaton <jwe@octave.org>
parents: 25593
diff changeset
43 %reldir%/corefcn/oct-tex-lexer.in.ll
19775
a941a65c7cb8 handle bison syntax changes in TeX parser
John W. Eaton <jwe@octave.org>
parents: 19697
diff changeset
44
a941a65c7cb8 handle bison syntax changes in TeX parser
John W. Eaton <jwe@octave.org>
parents: 19697
diff changeset
45 GENERATED_PARSER_FILES := \
23495
8308417aff1c use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents: 23439
diff changeset
46 %reldir%/corefcn/oct-tex-lexer.ll \
8308417aff1c use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents: 23439
diff changeset
47 %reldir%/corefcn/oct-tex-parser.h \
25637
e1c3d1c6e896 don't substitute api.prefix style in bison input files
John W. Eaton <jwe@octave.org>
parents: 25593
diff changeset
48 %reldir%/parse-tree/oct-parse.h
19775
a941a65c7cb8 handle bison syntax changes in TeX parser
John W. Eaton <jwe@octave.org>
parents: 19697
diff changeset
49
21966
112b20240c87 move docstrings in C++ files out of C strings and into comments
John W. Eaton <jwe@octave.org>
parents: 21942
diff changeset
50 ## 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
51 ## 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
52
20346
86299d2fbf87 * libinterp/module.mk: Don't add BUILT_DISTFILES to MAINTAINERCLEANFILES.
John W. Eaton <jwe@octave.org>
parents: 20333
diff changeset
53 LIBINTERP_BUILT_DISTFILES = \
19775
a941a65c7cb8 handle bison syntax changes in TeX parser
John W. Eaton <jwe@octave.org>
parents: 19697
diff changeset
54 $(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
55 $(OPT_HANDLERS) \
23495
8308417aff1c use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents: 23439
diff changeset
56 %reldir%/corefcn/oct-tex-symbols.cc \
25637
e1c3d1c6e896 don't substitute api.prefix style in bison input files
John W. Eaton <jwe@octave.org>
parents: 25593
diff changeset
57 %reldir%/parse-tree/oct-gperf.h
9906
8d20fb66a0dc more automake fixes
John W. Eaton <jwe@octave.org>
parents: 9864
diff changeset
58
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
59 ## 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
60 ## 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
61 LIBINTERP_BUILT_NODISTFILES = \
23724
517078d102ff distribute default-defs.in.h, not defaults.h
John W. Eaton <jwe@octave.org>
parents: 23720
diff changeset
62 %reldir%/build-env-features.cc \
23495
8308417aff1c use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents: 23439
diff changeset
63 %reldir%/build-env.cc \
23724
517078d102ff distribute default-defs.in.h, not defaults.h
John W. Eaton <jwe@octave.org>
parents: 23720
diff changeset
64 %reldir%/builtin-defun-decls.h \
517078d102ff distribute default-defs.in.h, not defaults.h
John W. Eaton <jwe@octave.org>
parents: 23720
diff changeset
65 %reldir%/builtins.cc \
23720
d3a9ffc9fdbd move config macros from defaults.cc to a separate file
John W. Eaton <jwe@octave.org>
parents: 23714
diff changeset
66 %reldir%/corefcn/default-defs.h \
23495
8308417aff1c use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents: 23439
diff changeset
67 %reldir%/corefcn/graphics-props.cc \
8308417aff1c use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents: 23439
diff changeset
68 %reldir%/corefcn/graphics.h \
28123
4963f23b145c move mex type definitions to separate file
John W. Eaton <jwe@octave.org>
parents: 28090
diff changeset
69 %reldir%/corefcn/mxtypes.h \
23724
517078d102ff distribute default-defs.in.h, not defaults.h
John W. Eaton <jwe@octave.org>
parents: 23720
diff changeset
70 %reldir%/corefcn/oct-errno.cc \
517078d102ff distribute default-defs.in.h, not defaults.h
John W. Eaton <jwe@octave.org>
parents: 23720
diff changeset
71 %reldir%/liboctinterp-build-info.cc \
25397
2cf750f5cb7d make version info accessible in liboctave
John W. Eaton <jwe@octave.org>
parents: 25391
diff changeset
72 %reldir%/operators/ops.cc
9794
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
73
32361
4acb694518de Search for tests in and install octave-value template sources (bug #64696).
John W. Eaton <jwe@octave.org>
parents: 32242
diff changeset
74 ## C++ files with templates that are #included, not compiled
4acb694518de Search for tests in and install octave-value template sources (bug #64696).
John W. Eaton <jwe@octave.org>
parents: 32242
diff changeset
75 LIBINTERP_TEMPLATE_SRC =
4acb694518de Search for tests in and install octave-value template sources (bug #64696).
John W. Eaton <jwe@octave.org>
parents: 32242
diff changeset
76
23495
8308417aff1c use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents: 23439
diff changeset
77 %canon_reldir%_EXTRA_DIST += \
8308417aff1c use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents: 23439
diff changeset
78 %reldir%/DOCSTRINGS \
8308417aff1c use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents: 23439
diff changeset
79 %reldir%/build-env.in.cc \
8308417aff1c use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents: 23439
diff changeset
80 %reldir%/liboctinterp-build-info.in.cc \
23710
279a6bd429f4 rename a few more build scripts for consistency
John W. Eaton <jwe@octave.org>
parents: 23709
diff changeset
81 %reldir%/mk-build-env-features.sh \
23709
3b68aeeabc40 rename some build scripts for consistency and move them to where they are used
John W. Eaton <jwe@octave.org>
parents: 23495
diff changeset
82 %reldir%/mk-builtins.pl \
3b68aeeabc40 rename some build scripts for consistency and move them to where they are used
John W. Eaton <jwe@octave.org>
parents: 23495
diff changeset
83 %reldir%/mk-doc.pl \
23495
8308417aff1c use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents: 23439
diff changeset
84 %reldir%/op-kw-docs \
20346
86299d2fbf87 * libinterp/module.mk: Don't add BUILT_DISTFILES to MAINTAINERCLEANFILES.
John W. Eaton <jwe@octave.org>
parents: 20333
diff changeset
85 $(LIBINTERP_BUILT_DISTFILES)
9794
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
86
20327
0ce7d8303152 eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents: 20134
diff changeset
87 octinclude_HEADERS += \
23495
8308417aff1c use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents: 23439
diff changeset
88 %reldir%/build-env.h \
8308417aff1c use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents: 23439
diff changeset
89 %reldir%/liboctinterp-build-info.h \
8308417aff1c use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents: 23439
diff changeset
90 %reldir%/octave.h \
21999
492472927079 install ops.h again.
John W. Eaton <jwe@octave.org>
parents: 21977
diff changeset
91 $(COREFCN_INC) \
492472927079 install ops.h again.
John W. Eaton <jwe@octave.org>
parents: 21977
diff changeset
92 $(LIBINTERP_OPERATORS_INC) \
32361
4acb694518de Search for tests in and install octave-value template sources (bug #64696).
John W. Eaton <jwe@octave.org>
parents: 32242
diff changeset
93 $(LIBINTERP_TEMPLATE_SRC) \
15281
03ef3a183129 build: Use INC rather than INCLUDES for consistent naming in libinterp Makefile.am.
Rik <rik@octave.org>
parents: 15278
diff changeset
94 $(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
95 $(PARSE_TREE_INC) \
31396
7e60506a5428 Prevent implicit instantiations of the Array class template (bug #61711).
Markus Mützel <markus.muetzel@gmx.de>
parents: 31281
diff changeset
96 $(PARSER_INC) \
7e60506a5428 Prevent implicit instantiations of the Array class template (bug #61711).
Markus Mützel <markus.muetzel@gmx.de>
parents: 31281
diff changeset
97 $(TEMPLATE_INST_INC)
9794
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
98
21452
769f9a7c02ae don't install headers from libinterp/operators directory (bug #41027)
John W. Eaton <jwe@octave.org>
parents: 21432
diff changeset
99 noinst_HEADERS += \
29898
dffd1c943f1a main.cc: Use getopt to parse command line arguments (bug #60886).
Markus Mützel <markus.muetzel@gmx.de>
parents: 29733
diff changeset
100 %reldir%/options.h \
dffd1c943f1a main.cc: Use getopt to parse command line arguments (bug #60886).
Markus Mützel <markus.muetzel@gmx.de>
parents: 29733
diff changeset
101 %reldir%/usage.h \
21999
492472927079 install ops.h again.
John W. Eaton <jwe@octave.org>
parents: 21977
diff changeset
102 $(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
103
20327
0ce7d8303152 eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents: 20134
diff changeset
104 nodist_octinclude_HEADERS += \
23495
8308417aff1c use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents: 23439
diff changeset
105 %reldir%/builtin-defun-decls.h \
8308417aff1c use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents: 23439
diff changeset
106 %reldir%/corefcn/graphics.h \
28123
4963f23b145c move mex type definitions to separate file
John W. Eaton <jwe@octave.org>
parents: 28090
diff changeset
107 %reldir%/corefcn/mxtypes.h
12730
633ef00d963c maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents: 12727
diff changeset
108
20327
0ce7d8303152 eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents: 20134
diff changeset
109 DIST_SRC += \
23495
8308417aff1c use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents: 23439
diff changeset
110 %reldir%/octave.cc \
32361
4acb694518de Search for tests in and install octave-value template sources (bug #64696).
John W. Eaton <jwe@octave.org>
parents: 32242
diff changeset
111 $(LIBINTERP_TEMPLATE_SRC) \
15057
46b19589b593 maint: Partition src/ directory with more code in subdirs.
Rik <rik@octave.org>
parents: 15051
diff changeset
112 $(OCTAVE_VALUE_SRC) \
46b19589b593 maint: Partition src/ directory with more code in subdirs.
Rik <rik@octave.org>
parents: 15051
diff changeset
113 $(PARSE_TREE_SRC) \
21023
ec532a439c6f rework method of disabling warnings from GCC
John W. Eaton <jwe@octave.org>
parents: 20712
diff changeset
114 $(COREFCN_SRC)
9794
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
115
23495
8308417aff1c use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents: 23439
diff changeset
116 include %reldir%/parse-tree/module.mk
8308417aff1c use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents: 23439
diff changeset
117 include %reldir%/octave-value/module.mk
8308417aff1c use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents: 23439
diff changeset
118 include %reldir%/operators/module.mk
8308417aff1c use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents: 23439
diff changeset
119 include %reldir%/template-inst/module.mk
8308417aff1c use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents: 23439
diff changeset
120 include %reldir%/corefcn/module.mk
8308417aff1c use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents: 23439
diff changeset
121 include %reldir%/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
122
25882
22ee68edcf3a require dynamic loading capabilities to build Octave
John W. Eaton <jwe@octave.org>
parents: 25772
diff changeset
123 DLD_LIBOCTINTERP_LIBADD = $(OCT_LINK_DEPS)
22ee68edcf3a require dynamic loading capabilities to build Octave
John W. Eaton <jwe@octave.org>
parents: 25772
diff changeset
124 LIBINTERP_DLDFCN_LIBADD =
9794
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
125
23495
8308417aff1c use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents: 23439
diff changeset
126 %canon_reldir%_liboctinterp_la_SOURCES = \
8308417aff1c use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents: 23439
diff changeset
127 %reldir%/octave.cc \
20327
0ce7d8303152 eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents: 20134
diff changeset
128 $(LIBINTERP_OPERATORS_SRC) \
9794
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
129 $(TEMPLATE_INST_SRC)
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
130
23495
8308417aff1c use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents: 23439
diff changeset
131 nodist_%canon_reldir%_liboctinterp_la_SOURCES = \
23724
517078d102ff distribute default-defs.in.h, not defaults.h
John W. Eaton <jwe@octave.org>
parents: 23720
diff changeset
132 %reldir%/build-env-features.cc \
517078d102ff distribute default-defs.in.h, not defaults.h
John W. Eaton <jwe@octave.org>
parents: 23720
diff changeset
133 %reldir%/build-env.cc \
517078d102ff distribute default-defs.in.h, not defaults.h
John W. Eaton <jwe@octave.org>
parents: 23720
diff changeset
134 %reldir%/builtin-defun-decls.h \
517078d102ff distribute default-defs.in.h, not defaults.h
John W. Eaton <jwe@octave.org>
parents: 23720
diff changeset
135 %reldir%/builtins.cc \
23720
d3a9ffc9fdbd move config macros from defaults.cc to a separate file
John W. Eaton <jwe@octave.org>
parents: 23714
diff changeset
136 %reldir%/corefcn/default-defs.h \
23495
8308417aff1c use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents: 23439
diff changeset
137 %reldir%/corefcn/graphics.h \
28123
4963f23b145c move mex type definitions to separate file
John W. Eaton <jwe@octave.org>
parents: 28090
diff changeset
138 %reldir%/corefcn/mxtypes.h \
23724
517078d102ff distribute default-defs.in.h, not defaults.h
John W. Eaton <jwe@octave.org>
parents: 23720
diff changeset
139 %reldir%/corefcn/oct-errno.cc \
517078d102ff distribute default-defs.in.h, not defaults.h
John W. Eaton <jwe@octave.org>
parents: 23720
diff changeset
140 %reldir%/liboctinterp-build-info.cc \
25397
2cf750f5cb7d make version info accessible in liboctave
John W. Eaton <jwe@octave.org>
parents: 25391
diff changeset
141 %reldir%/operators/ops.cc
9794
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
142
23495
8308417aff1c use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents: 23439
diff changeset
143 %canon_reldir%_liboctinterp_la_LIBADD = \
8308417aff1c use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents: 23439
diff changeset
144 %reldir%/octave-value/liboctave-value.la \
8308417aff1c use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents: 23439
diff changeset
145 %reldir%/parse-tree/libparse-tree.la \
8308417aff1c use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents: 23439
diff changeset
146 %reldir%/corefcn/libcorefcn.la \
22006
f1136cf44edc fix linking of DLD functions with static build
John W. Eaton <jwe@octave.org>
parents: 22002
diff changeset
147 $(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
148 liboctave/liboctave.la \
13022
05534f03377d maint: ensure we always link with local libtool libraries
John W. Eaton <jwe@octave.org>
parents: 13016
diff changeset
149 $(LIBOCTINTERP_LINK_DEPS)
9816
b1462c588dd5 add -DX_DLL_DEFS to CPPFLAGS
John W. Eaton <jwe@octave.org>
parents: 9798
diff changeset
150
25487
fbc270aeb55d * interpreter.cc (intialize_xerbla_error_handler, xerbla_abort): New functions.
John W. Eaton <jwe@octave.org>
parents: 25295
diff changeset
151 if AMCOND_BUILD_EXTERNAL_LIBXERBLA
fbc270aeb55d * interpreter.cc (intialize_xerbla_error_handler, xerbla_abort): New functions.
John W. Eaton <jwe@octave.org>
parents: 25295
diff changeset
152 %canon_reldir%_liboctinterp_la_LIBADD += \
fbc270aeb55d * interpreter.cc (intialize_xerbla_error_handler, xerbla_abort): New functions.
John W. Eaton <jwe@octave.org>
parents: 25295
diff changeset
153 liboctave/external/blas-xtra/libxerbla.la
fbc270aeb55d * interpreter.cc (intialize_xerbla_error_handler, xerbla_abort): New functions.
John W. Eaton <jwe@octave.org>
parents: 25295
diff changeset
154 endif
fbc270aeb55d * interpreter.cc (intialize_xerbla_error_handler, xerbla_abort): New functions.
John W. Eaton <jwe@octave.org>
parents: 25295
diff changeset
155
25590
02766a14c461 add info about version numbers in etc/HACKING.md file
John W. Eaton <jwe@octave.org>
parents: 25488
diff changeset
156 ## Increment the following version numbers as needed and according
02766a14c461 add info about version numbers in etc/HACKING.md file
John W. Eaton <jwe@octave.org>
parents: 25488
diff changeset
157 ## to the rules in the etc/HACKING.md file:
02766a14c461 add info about version numbers in etc/HACKING.md file
John W. Eaton <jwe@octave.org>
parents: 25488
diff changeset
158
32956
99d90c3bd485 bump version for first 9.1 release candidate
John W. Eaton <jwe@octave.org>
parents: 32470
diff changeset
159 %canon_reldir%_liboctinterp_current = 12
29733
fc282fdd1a42 bump version for 6.2.90 release candidate
John W. Eaton <jwe@octave.org>
parents: 29360
diff changeset
160 %canon_reldir%_liboctinterp_revision = 0
23495
8308417aff1c use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents: 23439
diff changeset
161 %canon_reldir%_liboctinterp_age = 0
12708
e34f2bf7319d maint: implement proper library versioning.
John W. Eaton <jwe@octave.org>
parents: 12218
diff changeset
162
23495
8308417aff1c use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents: 23439
diff changeset
163 %canon_reldir%_liboctinterp_version_info = $(%canon_reldir%_liboctinterp_current):$(%canon_reldir%_liboctinterp_revision):$(%canon_reldir%_liboctinterp_age)
12708
e34f2bf7319d maint: implement proper library versioning.
John W. Eaton <jwe@octave.org>
parents: 12218
diff changeset
164
23495
8308417aff1c use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents: 23439
diff changeset
165 %canon_reldir%_liboctinterp_la_LDFLAGS = \
8308417aff1c use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents: 23439
diff changeset
166 -version-info $(%canon_reldir%_liboctinterp_version_info) \
12708
e34f2bf7319d maint: implement proper library versioning.
John W. Eaton <jwe@octave.org>
parents: 12218
diff changeset
167 $(NO_UNDEFINED_LDFLAG) \
13010
edc5ec6e949b maint: allow --enable-static --disable-dl to work again
John W. Eaton <jwe@octave.org>
parents: 12958
diff changeset
168 -bindir $(bindir) \
20712
4a25c398ffa2 configure option to build with address sanitizer (bugg #46449)
John W. Eaton <jwe@octave.org>
parents: 20522
diff changeset
169 $(LIBOCTINTERP_LINK_OPTS) \
4a25c398ffa2 configure option to build with address sanitizer (bugg #46449)
John W. Eaton <jwe@octave.org>
parents: 20522
diff changeset
170 $(WARN_LDFLAGS)
9794
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
171
16174
39096b290a2f check syntax used to enable bison push/pull parser
John W. Eaton <jwe@octave.org>
parents: 16170
diff changeset
172 ULT_DIST_SRC := \
23714
70f1cabab2ba fix file lists for renaming of defaults.in.h and defaults.cc
John W. Eaton <jwe@octave.org>
parents: 23710
diff changeset
173 $(filter-out $(GENERATED_PARSER_FILES), $(DIST_SRC)) \
70f1cabab2ba fix file lists for renaming of defaults.in.h and defaults.cc
John W. Eaton <jwe@octave.org>
parents: 23710
diff changeset
174 $(ULT_PARSER_SRC)
16174
39096b290a2f check syntax used to enable bison push/pull parser
John W. Eaton <jwe@octave.org>
parents: 16170
diff changeset
175
22095
6119019d42f6 move find-defun-files.sh and mkbuiltins to build-aux directory
John W. Eaton <jwe@octave.org>
parents: 22078
diff changeset
176 LIBINTERP_FOUND_DEFUN_FILES := \
31899
c01849481834 avoid problems with $(shell ...) execution in Makefile
John W. Eaton <jwe@octave.org>
parents: 31773
diff changeset
177 $(shell $(SHELL) 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
178
25897
440eb4707570 reorganize rules for building .oct files
John W. Eaton <jwe@octave.org>
parents: 25882
diff changeset
179 BUILT_IN_DEFUN_FILES := $(OPT_HANDLERS) $(LIBINTERP_FOUND_DEFUN_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
180
25897
440eb4707570 reorganize rules for building .oct files
John W. Eaton <jwe@octave.org>
parents: 25882
diff changeset
181 LIBINTERP_DEFUN_FILES += \
440eb4707570 reorganize rules for building .oct files
John W. Eaton <jwe@octave.org>
parents: 25882
diff changeset
182 $(BUILT_IN_DEFUN_FILES)
12730
633ef00d963c maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents: 12727
diff changeset
183
16019
5b2126a8c84f install tests and functions to run them
John W. Eaton <jwe@octave.org>
parents: 15924
diff changeset
184 ## Rules to build test files
5b2126a8c84f install tests and functions to run them
John W. Eaton <jwe@octave.org>
parents: 15924
diff changeset
185
31899
c01849481834 avoid problems with $(shell ...) execution in Makefile
John W. Eaton <jwe@octave.org>
parents: 31773
diff changeset
186 LIBINTERP_TST_FILES_SRC := $(shell $(SHELL) 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
187
20327
0ce7d8303152 eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents: 20134
diff changeset
188 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
189
20373
3c70050faa1e Fix install paths of fixed and generated test files
Mike Miller <mtmiller@octave.org>
parents: 20366
diff changeset
190 libinterptestsdir := $(octtestsdir)
16019
5b2126a8c84f install tests and functions to run them
John W. Eaton <jwe@octave.org>
parents: 15924
diff changeset
191
20327
0ce7d8303152 eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents: 20134
diff changeset
192 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
193
21977
b5e75ce299d8 use pattern rule for Bison
John W. Eaton <jwe@octave.org>
parents: 21971
diff changeset
194 ## 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
195 .yy.cc:
21977
b5e75ce299d8 use pattern rule for Bison
John W. Eaton <jwe@octave.org>
parents: 21971
diff changeset
196
b5e75ce299d8 use pattern rule for Bison
John W. Eaton <jwe@octave.org>
parents: 21971
diff changeset
197 %.cc %.h : %.yy
30170
72adc88bc674 modernize bison rules
John W. Eaton <jwe@octave.org>
parents: 29899
diff changeset
198 $(AM_V_BISON)$(am__skipbison) $(BISONCOMPILE) --defines="$*.h" --output="$*.cc" $<
15203
aa7f4e33c524 override automake .yy.cc rule (bug #36407)
John W. Eaton <jwe@octave.org>
parents: 15195
diff changeset
199
13141
e81ddf9cacd5 maint: untabify and remove trailing whitespace from source files
John W. Eaton <jwe@octave.org>
parents: 13024
diff changeset
200 ## Special rules:
12730
633ef00d963c maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents: 12727
diff changeset
201 ## 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
202
23495
8308417aff1c use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents: 23439
diff changeset
203 %reldir%/build-env.cc: %reldir%/build-env.in.cc build-aux/subst-config-vals.sh | %reldir%/$(octave_dirstamp)
21398
7e8a410e6124 break generated file dependence on Makefile (bug #46063)
John W. Eaton <jwe@octave.org>
parents: 21382
diff changeset
204 $(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
205
23710
279a6bd429f4 rename a few more build scripts for consistency
John W. Eaton <jwe@octave.org>
parents: 23709
diff changeset
206 %reldir%/build-env-features.cc: config.h %reldir%/mk-build-env-features.sh | %reldir%/$(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
207 $(AM_V_GEN)rm -f $@-t && \
23710
279a6bd429f4 rename a few more build scripts for consistency
John W. Eaton <jwe@octave.org>
parents: 23709
diff changeset
208 $(SHELL) $(srcdir)/%reldir%/mk-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
209 mv $@-t $@
16170
2a4f83826024 new way to test for features in Octave scripts
John W. Eaton <jwe@octave.org>
parents: 16156
diff changeset
210
23495
8308417aff1c use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents: 23439
diff changeset
211 %reldir%/liboctinterp-build-info.cc: %reldir%/liboctinterp-build-info.in.cc HG-ID | %reldir%/$(octave_dirstamp)
23427
48fd5980e29a Refactor and normalize generated build info source files
Mike Miller <mtmiller@octave.org>
parents: 23426
diff changeset
212 $(AM_V_GEN)$(build-info-commands)
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
213
25882
22ee68edcf3a require dynamic loading capabilities to build Octave
John W. Eaton <jwe@octave.org>
parents: 25772
diff changeset
214 mkbuiltins_dld_opt =
22002
40e9cb6bd95c avoid macros in generated built-in function files
John W. Eaton <jwe@octave.org>
parents: 21999
diff changeset
215
23709
3b68aeeabc40 rename some build scripts for consistency and move them to where they are used
John W. Eaton <jwe@octave.org>
parents: 23495
diff changeset
216 %reldir%/builtins.cc: $(LIBINTERP_DEFUN_FILES) %reldir%/mk-builtins.pl | %reldir%/$(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
217 $(AM_V_GEN)rm -f $@-t && \
23709
3b68aeeabc40 rename some build scripts for consistency and move them to where they are used
John W. Eaton <jwe@octave.org>
parents: 23495
diff changeset
218 $(PERL) $(srcdir)/%reldir%/mk-builtins.pl --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
219 mv $@-t $@
15418
60090630cb76 generate declarations for all built-in DEFUN functions
John W. Eaton <jwe@octave.org>
parents: 15417
diff changeset
220
23709
3b68aeeabc40 rename some build scripts for consistency and move them to where they are used
John W. Eaton <jwe@octave.org>
parents: 23495
diff changeset
221 %reldir%/builtin-defun-decls.h: $(LIBINTERP_DEFUN_FILES) %reldir%/mk-builtins.pl | %reldir%/$(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
222 $(AM_V_GEN)rm -f $@-t && \
23709
3b68aeeabc40 rename some build scripts for consistency and move them to where they are used
John W. Eaton <jwe@octave.org>
parents: 23495
diff changeset
223 $(PERL) $(srcdir)/%reldir%/mk-builtins.pl --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
224 $(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
225
23495
8308417aff1c use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents: 23439
diff changeset
226 DOCSTRING_FILES += %reldir%/DOCSTRINGS
20393
0fbe2e28ea84 build: Avoid triggering rebuild of docs when DOCSTRINGS regenerated (bug #45567)
Mike Miller <mtmiller@octave.org>
parents: 20373
diff changeset
227
23495
8308417aff1c use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents: 23439
diff changeset
228 %reldir%/DOCSTRINGS: $(LIBINTERP_DEFUN_FILES) %reldir%/op-kw-docs | %reldir%/$(octave_dirstamp)
8308417aff1c use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents: 23439
diff changeset
229 $(AM_V_GEN)rm -f %reldir%/DOCSTRINGS-t && \
23709
3b68aeeabc40 rename some build scripts for consistency and move them to where they are used
John W. Eaton <jwe@octave.org>
parents: 23495
diff changeset
230 ( $(PERL) $(srcdir)/%reldir%/mk-doc.pl "$(srcdir)" $(LIBINTERP_DEFUN_FILES); $(SED) -ne '/^\x1d/,$$p' $(srcdir)/%reldir%/op-kw-docs ) > %reldir%/DOCSTRINGS-t && \
23495
8308417aff1c use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents: 23439
diff changeset
231 $(call move_if_change_rule,%reldir%/DOCSTRINGS-t,$@)
20327
0ce7d8303152 eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents: 20134
diff changeset
232
0ce7d8303152 eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents: 20134
diff changeset
233 OCTAVE_INTERPRETER_TARGETS += \
22614
78b3c48be3e6 build -tst files with "make all" (bug #49310)
John W. Eaton <jwe@octave.org>
parents: 22455
diff changeset
234 $(LIBINTERP_TST_FILES)
20327
0ce7d8303152 eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents: 20134
diff changeset
235
23495
8308417aff1c use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents: 23439
diff changeset
236 DIRSTAMP_FILES += %reldir%/$(octave_dirstamp)
22074
5a0eea960bdb build: fix typo of $(octave_dirstamp) in build prerequisites
Mike Miller <mtmiller@octave.org>
parents: 22067
diff changeset
237
24567
3fa85fe6e495 don't install config.h (bug #52837)
John W. Eaton <jwe@octave.org>
parents: 23724
diff changeset
238 install-data-hook: install-oct install-built-in-docstrings
12730
633ef00d963c maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents: 12727
diff changeset
239
24567
3fa85fe6e495 don't install config.h (bug #52837)
John W. Eaton <jwe@octave.org>
parents: 23724
diff changeset
240 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
241
23495
8308417aff1c use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents: 23439
diff changeset
242 install-built-in-docstrings: %reldir%/DOCSTRINGS
15482
cb49817af457 ensure $(octetcdir) exists when installing built-in-docstrings file
John W. Eaton <jwe@octave.org>
parents: 15470
diff changeset
243 $(MKDIR_P) $(DESTDIR)$(octetcdir)
22156
187b6727c75e build doc-cache without running Octave (bug #48508)
John W. Eaton <jwe@octave.org>
parents: 22147
diff changeset
244 $(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
245 .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
246
07231ebb6df3 build: Add rule to uninstall built-in-docstrings and allow distcheck to pass.
Rik <rik@octave.org>
parents: 15768
diff changeset
247 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
248 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
249 .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
250
23495
8308417aff1c use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents: 23439
diff changeset
251 EXTRA_DIST += $(%canon_reldir%_EXTRA_DIST)
20366
9b44691a3520 provide per-directory clean targets
John W. Eaton <jwe@octave.org>
parents: 20356
diff changeset
252
23495
8308417aff1c use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents: 23439
diff changeset
253 %canon_reldir%_CLEANFILES += \
22024
659731a4563f build: delete generated files, keep distributed files on clean and distclean (bug #45646)
Mike Miller <mtmiller@octave.org>
parents: 22020
diff changeset
254 $(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
255 $(LIBINTERP_TST_FILES) \
23495
8308417aff1c use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents: 23439
diff changeset
256 %reldir%/corefcn/oct-tex-parser.output \
8308417aff1c use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents: 23439
diff changeset
257 %reldir%/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
258
25391
26070f36f1e7 Provide octave configuration files for pkg-config (bug #48775)
Carnë Draug <carandraug@octave.org>
parents: 25295
diff changeset
259 %canon_reldir%_DISTCLEANFILES += \
26070f36f1e7 Provide octave configuration files for pkg-config (bug #48775)
Carnë Draug <carandraug@octave.org>
parents: 25295
diff changeset
260 $(%canon_reldir%_pkgconfig_DATA)
26070f36f1e7 Provide octave configuration files for pkg-config (bug #48775)
Carnë Draug <carandraug@octave.org>
parents: 25295
diff changeset
261
23495
8308417aff1c use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents: 23439
diff changeset
262 %canon_reldir%_MAINTAINERCLEANFILES += \
8308417aff1c use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents: 23439
diff changeset
263 %reldir%/DOCSTRINGS \
20346
86299d2fbf87 * libinterp/module.mk: Don't add BUILT_DISTFILES to MAINTAINERCLEANFILES.
John W. Eaton <jwe@octave.org>
parents: 20333
diff changeset
264 $(LIBINTERP_BUILT_DISTFILES)
16056
f4f0aea29b21 build: remove *-tst files with distclean rule.
Rik <rik@octave.org>
parents: 16019
diff changeset
265
20346
86299d2fbf87 * libinterp/module.mk: Don't add BUILT_DISTFILES to MAINTAINERCLEANFILES.
John W. Eaton <jwe@octave.org>
parents: 20333
diff changeset
266 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
267 BUILT_NODISTFILES += $(LIBINTERP_BUILT_NODISTFILES)
20366
9b44691a3520 provide per-directory clean targets
John W. Eaton <jwe@octave.org>
parents: 20356
diff changeset
268
23495
8308417aff1c use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents: 23439
diff changeset
269 CLEANFILES += $(%canon_reldir%_CLEANFILES)
8308417aff1c use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents: 23439
diff changeset
270 DISTCLEANFILES += $(%canon_reldir%_DISTCLEANFILES)
8308417aff1c use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents: 23439
diff changeset
271 MAINTAINERCLEANFILES += $(%canon_reldir%_MAINTAINERCLEANFILES)
20366
9b44691a3520 provide per-directory clean targets
John W. Eaton <jwe@octave.org>
parents: 20356
diff changeset
272
9b44691a3520 provide per-directory clean targets
John W. Eaton <jwe@octave.org>
parents: 20356
diff changeset
273 libinterp-clean:
23495
8308417aff1c use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents: 23439
diff changeset
274 rm -f $(%canon_reldir%_CLEANFILES)
20366
9b44691a3520 provide per-directory clean targets
John W. Eaton <jwe@octave.org>
parents: 20356
diff changeset
275
9b44691a3520 provide per-directory clean targets
John W. Eaton <jwe@octave.org>
parents: 20356
diff changeset
276 libinterp-distclean: libinterp-clean
23495
8308417aff1c use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents: 23439
diff changeset
277 rm -f $(%canon_reldir%_DISTCLEANFILES)
20366
9b44691a3520 provide per-directory clean targets
John W. Eaton <jwe@octave.org>
parents: 20356
diff changeset
278
9b44691a3520 provide per-directory clean targets
John W. Eaton <jwe@octave.org>
parents: 20356
diff changeset
279 libinterp-maintainer-clean: libinterp-distclean
23495
8308417aff1c use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents: 23439
diff changeset
280 rm -f $(%canon_reldir%_MAINTAINERCLEANFILES)