annotate Makefile.am @ 33491:95920a371532 bytecode-interpreter tip

maint: Merge default to bytecode-interpreter.
author Nicholas R. Jankowski <jankowski.nicholas@gmail.com>
date Mon, 29 Apr 2024 16:26:01 -0400
parents e4e83855224f
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
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
29357
bbbe4dcc7200 use the same comment style for copyright headers in .m files and shell scripts
John W. Eaton <jwe@octave.org>
parents: 27923
diff changeset
2
27923
bd51beb6205e update formatting of copyright notices
John W. Eaton <jwe@octave.org>
parents: 27919
diff changeset
3 ########################################################################
29357
bbbe4dcc7200 use the same comment style for copyright headers in .m files and shell scripts
John W. Eaton <jwe@octave.org>
parents: 27923
diff changeset
4 ##
32632
2e484f9f1f18 maint: update Octave Project Developers copyright for the new year
John W. Eaton <jwe@octave.org>
parents: 32546
diff changeset
5 ## Copyright (C) 1993-2024 The Octave Project Developers
29357
bbbe4dcc7200 use the same comment style for copyright headers in .m files and shell scripts
John W. Eaton <jwe@octave.org>
parents: 27923
diff changeset
6 ##
bbbe4dcc7200 use the same comment style for copyright headers in .m files and shell scripts
John W. Eaton <jwe@octave.org>
parents: 27923
diff changeset
7 ## See the file COPYRIGHT.md in the top-level directory of this
bbbe4dcc7200 use the same comment style for copyright headers in .m files and shell scripts
John W. Eaton <jwe@octave.org>
parents: 27923
diff changeset
8 ## distribution or <https://octave.org/copyright/>.
bbbe4dcc7200 use the same comment style for copyright headers in .m files and shell scripts
John W. Eaton <jwe@octave.org>
parents: 27923
diff changeset
9 ##
bbbe4dcc7200 use the same comment style for copyright headers in .m files and shell scripts
John W. Eaton <jwe@octave.org>
parents: 27923
diff changeset
10 ## This file is part of Octave.
bbbe4dcc7200 use the same comment style for copyright headers in .m files and shell scripts
John W. Eaton <jwe@octave.org>
parents: 27923
diff changeset
11 ##
bbbe4dcc7200 use the same comment style for copyright headers in .m files and shell scripts
John W. Eaton <jwe@octave.org>
parents: 27923
diff changeset
12 ## Octave is free software: you can redistribute it and/or modify it
bbbe4dcc7200 use the same comment style for copyright headers in .m files and shell scripts
John W. Eaton <jwe@octave.org>
parents: 27923
diff changeset
13 ## under the terms of the GNU General Public License as published by
bbbe4dcc7200 use the same comment style for copyright headers in .m files and shell scripts
John W. Eaton <jwe@octave.org>
parents: 27923
diff changeset
14 ## the Free Software Foundation, either version 3 of the License, or
bbbe4dcc7200 use the same comment style for copyright headers in .m files and shell scripts
John W. Eaton <jwe@octave.org>
parents: 27923
diff changeset
15 ## (at your option) any later version.
bbbe4dcc7200 use the same comment style for copyright headers in .m files and shell scripts
John W. Eaton <jwe@octave.org>
parents: 27923
diff changeset
16 ##
bbbe4dcc7200 use the same comment style for copyright headers in .m files and shell scripts
John W. Eaton <jwe@octave.org>
parents: 27923
diff changeset
17 ## Octave is distributed in the hope that it will be useful, but
bbbe4dcc7200 use the same comment style for copyright headers in .m files and shell scripts
John W. Eaton <jwe@octave.org>
parents: 27923
diff changeset
18 ## WITHOUT ANY WARRANTY; without even the implied warranty of
bbbe4dcc7200 use the same comment style for copyright headers in .m files and shell scripts
John W. Eaton <jwe@octave.org>
parents: 27923
diff changeset
19 ## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
bbbe4dcc7200 use the same comment style for copyright headers in .m files and shell scripts
John W. Eaton <jwe@octave.org>
parents: 27923
diff changeset
20 ## GNU General Public License for more details.
bbbe4dcc7200 use the same comment style for copyright headers in .m files and shell scripts
John W. Eaton <jwe@octave.org>
parents: 27923
diff changeset
21 ##
bbbe4dcc7200 use the same comment style for copyright headers in .m files and shell scripts
John W. Eaton <jwe@octave.org>
parents: 27923
diff changeset
22 ## You should have received a copy of the GNU General Public License
bbbe4dcc7200 use the same comment style for copyright headers in .m files and shell scripts
John W. Eaton <jwe@octave.org>
parents: 27923
diff changeset
23 ## along with Octave; see the file COPYING. If not, see
bbbe4dcc7200 use the same comment style for copyright headers in .m files and shell scripts
John W. Eaton <jwe@octave.org>
parents: 27923
diff changeset
24 ## <https://www.gnu.org/licenses/>.
bbbe4dcc7200 use the same comment style for copyright headers in .m files and shell scripts
John W. Eaton <jwe@octave.org>
parents: 27923
diff changeset
25 ##
27923
bd51beb6205e update formatting of copyright notices
John W. Eaton <jwe@octave.org>
parents: 27919
diff changeset
26 ########################################################################
9794
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
27
21975
562eb526d0e9 merge build-aux/common.mk with Makefile.am
John W. Eaton <jwe@octave.org>
parents: 21964
diff changeset
28 # This Makefile requires GNU Make features.
562eb526d0e9 merge build-aux/common.mk with Makefile.am
John W. Eaton <jwe@octave.org>
parents: 21964
diff changeset
29
562eb526d0e9 merge build-aux/common.mk with Makefile.am
John W. Eaton <jwe@octave.org>
parents: 21964
diff changeset
30 export AWK
562eb526d0e9 merge build-aux/common.mk with Makefile.am
John W. Eaton <jwe@octave.org>
parents: 21964
diff changeset
31 export GREP
562eb526d0e9 merge build-aux/common.mk with Makefile.am
John W. Eaton <jwe@octave.org>
parents: 21964
diff changeset
32 export FIND
562eb526d0e9 merge build-aux/common.mk with Makefile.am
John W. Eaton <jwe@octave.org>
parents: 21964
diff changeset
33 export SED
562eb526d0e9 merge build-aux/common.mk with Makefile.am
John W. Eaton <jwe@octave.org>
parents: 21964
diff changeset
34 export SHELL
562eb526d0e9 merge build-aux/common.mk with Makefile.am
John W. Eaton <jwe@octave.org>
parents: 21964
diff changeset
35 export PERL
24077
e483dcb5777d build the source distribution archives reproducibly
Mike Miller <mtmiller@octave.org>
parents: 23709
diff changeset
36 export TAR_OPTIONS
21975
562eb526d0e9 merge build-aux/common.mk with Makefile.am
John W. Eaton <jwe@octave.org>
parents: 21964
diff changeset
37
562eb526d0e9 merge build-aux/common.mk with Makefile.am
John W. Eaton <jwe@octave.org>
parents: 21964
diff changeset
38 version := ${OCTAVE_VERSION}
562eb526d0e9 merge build-aux/common.mk with Makefile.am
John W. Eaton <jwe@octave.org>
parents: 21964
diff changeset
39 api_version := ${OCTAVE_API_VERSION}
562eb526d0e9 merge build-aux/common.mk with Makefile.am
John W. Eaton <jwe@octave.org>
parents: 21964
diff changeset
40
562eb526d0e9 merge build-aux/common.mk with Makefile.am
John W. Eaton <jwe@octave.org>
parents: 21964
diff changeset
41 ## AM_LIBTOOLFLAGS = --silent
562eb526d0e9 merge build-aux/common.mk with Makefile.am
John W. Eaton <jwe@octave.org>
parents: 21964
diff changeset
42
562eb526d0e9 merge build-aux/common.mk with Makefile.am
John W. Eaton <jwe@octave.org>
parents: 21964
diff changeset
43 AM_LFLAGS = @LFLAGS@
562eb526d0e9 merge build-aux/common.mk with Makefile.am
John W. Eaton <jwe@octave.org>
parents: 21964
diff changeset
44
30170
72adc88bc674 modernize bison rules
John W. Eaton <jwe@octave.org>
parents: 29359
diff changeset
45 # Until modern Bison rules are handled by autoconf/automake.
72adc88bc674 modernize bison rules
John W. Eaton <jwe@octave.org>
parents: 29359
diff changeset
46
72adc88bc674 modernize bison rules
John W. Eaton <jwe@octave.org>
parents: 29359
diff changeset
47 AM_V_BISON = $(am__v_BISON_$(V))
72adc88bc674 modernize bison rules
John W. Eaton <jwe@octave.org>
parents: 29359
diff changeset
48 am__v_BISON_ = $(am__v_BISON_$(AM_DEFAULT_VERBOSITY))
72adc88bc674 modernize bison rules
John W. Eaton <jwe@octave.org>
parents: 29359
diff changeset
49 am__v_BISON_0 = @echo " BISON " $@;
72adc88bc674 modernize bison rules
John W. Eaton <jwe@octave.org>
parents: 29359
diff changeset
50 am__v_BISON_1 =
72adc88bc674 modernize bison rules
John W. Eaton <jwe@octave.org>
parents: 29359
diff changeset
51
72adc88bc674 modernize bison rules
John W. Eaton <jwe@octave.org>
parents: 29359
diff changeset
52 BISON = @BISON@
72adc88bc674 modernize bison rules
John W. Eaton <jwe@octave.org>
parents: 29359
diff changeset
53 BISONCOMPILE = $(BISON) $(AM_BISONFLAGS) $(BISONFLAGS)
72adc88bc674 modernize bison rules
John W. Eaton <jwe@octave.org>
parents: 29359
diff changeset
54
72adc88bc674 modernize bison rules
John W. Eaton <jwe@octave.org>
parents: 29359
diff changeset
55 # Define YACC to pacify automake
72adc88bc674 modernize bison rules
John W. Eaton <jwe@octave.org>
parents: 29359
diff changeset
56
72adc88bc674 modernize bison rules
John W. Eaton <jwe@octave.org>
parents: 29359
diff changeset
57 YACC = $(BISON)
21975
562eb526d0e9 merge build-aux/common.mk with Makefile.am
John W. Eaton <jwe@octave.org>
parents: 21964
diff changeset
58
29313
6dea3b384846 Optionally disable building libraries with visibility attributes (bug #59820).
Markus Mützel <markus.muetzel@gmx.de>
parents: 29238
diff changeset
59 if AMCOND_LIB_VISIBILITY_FLAGS
6dea3b384846 Optionally disable building libraries with visibility attributes (bug #59820).
Markus Mützel <markus.muetzel@gmx.de>
parents: 29238
diff changeset
60 OCTAVE_VISIBILITY_FLAGS = ${CFLAG_VISIBILITY}
6dea3b384846 Optionally disable building libraries with visibility attributes (bug #59820).
Markus Mützel <markus.muetzel@gmx.de>
parents: 29238
diff changeset
61 endif
6dea3b384846 Optionally disable building libraries with visibility attributes (bug #59820).
Markus Mützel <markus.muetzel@gmx.de>
parents: 29238
diff changeset
62
21975
562eb526d0e9 merge build-aux/common.mk with Makefile.am
John W. Eaton <jwe@octave.org>
parents: 21964
diff changeset
63 # Fortran compiler flags.
562eb526d0e9 merge build-aux/common.mk with Makefile.am
John W. Eaton <jwe@octave.org>
parents: 21964
diff changeset
64
29313
6dea3b384846 Optionally disable building libraries with visibility attributes (bug #59820).
Markus Mützel <markus.muetzel@gmx.de>
parents: 29238
diff changeset
65 AM_FFLAGS = ${FPICFLAG} @FFLAGS@ $(OCTAVE_VISIBILITY_FLAGS)
21975
562eb526d0e9 merge build-aux/common.mk with Makefile.am
John W. Eaton <jwe@octave.org>
parents: 21964
diff changeset
66
562eb526d0e9 merge build-aux/common.mk with Makefile.am
John W. Eaton <jwe@octave.org>
parents: 21964
diff changeset
67 # C compiler flags.
562eb526d0e9 merge build-aux/common.mk with Makefile.am
John W. Eaton <jwe@octave.org>
parents: 21964
diff changeset
68
29313
6dea3b384846 Optionally disable building libraries with visibility attributes (bug #59820).
Markus Mützel <markus.muetzel@gmx.de>
parents: 29238
diff changeset
69 AM_CFLAGS = ${CPICFLAG} ${XTRA_CFLAGS} ${WARN_CFLAGS} $(OCTAVE_VISIBILITY_FLAGS)
21975
562eb526d0e9 merge build-aux/common.mk with Makefile.am
John W. Eaton <jwe@octave.org>
parents: 21964
diff changeset
70
562eb526d0e9 merge build-aux/common.mk with Makefile.am
John W. Eaton <jwe@octave.org>
parents: 21964
diff changeset
71 # ifeq (${INCLUDE_DEPS},no)
562eb526d0e9 merge build-aux/common.mk with Makefile.am
John W. Eaton <jwe@octave.org>
parents: 21964
diff changeset
72 # omit_deps = true;
562eb526d0e9 merge build-aux/common.mk with Makefile.am
John W. Eaton <jwe@octave.org>
parents: 21964
diff changeset
73 # endif
562eb526d0e9 merge build-aux/common.mk with Makefile.am
John W. Eaton <jwe@octave.org>
parents: 21964
diff changeset
74
562eb526d0e9 merge build-aux/common.mk with Makefile.am
John W. Eaton <jwe@octave.org>
parents: 21964
diff changeset
75 # C++ compiler flags.
562eb526d0e9 merge build-aux/common.mk with Makefile.am
John W. Eaton <jwe@octave.org>
parents: 21964
diff changeset
76
29313
6dea3b384846 Optionally disable building libraries with visibility attributes (bug #59820).
Markus Mützel <markus.muetzel@gmx.de>
parents: 29238
diff changeset
77 AM_CXXFLAGS = ${CXXPICFLAG} ${XTRA_CXXFLAGS} ${WARN_CXXFLAGS} $(OCTAVE_VISIBILITY_FLAGS)
21975
562eb526d0e9 merge build-aux/common.mk with Makefile.am
John W. Eaton <jwe@octave.org>
parents: 21964
diff changeset
78
30277
f816a8c44924 allow build to succeed when address sanitizer is enabled (bug #61415)
John W. Eaton <jwe@octave.org>
parents: 30191
diff changeset
79 ADDRESS_SANITIZER_ENABLED = @ADDRESS_SANITIZER_ENABLED@
f816a8c44924 allow build to succeed when address sanitizer is enabled (bug #61415)
John W. Eaton <jwe@octave.org>
parents: 30191
diff changeset
80 ADDRESS_SANITIZER_OPTIONS = @ADDRESS_SANITIZER_OPTIONS@
f816a8c44924 allow build to succeed when address sanitizer is enabled (bug #61415)
John W. Eaton <jwe@octave.org>
parents: 30191
diff changeset
81
21975
562eb526d0e9 merge build-aux/common.mk with Makefile.am
John W. Eaton <jwe@octave.org>
parents: 21964
diff changeset
82 FFTW_XCPPFLAGS = @FFTW_XCPPFLAGS@
562eb526d0e9 merge build-aux/common.mk with Makefile.am
John W. Eaton <jwe@octave.org>
parents: 21964
diff changeset
83 FFTW_XLDFLAGS = @FFTW_XLDFLAGS@
562eb526d0e9 merge build-aux/common.mk with Makefile.am
John W. Eaton <jwe@octave.org>
parents: 21964
diff changeset
84 FFTW_XLIBS = @FFTW_XLIBS@
562eb526d0e9 merge build-aux/common.mk with Makefile.am
John W. Eaton <jwe@octave.org>
parents: 21964
diff changeset
85
562eb526d0e9 merge build-aux/common.mk with Makefile.am
John W. Eaton <jwe@octave.org>
parents: 21964
diff changeset
86 SPARSE_XCPPFLAGS = @SPARSE_XCPPFLAGS@
562eb526d0e9 merge build-aux/common.mk with Makefile.am
John W. Eaton <jwe@octave.org>
parents: 21964
diff changeset
87 SPARSE_XLDFLAGS = @SPARSE_XLDFLAGS@
562eb526d0e9 merge build-aux/common.mk with Makefile.am
John W. Eaton <jwe@octave.org>
parents: 21964
diff changeset
88 SPARSE_XLIBS = @SPARSE_XLIBS@
562eb526d0e9 merge build-aux/common.mk with Makefile.am
John W. Eaton <jwe@octave.org>
parents: 21964
diff changeset
89
562eb526d0e9 merge build-aux/common.mk with Makefile.am
John W. Eaton <jwe@octave.org>
parents: 21964
diff changeset
90 GNULIB_LINK_DEPS = @GNULIB_LINK_DEPS@
562eb526d0e9 merge build-aux/common.mk with Makefile.am
John W. Eaton <jwe@octave.org>
parents: 21964
diff changeset
91
562eb526d0e9 merge build-aux/common.mk with Makefile.am
John W. Eaton <jwe@octave.org>
parents: 21964
diff changeset
92 LIBOCTAVE_LINK_DEPS = @LIBOCTAVE_LINK_DEPS@
562eb526d0e9 merge build-aux/common.mk with Makefile.am
John W. Eaton <jwe@octave.org>
parents: 21964
diff changeset
93 LIBOCTAVE_LINK_OPTS = @LIBOCTAVE_LINK_OPTS@
562eb526d0e9 merge build-aux/common.mk with Makefile.am
John W. Eaton <jwe@octave.org>
parents: 21964
diff changeset
94
562eb526d0e9 merge build-aux/common.mk with Makefile.am
John W. Eaton <jwe@octave.org>
parents: 21964
diff changeset
95 LIBOCTINTERP_LINK_DEPS = @LIBOCTINTERP_LINK_DEPS@
562eb526d0e9 merge build-aux/common.mk with Makefile.am
John W. Eaton <jwe@octave.org>
parents: 21964
diff changeset
96 LIBOCTINTERP_LINK_OPTS = @LIBOCTINTERP_LINK_OPTS@
562eb526d0e9 merge build-aux/common.mk with Makefile.am
John W. Eaton <jwe@octave.org>
parents: 21964
diff changeset
97
562eb526d0e9 merge build-aux/common.mk with Makefile.am
John W. Eaton <jwe@octave.org>
parents: 21964
diff changeset
98 OCTAVE_LINK_DEPS = @OCTAVE_LINK_DEPS@
562eb526d0e9 merge build-aux/common.mk with Makefile.am
John W. Eaton <jwe@octave.org>
parents: 21964
diff changeset
99 OCTAVE_LINK_OPTS = @OCTAVE_LINK_OPTS@
562eb526d0e9 merge build-aux/common.mk with Makefile.am
John W. Eaton <jwe@octave.org>
parents: 21964
diff changeset
100
562eb526d0e9 merge build-aux/common.mk with Makefile.am
John W. Eaton <jwe@octave.org>
parents: 21964
diff changeset
101 OCT_LINK_DEPS = @OCT_LINK_DEPS@
562eb526d0e9 merge build-aux/common.mk with Makefile.am
John W. Eaton <jwe@octave.org>
parents: 21964
diff changeset
102 OCT_LINK_OPTS = @OCT_LINK_OPTS@
562eb526d0e9 merge build-aux/common.mk with Makefile.am
John W. Eaton <jwe@octave.org>
parents: 21964
diff changeset
103
562eb526d0e9 merge build-aux/common.mk with Makefile.am
John W. Eaton <jwe@octave.org>
parents: 21964
diff changeset
104 LIBOCTGUI_LINK_DEPS = @LIBOCTGUI_LINK_DEPS@
562eb526d0e9 merge build-aux/common.mk with Makefile.am
John W. Eaton <jwe@octave.org>
parents: 21964
diff changeset
105 LIBOCTGUI_LINK_OPTS = @LIBOCTGUI_LINK_OPTS@
562eb526d0e9 merge build-aux/common.mk with Makefile.am
John W. Eaton <jwe@octave.org>
parents: 21964
diff changeset
106
562eb526d0e9 merge build-aux/common.mk with Makefile.am
John W. Eaton <jwe@octave.org>
parents: 21964
diff changeset
107 OCTAVE_GUI_LINK_DEPS = @OCTAVE_GUI_LINK_DEPS@
562eb526d0e9 merge build-aux/common.mk with Makefile.am
John W. Eaton <jwe@octave.org>
parents: 21964
diff changeset
108 OCTAVE_GUI_LINK_OPTS = @OCTAVE_GUI_LINK_OPTS@
562eb526d0e9 merge build-aux/common.mk with Makefile.am
John W. Eaton <jwe@octave.org>
parents: 21964
diff changeset
109
24077
e483dcb5777d build the source distribution archives reproducibly
Mike Miller <mtmiller@octave.org>
parents: 23709
diff changeset
110 # Options used for creating the source distribution.
e483dcb5777d build the source distribution archives reproducibly
Mike Miller <mtmiller@octave.org>
parents: 23709
diff changeset
111
24083
1457c018b683 maint: declare gzip compression options to stay compatible with Automake 1.14
Mike Miller <mtmiller@octave.org>
parents: 24077
diff changeset
112 GZIP_ENV = '--best --no-name'
24077
e483dcb5777d build the source distribution archives reproducibly
Mike Miller <mtmiller@octave.org>
parents: 23709
diff changeset
113 SOURCE_MTIME := \
e483dcb5777d build the source distribution archives reproducibly
Mike Miller <mtmiller@octave.org>
parents: 23709
diff changeset
114 $(shell $(SHELL) $(top_srcdir)/build-aux/get-source-mtime.sh "$(srcdir)")
e483dcb5777d build the source distribution archives reproducibly
Mike Miller <mtmiller@octave.org>
parents: 23709
diff changeset
115 TAR_OPTIONS = $(REPRODUCIBLE_TAR_FLAGS) --mtime=@$(SOURCE_MTIME)
e483dcb5777d build the source distribution archives reproducibly
Mike Miller <mtmiller@octave.org>
parents: 23709
diff changeset
116
21975
562eb526d0e9 merge build-aux/common.mk with Makefile.am
John W. Eaton <jwe@octave.org>
parents: 21964
diff changeset
117 # The arguments passed to configure.
562eb526d0e9 merge build-aux/common.mk with Makefile.am
John W. Eaton <jwe@octave.org>
parents: 21964
diff changeset
118
562eb526d0e9 merge build-aux/common.mk with Makefile.am
John W. Eaton <jwe@octave.org>
parents: 21964
diff changeset
119 CONFIG_SUBDIRS = @subdirs@
562eb526d0e9 merge build-aux/common.mk with Makefile.am
John W. Eaton <jwe@octave.org>
parents: 21964
diff changeset
120
562eb526d0e9 merge build-aux/common.mk with Makefile.am
John W. Eaton <jwe@octave.org>
parents: 21964
diff changeset
121 null =
562eb526d0e9 merge build-aux/common.mk with Makefile.am
John W. Eaton <jwe@octave.org>
parents: 21964
diff changeset
122 ldpreloadsep = ${null}@ldpreloadsep@${null}
9794
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
123
20328
fa9fa6ab76f0 eliminate recursive make invocation in scripts directory tree
John W. Eaton <jwe@octave.org>
parents: 20327
diff changeset
124 image_DATA =
20293
d6879b59f46f eliminate recursive make invocation in examples directory tree
John W. Eaton <jwe@octave.org>
parents: 19841
diff changeset
125 octdata_DATA =
24889
92aaa85c06b8 build: use normal automake syntax for installing Qt help (bug #53006)
Mike Miller <mtmiller@octave.org>
parents: 24875
diff changeset
126 octdoc_DATA =
20293
d6879b59f46f eliminate recursive make invocation in examples directory tree
John W. Eaton <jwe@octave.org>
parents: 19841
diff changeset
127 octetc_DATA =
24899
1a46d174a483 include a proper definition of Octave's private font fallback directory
Mike Miller <mtmiller@octave.org>
parents: 24889
diff changeset
128 octfonts_DATA =
20326
8ef616eec739 eliminate recursive make invocation in libgui directory tree
John W. Eaton <jwe@octave.org>
parents: 20325
diff changeset
129 octlocale_DATA =
20293
d6879b59f46f eliminate recursive make invocation in examples directory tree
John W. Eaton <jwe@octave.org>
parents: 19841
diff changeset
130
25897
440eb4707570 reorganize rules for building .oct files
John W. Eaton <jwe@octave.org>
parents: 25801
diff changeset
131 OCT_FILES =
440eb4707570 reorganize rules for building .oct files
John W. Eaton <jwe@octave.org>
parents: 25801
diff changeset
132 OCT_FILE_LIBS =
440eb4707570 reorganize rules for building .oct files
John W. Eaton <jwe@octave.org>
parents: 25801
diff changeset
133 OCT_FILE_PKG_ADD_FILES =
440eb4707570 reorganize rules for building .oct files
John W. Eaton <jwe@octave.org>
parents: 25801
diff changeset
134
20342
0e2da885a410 fix lists of files to distribute
John W. Eaton <jwe@octave.org>
parents: 20328
diff changeset
135 DOC_TARGETS =
0e2da885a410 fix lists of files to distribute
John W. Eaton <jwe@octave.org>
parents: 20328
diff changeset
136
20327
0ce7d8303152 eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents: 20326
diff changeset
137 BUILT_DISTFILES =
0ce7d8303152 eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents: 20326
diff changeset
138 BUILT_NODISTFILES =
0ce7d8303152 eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents: 20326
diff changeset
139 EXTRA_DIST =
0ce7d8303152 eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents: 20326
diff changeset
140
23709
3b68aeeabc40 rename some build scripts for consistency and move them to where they are used
John W. Eaton <jwe@octave.org>
parents: 23647
diff changeset
141 GEN_CONFIG_SHELL =
3b68aeeabc40 rename some build scripts for consistency and move them to where they are used
John W. Eaton <jwe@octave.org>
parents: 23647
diff changeset
142
20327
0ce7d8303152 eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents: 20326
diff changeset
143 BUILT_DISTFILES += \
20307
c3c1fb44f9b5 eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents: 20306
diff changeset
144 AUTHORS \
c3c1fb44f9b5 eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents: 20306
diff changeset
145 BUGS \
c3c1fb44f9b5 eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents: 20306
diff changeset
146 ChangeLog \
21598
cf552443c104 revise method of handling hg id for build info
John W. Eaton <jwe@octave.org>
parents: 21597
diff changeset
147 HG-ID \
30451
0e553bb97d31 build: copy-generate NEWS file from etc/NEWS.x.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 30277
diff changeset
148 INSTALL.OCTAVE \
0e553bb97d31 build: copy-generate NEWS file from etc/NEWS.x.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 30277
diff changeset
149 NEWS
9794
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
150
20327
0ce7d8303152 eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents: 20326
diff changeset
151 EXTRA_DIST += \
20385
956119b6e6d1 build: Restore AUTHORS, BUGS, and INSTALL.OCTAVE to source tarball
Mike Miller <mtmiller@octave.org>
parents: 20384
diff changeset
152 CITATION \
9794
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
153 COPYING \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
154 INSTALL \
24170
3dbd6409eeb9 Undo markdown usage for README (cset 312c00dd723a).
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 24169
diff changeset
155 README \
26101
9e5caa6acb00 include a DOAP descriptor (bug #53619)
Mike Miller <mtmiller@octave.org>
parents: 25902
diff changeset
156 octave.doap \
20385
956119b6e6d1 build: Restore AUTHORS, BUGS, and INSTALL.OCTAVE to source tarball
Mike Miller <mtmiller@octave.org>
parents: 20384
diff changeset
157 run-octave.in \
956119b6e6d1 build: Restore AUTHORS, BUGS, and INSTALL.OCTAVE to source tarball
Mike Miller <mtmiller@octave.org>
parents: 20384
diff changeset
158 $(BUILT_DISTFILES)
9794
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
159
21413
3fb2bdea47a5 check substituted variables against current make variables
John W. Eaton <jwe@octave.org>
parents: 21412
diff changeset
160 AUTOCONF_SUBST_VARS = @AUTOCONF_SUBST_VARS@
3fb2bdea47a5 check substituted variables against current make variables
John W. Eaton <jwe@octave.org>
parents: 21412
diff changeset
161 ALL_SUBST_VARS = \
3fb2bdea47a5 check substituted variables against current make variables
John W. Eaton <jwe@octave.org>
parents: 21412
diff changeset
162 $(AUTOCONF_SUBST_VARS) \
3fb2bdea47a5 check substituted variables against current make variables
John W. Eaton <jwe@octave.org>
parents: 21412
diff changeset
163 abs_top_builddir \
3fb2bdea47a5 check substituted variables against current make variables
John W. Eaton <jwe@octave.org>
parents: 21412
diff changeset
164 abs_top_srcdir \
3fb2bdea47a5 check substituted variables against current make variables
John W. Eaton <jwe@octave.org>
parents: 21412
diff changeset
165 api_version \
3fb2bdea47a5 check substituted variables against current make variables
John W. Eaton <jwe@octave.org>
parents: 21412
diff changeset
166 version
3fb2bdea47a5 check substituted variables against current make variables
John W. Eaton <jwe@octave.org>
parents: 21412
diff changeset
167
20307
c3c1fb44f9b5 eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents: 20306
diff changeset
168 DIRSTAMP_FILES =
c3c1fb44f9b5 eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents: 20306
diff changeset
169
c3c1fb44f9b5 eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents: 20306
diff changeset
170 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
171
c3c1fb44f9b5 eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents: 20306
diff changeset
172 $(DIRSTAMP_FILES):
c3c1fb44f9b5 eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents: 20306
diff changeset
173 $(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
174 : > $@
c3c1fb44f9b5 eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents: 20306
diff changeset
175
20306
47d704435aa4 eliminate recursive make invocation in etc/icons directory
John W. Eaton <jwe@octave.org>
parents: 20293
diff changeset
176 CLEANFILES =
47d704435aa4 eliminate recursive make invocation in etc/icons directory
John W. Eaton <jwe@octave.org>
parents: 20293
diff changeset
177 DISTCLEANFILES =
47d704435aa4 eliminate recursive make invocation in etc/icons directory
John W. Eaton <jwe@octave.org>
parents: 20293
diff changeset
178 MAINTAINERCLEANFILES =
20307
c3c1fb44f9b5 eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents: 20306
diff changeset
179 info_TEXINFOS =
c3c1fb44f9b5 eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents: 20306
diff changeset
180 BUILT_SOURCES =
20308
bacaec9b5535 eliminate recursive make invocation in test directory tree
John W. Eaton <jwe@octave.org>
parents: 20307
diff changeset
181 TEST_FILES =
25453
e255f09dc70e initial framework for testing MEX files
John W. Eaton <jwe@octave.org>
parents: 25391
diff changeset
182 noinst_TEST_FILES =
20306
47d704435aa4 eliminate recursive make invocation in etc/icons directory
John W. Eaton <jwe@octave.org>
parents: 20293
diff changeset
183
20345
10f67e9d1e70 keep list of built images separate from other images
John W. Eaton <jwe@octave.org>
parents: 20344
diff changeset
184 DOC_IMAGES_SRC =
10f67e9d1e70 keep list of built images separate from other images
John W. Eaton <jwe@octave.org>
parents: 20344
diff changeset
185 BUILT_DOC_IMAGES =
10f67e9d1e70 keep list of built images separate from other images
John W. Eaton <jwe@octave.org>
parents: 20344
diff changeset
186 BUILT_DOC_IMAGES_EPS =
10f67e9d1e70 keep list of built images separate from other images
John W. Eaton <jwe@octave.org>
parents: 20344
diff changeset
187 BUILT_DOC_IMAGES_PDF =
10f67e9d1e70 keep list of built images separate from other images
John W. Eaton <jwe@octave.org>
parents: 20344
diff changeset
188 BUILT_DOC_IMAGES_PNG =
10f67e9d1e70 keep list of built images separate from other images
John W. Eaton <jwe@octave.org>
parents: 20344
diff changeset
189 BUILT_DOC_IMAGES_TXT =
20328
fa9fa6ab76f0 eliminate recursive make invocation in scripts directory tree
John W. Eaton <jwe@octave.org>
parents: 20327
diff changeset
190 DOC_IMAGES =
fa9fa6ab76f0 eliminate recursive make invocation in scripts directory tree
John W. Eaton <jwe@octave.org>
parents: 20327
diff changeset
191 DOC_IMAGES_EPS =
fa9fa6ab76f0 eliminate recursive make invocation in scripts directory tree
John W. Eaton <jwe@octave.org>
parents: 20327
diff changeset
192 DOC_IMAGES_PDF =
fa9fa6ab76f0 eliminate recursive make invocation in scripts directory tree
John W. Eaton <jwe@octave.org>
parents: 20327
diff changeset
193 DOC_IMAGES_PNG =
fa9fa6ab76f0 eliminate recursive make invocation in scripts directory tree
John W. Eaton <jwe@octave.org>
parents: 20327
diff changeset
194 DOC_IMAGES_TXT =
fa9fa6ab76f0 eliminate recursive make invocation in scripts directory tree
John W. Eaton <jwe@octave.org>
parents: 20327
diff changeset
195
fa9fa6ab76f0 eliminate recursive make invocation in scripts directory tree
John W. Eaton <jwe@octave.org>
parents: 20327
diff changeset
196 FCN_FILE_DIRS =
fa9fa6ab76f0 eliminate recursive make invocation in scripts directory tree
John W. Eaton <jwe@octave.org>
parents: 20327
diff changeset
197 FCN_FILES =
fa9fa6ab76f0 eliminate recursive make invocation in scripts directory tree
John W. Eaton <jwe@octave.org>
parents: 20327
diff changeset
198 GEN_FCN_FILES =
fa9fa6ab76f0 eliminate recursive make invocation in scripts directory tree
John W. Eaton <jwe@octave.org>
parents: 20327
diff changeset
199 PKG_ADD_FILES =
fa9fa6ab76f0 eliminate recursive make invocation in scripts directory tree
John W. Eaton <jwe@octave.org>
parents: 20327
diff changeset
200 SCRIPTS_IMAGES =
fa9fa6ab76f0 eliminate recursive make invocation in scripts directory tree
John W. Eaton <jwe@octave.org>
parents: 20327
diff changeset
201 JAR_FILES =
20393
0fbe2e28ea84 build: Avoid triggering rebuild of docs when DOCSTRINGS regenerated (bug #45567)
Mike Miller <mtmiller@octave.org>
parents: 20391
diff changeset
202 DOCSTRING_FILES =
20307
c3c1fb44f9b5 eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents: 20306
diff changeset
203
20325
2d84d27dc9f0 eliminate recursive make invocation in src directory
John W. Eaton <jwe@octave.org>
parents: 20308
diff changeset
204 bin_PROGRAMS =
2d84d27dc9f0 eliminate recursive make invocation in src directory
John W. Eaton <jwe@octave.org>
parents: 20308
diff changeset
205 archlib_PROGRAMS =
2d84d27dc9f0 eliminate recursive make invocation in src directory
John W. Eaton <jwe@octave.org>
parents: 20308
diff changeset
206 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
207 nodist_noinst_HEADERS =
20325
2d84d27dc9f0 eliminate recursive make invocation in src directory
John W. Eaton <jwe@octave.org>
parents: 20308
diff changeset
208 OCTAVE_VERSION_LINKS =
2d84d27dc9f0 eliminate recursive make invocation in src directory
John W. Eaton <jwe@octave.org>
parents: 20308
diff changeset
209 OCTAVE_CROSS_TOOLS =
2d84d27dc9f0 eliminate recursive make invocation in src directory
John W. Eaton <jwe@octave.org>
parents: 20308
diff changeset
210 OCTAVE_INTERPRETER_TARGETS =
2d84d27dc9f0 eliminate recursive make invocation in src directory
John W. Eaton <jwe@octave.org>
parents: 20308
diff changeset
211
20326
8ef616eec739 eliminate recursive make invocation in libgui directory tree
John W. Eaton <jwe@octave.org>
parents: 20325
diff changeset
212 octlib_LTLIBRARIES =
8ef616eec739 eliminate recursive make invocation in libgui directory tree
John W. Eaton <jwe@octave.org>
parents: 20325
diff changeset
213 noinst_LTLIBRARIES =
8ef616eec739 eliminate recursive make invocation in libgui directory tree
John W. Eaton <jwe@octave.org>
parents: 20325
diff changeset
214
20327
0ce7d8303152 eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents: 20326
diff changeset
215 octinclude_HEADERS =
0ce7d8303152 eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents: 20326
diff changeset
216 nodist_octinclude_HEADERS =
0ce7d8303152 eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents: 20326
diff changeset
217
0ce7d8303152 eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents: 20326
diff changeset
218 DIST_SRC =
0ce7d8303152 eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents: 20326
diff changeset
219
20325
2d84d27dc9f0 eliminate recursive make invocation in src directory
John W. Eaton <jwe@octave.org>
parents: 20308
diff changeset
220 ALL_LOCAL_TARGETS =
2d84d27dc9f0 eliminate recursive make invocation in src directory
John W. Eaton <jwe@octave.org>
parents: 20308
diff changeset
221
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
222 # 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
223 # 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
224 # 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
225
30806
103efb7e1600 avoid make dist failure due to long command line (bug #62135)
John W. Eaton <jwe@octave.org>
parents: 30564
diff changeset
226 SUBDIRS = libgnu test
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
227
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
228 # 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
229 # 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
230 # 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
231 # 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
232 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
233
30580
fdc30b576333 eliminate code duplication in oct-conf-post.in.h and octave-config.h
John W. Eaton <jwe@octave.org>
parents: 30565
diff changeset
234 libgnu/libgnu.la: oct-conf-post-private.h oct-conf-post-public.h
22076
d9643bc3792a build: minor correction to workaround rule to build libgnu.la (bug #45578)
Mike Miller <mtmiller@octave.org>
parents: 22042
diff changeset
235 cd libgnu && $(MAKE) $(AM_MAKEFLAGS) all
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
236
20327
0ce7d8303152 eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents: 20326
diff changeset
237 include liboctave/module.mk
0ce7d8303152 eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents: 20326
diff changeset
238 include libinterp/module.mk
20326
8ef616eec739 eliminate recursive make invocation in libgui directory tree
John W. Eaton <jwe@octave.org>
parents: 20325
diff changeset
239 include libgui/module.mk
20325
2d84d27dc9f0 eliminate recursive make invocation in src directory
John W. Eaton <jwe@octave.org>
parents: 20308
diff changeset
240 include src/module.mk
20328
fa9fa6ab76f0 eliminate recursive make invocation in scripts directory tree
John W. Eaton <jwe@octave.org>
parents: 20327
diff changeset
241 include scripts/module.mk
20307
c3c1fb44f9b5 eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents: 20306
diff changeset
242 include doc/module.mk
20306
47d704435aa4 eliminate recursive make invocation in etc/icons directory
John W. Eaton <jwe@octave.org>
parents: 20293
diff changeset
243 include etc/module.mk
20293
d6879b59f46f eliminate recursive make invocation in examples directory tree
John W. Eaton <jwe@octave.org>
parents: 19841
diff changeset
244 include examples/module.mk
9794
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
245 include m4/module.mk
23572
0703d31e1ec0 new script for updating test status for fixed bugs
John W. Eaton <jwe@octave.org>
parents: 23529
diff changeset
246 include build-aux/module.mk
9794
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
247
21818
7b0436d0f5be rename maintainer-mode configure option to hd-id (bug #48101)
John W. Eaton <jwe@octave.org>
parents: 21815
diff changeset
248 DIST_HOOKS := \
7b0436d0f5be rename maintainer-mode configure option to hd-id (bug #48101)
John W. Eaton <jwe@octave.org>
parents: 21815
diff changeset
249 doc-interpreter-dist-hook \
7b0436d0f5be rename maintainer-mode configure option to hd-id (bug #48101)
John W. Eaton <jwe@octave.org>
parents: 21815
diff changeset
250 docs-dist-hook \
23529
03c000f5e746 fix permissions on files and directories included in the distribution
Mike Miller <mtmiller@octave.org>
parents: 23427
diff changeset
251 fix-file-perms-dist-hook \
21818
7b0436d0f5be rename maintainer-mode configure option to hd-id (bug #48101)
John W. Eaton <jwe@octave.org>
parents: 21815
diff changeset
252 hg-id-dist-hook \
32407
818698c4f296 Update AppStream metadata (bug #64629).
Alexander Wilms <f.alexander.wilms@gmail.com>
parents: 32373
diff changeset
253 metainfo-dist-hook \
21818
7b0436d0f5be rename maintainer-mode configure option to hd-id (bug #48101)
John W. Eaton <jwe@octave.org>
parents: 21815
diff changeset
254 icons-dist-hook \
7b0436d0f5be rename maintainer-mode configure option to hd-id (bug #48101)
John W. Eaton <jwe@octave.org>
parents: 21815
diff changeset
255 scripts-dist-hook
21815
418b6066e544 new maintainer-mode for build (bug #48101)
John W. Eaton <jwe@octave.org>
parents: 21716
diff changeset
256
21818
7b0436d0f5be rename maintainer-mode configure option to hd-id (bug #48101)
John W. Eaton <jwe@octave.org>
parents: 21815
diff changeset
257 dist-hook: $(DIST_HOOKS)
10092
02453ee20140 allow building of docs to be disabled
John W. Eaton <jwe@octave.org>
parents: 10006
diff changeset
258
20306
47d704435aa4 eliminate recursive make invocation in etc/icons directory
John W. Eaton <jwe@octave.org>
parents: 20293
diff changeset
259 if AMCOND_BUILD_DOCS
47d704435aa4 eliminate recursive make invocation in etc/icons directory
John W. Eaton <jwe@octave.org>
parents: 20293
diff changeset
260 docs-dist-hook:
47d704435aa4 eliminate recursive make invocation in etc/icons directory
John W. Eaton <jwe@octave.org>
parents: 20293
diff changeset
261 else
47d704435aa4 eliminate recursive make invocation in etc/icons directory
John W. Eaton <jwe@octave.org>
parents: 20293
diff changeset
262 docs-dist-hook:
47d704435aa4 eliminate recursive make invocation in etc/icons directory
John W. Eaton <jwe@octave.org>
parents: 20293
diff changeset
263 @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
264 endif
47d704435aa4 eliminate recursive make invocation in etc/icons directory
John W. Eaton <jwe@octave.org>
parents: 20293
diff changeset
265
23529
03c000f5e746 fix permissions on files and directories included in the distribution
Mike Miller <mtmiller@octave.org>
parents: 23427
diff changeset
266 ## Ensure file permissions are consistent on all files included in the
03c000f5e746 fix permissions on files and directories included in the distribution
Mike Miller <mtmiller@octave.org>
parents: 23427
diff changeset
267 ## distribution. Automake takes care of normalizing some permissions of
03c000f5e746 fix permissions on files and directories included in the distribution
Mike Miller <mtmiller@octave.org>
parents: 23427
diff changeset
268 ## normal files and directories. Automake does not ensure that files don't
03c000f5e746 fix permissions on files and directories included in the distribution
Mike Miller <mtmiller@octave.org>
parents: 23427
diff changeset
269 ## have unnecessarily lax write permissions. It also does not ensure that
03c000f5e746 fix permissions on files and directories included in the distribution
Mike Miller <mtmiller@octave.org>
parents: 23427
diff changeset
270 ## executable permissions are set for group and other users.
03c000f5e746 fix permissions on files and directories included in the distribution
Mike Miller <mtmiller@octave.org>
parents: 23427
diff changeset
271 fix-file-perms-dist-hook:
03c000f5e746 fix permissions on files and directories included in the distribution
Mike Miller <mtmiller@octave.org>
parents: 23427
diff changeset
272 -chmod -R go-w "$(distdir)"
03c000f5e746 fix permissions on files and directories included in the distribution
Mike Miller <mtmiller@octave.org>
parents: 23427
diff changeset
273 -find "$(distdir)" -type f -perm -100 -exec chmod a+rx {} \;
03c000f5e746 fix permissions on files and directories included in the distribution
Mike Miller <mtmiller@octave.org>
parents: 23427
diff changeset
274 .PHONY: fix-file-perms-dist-hook
03c000f5e746 fix permissions on files and directories included in the distribution
Mike Miller <mtmiller@octave.org>
parents: 23427
diff changeset
275
21818
7b0436d0f5be rename maintainer-mode configure option to hd-id (bug #48101)
John W. Eaton <jwe@octave.org>
parents: 21815
diff changeset
276 if AMCOND_ENABLE_HG_ID
7b0436d0f5be rename maintainer-mode configure option to hd-id (bug #48101)
John W. Eaton <jwe@octave.org>
parents: 21815
diff changeset
277 hg-id-dist-hook:
25212
ec119a613e3b build: require a clean hg state for make dist
Mike Miller <mtmiller@octave.org>
parents: 25054
diff changeset
278 @test x"$(DIST_IGNORE_HG_STATE)" != x \
ec119a613e3b build: require a clean hg state for make dist
Mike Miller <mtmiller@octave.org>
parents: 25054
diff changeset
279 || echo $(HG_ID_VAR) | $(GREP) '^[0-9a-f]\{12\}$$' >/dev/null 2>&1 \
ec119a613e3b build: require a clean hg state for make dist
Mike Miller <mtmiller@octave.org>
parents: 25054
diff changeset
280 || { echo ; \
ec119a613e3b build: require a clean hg state for make dist
Mike Miller <mtmiller@octave.org>
parents: 25054
diff changeset
281 echo "Packaging distribution requires a clean hg working tree with no uncommitted changes." ; \
ec119a613e3b build: require a clean hg state for make dist
Mike Miller <mtmiller@octave.org>
parents: 25054
diff changeset
282 echo "Please commit or revert your changes first, or pass DIST_IGNORE_HG_STATE=1." ; \
ec119a613e3b build: require a clean hg state for make dist
Mike Miller <mtmiller@octave.org>
parents: 25054
diff changeset
283 echo "Cannot package distribution!" ; \
ec119a613e3b build: require a clean hg state for make dist
Mike Miller <mtmiller@octave.org>
parents: 25054
diff changeset
284 echo ; exit 1; }
21818
7b0436d0f5be rename maintainer-mode configure option to hd-id (bug #48101)
John W. Eaton <jwe@octave.org>
parents: 21815
diff changeset
285 else
7b0436d0f5be rename maintainer-mode configure option to hd-id (bug #48101)
John W. Eaton <jwe@octave.org>
parents: 21815
diff changeset
286 hg-id-dist-hook:
7b0436d0f5be rename maintainer-mode configure option to hd-id (bug #48101)
John W. Eaton <jwe@octave.org>
parents: 21815
diff changeset
287 @echo "WARNING: Octave was configured with --disable-hg-id" 1>&2
7b0436d0f5be rename maintainer-mode configure option to hd-id (bug #48101)
John W. Eaton <jwe@octave.org>
parents: 21815
diff changeset
288 endif
7b0436d0f5be rename maintainer-mode configure option to hd-id (bug #48101)
John W. Eaton <jwe@octave.org>
parents: 21815
diff changeset
289 .PHONY: hg-id-dist-hook
7b0436d0f5be rename maintainer-mode configure option to hd-id (bug #48101)
John W. Eaton <jwe@octave.org>
parents: 21815
diff changeset
290
20306
47d704435aa4 eliminate recursive make invocation in etc/icons directory
John W. Eaton <jwe@octave.org>
parents: 20293
diff changeset
291 if AMCOND_HAVE_ICON_TOOLS
47d704435aa4 eliminate recursive make invocation in etc/icons directory
John W. Eaton <jwe@octave.org>
parents: 20293
diff changeset
292 icons-dist-hook:
47d704435aa4 eliminate recursive make invocation in etc/icons directory
John W. Eaton <jwe@octave.org>
parents: 20293
diff changeset
293 else
47d704435aa4 eliminate recursive make invocation in etc/icons directory
John W. Eaton <jwe@octave.org>
parents: 20293
diff changeset
294 icons-dist-hook:
47d704435aa4 eliminate recursive make invocation in etc/icons directory
John W. Eaton <jwe@octave.org>
parents: 20293
diff changeset
295 @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
296 endif
9794
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
297
20307
c3c1fb44f9b5 eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents: 20306
diff changeset
298 BUILT_SOURCES += \
30580
fdc30b576333 eliminate code duplication in oct-conf-post.in.h and octave-config.h
John W. Eaton <jwe@octave.org>
parents: 30565
diff changeset
299 oct-conf-post-private.h \
fdc30b576333 eliminate code duplication in oct-conf-post.in.h and octave-config.h
John W. Eaton <jwe@octave.org>
parents: 30565
diff changeset
300 oct-conf-post-public.h \
21248
5ddc9b61a0c4 * Makefile.am (BUILT_SOURCES): Add octave-config.h to the list.
John W. Eaton <jwe@octave.org>
parents: 21229
diff changeset
301 octave-config.h \
20307
c3c1fb44f9b5 eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents: 20306
diff changeset
302 run-octave \
c3c1fb44f9b5 eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents: 20306
diff changeset
303 $(DIRSTAMP_FILES)
9794
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
304
10986
20bb05b9fb3f makefile rules for compiled auxiliary programs
John W. Eaton <jwe@octave.org>
parents: 10856
diff changeset
305 noinst_SCRIPTS = run-octave
9794
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
306
20306
47d704435aa4 eliminate recursive make invocation in etc/icons directory
John W. Eaton <jwe@octave.org>
parents: 20293
diff changeset
307 CLEANFILES += \
21413
3fb2bdea47a5 check substituted variables against current make variables
John W. Eaton <jwe@octave.org>
parents: 21412
diff changeset
308 config-vars \
22024
659731a4563f build: delete generated files, keep distributed files on clean and distclean (bug #45646)
Mike Miller <mtmiller@octave.org>
parents: 22020
diff changeset
309 make-vars \
26281
3b917b501087 build: delete oct-file-pkg-add on 'make clean' (bug #55259)
Mike Miller <mtmiller@octave.org>
parents: 26101
diff changeset
310 oct-file-pkg-add \
22024
659731a4563f build: delete generated files, keep distributed files on clean and distclean (bug #45646)
Mike Miller <mtmiller@octave.org>
parents: 22020
diff changeset
311 octave-config.h \
659731a4563f build: delete generated files, keep distributed files on clean and distclean (bug #45646)
Mike Miller <mtmiller@octave.org>
parents: 22020
diff changeset
312 run-octave
9943
4c681ff57bc3 Modifications to makefiles to pass distcheck test
Rik <rdrider0-list@yahoo.com>
parents: 9864
diff changeset
313
20306
47d704435aa4 eliminate recursive make invocation in etc/icons directory
John W. Eaton <jwe@octave.org>
parents: 20293
diff changeset
314 DISTCLEANFILES += \
22017
4eafa2cc599f build: clean build-aux generated shell scripts on 'make distclean'
Mike Miller <mtmiller@octave.org>
parents: 22014
diff changeset
315 $(DIRSTAMP_FILES) \
22024
659731a4563f build: delete generated files, keep distributed files on clean and distclean (bug #45646)
Mike Miller <mtmiller@octave.org>
parents: 22020
diff changeset
316 $(GEN_CONFIG_INC) \
22017
4eafa2cc599f build: clean build-aux generated shell scripts on 'make distclean'
Mike Miller <mtmiller@octave.org>
parents: 22014
diff changeset
317 $(GEN_CONFIG_SHELL) \
4eafa2cc599f build: clean build-aux generated shell scripts on 'make distclean'
Mike Miller <mtmiller@octave.org>
parents: 22014
diff changeset
318 .gdbinit
12740
0fe2eb81e6d0 maint: don't remove distributed files with make distclean target
John W. Eaton <jwe@octave.org>
parents: 12737
diff changeset
319
20391
39721c09691b build: Delete more generated files on maintainer-clean
Mike Miller <mtmiller@octave.org>
parents: 20385
diff changeset
320 MAINTAINERCLEANFILES += \
30472
86ddba86efbe build: clean restructuring of etc/NEWS and related files.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 30277
diff changeset
321 $(BUILT_DISTFILES)
20391
39721c09691b build: Delete more generated files on maintainer-clean
Mike Miller <mtmiller@octave.org>
parents: 20385
diff changeset
322
9794
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
323 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
324
22024
659731a4563f build: delete generated files, keep distributed files on clean and distclean (bug #45646)
Mike Miller <mtmiller@octave.org>
parents: 22020
diff changeset
325 nodist_octinclude_HEADERS += \
30580
fdc30b576333 eliminate code duplication in oct-conf-post.in.h and octave-config.h
John W. Eaton <jwe@octave.org>
parents: 30565
diff changeset
326 oct-conf-post-public.h \
22024
659731a4563f build: delete generated files, keep distributed files on clean and distclean (bug #45646)
Mike Miller <mtmiller@octave.org>
parents: 22020
diff changeset
327 octave-config.h
9794
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
328
25902
c3503d044340 * Makefile.am (OCTAVE_INTERPRETER_TARGETS): Add $(OCT_FILE_PKG_ADD_FILES) to the list.
John W. Eaton <jwe@octave.org>
parents: 25897
diff changeset
329 OCTAVE_INTERPRETER_TARGETS += \
c3503d044340 * Makefile.am (OCTAVE_INTERPRETER_TARGETS): Add $(OCT_FILE_PKG_ADD_FILES) to the list.
John W. Eaton <jwe@octave.org>
parents: 25897
diff changeset
330 $(OCT_FILE_PKG_ADD_FILES)
c3503d044340 * Makefile.am (OCTAVE_INTERPRETER_TARGETS): Add $(OCT_FILE_PKG_ADD_FILES) to the list.
John W. Eaton <jwe@octave.org>
parents: 25897
diff changeset
331
21382
eb7287db3da9 create .oct and other files in build tree (bug #46260)
John W. Eaton <jwe@octave.org>
parents: 21290
diff changeset
332 ALL_LOCAL_TARGETS += \
eb7287db3da9 create .oct and other files in build tree (bug #46260)
John W. Eaton <jwe@octave.org>
parents: 21290
diff changeset
333 $(OCTAVE_INTERPRETER_TARGETS) \
eb7287db3da9 create .oct and other files in build tree (bug #46260)
John W. Eaton <jwe@octave.org>
parents: 21290
diff changeset
334 .gdbinit \
eb7287db3da9 create .oct and other files in build tree (bug #46260)
John W. Eaton <jwe@octave.org>
parents: 21290
diff changeset
335 $(DOC_TARGETS)
eb7287db3da9 create .oct and other files in build tree (bug #46260)
John W. Eaton <jwe@octave.org>
parents: 21290
diff changeset
336
eb7287db3da9 create .oct and other files in build tree (bug #46260)
John W. Eaton <jwe@octave.org>
parents: 21290
diff changeset
337 all-local: $(ALL_LOCAL_TARGETS)
9794
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
338 @echo ""
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
339 @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
340 @echo ""
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
341 @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
342 @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
343 @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
344 @echo ""
22020
e154d23b2fd1 maint: reduce multiple mentions of the HG-ID file name and contents
Mike Miller <mtmiller@octave.org>
parents: 22018
diff changeset
345 @echo " HG ID for this build is \"$(HG_ID_VAR)\""
21818
7b0436d0f5be rename maintainer-mode configure option to hd-id (bug #48101)
John W. Eaton <jwe@octave.org>
parents: 21815
diff changeset
346 @echo ""
9794
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
347
21398
7e8a410e6124 break generated file dependence on Makefile (bug #46063)
John W. Eaton <jwe@octave.org>
parents: 21390
diff changeset
348 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
349 $(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
350 chmod a+rx $@
9794
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
351
32530
23b20195a0a4 restore option to disable bytecode evaluator removed in cset 6efda6ed0d17
John W. Eaton <jwe@octave.org>
parents: 32425
diff changeset
352 if AMCOND_ENABLE_BYTECODE_EVALUATOR
23b20195a0a4 restore option to disable bytecode evaluator removed in cset 6efda6ed0d17
John W. Eaton <jwe@octave.org>
parents: 32425
diff changeset
353 check-bytecode-evaluator:
23b20195a0a4 restore option to disable bytecode evaluator removed in cset 6efda6ed0d17
John W. Eaton <jwe@octave.org>
parents: 32425
diff changeset
354 $(MAKE) -C test check-bytecode-evaluator
32606
b31991b5c361 build: Add target check-tree-evaluator (bug #64977).
Markus Mützel <markus.muetzel@gmx.de>
parents: 32530
diff changeset
355
b31991b5c361 build: Add target check-tree-evaluator (bug #64977).
Markus Mützel <markus.muetzel@gmx.de>
parents: 32530
diff changeset
356 check-tree-evaluator:
b31991b5c361 build: Add target check-tree-evaluator (bug #64977).
Markus Mützel <markus.muetzel@gmx.de>
parents: 32530
diff changeset
357 $(MAKE) -C test check-tree-evaluator
32530
23b20195a0a4 restore option to disable bytecode evaluator removed in cset 6efda6ed0d17
John W. Eaton <jwe@octave.org>
parents: 32425
diff changeset
358 endif
32373
07e7a87dbeea build: Add target "check-vm" to run test suite with enabled VM.
Markus Mützel <markus.muetzel@gmx.de>
parents: 31750
diff changeset
359
21229
a83e7a384ee0 create and install a subset of config.h in octave-config.h
John W. Eaton <jwe@octave.org>
parents: 20412
diff changeset
360 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
361 $(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
362 $(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
363
21413
3fb2bdea47a5 check substituted variables against current make variables
John W. Eaton <jwe@octave.org>
parents: 21412
diff changeset
364 config-vars: $(GEN_CONFIG_SHELL)
3fb2bdea47a5 check substituted variables against current make variables
John W. Eaton <jwe@octave.org>
parents: 21412
diff changeset
365 $(AM_V_GEN)rm -f $@-t $@ && \
3fb2bdea47a5 check substituted variables against current make variables
John W. Eaton <jwe@octave.org>
parents: 21412
diff changeset
366 $(SED) -n 's/ *"$$/"/; s/^\([A-Za-z_][A-Za-z0-9_]*\)=" *\(.*\)" *$$/\1 \2/p' $^ | sort -u > $@-t && \
3fb2bdea47a5 check substituted variables against current make variables
John W. Eaton <jwe@octave.org>
parents: 21412
diff changeset
367 mv $@-t $@
3fb2bdea47a5 check substituted variables against current make variables
John W. Eaton <jwe@octave.org>
parents: 21412
diff changeset
368
3fb2bdea47a5 check substituted variables against current make variables
John W. Eaton <jwe@octave.org>
parents: 21412
diff changeset
369 ## We always have to create this file because values for Make variables
3fb2bdea47a5 check substituted variables against current make variables
John W. Eaton <jwe@octave.org>
parents: 21412
diff changeset
370 ## may be passed on the command line.
3fb2bdea47a5 check substituted variables against current make variables
John W. Eaton <jwe@octave.org>
parents: 21412
diff changeset
371
3fb2bdea47a5 check substituted variables against current make variables
John W. Eaton <jwe@octave.org>
parents: 21412
diff changeset
372 make-vars:
3fb2bdea47a5 check substituted variables against current make variables
John W. Eaton <jwe@octave.org>
parents: 21412
diff changeset
373 $(file >$@-t) $(foreach v, $(ALL_SUBST_VARS), $(file >>$@-t,$(v) $(value $(v))))
3fb2bdea47a5 check substituted variables against current make variables
John W. Eaton <jwe@octave.org>
parents: 21412
diff changeset
374 $(AM_V_GEN)mv $@-t $@
3fb2bdea47a5 check substituted variables against current make variables
John W. Eaton <jwe@octave.org>
parents: 21412
diff changeset
375 .PHONY: make-vars
3fb2bdea47a5 check substituted variables against current make variables
John W. Eaton <jwe@octave.org>
parents: 21412
diff changeset
376
3fb2bdea47a5 check substituted variables against current make variables
John W. Eaton <jwe@octave.org>
parents: 21412
diff changeset
377 check-subst-vars: build-aux/check-subst-vars.sh make-vars config-vars
3fb2bdea47a5 check substituted variables against current make variables
John W. Eaton <jwe@octave.org>
parents: 21412
diff changeset
378 @$(SHELL) -f build-aux/check-subst-vars.sh make-vars config-vars
3fb2bdea47a5 check substituted variables against current make variables
John W. Eaton <jwe@octave.org>
parents: 21412
diff changeset
379 .PHONY: check-subst-vars
3fb2bdea47a5 check substituted variables against current make variables
John W. Eaton <jwe@octave.org>
parents: 21412
diff changeset
380
12733
b67c2d580a25 maint: clean up top-level directory
John W. Eaton <jwe@octave.org>
parents: 12725
diff changeset
381 .gdbinit: etc/gdbinit
24844
fc21ac9cd998 only skip .gdbinit install if files differ (bug #53241)
John W. Eaton <jwe@octave.org>
parents: 24534
diff changeset
382 $(AM_V_GEN)$(gdbinit-install-rule)
10360
9126d71f53aa add gdbinit file to sources
John W. Eaton <jwe@octave.org>
parents: 10092
diff changeset
383
30463
0ae858447508 Add file extension .md to recent NEWS.x files.
Markus Mützel <markus.muetzel@gmx.de>
parents: 30462
diff changeset
384 NEWS: etc/NEWS.$(OCTAVE_MAJOR_VERSION).md
31588
7c020b18e299 build: Change Makefile rules to get 'make distcheck' to pass.
Rik <rik@octave.org>
parents: 31281
diff changeset
385 $(AM_V_GEN)rm -f $@ && \
7c020b18e299 build: Change Makefile rules to get 'make distcheck' to pass.
Rik <rik@octave.org>
parents: 31281
diff changeset
386 cp $< $@
30451
0e553bb97d31 build: copy-generate NEWS file from etc/NEWS.x.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 30277
diff changeset
387
19792
4f6ae6b94abe make --enable-silent-rules configure option more useful
John W. Eaton <jwe@octave.org>
parents: 19697
diff changeset
388 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
389 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
390 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
391 ( cd $(srcdir); \
25801
95eb72d50fb0 build: ensure ChangeLog is built from hg log without --graph
Mike Miller <mtmiller@octave.org>
parents: 25648
diff changeset
392 hg log --no-graph --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
393 echo ""; \
9df3feddcf22 only generate ChangeLog if building from hg archive
John W. Eaton <jwe@octave.org>
parents: 20351
diff changeset
394 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
395 ) > $@-t && \
9df3feddcf22 only generate ChangeLog if building from hg archive
John W. Eaton <jwe@octave.org>
parents: 20351
diff changeset
396 mv $@-t $@; \
20384
107bb934dc19 build: Always generate ChangeLog if missing, and write to build directory
Mike Miller <mtmiller@octave.org>
parents: 20366
diff changeset
397 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
398 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
399 mv $@-t $@; \
20359
9df3feddcf22 only generate ChangeLog if building from hg archive
John W. Eaton <jwe@octave.org>
parents: 20351
diff changeset
400 fi
19792
4f6ae6b94abe make --enable-silent-rules configure option more useful
John W. Eaton <jwe@octave.org>
parents: 19697
diff changeset
401 endef
4f6ae6b94abe make --enable-silent-rules configure option more useful
John W. Eaton <jwe@octave.org>
parents: 19697
diff changeset
402
12624
83606de30dae maint: generate ChangeLog automatically
John W. Eaton <jwe@octave.org>
parents: 12471
diff changeset
403 ChangeLog:
19792
4f6ae6b94abe make --enable-silent-rules configure option more useful
John W. Eaton <jwe@octave.org>
parents: 19697
diff changeset
404 $(AM_V_GEN)$(changelog-from-hg-log)
12624
83606de30dae maint: generate ChangeLog automatically
John W. Eaton <jwe@octave.org>
parents: 12471
diff changeset
405 .PHONY: ChangeLog
83606de30dae maint: generate ChangeLog automatically
John W. Eaton <jwe@octave.org>
parents: 12471
diff changeset
406
21976
f6e119d0bdfd avoid tagging HG-ID as .PHONY
John W. Eaton <jwe@octave.org>
parents: 21975
diff changeset
407 ## The mk-hg-id.sh script will be executed each time Make runs. It will
22020
e154d23b2fd1 maint: reduce multiple mentions of the HG-ID file name and contents
Mike Miller <mtmiller@octave.org>
parents: 22018
diff changeset
408 ## update the HG-ID file in the build tree if it is out of date. As a side
e154d23b2fd1 maint: reduce multiple mentions of the HG-ID file name and contents
Mike Miller <mtmiller@octave.org>
parents: 22018
diff changeset
409 ## effect, HG_ID_VAR is assigned the contents of the file.
21976
f6e119d0bdfd avoid tagging HG-ID as .PHONY
John W. Eaton <jwe@octave.org>
parents: 21975
diff changeset
410
21818
7b0436d0f5be rename maintainer-mode configure option to hd-id (bug #48101)
John W. Eaton <jwe@octave.org>
parents: 21815
diff changeset
411 if AMCOND_ENABLE_HG_ID
21976
f6e119d0bdfd avoid tagging HG-ID as .PHONY
John W. Eaton <jwe@octave.org>
parents: 21975
diff changeset
412 HG_ID_VAR := \
f6e119d0bdfd avoid tagging HG-ID as .PHONY
John W. Eaton <jwe@octave.org>
parents: 21975
diff changeset
413 $(shell $(SHELL) $(top_srcdir)/build-aux/mk-hg-id.sh "$(srcdir)")
21818
7b0436d0f5be rename maintainer-mode configure option to hd-id (bug #48101)
John W. Eaton <jwe@octave.org>
parents: 21815
diff changeset
414 else
21976
f6e119d0bdfd avoid tagging HG-ID as .PHONY
John W. Eaton <jwe@octave.org>
parents: 21975
diff changeset
415 HG_ID_VAR := \
f6e119d0bdfd avoid tagging HG-ID as .PHONY
John W. Eaton <jwe@octave.org>
parents: 21975
diff changeset
416 $(shell $(SHELL) $(top_srcdir)/build-aux/mk-hg-id.sh "$(srcdir)" --disable)
21815
418b6066e544 new maintainer-mode for build (bug #48101)
John W. Eaton <jwe@octave.org>
parents: 21716
diff changeset
417 endif
21598
cf552443c104 revise method of handling hg id for build info
John W. Eaton <jwe@octave.org>
parents: 21597
diff changeset
418
20293
d6879b59f46f eliminate recursive make invocation in examples directory tree
John W. Eaton <jwe@octave.org>
parents: 19841
diff changeset
419 octetc_DATA += \
18478
3c1a28978599 install config.log in $octetc directory
John W. Eaton <jwe@octave.org>
parents: 18090
diff changeset
420 CITATION \
19841
07b970d6cdfe Only install config.log in $octetc if user requested (bug #43087)
Mike Miller <mtmiller@ieee.org>
parents: 19815
diff changeset
421 NEWS
07b970d6cdfe Only install config.log in $octetc if user requested (bug #43087)
Mike Miller <mtmiller@ieee.org>
parents: 19815
diff changeset
422
07b970d6cdfe Only install config.log in $octetc if user requested (bug #43087)
Mike Miller <mtmiller@ieee.org>
parents: 19815
diff changeset
423 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
424 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
425 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
426
9794
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
427 DIRS_TO_MAKE = \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
428 $(localfcnfiledir) \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
429 $(localapifcnfiledir) \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
430 $(localverfcnfiledir) \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
431 $(localoctfiledir) \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
432 $(localapioctfiledir) \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
433 $(localveroctfiledir) \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
434 $(localarchlibdir) \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
435 $(localapiarchlibdir) \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
436 $(localverarchlibdir)
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
437
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
438 installdirs-local:
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
439 $(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
440
24889
92aaa85c06b8 build: use normal automake syntax for installing Qt help (bug #53006)
Mike Miller <mtmiller@octave.org>
parents: 24875
diff changeset
441 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
442
25897
440eb4707570 reorganize rules for building .oct files
John W. Eaton <jwe@octave.org>
parents: 25801
diff changeset
443 oct-file-pkg-add: $(OCT_FILE_PKG_ADD_FILES)
440eb4707570 reorganize rules for building .oct files
John W. Eaton <jwe@octave.org>
parents: 25801
diff changeset
444 cat $(OCT_FILE_PKG_ADD_FILES) > $@-t \
440eb4707570 reorganize rules for building .oct files
John W. Eaton <jwe@octave.org>
parents: 25801
diff changeset
445 && mv $@-t $@
440eb4707570 reorganize rules for building .oct files
John W. Eaton <jwe@octave.org>
parents: 25801
diff changeset
446
440eb4707570 reorganize rules for building .oct files
John W. Eaton <jwe@octave.org>
parents: 25801
diff changeset
447 install-oct: oct-file-pkg-add
440eb4707570 reorganize rules for building .oct files
John W. Eaton <jwe@octave.org>
parents: 25801
diff changeset
448 $(MKDIR_P) $(DESTDIR)$(octfiledir)
440eb4707570 reorganize rules for building .oct files
John W. Eaton <jwe@octave.org>
parents: 25801
diff changeset
449 if [ -n "`cat $(OCT_FILE_PKG_ADD_FILES)`" ]; then \
440eb4707570 reorganize rules for building .oct files
John W. Eaton <jwe@octave.org>
parents: 25801
diff changeset
450 $(INSTALL_DATA) oct-file-pkg-add $(DESTDIR)$(octfiledir)/PKG_ADD; \
440eb4707570 reorganize rules for building .oct files
John W. Eaton <jwe@octave.org>
parents: 25801
diff changeset
451 fi
30831
2d394460429f build: Parse .la files in build tree when installing .oct files (bug #61905).
Markus Mützel <markus.muetzel@gmx.de>
parents: 30807
diff changeset
452 top_build_dir=`pwd` && \
25897
440eb4707570 reorganize rules for building .oct files
John W. Eaton <jwe@octave.org>
parents: 25801
diff changeset
453 cd $(DESTDIR)$(octlibdir) && \
440eb4707570 reorganize rules for building .oct files
John W. Eaton <jwe@octave.org>
parents: 25801
diff changeset
454 for ltlib in $(OCT_FILE_LIBS); do \
440eb4707570 reorganize rules for building .oct files
John W. Eaton <jwe@octave.org>
parents: 25801
diff changeset
455 f=`echo $$ltlib | $(SED) 's,.*/,,'`; \
30831
2d394460429f build: Parse .la files in build tree when installing .oct files (bug #61905).
Markus Mützel <markus.muetzel@gmx.de>
parents: 30807
diff changeset
456 dl=`$(SED) -n -e "s/dlname='\([^']*\)'/\1/p" < $$top_build_dir/$$ltlib`; \
25897
440eb4707570 reorganize rules for building .oct files
John W. Eaton <jwe@octave.org>
parents: 25801
diff changeset
457 if [ -n "$$dl" ]; then \
440eb4707570 reorganize rules for building .oct files
John W. Eaton <jwe@octave.org>
parents: 25801
diff changeset
458 $(INSTALL_PROGRAM) $$dl $(DESTDIR)$(octfiledir)/`echo $$f | $(SED) 's,^lib,,; s,\.la$$,.oct,'`; \
440eb4707570 reorganize rules for building .oct files
John W. Eaton <jwe@octave.org>
parents: 25801
diff changeset
459 else \
440eb4707570 reorganize rules for building .oct files
John W. Eaton <jwe@octave.org>
parents: 25801
diff changeset
460 echo "error: dlname is empty in $$ltlib!"; \
440eb4707570 reorganize rules for building .oct files
John W. Eaton <jwe@octave.org>
parents: 25801
diff changeset
461 exit 1; \
440eb4707570 reorganize rules for building .oct files
John W. Eaton <jwe@octave.org>
parents: 25801
diff changeset
462 fi; \
30831
2d394460429f build: Parse .la files in build tree when installing .oct files (bug #61905).
Markus Mützel <markus.muetzel@gmx.de>
parents: 30807
diff changeset
463 lnames=`$(SED) -n -e "s/library_names='\([^']*\)'/\1/p" < $$top_build_dir/$$ltlib`; \
25897
440eb4707570 reorganize rules for building .oct files
John W. Eaton <jwe@octave.org>
parents: 25801
diff changeset
464 if [ -n "$$lnames" ]; then \
440eb4707570 reorganize rules for building .oct files
John W. Eaton <jwe@octave.org>
parents: 25801
diff changeset
465 rm -f $$f $$lnames $$dl; \
440eb4707570 reorganize rules for building .oct files
John W. Eaton <jwe@octave.org>
parents: 25801
diff changeset
466 fi \
440eb4707570 reorganize rules for building .oct files
John W. Eaton <jwe@octave.org>
parents: 25801
diff changeset
467 done
440eb4707570 reorganize rules for building .oct files
John W. Eaton <jwe@octave.org>
parents: 25801
diff changeset
468 .PHONY: install-oct
440eb4707570 reorganize rules for building .oct files
John W. Eaton <jwe@octave.org>
parents: 25801
diff changeset
469
440eb4707570 reorganize rules for building .oct files
John W. Eaton <jwe@octave.org>
parents: 25801
diff changeset
470 uninstall-oct:
440eb4707570 reorganize rules for building .oct files
John W. Eaton <jwe@octave.org>
parents: 25801
diff changeset
471 for f in $(notdir $(OCT_FILES)); do \
440eb4707570 reorganize rules for building .oct files
John W. Eaton <jwe@octave.org>
parents: 25801
diff changeset
472 rm -f $(DESTDIR)$(octfiledir)/$$f; \
440eb4707570 reorganize rules for building .oct files
John W. Eaton <jwe@octave.org>
parents: 25801
diff changeset
473 done
440eb4707570 reorganize rules for building .oct files
John W. Eaton <jwe@octave.org>
parents: 25801
diff changeset
474 rm -f $(DESTDIR)$(octfiledir)/PKG_ADD
440eb4707570 reorganize rules for building .oct files
John W. Eaton <jwe@octave.org>
parents: 25801
diff changeset
475 .PHONY: uninstall-oct
440eb4707570 reorganize rules for building .oct files
John W. Eaton <jwe@octave.org>
parents: 25801
diff changeset
476
20351
d59d9f4ec290 don't clean doc/doxyhtml/README
John W. Eaton <jwe@octave.org>
parents: 20345
diff changeset
477 clean-local: doc-clean
d59d9f4ec290 don't clean doc/doxyhtml/README
John W. Eaton <jwe@octave.org>
parents: 20345
diff changeset
478
20366
9b44691a3520 provide per-directory clean targets
John W. Eaton <jwe@octave.org>
parents: 20359
diff changeset
479 distclean-local:
22018
a49ed7b7b66f build: delete HG-ID on 'make distclean' and 'make maintainer-clean'
Mike Miller <mtmiller@octave.org>
parents: 22017
diff changeset
480 if [ "x${srcdir}" != "x." ]; then rm -f HG-ID; fi
20351
d59d9f4ec290 don't clean doc/doxyhtml/README
John W. Eaton <jwe@octave.org>
parents: 20345
diff changeset
481
d59d9f4ec290 don't clean doc/doxyhtml/README
John W. Eaton <jwe@octave.org>
parents: 20345
diff changeset
482 maintainer-clean-local: doc-maintainer-clean
d59d9f4ec290 don't clean doc/doxyhtml/README
John W. Eaton <jwe@octave.org>
parents: 20345
diff changeset
483
22042
21c12b837089 build: don't delete distributed docs on 'make clean' or 'make distclean' (bug #45646)
Mike Miller <mtmiller@octave.org>
parents: 22024
diff changeset
484 ## The 'clean-aminfo' target is defined by Automake >= 1.11. We want to
21c12b837089 build: don't delete distributed docs on 'make clean' or 'make distclean' (bug #45646)
Mike Miller <mtmiller@octave.org>
parents: 22024
diff changeset
485 ## distribute all Texinfo docs with the source distribution and not delete
21c12b837089 build: don't delete distributed docs on 'make clean' or 'make distclean' (bug #45646)
Mike Miller <mtmiller@octave.org>
parents: 22024
diff changeset
486 ## them on 'clean', so we override this target to do nothing by default.
21c12b837089 build: don't delete distributed docs on 'make clean' or 'make distclean' (bug #45646)
Mike Miller <mtmiller@octave.org>
parents: 22024
diff changeset
487
21c12b837089 build: don't delete distributed docs on 'make clean' or 'make distclean' (bug #45646)
Mike Miller <mtmiller@octave.org>
parents: 22024
diff changeset
488 clean-aminfo:
21c12b837089 build: don't delete distributed docs on 'make clean' or 'make distclean' (bug #45646)
Mike Miller <mtmiller@octave.org>
parents: 22024
diff changeset
489
21975
562eb526d0e9 merge build-aux/common.mk with Makefile.am
John W. Eaton <jwe@octave.org>
parents: 21964
diff changeset
490 define move_if_change_rule
562eb526d0e9 merge build-aux/common.mk with Makefile.am
John W. Eaton <jwe@octave.org>
parents: 21964
diff changeset
491 if [ -s $(1) ]; then \
562eb526d0e9 merge build-aux/common.mk with Makefile.am
John W. Eaton <jwe@octave.org>
parents: 21964
diff changeset
492 ${SHELL} ${top_srcdir}/build-aux/move-if-change $(1) $(2); \
562eb526d0e9 merge build-aux/common.mk with Makefile.am
John W. Eaton <jwe@octave.org>
parents: 21964
diff changeset
493 else \
562eb526d0e9 merge build-aux/common.mk with Makefile.am
John W. Eaton <jwe@octave.org>
parents: 21964
diff changeset
494 echo "$(1) is empty!" 1>&2; \
562eb526d0e9 merge build-aux/common.mk with Makefile.am
John W. Eaton <jwe@octave.org>
parents: 21964
diff changeset
495 rm -f $(1); \
562eb526d0e9 merge build-aux/common.mk with Makefile.am
John W. Eaton <jwe@octave.org>
parents: 21964
diff changeset
496 exit 1; \
562eb526d0e9 merge build-aux/common.mk with Makefile.am
John W. Eaton <jwe@octave.org>
parents: 21964
diff changeset
497 fi
562eb526d0e9 merge build-aux/common.mk with Makefile.am
John W. Eaton <jwe@octave.org>
parents: 21964
diff changeset
498 endef
562eb526d0e9 merge build-aux/common.mk with Makefile.am
John W. Eaton <jwe@octave.org>
parents: 21964
diff changeset
499
562eb526d0e9 merge build-aux/common.mk with Makefile.am
John W. Eaton <jwe@octave.org>
parents: 21964
diff changeset
500 define simple_move_if_change_rule
562eb526d0e9 merge build-aux/common.mk with Makefile.am
John W. Eaton <jwe@octave.org>
parents: 21964
diff changeset
501 $(call move_if_change_rule,$@-t,$@)
562eb526d0e9 merge build-aux/common.mk with Makefile.am
John W. Eaton <jwe@octave.org>
parents: 21964
diff changeset
502 endef
562eb526d0e9 merge build-aux/common.mk with Makefile.am
John W. Eaton <jwe@octave.org>
parents: 21964
diff changeset
503
23427
48fd5980e29a Refactor and normalize generated build info source files
Mike Miller <mtmiller@octave.org>
parents: 23220
diff changeset
504 define build-info-commands
48fd5980e29a Refactor and normalize generated build info source files
Mike Miller <mtmiller@octave.org>
parents: 23220
diff changeset
505 rm -f $@-t && \
48fd5980e29a Refactor and normalize generated build info source files
Mike Miller <mtmiller@octave.org>
parents: 23220
diff changeset
506 $(SED) \
48fd5980e29a Refactor and normalize generated build info source files
Mike Miller <mtmiller@octave.org>
parents: 23220
diff changeset
507 -e "s|%NO_EDIT_WARNING%|DO NOT EDIT! Generated automatically by Makefile|" \
48fd5980e29a Refactor and normalize generated build info source files
Mike Miller <mtmiller@octave.org>
parents: 23220
diff changeset
508 -e "s|%OCTAVE_HG_ID%|$(HG_ID_VAR)|" $< > $@-t && \
48fd5980e29a Refactor and normalize generated build info source files
Mike Miller <mtmiller@octave.org>
parents: 23220
diff changeset
509 $(simple_move_if_change_rule)
48fd5980e29a Refactor and normalize generated build info source files
Mike Miller <mtmiller@octave.org>
parents: 23220
diff changeset
510 endef
48fd5980e29a Refactor and normalize generated build info source files
Mike Miller <mtmiller@octave.org>
parents: 23220
diff changeset
511
21975
562eb526d0e9 merge build-aux/common.mk with Makefile.am
John W. Eaton <jwe@octave.org>
parents: 21964
diff changeset
512 define simple-filter-rule
562eb526d0e9 merge build-aux/common.mk with Makefile.am
John W. Eaton <jwe@octave.org>
parents: 21964
diff changeset
513 rm -f $@-t $@ && \
562eb526d0e9 merge build-aux/common.mk with Makefile.am
John W. Eaton <jwe@octave.org>
parents: 21964
diff changeset
514 ${SHELL} $(1) < $< > $@-t && \
562eb526d0e9 merge build-aux/common.mk with Makefile.am
John W. Eaton <jwe@octave.org>
parents: 21964
diff changeset
515 mv $@-t $@
562eb526d0e9 merge build-aux/common.mk with Makefile.am
John W. Eaton <jwe@octave.org>
parents: 21964
diff changeset
516 endef
562eb526d0e9 merge build-aux/common.mk with Makefile.am
John W. Eaton <jwe@octave.org>
parents: 21964
diff changeset
517
24844
fc21ac9cd998 only skip .gdbinit install if files differ (bug #53241)
John W. Eaton <jwe@octave.org>
parents: 24534
diff changeset
518 define gdbinit-install-rule
fc21ac9cd998 only skip .gdbinit install if files differ (bug #53241)
John W. Eaton <jwe@octave.org>
parents: 24534
diff changeset
519 if [ -f $@ ] && ! cmp -s $< $@; then \
21975
562eb526d0e9 merge build-aux/common.mk with Makefile.am
John W. Eaton <jwe@octave.org>
parents: 21964
diff changeset
520 echo "refusing to overwrite $@ with newer version from $<" 1>&2; \
562eb526d0e9 merge build-aux/common.mk with Makefile.am
John W. Eaton <jwe@octave.org>
parents: 21964
diff changeset
521 else \
562eb526d0e9 merge build-aux/common.mk with Makefile.am
John W. Eaton <jwe@octave.org>
parents: 21964
diff changeset
522 cp $< $@; \
562eb526d0e9 merge build-aux/common.mk with Makefile.am
John W. Eaton <jwe@octave.org>
parents: 21964
diff changeset
523 fi
562eb526d0e9 merge build-aux/common.mk with Makefile.am
John W. Eaton <jwe@octave.org>
parents: 21964
diff changeset
524 endef
562eb526d0e9 merge build-aux/common.mk with Makefile.am
John W. Eaton <jwe@octave.org>
parents: 21964
diff changeset
525
562eb526d0e9 merge build-aux/common.mk with Makefile.am
John W. Eaton <jwe@octave.org>
parents: 21964
diff changeset
526 define test-file-commands
562eb526d0e9 merge build-aux/common.mk with Makefile.am
John W. Eaton <jwe@octave.org>
parents: 21964
diff changeset
527 rm -f $@-t $@ && \
562eb526d0e9 merge build-aux/common.mk with Makefile.am
John W. Eaton <jwe@octave.org>
parents: 21964
diff changeset
528 ( echo "## DO NOT EDIT! Generated automatically from $(<F) by Make."; \
562eb526d0e9 merge build-aux/common.mk with Makefile.am
John W. Eaton <jwe@octave.org>
parents: 21964
diff changeset
529 $(GREP) '^%!' $< \
562eb526d0e9 merge build-aux/common.mk with Makefile.am
John W. Eaton <jwe@octave.org>
parents: 21964
diff changeset
530 ) > $@-t && \
562eb526d0e9 merge build-aux/common.mk with Makefile.am
John W. Eaton <jwe@octave.org>
parents: 21964
diff changeset
531 mv $@-t $@
562eb526d0e9 merge build-aux/common.mk with Makefile.am
John W. Eaton <jwe@octave.org>
parents: 21964
diff changeset
532 endef
562eb526d0e9 merge build-aux/common.mk with Makefile.am
John W. Eaton <jwe@octave.org>
parents: 21964
diff changeset
533
562eb526d0e9 merge build-aux/common.mk with Makefile.am
John W. Eaton <jwe@octave.org>
parents: 21964
diff changeset
534 %.cc-tst : %.cc
562eb526d0e9 merge build-aux/common.mk with Makefile.am
John W. Eaton <jwe@octave.org>
parents: 21964
diff changeset
535 $(AM_V_GEN)$(test-file-commands)
562eb526d0e9 merge build-aux/common.mk with Makefile.am
John W. Eaton <jwe@octave.org>
parents: 21964
diff changeset
536
562eb526d0e9 merge build-aux/common.mk with Makefile.am
John W. Eaton <jwe@octave.org>
parents: 21964
diff changeset
537 %.yy-tst : %.yy
562eb526d0e9 merge build-aux/common.mk with Makefile.am
John W. Eaton <jwe@octave.org>
parents: 21964
diff changeset
538 $(AM_V_GEN)$(test-file-commands)
562eb526d0e9 merge build-aux/common.mk with Makefile.am
John W. Eaton <jwe@octave.org>
parents: 21964
diff changeset
539
562eb526d0e9 merge build-aux/common.mk with Makefile.am
John W. Eaton <jwe@octave.org>
parents: 21964
diff changeset
540 %.ll-tst : %.ll
562eb526d0e9 merge build-aux/common.mk with Makefile.am
John W. Eaton <jwe@octave.org>
parents: 21964
diff changeset
541 $(AM_V_GEN)$(test-file-commands)