Mercurial > octave
annotate Makefile.am @ 21398:7e8a410e6124
break generated file dependence on Makefile (bug #46063)
* build-aux/mk-mxarray-h.in.sh, build-aux/mk-version-h.in.sh,
build-aux/subst-config-vals.in.sh,
build-aux/subst-cross-config-vals.in.sh,
build-aux/subst-default-vals.in.sh,
build-aux/subst-f77-isnan-macro.in.sh,
build-aux/subst-script-vals.in.sh: New files with commands extracted
from build-aux/common.mk.
* build-aux/common.mk (ADDRESS_SANITIZER_OPTIONS,
do_subst_config_vals, do_subst_cross_config_vals,
do_subst_default_vals, do_subst_script_vals):
Eliminate macros that are now in script files.
(FONTCONFIG_CPPFLAGS, FT2_CPPFLAGS, LIBEXT): Move definition to configure.ac,
use AC_SUBST to put values in subst-config-vals.sh and
build-aux/subst-cross-config-vals.sh.
(startupfiledir, localstartupfiledir): Move definition to configure.ac,
use AC_SUBST to put values in subst-default-vals.sh.
(ALL_FFLAGS): Delete unused macro.
(simple-filter-rule): New macro.
* build-aux/mk-default-qt-settings.in.sh: Rename and adapt from
libgui/mk-default-qt-settings.in.
* build-aux/mk-f77-def.in.sh: Rename and adapt from
liboctave/cruft/mkf77def.in.
* Makefile.am (EXTRA_DIST): Include new files in the list.
* acinclude.m4 (OCTAVE_CONFIG_MOVE_IF_CHANGE_FILES): Assume file names
have the suffix .sh and are generated from .in.sh.
* Makefile.am (run-octave): Depend on build-aux/subst-script-vals.sh
instead of Makefile.
(octave-config.h): Use move-if-change rule.
* configure.ac: Use ${X} instead of $(X) for variables in
OCTAVE_SET_DEFAULT args.
(SHARED_LIBS, STATIC_LIBS): AC_SUBST them.
Protect timestamp of oct-conf-post.h with a move-if-change rule.
* etc/module.mk (etc/icons/octave.appdata.xml,
etc/icons/octave.desktop): Don't depend on Makefile.
* libgui/module.mk (libgui/default-qt-settings):
Depend on build-aux/mk-default-qt-settings.sh instead of Makefile.
* build-env.h, build-env.cc (ALL_CFLAGS, ALL_CXXFLAGS, ALL_FFLAGS,
ALL_LDFLAGS, LIBFLAGS): Delete variables.
* libinterp/corefcn/module.mk ($(OPT_HANDLERS), $(COREFCN_FT2_DF),
libinterp/corefcn/defaults.h, libinterp/corefcn/graphics.h,
libinterp/corefcn/graphics-props.cc, libinterp/corefcn/oct-errno.cc,
libinterp/corefcn/mxarray.h, libinterp/corefcn/oct-tex-lexer.ll):
Depend on timestamp file to ensure destination directory exists.
(libinterp/corefcn/graphics.h, libinterp/corefcn/graphics-props.cc,
libinterp/corefcn/oct-errno.cc, libinterp/corefcn/oct-tex-lexer.ll,
libinterp/corefcn/oct-tex-symbols.cc):
Use mv instead of move-if-change.
(libinterp/corefcn/mxarray.h): Use script to substitute values.
Depend on libinterp/corefcn/mxarray.in.h instead of Makefile
* libinterp/corefcn/toplev.cc (octave_config_info): Don't include
ALL_CFLAGS, ALL_CXXFLAGS, ALL_FFLAGS, ALL_LDFLAGS, of LIBFLAGS in the
list.
* libinterp/module.mk ($(SRC_DEF_FILES)): Don't depend on Makefile.
(libinterp/build-env.cc, libinterp/build-env-features.cc,
libinterp/builtins.cc, libinterp/builtin-defun-decls.h,
libinterp/dldfcn/PKG_ADD, libinterp/.DOCSTRINGS): Depend on timestamp
file to ensure destination directory exists.
(libinterp/build-env.cc): Depend on build-aux/subst-config-vals.sh
instead of Makefile.
(libinterp/version.h): Use script to substitute values.
Depend on build-aux/mk-version-h.sh instead of libinterp/version.in.h.
* liboctave/cruft/module.mk (liboctave/cruft/cruft.def): Depend on
timestamp file to ensure destination directory exists.
(liboctave_DISTCLEANFILES): Remove liboctave/cruft/mkf77def from the
list.
(liboctave_EXTRA_DIST): Don't add liboctave/cruft/mkf77def.in to the
list.
* liboctave/cruft/ranlib/module.mk
(liboctave/cruft/ranlib/ranlib.def): Depend on timestamp file to
ensure destination directory exists.
* liboctave/cruft/slatec-fn/module.mk
(liboctave/cruft/slatec-fn/erfc.f, liboctave/cruft/slatec-fn/derfc.f):
Depend on timestamp file to ensure destination directory exists.
Use script to substitute values. Depend on
build-aux/subst-f77-isnan-macro.sh instead of Makefile.
(do-subst-isnan-macro): Delete macro.
* scripts/module.mk (GEN_FCN_FILES_TEMPLATE): Use simple-filter-rule
to execute build-aux/subst-config-vals.sh. Depend on
build-aux/subst-config-vals.sh instead of Makefile.
(scripts/.DOCSTRINGS): Don't depend on Makefile. Do depend on
timestamp file to ensure destination directory exists.
* src/module.mk (src/$(host_triplet)-mkoctfile.cc,
src/$(host_triplet)-octave-config.cc): Depend on
build-aux/subst-cross-config-vals.sh instead of Makefile.
(src/octave-config.cc, src/mkoctfile.cc, src/main.cc): Depend on
build-aux/subst-default-vals.sh instead of Makefile.
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Fri, 04 Mar 2016 12:51:00 -0500 |
parents | 4f994c3f88fc |
children | 9773a1c2b55f |
rev | line source |
---|---|
15269
b42167e9d805
maint: Update Makefile.am comments to refer to Octave (program) rather than octave (command).
Rik <rik@octave.org>
parents:
15196
diff
changeset
|
1 # Makefile for Octave |
9794
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
2 # |
19697
4197fc428c7d
maint: Update copyright notices for 2015.
John W. Eaton <jwe@octave.org>
parents:
19596
diff
changeset
|
3 # Copyright (C) 1993-2015 John W. Eaton |
9794
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
4 # |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
5 # This file is part of Octave. |
19593
446c46af4b42
strip trailing whitespace from most source files
John W. Eaton <jwe@octave.org>
parents:
18914
diff
changeset
|
6 # |
9794
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
7 # Octave is free software; you can redistribute it and/or modify it |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
8 # under the terms of the GNU General Public License as published by the |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
9 # Free Software Foundation; either version 3 of the License, or (at |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
10 # your option) any later version. |
19593
446c46af4b42
strip trailing whitespace from most source files
John W. Eaton <jwe@octave.org>
parents:
18914
diff
changeset
|
11 # |
9794
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
12 # Octave is distributed in the hope that it will be useful, but WITHOUT |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
13 # ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
14 # FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
15 # for more details. |
19593
446c46af4b42
strip trailing whitespace from most source files
John W. Eaton <jwe@octave.org>
parents:
18914
diff
changeset
|
16 # |
9794
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
17 # You should have received a copy of the GNU General Public License |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
18 # along with Octave; see the file COPYING. If not, see |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
19 # <http://www.gnu.org/licenses/>. |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
20 |
12733
b67c2d580a25
maint: clean up top-level directory
John W. Eaton <jwe@octave.org>
parents:
12725
diff
changeset
|
21 include build-aux/common.mk |
9794
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
22 |
20328
fa9fa6ab76f0
eliminate recursive make invocation in scripts directory tree
John W. Eaton <jwe@octave.org>
parents:
20327
diff
changeset
|
23 image_DATA = |
20293
d6879b59f46f
eliminate recursive make invocation in examples directory tree
John W. Eaton <jwe@octave.org>
parents:
19841
diff
changeset
|
24 octdata_DATA = |
d6879b59f46f
eliminate recursive make invocation in examples directory tree
John W. Eaton <jwe@octave.org>
parents:
19841
diff
changeset
|
25 octetc_DATA = |
20326
8ef616eec739
eliminate recursive make invocation in libgui directory tree
John W. Eaton <jwe@octave.org>
parents:
20325
diff
changeset
|
26 octlocale_DATA = |
20293
d6879b59f46f
eliminate recursive make invocation in examples directory tree
John W. Eaton <jwe@octave.org>
parents:
19841
diff
changeset
|
27 |
9794
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
28 ACLOCAL_AMFLAGS = -I m4 |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
29 |
20342
0e2da885a410
fix lists of files to distribute
John W. Eaton <jwe@octave.org>
parents:
20328
diff
changeset
|
30 DOC_TARGETS = |
0e2da885a410
fix lists of files to distribute
John W. Eaton <jwe@octave.org>
parents:
20328
diff
changeset
|
31 |
20327
0ce7d8303152
eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents:
20326
diff
changeset
|
32 BUILT_DISTFILES = |
0ce7d8303152
eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents:
20326
diff
changeset
|
33 BUILT_NODISTFILES = |
0ce7d8303152
eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents:
20326
diff
changeset
|
34 EXTRA_DIST = |
0ce7d8303152
eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents:
20326
diff
changeset
|
35 |
0ce7d8303152
eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents:
20326
diff
changeset
|
36 BUILT_DISTFILES += \ |
20307
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
20306
diff
changeset
|
37 AUTHORS \ |
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
20306
diff
changeset
|
38 BUGS \ |
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
20306
diff
changeset
|
39 ChangeLog \ |
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
20306
diff
changeset
|
40 INSTALL.OCTAVE |
9794
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
41 |
20327
0ce7d8303152
eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents:
20326
diff
changeset
|
42 EXTRA_DIST += \ |
20385
956119b6e6d1
build: Restore AUTHORS, BUGS, and INSTALL.OCTAVE to source tarball
Mike Miller <mtmiller@octave.org>
parents:
20384
diff
changeset
|
43 CITATION \ |
9794
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
44 COPYING \ |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
45 INSTALL \ |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
46 NEWS \ |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
47 README \ |
20385
956119b6e6d1
build: Restore AUTHORS, BUGS, and INSTALL.OCTAVE to source tarball
Mike Miller <mtmiller@octave.org>
parents:
20384
diff
changeset
|
48 build-aux/OctJavaQry.class \ |
16031
6076458ddf98
distribute build-aux/find-files-with-tests.sh
John W. Eaton <jwe@octave.org>
parents:
15920
diff
changeset
|
49 build-aux/find-files-with-tests.sh \ |
21398
7e8a410e6124
break generated file dependence on Makefile (bug #46063)
John W. Eaton <jwe@octave.org>
parents:
21390
diff
changeset
|
50 build-aux/mk-default-qt-settings.in.sh \ |
7e8a410e6124
break generated file dependence on Makefile (bug #46063)
John W. Eaton <jwe@octave.org>
parents:
21390
diff
changeset
|
51 build-aux/mk-f77-def.in.sh \ |
7e8a410e6124
break generated file dependence on Makefile (bug #46063)
John W. Eaton <jwe@octave.org>
parents:
21390
diff
changeset
|
52 build-aux/mk-mxarray-h.in.sh \ |
7e8a410e6124
break generated file dependence on Makefile (bug #46063)
John W. Eaton <jwe@octave.org>
parents:
21390
diff
changeset
|
53 build-aux/mk-version-h.in.sh \ |
21229
a83e7a384ee0
create and install a subset of config.h in octave-config.h
John W. Eaton <jwe@octave.org>
parents:
20412
diff
changeset
|
54 build-aux/mk-octave-config-h.sh \ |
12733
b67c2d580a25
maint: clean up top-level directory
John W. Eaton <jwe@octave.org>
parents:
12725
diff
changeset
|
55 build-aux/mk-opts.pl \ |
b67c2d580a25
maint: clean up top-level directory
John W. Eaton <jwe@octave.org>
parents:
12725
diff
changeset
|
56 build-aux/move-if-change \ |
17878
0d660785098e
work around GCC bug in stl_algo.h (nth_element and sort; bug #40436)
John W. Eaton <jwe@octave.org>
parents:
17763
diff
changeset
|
57 build-aux/stl_algo.h-fixed \ |
21398
7e8a410e6124
break generated file dependence on Makefile (bug #46063)
John W. Eaton <jwe@octave.org>
parents:
21390
diff
changeset
|
58 build-aux/subst-config-vals.in.sh \ |
7e8a410e6124
break generated file dependence on Makefile (bug #46063)
John W. Eaton <jwe@octave.org>
parents:
21390
diff
changeset
|
59 build-aux/subst-cross-config-vals.in.sh \ |
7e8a410e6124
break generated file dependence on Makefile (bug #46063)
John W. Eaton <jwe@octave.org>
parents:
21390
diff
changeset
|
60 build-aux/subst-default-vals.in.sh \ |
7e8a410e6124
break generated file dependence on Makefile (bug #46063)
John W. Eaton <jwe@octave.org>
parents:
21390
diff
changeset
|
61 build-aux/subst-f77-isnan-macro.in.sh \ |
7e8a410e6124
break generated file dependence on Makefile (bug #46063)
John W. Eaton <jwe@octave.org>
parents:
21390
diff
changeset
|
62 build-aux/subst-script-vals.in.sh \ |
20385
956119b6e6d1
build: Restore AUTHORS, BUGS, and INSTALL.OCTAVE to source tarball
Mike Miller <mtmiller@octave.org>
parents:
20384
diff
changeset
|
63 run-octave.in \ |
956119b6e6d1
build: Restore AUTHORS, BUGS, and INSTALL.OCTAVE to source tarball
Mike Miller <mtmiller@octave.org>
parents:
20384
diff
changeset
|
64 $(BUILT_DISTFILES) |
9794
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
65 |
20307
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
20306
diff
changeset
|
66 DIRSTAMP_FILES = |
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
20306
diff
changeset
|
67 |
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
20306
diff
changeset
|
68 octave_dirstamp = $(am__leading_dot)octave-dirstamp |
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
20306
diff
changeset
|
69 |
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
20306
diff
changeset
|
70 $(DIRSTAMP_FILES): |
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
20306
diff
changeset
|
71 $(AM_V_GEN)$(MKDIR_P) $(@D) && \ |
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
20306
diff
changeset
|
72 : > $@ |
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
20306
diff
changeset
|
73 |
20306
47d704435aa4
eliminate recursive make invocation in etc/icons directory
John W. Eaton <jwe@octave.org>
parents:
20293
diff
changeset
|
74 CLEANFILES = |
47d704435aa4
eliminate recursive make invocation in etc/icons directory
John W. Eaton <jwe@octave.org>
parents:
20293
diff
changeset
|
75 DISTCLEANFILES = |
47d704435aa4
eliminate recursive make invocation in etc/icons directory
John W. Eaton <jwe@octave.org>
parents:
20293
diff
changeset
|
76 MAINTAINERCLEANFILES = |
20307
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
20306
diff
changeset
|
77 info_TEXINFOS = |
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
20306
diff
changeset
|
78 BUILT_SOURCES = |
20308
bacaec9b5535
eliminate recursive make invocation in test directory tree
John W. Eaton <jwe@octave.org>
parents:
20307
diff
changeset
|
79 TEST_FILES = |
20306
47d704435aa4
eliminate recursive make invocation in etc/icons directory
John W. Eaton <jwe@octave.org>
parents:
20293
diff
changeset
|
80 |
20345
10f67e9d1e70
keep list of built images separate from other images
John W. Eaton <jwe@octave.org>
parents:
20344
diff
changeset
|
81 DOC_IMAGES_SRC = |
10f67e9d1e70
keep list of built images separate from other images
John W. Eaton <jwe@octave.org>
parents:
20344
diff
changeset
|
82 BUILT_DOC_IMAGES = |
10f67e9d1e70
keep list of built images separate from other images
John W. Eaton <jwe@octave.org>
parents:
20344
diff
changeset
|
83 BUILT_DOC_IMAGES_EPS = |
10f67e9d1e70
keep list of built images separate from other images
John W. Eaton <jwe@octave.org>
parents:
20344
diff
changeset
|
84 BUILT_DOC_IMAGES_PDF = |
10f67e9d1e70
keep list of built images separate from other images
John W. Eaton <jwe@octave.org>
parents:
20344
diff
changeset
|
85 BUILT_DOC_IMAGES_PNG = |
10f67e9d1e70
keep list of built images separate from other images
John W. Eaton <jwe@octave.org>
parents:
20344
diff
changeset
|
86 BUILT_DOC_IMAGES_TXT = |
20328
fa9fa6ab76f0
eliminate recursive make invocation in scripts directory tree
John W. Eaton <jwe@octave.org>
parents:
20327
diff
changeset
|
87 DOC_IMAGES = |
fa9fa6ab76f0
eliminate recursive make invocation in scripts directory tree
John W. Eaton <jwe@octave.org>
parents:
20327
diff
changeset
|
88 DOC_IMAGES_EPS = |
fa9fa6ab76f0
eliminate recursive make invocation in scripts directory tree
John W. Eaton <jwe@octave.org>
parents:
20327
diff
changeset
|
89 DOC_IMAGES_PDF = |
fa9fa6ab76f0
eliminate recursive make invocation in scripts directory tree
John W. Eaton <jwe@octave.org>
parents:
20327
diff
changeset
|
90 DOC_IMAGES_PNG = |
fa9fa6ab76f0
eliminate recursive make invocation in scripts directory tree
John W. Eaton <jwe@octave.org>
parents:
20327
diff
changeset
|
91 DOC_IMAGES_TXT = |
fa9fa6ab76f0
eliminate recursive make invocation in scripts directory tree
John W. Eaton <jwe@octave.org>
parents:
20327
diff
changeset
|
92 |
fa9fa6ab76f0
eliminate recursive make invocation in scripts directory tree
John W. Eaton <jwe@octave.org>
parents:
20327
diff
changeset
|
93 FCN_FILE_DIRS = |
fa9fa6ab76f0
eliminate recursive make invocation in scripts directory tree
John W. Eaton <jwe@octave.org>
parents:
20327
diff
changeset
|
94 FCN_FILES = |
fa9fa6ab76f0
eliminate recursive make invocation in scripts directory tree
John W. Eaton <jwe@octave.org>
parents:
20327
diff
changeset
|
95 GEN_FCN_FILES = |
fa9fa6ab76f0
eliminate recursive make invocation in scripts directory tree
John W. Eaton <jwe@octave.org>
parents:
20327
diff
changeset
|
96 PKG_ADD_FILES = |
fa9fa6ab76f0
eliminate recursive make invocation in scripts directory tree
John W. Eaton <jwe@octave.org>
parents:
20327
diff
changeset
|
97 SCRIPTS_IMAGES = |
fa9fa6ab76f0
eliminate recursive make invocation in scripts directory tree
John W. Eaton <jwe@octave.org>
parents:
20327
diff
changeset
|
98 JAR_FILES = |
20393
0fbe2e28ea84
build: Avoid triggering rebuild of docs when DOCSTRINGS regenerated (bug #45567)
Mike Miller <mtmiller@octave.org>
parents:
20391
diff
changeset
|
99 DOCSTRING_FILES = |
20307
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
20306
diff
changeset
|
100 |
20325
2d84d27dc9f0
eliminate recursive make invocation in src directory
John W. Eaton <jwe@octave.org>
parents:
20308
diff
changeset
|
101 bin_PROGRAMS = |
2d84d27dc9f0
eliminate recursive make invocation in src directory
John W. Eaton <jwe@octave.org>
parents:
20308
diff
changeset
|
102 archlib_PROGRAMS = |
2d84d27dc9f0
eliminate recursive make invocation in src directory
John W. Eaton <jwe@octave.org>
parents:
20308
diff
changeset
|
103 noinst_HEADERS = |
21229
a83e7a384ee0
create and install a subset of config.h in octave-config.h
John W. Eaton <jwe@octave.org>
parents:
20412
diff
changeset
|
104 nodist_noinst_HEADERS = |
20325
2d84d27dc9f0
eliminate recursive make invocation in src directory
John W. Eaton <jwe@octave.org>
parents:
20308
diff
changeset
|
105 OCTAVE_VERSION_LINKS = |
2d84d27dc9f0
eliminate recursive make invocation in src directory
John W. Eaton <jwe@octave.org>
parents:
20308
diff
changeset
|
106 OCTAVE_CROSS_TOOLS = |
2d84d27dc9f0
eliminate recursive make invocation in src directory
John W. Eaton <jwe@octave.org>
parents:
20308
diff
changeset
|
107 OCTAVE_INTERPRETER_TARGETS = |
2d84d27dc9f0
eliminate recursive make invocation in src directory
John W. Eaton <jwe@octave.org>
parents:
20308
diff
changeset
|
108 |
20326
8ef616eec739
eliminate recursive make invocation in libgui directory tree
John W. Eaton <jwe@octave.org>
parents:
20325
diff
changeset
|
109 octlib_LTLIBRARIES = |
8ef616eec739
eliminate recursive make invocation in libgui directory tree
John W. Eaton <jwe@octave.org>
parents:
20325
diff
changeset
|
110 noinst_LTLIBRARIES = |
8ef616eec739
eliminate recursive make invocation in libgui directory tree
John W. Eaton <jwe@octave.org>
parents:
20325
diff
changeset
|
111 |
20327
0ce7d8303152
eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents:
20326
diff
changeset
|
112 octinclude_HEADERS = |
0ce7d8303152
eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents:
20326
diff
changeset
|
113 nodist_octinclude_HEADERS = |
0ce7d8303152
eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents:
20326
diff
changeset
|
114 |
0ce7d8303152
eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents:
20326
diff
changeset
|
115 DIST_SRC = |
0ce7d8303152
eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents:
20326
diff
changeset
|
116 |
20325
2d84d27dc9f0
eliminate recursive make invocation in src directory
John W. Eaton <jwe@octave.org>
parents:
20308
diff
changeset
|
117 ALL_LOCAL_TARGETS = |
2d84d27dc9f0
eliminate recursive make invocation in src directory
John W. Eaton <jwe@octave.org>
parents:
20308
diff
changeset
|
118 |
21384
ad1dbbd23f1d
Makefile.am: Add libgnu.la to BUILT_SOURCES to generate it early (partial fix bug #45578).
Rik <rik@octave.org>
parents:
21382
diff
changeset
|
119 # Subdirectories in which to run make recursively. |
ad1dbbd23f1d
Makefile.am: Add libgnu.la to BUILT_SOURCES to generate it early (partial fix bug #45578).
Rik <rik@octave.org>
parents:
21382
diff
changeset
|
120 # Other directories are handled directly from this Makefile, |
ad1dbbd23f1d
Makefile.am: Add libgnu.la to BUILT_SOURCES to generate it early (partial fix bug #45578).
Rik <rik@octave.org>
parents:
21382
diff
changeset
|
121 # but also review the included module.mk makefile fragments. |
ad1dbbd23f1d
Makefile.am: Add libgnu.la to BUILT_SOURCES to generate it early (partial fix bug #45578).
Rik <rik@octave.org>
parents:
21382
diff
changeset
|
122 |
ad1dbbd23f1d
Makefile.am: Add libgnu.la to BUILT_SOURCES to generate it early (partial fix bug #45578).
Rik <rik@octave.org>
parents:
21382
diff
changeset
|
123 SUBDIRS = libgnu |
ad1dbbd23f1d
Makefile.am: Add libgnu.la to BUILT_SOURCES to generate it early (partial fix bug #45578).
Rik <rik@octave.org>
parents:
21382
diff
changeset
|
124 |
ad1dbbd23f1d
Makefile.am: Add libgnu.la to BUILT_SOURCES to generate it early (partial fix bug #45578).
Rik <rik@octave.org>
parents:
21382
diff
changeset
|
125 # All of build depends on having libgnu. |
ad1dbbd23f1d
Makefile.am: Add libgnu.la to BUILT_SOURCES to generate it early (partial fix bug #45578).
Rik <rik@octave.org>
parents:
21382
diff
changeset
|
126 # Add the library to BUILT_SOURCES so it is created early in the build process |
ad1dbbd23f1d
Makefile.am: Add libgnu.la to BUILT_SOURCES to generate it early (partial fix bug #45578).
Rik <rik@octave.org>
parents:
21382
diff
changeset
|
127 # This is only a partial solution which works when 'make all' is used. |
ad1dbbd23f1d
Makefile.am: Add libgnu.la to BUILT_SOURCES to generate it early (partial fix bug #45578).
Rik <rik@octave.org>
parents:
21382
diff
changeset
|
128 # See bug #45578. |
ad1dbbd23f1d
Makefile.am: Add libgnu.la to BUILT_SOURCES to generate it early (partial fix bug #45578).
Rik <rik@octave.org>
parents:
21382
diff
changeset
|
129 BUILT_SOURCES += libgnu/libgnu.la |
ad1dbbd23f1d
Makefile.am: Add libgnu.la to BUILT_SOURCES to generate it early (partial fix bug #45578).
Rik <rik@octave.org>
parents:
21382
diff
changeset
|
130 |
ad1dbbd23f1d
Makefile.am: Add libgnu.la to BUILT_SOURCES to generate it early (partial fix bug #45578).
Rik <rik@octave.org>
parents:
21382
diff
changeset
|
131 libgnu/libgnu.la: |
ad1dbbd23f1d
Makefile.am: Add libgnu.la to BUILT_SOURCES to generate it early (partial fix bug #45578).
Rik <rik@octave.org>
parents:
21382
diff
changeset
|
132 cd libgnu; $(MAKE) all |
ad1dbbd23f1d
Makefile.am: Add libgnu.la to BUILT_SOURCES to generate it early (partial fix bug #45578).
Rik <rik@octave.org>
parents:
21382
diff
changeset
|
133 |
20327
0ce7d8303152
eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents:
20326
diff
changeset
|
134 include liboctave/module.mk |
0ce7d8303152
eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents:
20326
diff
changeset
|
135 include liboctave/link-deps.mk |
0ce7d8303152
eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents:
20326
diff
changeset
|
136 include libinterp/module.mk |
0ce7d8303152
eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents:
20326
diff
changeset
|
137 include libinterp/link-deps.mk |
20326
8ef616eec739
eliminate recursive make invocation in libgui directory tree
John W. Eaton <jwe@octave.org>
parents:
20325
diff
changeset
|
138 include libgui/module.mk |
8ef616eec739
eliminate recursive make invocation in libgui directory tree
John W. Eaton <jwe@octave.org>
parents:
20325
diff
changeset
|
139 include libgui/link-deps.mk |
20325
2d84d27dc9f0
eliminate recursive make invocation in src directory
John W. Eaton <jwe@octave.org>
parents:
20308
diff
changeset
|
140 include src/module.mk |
20328
fa9fa6ab76f0
eliminate recursive make invocation in scripts directory tree
John W. Eaton <jwe@octave.org>
parents:
20327
diff
changeset
|
141 include scripts/module.mk |
20307
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
20306
diff
changeset
|
142 include doc/module.mk |
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
20306
diff
changeset
|
143 include doc/interpreter/images.mk |
20306
47d704435aa4
eliminate recursive make invocation in etc/icons directory
John W. Eaton <jwe@octave.org>
parents:
20293
diff
changeset
|
144 include etc/module.mk |
20293
d6879b59f46f
eliminate recursive make invocation in examples directory tree
John W. Eaton <jwe@octave.org>
parents:
19841
diff
changeset
|
145 include examples/module.mk |
9794
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
146 include m4/module.mk |
20308
bacaec9b5535
eliminate recursive make invocation in test directory tree
John W. Eaton <jwe@octave.org>
parents:
20307
diff
changeset
|
147 include test/module.mk |
9794
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
148 |
20328
fa9fa6ab76f0
eliminate recursive make invocation in scripts directory tree
John W. Eaton <jwe@octave.org>
parents:
20327
diff
changeset
|
149 dist-hook: doc-interpreter-dist-hook docs-dist-hook icons-dist-hook scripts-dist-hook |
10092
02453ee20140
allow building of docs to be disabled
John W. Eaton <jwe@octave.org>
parents:
10006
diff
changeset
|
150 |
20306
47d704435aa4
eliminate recursive make invocation in etc/icons directory
John W. Eaton <jwe@octave.org>
parents:
20293
diff
changeset
|
151 if AMCOND_BUILD_DOCS |
47d704435aa4
eliminate recursive make invocation in etc/icons directory
John W. Eaton <jwe@octave.org>
parents:
20293
diff
changeset
|
152 docs-dist-hook: |
47d704435aa4
eliminate recursive make invocation in etc/icons directory
John W. Eaton <jwe@octave.org>
parents:
20293
diff
changeset
|
153 else |
47d704435aa4
eliminate recursive make invocation in etc/icons directory
John W. Eaton <jwe@octave.org>
parents:
20293
diff
changeset
|
154 docs-dist-hook: |
47d704435aa4
eliminate recursive make invocation in etc/icons directory
John W. Eaton <jwe@octave.org>
parents:
20293
diff
changeset
|
155 @echo "Documentation disabled. Cannot package distribution!" ; exit 1; |
47d704435aa4
eliminate recursive make invocation in etc/icons directory
John W. Eaton <jwe@octave.org>
parents:
20293
diff
changeset
|
156 endif |
47d704435aa4
eliminate recursive make invocation in etc/icons directory
John W. Eaton <jwe@octave.org>
parents:
20293
diff
changeset
|
157 |
47d704435aa4
eliminate recursive make invocation in etc/icons directory
John W. Eaton <jwe@octave.org>
parents:
20293
diff
changeset
|
158 if AMCOND_HAVE_ICON_TOOLS |
47d704435aa4
eliminate recursive make invocation in etc/icons directory
John W. Eaton <jwe@octave.org>
parents:
20293
diff
changeset
|
159 icons-dist-hook: |
47d704435aa4
eliminate recursive make invocation in etc/icons directory
John W. Eaton <jwe@octave.org>
parents:
20293
diff
changeset
|
160 else |
47d704435aa4
eliminate recursive make invocation in etc/icons directory
John W. Eaton <jwe@octave.org>
parents:
20293
diff
changeset
|
161 icons-dist-hook: |
47d704435aa4
eliminate recursive make invocation in etc/icons directory
John W. Eaton <jwe@octave.org>
parents:
20293
diff
changeset
|
162 @echo "Packaging distribution requires icotool and rsvg-convert." ; exit 1; |
10092
02453ee20140
allow building of docs to be disabled
John W. Eaton <jwe@octave.org>
parents:
10006
diff
changeset
|
163 endif |
9794
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
164 |
20307
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
20306
diff
changeset
|
165 BUILT_SOURCES += \ |
21248
5ddc9b61a0c4
* Makefile.am (BUILT_SOURCES): Add octave-config.h to the list.
John W. Eaton <jwe@octave.org>
parents:
21229
diff
changeset
|
166 octave-config.h \ |
20307
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
20306
diff
changeset
|
167 run-octave \ |
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
20306
diff
changeset
|
168 $(DIRSTAMP_FILES) |
9794
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
169 |
17878
0d660785098e
work around GCC bug in stl_algo.h (nth_element and sort; bug #40436)
John W. Eaton <jwe@octave.org>
parents:
17763
diff
changeset
|
170 if AMCOND_HAVE_BROKEN_STL_ALGO_H |
0d660785098e
work around GCC bug in stl_algo.h (nth_element and sort; bug #40436)
John W. Eaton <jwe@octave.org>
parents:
17763
diff
changeset
|
171 BUILT_SOURCES += bits/stl_algo.h |
17880
51a3b3fa981f
try to ensure that stray bits/stl_algo.h file is not in build tree
John W. Eaton <jwe@octave.org>
parents:
17878
diff
changeset
|
172 else |
51a3b3fa981f
try to ensure that stray bits/stl_algo.h file is not in build tree
John W. Eaton <jwe@octave.org>
parents:
17878
diff
changeset
|
173 BUILT_SOURCES += nonexistent-file |
17878
0d660785098e
work around GCC bug in stl_algo.h (nth_element and sort; bug #40436)
John W. Eaton <jwe@octave.org>
parents:
17763
diff
changeset
|
174 endif |
0d660785098e
work around GCC bug in stl_algo.h (nth_element and sort; bug #40436)
John W. Eaton <jwe@octave.org>
parents:
17763
diff
changeset
|
175 |
10986
20bb05b9fb3f
makefile rules for compiled auxiliary programs
John W. Eaton <jwe@octave.org>
parents:
10856
diff
changeset
|
176 noinst_SCRIPTS = run-octave |
9794
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
177 |
20306
47d704435aa4
eliminate recursive make invocation in etc/icons directory
John W. Eaton <jwe@octave.org>
parents:
20293
diff
changeset
|
178 CLEANFILES += \ |
47d704435aa4
eliminate recursive make invocation in etc/icons directory
John W. Eaton <jwe@octave.org>
parents:
20293
diff
changeset
|
179 $(BUILT_SOURCES) |
9943
4c681ff57bc3
Modifications to makefiles to pass distcheck test
Rik <rdrider0-list@yahoo.com>
parents:
9864
diff
changeset
|
180 |
20306
47d704435aa4
eliminate recursive make invocation in etc/icons directory
John W. Eaton <jwe@octave.org>
parents:
20293
diff
changeset
|
181 DISTCLEANFILES += \ |
14653
af953acc055d
build: Enable Autotools 'distcheck' target to complete successfully.
Rik <octave@nomad.inbox5.com>
parents:
14432
diff
changeset
|
182 .gdbinit \ |
20307
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
20306
diff
changeset
|
183 $(DIRSTAMP_FILES) |
12740
0fe2eb81e6d0
maint: don't remove distributed files with make distclean target
John W. Eaton <jwe@octave.org>
parents:
12737
diff
changeset
|
184 |
20391
39721c09691b
build: Delete more generated files on maintainer-clean
Mike Miller <mtmiller@octave.org>
parents:
20385
diff
changeset
|
185 MAINTAINERCLEANFILES += \ |
20410
517f5a006279
build: Don't delete ChangeLog with distclean target (bug #45646).
Rik <rik@octave.org>
parents:
20393
diff
changeset
|
186 ChangeLog \ |
20391
39721c09691b
build: Delete more generated files on maintainer-clean
Mike Miller <mtmiller@octave.org>
parents:
20385
diff
changeset
|
187 $(BUILT_DISTFILES) |
39721c09691b
build: Delete more generated files on maintainer-clean
Mike Miller <mtmiller@octave.org>
parents:
20385
diff
changeset
|
188 |
9794
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
189 CONFIG_FILES = @ac_config_headers@ @ac_config_files@ |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
190 |
21251
62aa446d47c1
Do not distribute generated octave-config.h
Mike Miller <mtmiller@octave.org>
parents:
21248
diff
changeset
|
191 octinclude_HEADERS += oct-conf-post.h |
62aa446d47c1
Do not distribute generated octave-config.h
Mike Miller <mtmiller@octave.org>
parents:
21248
diff
changeset
|
192 nodist_octinclude_HEADERS += config.h octave-config.h |
9794
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
193 |
21382
eb7287db3da9
create .oct and other files in build tree (bug #46260)
John W. Eaton <jwe@octave.org>
parents:
21290
diff
changeset
|
194 ALL_LOCAL_TARGETS += \ |
eb7287db3da9
create .oct and other files in build tree (bug #46260)
John W. Eaton <jwe@octave.org>
parents:
21290
diff
changeset
|
195 $(OCTAVE_INTERPRETER_TARGETS) \ |
eb7287db3da9
create .oct and other files in build tree (bug #46260)
John W. Eaton <jwe@octave.org>
parents:
21290
diff
changeset
|
196 .gdbinit \ |
eb7287db3da9
create .oct and other files in build tree (bug #46260)
John W. Eaton <jwe@octave.org>
parents:
21290
diff
changeset
|
197 $(DOC_TARGETS) |
eb7287db3da9
create .oct and other files in build tree (bug #46260)
John W. Eaton <jwe@octave.org>
parents:
21290
diff
changeset
|
198 |
eb7287db3da9
create .oct and other files in build tree (bug #46260)
John W. Eaton <jwe@octave.org>
parents:
21290
diff
changeset
|
199 all-local: $(ALL_LOCAL_TARGETS) |
9794
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
200 @echo "" |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
201 @echo "Octave successfully built. Now choose from the following:" |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
202 @echo "" |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
203 @echo " ./run-octave - to run in place to test before installing" |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
204 @echo " make check - to run the tests" |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
205 @echo " make install - to install (PREFIX=$(prefix))" |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
206 @echo "" |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
207 |
21398
7e8a410e6124
break generated file dependence on Makefile (bug #46063)
John W. Eaton <jwe@octave.org>
parents:
21390
diff
changeset
|
208 run-octave: run-octave.in build-aux/subst-script-vals.sh |
7e8a410e6124
break generated file dependence on Makefile (bug #46063)
John W. Eaton <jwe@octave.org>
parents:
21390
diff
changeset
|
209 $(AM_V_GEN)$(call simple-filter-rule,build-aux/subst-script-vals.sh) && \ |
7e8a410e6124
break generated file dependence on Makefile (bug #46063)
John W. Eaton <jwe@octave.org>
parents:
21390
diff
changeset
|
210 chmod a+rx $@ |
9794
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
211 |
21229
a83e7a384ee0
create and install a subset of config.h in octave-config.h
John W. Eaton <jwe@octave.org>
parents:
20412
diff
changeset
|
212 octave-config.h: config.h build-aux/mk-octave-config-h.sh |
21290
1309edb344e1
use top_srcdir, top_builddir, abs_top_srcdir or abs_top_builddir only if needed
John W. Eaton <jwe@octave.org>
parents:
21281
diff
changeset
|
213 $(AM_V_GEN)$(SHELL) $(srcdir)/build-aux/mk-octave-config-h.sh $< > $@-t && \ |
21398
7e8a410e6124
break generated file dependence on Makefile (bug #46063)
John W. Eaton <jwe@octave.org>
parents:
21390
diff
changeset
|
214 $(simple_move_if_change_rule) |
21229
a83e7a384ee0
create and install a subset of config.h in octave-config.h
John W. Eaton <jwe@octave.org>
parents:
20412
diff
changeset
|
215 |
17878
0d660785098e
work around GCC bug in stl_algo.h (nth_element and sort; bug #40436)
John W. Eaton <jwe@octave.org>
parents:
17763
diff
changeset
|
216 bits/stl_algo.h: build-aux/stl_algo.h-fixed |
19792
4f6ae6b94abe
make --enable-silent-rules configure option more useful
John W. Eaton <jwe@octave.org>
parents:
19697
diff
changeset
|
217 $(AM_V_GEN)$(MKDIR_P) bits && \ |
17878
0d660785098e
work around GCC bug in stl_algo.h (nth_element and sort; bug #40436)
John W. Eaton <jwe@octave.org>
parents:
17763
diff
changeset
|
218 $(INSTALL_HEADER) $< $@ |
0d660785098e
work around GCC bug in stl_algo.h (nth_element and sort; bug #40436)
John W. Eaton <jwe@octave.org>
parents:
17763
diff
changeset
|
219 |
17880
51a3b3fa981f
try to ensure that stray bits/stl_algo.h file is not in build tree
John W. Eaton <jwe@octave.org>
parents:
17878
diff
changeset
|
220 ## If we aren't trying to fix stl_algo.h, then try to ensure that |
51a3b3fa981f
try to ensure that stray bits/stl_algo.h file is not in build tree
John W. Eaton <jwe@octave.org>
parents:
17878
diff
changeset
|
221 ## there isn't a stray copy sitting in the build tree. |
51a3b3fa981f
try to ensure that stray bits/stl_algo.h file is not in build tree
John W. Eaton <jwe@octave.org>
parents:
17878
diff
changeset
|
222 |
51a3b3fa981f
try to ensure that stray bits/stl_algo.h file is not in build tree
John W. Eaton <jwe@octave.org>
parents:
17878
diff
changeset
|
223 nonexistent-file: |
20412
110c7a54586b
build: Silence rule about removing bits/stl_algo.h using AM_V_at.
Rik <rik@octave.org>
parents:
20411
diff
changeset
|
224 $(AM_V_at)rm -f bits/stl_algo.h |
17880
51a3b3fa981f
try to ensure that stray bits/stl_algo.h file is not in build tree
John W. Eaton <jwe@octave.org>
parents:
17878
diff
changeset
|
225 .PHONY: nonexistent-file |
51a3b3fa981f
try to ensure that stray bits/stl_algo.h file is not in build tree
John W. Eaton <jwe@octave.org>
parents:
17878
diff
changeset
|
226 |
12733
b67c2d580a25
maint: clean up top-level directory
John W. Eaton <jwe@octave.org>
parents:
12725
diff
changeset
|
227 .gdbinit: etc/gdbinit |
16603
e5c0acc31640
install .gdbinit in test directory
John W. Eaton <jwe@octave.org>
parents:
16331
diff
changeset
|
228 @$(gdbinit_install_rule) |
10360
9126d71f53aa
add gdbinit file to sources
John W. Eaton <jwe@octave.org>
parents:
10092
diff
changeset
|
229 |
19792
4f6ae6b94abe
make --enable-silent-rules configure option more useful
John W. Eaton <jwe@octave.org>
parents:
19697
diff
changeset
|
230 define changelog-from-hg-log |
20359
9df3feddcf22
only generate ChangeLog if building from hg archive
John W. Eaton <jwe@octave.org>
parents:
20351
diff
changeset
|
231 rm -f $@-t && \ |
20384
107bb934dc19
build: Always generate ChangeLog if missing, and write to build directory
Mike Miller <mtmiller@octave.org>
parents:
20366
diff
changeset
|
232 if [ -d $(srcdir)/.hg ]; then \ |
107bb934dc19
build: Always generate ChangeLog if missing, and write to build directory
Mike Miller <mtmiller@octave.org>
parents:
20366
diff
changeset
|
233 ( cd $(srcdir); \ |
107bb934dc19
build: Always generate ChangeLog if missing, and write to build directory
Mike Miller <mtmiller@octave.org>
parents:
20366
diff
changeset
|
234 hg log --style=build-aux/changelog.tmpl --prune=b0e60ad4ae26 --only-branch=`hg branch`; \ |
20359
9df3feddcf22
only generate ChangeLog if building from hg archive
John W. Eaton <jwe@octave.org>
parents:
20351
diff
changeset
|
235 echo ""; \ |
9df3feddcf22
only generate ChangeLog if building from hg archive
John W. Eaton <jwe@octave.org>
parents:
20351
diff
changeset
|
236 echo "See the files in the directory etc/OLD-ChangeLogs for changes before 2011-04-19"; \ |
9df3feddcf22
only generate ChangeLog if building from hg archive
John W. Eaton <jwe@octave.org>
parents:
20351
diff
changeset
|
237 ) > $@-t && \ |
9df3feddcf22
only generate ChangeLog if building from hg archive
John W. Eaton <jwe@octave.org>
parents:
20351
diff
changeset
|
238 mv $@-t $@; \ |
20384
107bb934dc19
build: Always generate ChangeLog if missing, and write to build directory
Mike Miller <mtmiller@octave.org>
parents:
20366
diff
changeset
|
239 elif [ ! -f $@ ] && [ ! -f $(srcdir)/$@ ]; then \ |
107bb934dc19
build: Always generate ChangeLog if missing, and write to build directory
Mike Miller <mtmiller@octave.org>
parents:
20366
diff
changeset
|
240 echo "Empty ChangeLog generated because no hg log available" > $@-t && \ |
107bb934dc19
build: Always generate ChangeLog if missing, and write to build directory
Mike Miller <mtmiller@octave.org>
parents:
20366
diff
changeset
|
241 mv $@-t $@; \ |
20359
9df3feddcf22
only generate ChangeLog if building from hg archive
John W. Eaton <jwe@octave.org>
parents:
20351
diff
changeset
|
242 fi |
19792
4f6ae6b94abe
make --enable-silent-rules configure option more useful
John W. Eaton <jwe@octave.org>
parents:
19697
diff
changeset
|
243 endef |
4f6ae6b94abe
make --enable-silent-rules configure option more useful
John W. Eaton <jwe@octave.org>
parents:
19697
diff
changeset
|
244 |
12624
83606de30dae
maint: generate ChangeLog automatically
John W. Eaton <jwe@octave.org>
parents:
12471
diff
changeset
|
245 ChangeLog: |
19792
4f6ae6b94abe
make --enable-silent-rules configure option more useful
John W. Eaton <jwe@octave.org>
parents:
19697
diff
changeset
|
246 $(AM_V_GEN)$(changelog-from-hg-log) |
12624
83606de30dae
maint: generate ChangeLog automatically
John W. Eaton <jwe@octave.org>
parents:
12471
diff
changeset
|
247 .PHONY: ChangeLog |
83606de30dae
maint: generate ChangeLog automatically
John W. Eaton <jwe@octave.org>
parents:
12471
diff
changeset
|
248 |
20293
d6879b59f46f
eliminate recursive make invocation in examples directory tree
John W. Eaton <jwe@octave.org>
parents:
19841
diff
changeset
|
249 octetc_DATA += \ |
18478
3c1a28978599
install config.log in $octetc directory
John W. Eaton <jwe@octave.org>
parents:
18090
diff
changeset
|
250 CITATION \ |
19841
07b970d6cdfe
Only install config.log in $octetc if user requested (bug #43087)
Mike Miller <mtmiller@ieee.org>
parents:
19815
diff
changeset
|
251 NEWS |
07b970d6cdfe
Only install config.log in $octetc if user requested (bug #43087)
Mike Miller <mtmiller@ieee.org>
parents:
19815
diff
changeset
|
252 |
07b970d6cdfe
Only install config.log in $octetc if user requested (bug #43087)
Mike Miller <mtmiller@ieee.org>
parents:
19815
diff
changeset
|
253 if AMCOND_INSTALL_BUILD_LOGS |
07b970d6cdfe
Only install config.log in $octetc if user requested (bug #43087)
Mike Miller <mtmiller@ieee.org>
parents:
19815
diff
changeset
|
254 octetc_DATA += config.log |
07b970d6cdfe
Only install config.log in $octetc if user requested (bug #43087)
Mike Miller <mtmiller@ieee.org>
parents:
19815
diff
changeset
|
255 endif |
9968
f3bef90b7278
Remove various install-local targets in favor of using automake syntax for installation
Rik <rdrider0-list@yahoo.com>
parents:
9946
diff
changeset
|
256 |
9794
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
257 DIRS_TO_MAKE = \ |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
258 $(localfcnfiledir) \ |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
259 $(localapifcnfiledir) \ |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
260 $(localverfcnfiledir) \ |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
261 $(localoctfiledir) \ |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
262 $(localapioctfiledir) \ |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
263 $(localveroctfiledir) \ |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
264 $(localarchlibdir) \ |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
265 $(localapiarchlibdir) \ |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
266 $(localverarchlibdir) |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
267 |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
268 installdirs-local: |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
269 $(MKDIR_P) $(addprefix $(DESTDIR), $(DIRS_TO_MAKE)) |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
270 |
9968
f3bef90b7278
Remove various install-local targets in favor of using automake syntax for installation
Rik <rdrider0-list@yahoo.com>
parents:
9946
diff
changeset
|
271 install-data-local: installdirs-local |
20328
fa9fa6ab76f0
eliminate recursive make invocation in scripts directory tree
John W. Eaton <jwe@octave.org>
parents:
20327
diff
changeset
|
272 |
20351
d59d9f4ec290
don't clean doc/doxyhtml/README
John W. Eaton <jwe@octave.org>
parents:
20345
diff
changeset
|
273 clean-local: doc-clean |
d59d9f4ec290
don't clean doc/doxyhtml/README
John W. Eaton <jwe@octave.org>
parents:
20345
diff
changeset
|
274 |
20366
9b44691a3520
provide per-directory clean targets
John W. Eaton <jwe@octave.org>
parents:
20359
diff
changeset
|
275 distclean-local: |
20351
d59d9f4ec290
don't clean doc/doxyhtml/README
John W. Eaton <jwe@octave.org>
parents:
20345
diff
changeset
|
276 |
d59d9f4ec290
don't clean doc/doxyhtml/README
John W. Eaton <jwe@octave.org>
parents:
20345
diff
changeset
|
277 maintainer-clean-local: doc-maintainer-clean |
d59d9f4ec290
don't clean doc/doxyhtml/README
John W. Eaton <jwe@octave.org>
parents:
20345
diff
changeset
|
278 |