annotate build-aux/common.mk @ 21288:1a21a0f6364e

Fix build when user's shell is not a POSIX/Bourne-style shell * bootstrap.conf (bootstrap_post_import_hook): Initialize $SHELL to $CONFIG_SHELL (or default) and use it. * build-aux/common.mk (SHELL): Export for build helper scripts to use correct shell.
author Mike Miller <mtmiller@octave.org>
date Wed, 17 Feb 2016 13:13:36 -0800
parents b76955e83fe4
children 1309edb344e1
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
15932
747dd82082c8 strip cross tool prefix from CC, CXX, etc. definitions used in mkoctfile
John W. Eaton <jwe@octave.org>
parents: 14144
diff changeset
1 CROSS_TOOL_PREFIX = @CROSS_TOOL_PREFIX@
747dd82082c8 strip cross tool prefix from CC, CXX, etc. definitions used in mkoctfile
John W. Eaton <jwe@octave.org>
parents: 14144
diff changeset
2
9794
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
3 AWK = @AWK@
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
4 export AWK
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
5
16132
43e6415393ff build: check for grep in configure and then use it in build process.
Rik <rik@octave.org>
parents: 16068
diff changeset
6 GREP = @GREP@
43e6415393ff build: check for grep in configure and then use it in build process.
Rik <rik@octave.org>
parents: 16068
diff changeset
7 export GREP
9794
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
8
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
9 FIND = @FIND@
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
10 export FIND
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
11
16132
43e6415393ff build: check for grep in configure and then use it in build process.
Rik <rik@octave.org>
parents: 16068
diff changeset
12 SED = @SED@
43e6415393ff build: check for grep in configure and then use it in build process.
Rik <rik@octave.org>
parents: 16068
diff changeset
13 export SED
43e6415393ff build: check for grep in configure and then use it in build process.
Rik <rik@octave.org>
parents: 16068
diff changeset
14
21288
1a21a0f6364e Fix build when user's shell is not a POSIX/Bourne-style shell
Mike Miller <mtmiller@octave.org>
parents: 21281
diff changeset
15 SHELL = @SHELL@
1a21a0f6364e Fix build when user's shell is not a POSIX/Bourne-style shell
Mike Miller <mtmiller@octave.org>
parents: 21281
diff changeset
16 export SHELL
1a21a0f6364e Fix build when user's shell is not a POSIX/Bourne-style shell
Mike Miller <mtmiller@octave.org>
parents: 21281
diff changeset
17
9794
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
18 PERL = @PERL@
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
19 export PERL
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
20
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
21 PYTHON = @PYTHON@
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
22
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
23 GNUPLOT = @GNUPLOT@
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
24
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
25 DESKTOP_FILE_INSTALL = @DESKTOP_FILE_INSTALL@
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
26
9906
8d20fb66a0dc more automake fixes
John W. Eaton <jwe@octave.org>
parents: 9845
diff changeset
27 OCTAVE_VERSION = @OCTAVE_VERSION@
18229
b6b6e0dc700e provide version number macros (bug #41045)
John W. Eaton <jwe@octave.org>
parents: 17821
diff changeset
28 OCTAVE_MAJOR_VERSION = @OCTAVE_MAJOR_VERSION@
b6b6e0dc700e provide version number macros (bug #41045)
John W. Eaton <jwe@octave.org>
parents: 17821
diff changeset
29 OCTAVE_MINOR_VERSION = @OCTAVE_MINOR_VERSION@
b6b6e0dc700e provide version number macros (bug #41045)
John W. Eaton <jwe@octave.org>
parents: 17821
diff changeset
30 OCTAVE_PATCH_VERSION = @OCTAVE_PATCH_VERSION@
9906
8d20fb66a0dc more automake fixes
John W. Eaton <jwe@octave.org>
parents: 9845
diff changeset
31 OCTAVE_API_VERSION = @OCTAVE_API_VERSION@
8d20fb66a0dc more automake fixes
John W. Eaton <jwe@octave.org>
parents: 9845
diff changeset
32 OCTAVE_RELEASE_DATE = @OCTAVE_RELEASE_DATE@
8d20fb66a0dc more automake fixes
John W. Eaton <jwe@octave.org>
parents: 9845
diff changeset
33 OCTAVE_COPYRIGHT = @OCTAVE_COPYRIGHT@
8d20fb66a0dc more automake fixes
John W. Eaton <jwe@octave.org>
parents: 9845
diff changeset
34
8d20fb66a0dc more automake fixes
John W. Eaton <jwe@octave.org>
parents: 9845
diff changeset
35 version = $(OCTAVE_VERSION)
8d20fb66a0dc more automake fixes
John W. Eaton <jwe@octave.org>
parents: 9845
diff changeset
36 api_version = $(OCTAVE_API_VERSION)
9794
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
37
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
38 ## AM_LIBTOOLFLAGS = --silent
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
39
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
40 #### Start of system configuration section. ####
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
41
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
42 EXEEXT = @EXEEXT@
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
43
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
44 BUILD_EXEEXT = @BUILD_EXEEXT@
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
45
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
46 LEX = @LEX@
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
47 AM_LFLAGS = @LFLAGS@
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
48 LEXLIB = @LEXLIB@
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
49
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
50 YACC = @YACC@
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
51 AM_YFLAGS = -dv
18974
d8abf813c69f handle changes in bison 3.x
John W. Eaton <jwe@octave.org>
parents: 18229
diff changeset
52 BISON_API_PREFIX_DECL_STYLE = @BISON_API_PREFIX_DECL_STYLE@
16174
39096b290a2f check syntax used to enable bison push/pull parser
John W. Eaton <jwe@octave.org>
parents: 16171
diff changeset
53 BISON_PUSH_PULL_DECL_STYLE = @BISON_PUSH_PULL_DECL_STYLE@
9794
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
54
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
55 GPERF = @GPERF@
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
56
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
57 AR = @AR@
19593
446c46af4b42 strip trailing whitespace from most source files
John W. Eaton <jwe@octave.org>
parents: 18974
diff changeset
58 ARFLAGS = @ARFLAGS@
9794
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
59
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
60 TEMPLATE_AR = @TEMPLATE_AR@
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
61 TEMPLATE_ARFLAGS = @TEMPLATE_ARFLAGS@
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
62
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
63 RANLIB = @RANLIB@
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
64
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
65 LN_S = @LN_S@
15738
e340df7b8034 build: Check for 'mkdir -p' and then use it in Makefiles.
Rik <rik@octave.org>
parents: 15625
diff changeset
66 MKDIR_P = @MKDIR_P@
9794
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
67
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
68 MAKEINFO = @MAKEINFO@
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
69 TEXI2DVI = @TEXI2DVI@
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
70 TEXI2PDF = @TEXI2PDF@
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
71
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
72 GHOSTSCRIPT = @GHOSTSCRIPT@
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
73
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
74 DEFAULT_PAGER = @DEFAULT_PAGER@
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
75
16522
bfff338c56d1 set default terminal font for the GUI from the configure script
John W. Eaton <jwe@octave.org>
parents: 16174
diff changeset
76 DEFAULT_TERMINAL_FONT = @DEFAULT_TERMINAL_FONT@
bfff338c56d1 set default terminal font for the GUI from the configure script
John W. Eaton <jwe@octave.org>
parents: 16174
diff changeset
77 DEFAULT_TERMINAL_FONT_SIZE = @DEFAULT_TERMINAL_FONT_SIZE@
bfff338c56d1 set default terminal font for the GUI from the configure script
John W. Eaton <jwe@octave.org>
parents: 16174
diff changeset
78
9794
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
79 ENABLE_DYNAMIC_LINKING = @ENABLE_DYNAMIC_LINKING@
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
80
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
81 SHLEXT = @SHLEXT@
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
82 SHLEXT_VER = @SHLEXT_VER@
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
83 SHLLIB = @SHLLIB@
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
84 SHLLIB_VER = @SHLLIB_VER@
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
85 SHLBIN = @SHLBIN@
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
86 SHLBIN_VER = @SHLBIN_VER@
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
87 SHLLINKEXT=
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
88
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
89 LIBEXT = a
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
90 LIBPRE = @LIBPRE@
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
91 SHLPRE = @SHLPRE@
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
92 SHLLIBPRE = @SHLLIBPRE@
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
93 SHLBINPRE = @SHLBINPRE@
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
94
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
95 # Fortran compiler flags.
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
96
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
97 F77 = @F77@
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
98 AM_FFLAGS = @FFLAGS@
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
99 FPICFLAG = @FPICFLAG@
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
100 F77_FLOAT_STORE_FLAG = @F77_FLOAT_STORE_FLAG@
10331
6a50aa2cdf00 never compile ranlib with 8-byte integers
John W. Eaton <jwe@octave.org>
parents: 10004
diff changeset
101 F77_INTEGER_8_FLAG = @F77_INTEGER_8_FLAG@
15424
cabe2fa4566c build: Add and organize octave_config_info variables.
Rik <rik@octave.org>
parents: 15363
diff changeset
102 ALL_FFLAGS = $(FFLAGS)
9794
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
103
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
104 F77_TOLOWER=@F77_TOLOWER@
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
105 F77_APPEND_UNDERSCORE=@F77_TOLOWER@
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
106 F77_APPEND_EXTRA_UNDERSCORE=@F77_TOLOWER@
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
107
14550
bc4c574ab3b6 Add configure check for isnan in fortran.
Carlo de Falco <cdf@users.sourceforge.net>
parents: 14144
diff changeset
108 F77_ISNAN_MACRO=@F77_ISNAN_MACRO@
9794
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
109
15424
cabe2fa4566c build: Add and organize octave_config_info variables.
Rik <rik@octave.org>
parents: 15363
diff changeset
110 # C compiler flags.
9794
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
111
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
112 CC = @CC@
15167
1c711a646fa7 Deprecate configure variables CC_VERSION, CXX_VERSION.
Rik <rik@octave.org>
parents: 15154
diff changeset
113 GCC_VERSION = @GCC_VERSION@
9794
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
114 CPICFLAG = @CPICFLAG@
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
115 XTRA_CFLAGS = @XTRA_CFLAGS@
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
116 WARN_CFLAGS = @WARN_CFLAGS@
15363
482d92904aa4 don't use WARN_CXXFLAGS for qterminal library
John W. Eaton <jwe@octave.org>
parents: 15271
diff changeset
117 AM_CFLAGS = $(XTRA_CFLAGS)
9794
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
118
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
119 BUILD_CC = @BUILD_CC@
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
120 BUILD_CFLAGS = @BUILD_CFLAGS@
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
121
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
122 DEPEND_FLAGS = @DEPEND_FLAGS@
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
123 DEPEND_EXTRA_SED_PATTERN = @DEPEND_EXTRA_SED_PATTERN@
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
124 INCLUDE_DEPS = @INCLUDE_DEPS@
16068
b309a5da17f5 use yes/no instead of true/false in confgure scripts
John W. Eaton <jwe@octave.org>
parents: 16019
diff changeset
125 # ifeq ($(INCLUDE_DEPS),no)
9794
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
126 # omit_deps = true;
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
127 # endif
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
128
15424
cabe2fa4566c build: Add and organize octave_config_info variables.
Rik <rik@octave.org>
parents: 15363
diff changeset
129 DEFS = @DEFS@
cabe2fa4566c build: Add and organize octave_config_info variables.
Rik <rik@octave.org>
parents: 15363
diff changeset
130
cabe2fa4566c build: Add and organize octave_config_info variables.
Rik <rik@octave.org>
parents: 15363
diff changeset
131 # C++ compiler flags.
9794
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
132
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
133 CXX = @CXX@
15167
1c711a646fa7 Deprecate configure variables CC_VERSION, CXX_VERSION.
Rik <rik@octave.org>
parents: 15154
diff changeset
134 GXX_VERSION = @GXX_VERSION@
9794
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
135 CXXCPP = @CXXCPP@
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
136 CXXPICFLAG = @CXXPICFLAG@
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
137 XTRA_CXXFLAGS = @XTRA_CXXFLAGS@
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
138 WARN_CXXFLAGS = @WARN_CXXFLAGS@
15363
482d92904aa4 don't use WARN_CXXFLAGS for qterminal library
John W. Eaton <jwe@octave.org>
parents: 15271
diff changeset
139 AM_CXXFLAGS = $(XTRA_CXXFLAGS)
9794
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
140
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
141 BUILD_CXX = @BUILD_CXX@
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
142 BUILD_CXXFLAGS = @BUILD_CXXFLAGS@
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
143
15424
cabe2fa4566c build: Add and organize octave_config_info variables.
Rik <rik@octave.org>
parents: 15363
diff changeset
144 # Linker and library flags
9794
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
145
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
146 LD_CXX = @LD_CXX@
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
147 LD_STATIC_FLAG = @LD_STATIC_FLAG@
15424
cabe2fa4566c build: Add and organize octave_config_info variables.
Rik <rik@octave.org>
parents: 15363
diff changeset
148 LIBFLAGS = -L$(top_builddir)
20712
4a25c398ffa2 configure option to build with address sanitizer (bugg #46449)
John W. Eaton <jwe@octave.org>
parents: 20308
diff changeset
149 WARN_LDFLAGS = @WARN_LDFLAGS@
9794
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
150 #ALL_LDFLAGS = $(LIBFLAGS) $(LD_STATIC_FLAG) $(CPICFLAG) $(LDFLAGS)
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
151
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
152 BUILD_LDFLAGS = @BUILD_LDFLAGS@
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
153
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
154 SH_LD = @SH_LD@
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
155 SH_LDFLAGS = @SH_LDFLAGS@
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
156
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
157 DL_LD = @DL_LD@
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
158 DL_LDFLAGS = @DL_LDFLAGS@
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
159
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
160 SONAME_FLAGS = @SONAME_FLAGS@
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
161
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
162 RDYNAMIC_FLAG = @RDYNAMIC_FLAG@
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
163
15424
cabe2fa4566c build: Add and organize octave_config_info variables.
Rik <rik@octave.org>
parents: 15363
diff changeset
164 NO_UNDEFINED_LDFLAG = @NO_UNDEFINED_LDFLAG@
9794
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
165
15945
a653526ea4a5 use mkoctfile, not octave_config_info to get default pkg compiler tools
John W. Eaton <jwe@octave.org>
parents: 15932
diff changeset
166 MKOCTFILE_AR = @MKOCTFILE_AR@
15932
747dd82082c8 strip cross tool prefix from CC, CXX, etc. definitions used in mkoctfile
John W. Eaton <jwe@octave.org>
parents: 14144
diff changeset
167 MKOCTFILE_CC = @MKOCTFILE_CC@
747dd82082c8 strip cross tool prefix from CC, CXX, etc. definitions used in mkoctfile
John W. Eaton <jwe@octave.org>
parents: 14144
diff changeset
168 MKOCTFILE_CXX = @MKOCTFILE_CXX@
747dd82082c8 strip cross tool prefix from CC, CXX, etc. definitions used in mkoctfile
John W. Eaton <jwe@octave.org>
parents: 14144
diff changeset
169 MKOCTFILE_DL_LD = @MKOCTFILE_DL_LD@
747dd82082c8 strip cross tool prefix from CC, CXX, etc. definitions used in mkoctfile
John W. Eaton <jwe@octave.org>
parents: 14144
diff changeset
170 MKOCTFILE_DL_LDFLAGS = @MKOCTFILE_DL_LDFLAGS@
747dd82082c8 strip cross tool prefix from CC, CXX, etc. definitions used in mkoctfile
John W. Eaton <jwe@octave.org>
parents: 14144
diff changeset
171 MKOCTFILE_F77 = @MKOCTFILE_F77@
747dd82082c8 strip cross tool prefix from CC, CXX, etc. definitions used in mkoctfile
John W. Eaton <jwe@octave.org>
parents: 14144
diff changeset
172 MKOCTFILE_LD_CXX = @MKOCTFILE_LD_CXX@
15945
a653526ea4a5 use mkoctfile, not octave_config_info to get default pkg compiler tools
John W. Eaton <jwe@octave.org>
parents: 15932
diff changeset
173 MKOCTFILE_RANLIB = @MKOCTFILE_RANLIB@
15932
747dd82082c8 strip cross tool prefix from CC, CXX, etc. definitions used in mkoctfile
John W. Eaton <jwe@octave.org>
parents: 14144
diff changeset
174
747dd82082c8 strip cross tool prefix from CC, CXX, etc. definitions used in mkoctfile
John W. Eaton <jwe@octave.org>
parents: 14144
diff changeset
175 # List of libraries and their special compilation flags
747dd82082c8 strip cross tool prefix from CC, CXX, etc. definitions used in mkoctfile
John W. Eaton <jwe@octave.org>
parents: 14144
diff changeset
176
9794
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
177 LIBOCTINTERP = @LIBOCTINTERP@
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
178 LIBOCTAVE = @LIBOCTAVE@
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
179
15424
cabe2fa4566c build: Add and organize octave_config_info variables.
Rik <rik@octave.org>
parents: 15363
diff changeset
180 DL_LIBS = @DL_LIBS@
cabe2fa4566c build: Add and organize octave_config_info variables.
Rik <rik@octave.org>
parents: 15363
diff changeset
181 FLIBS = @FLIBS@
cabe2fa4566c build: Add and organize octave_config_info variables.
Rik <rik@octave.org>
parents: 15363
diff changeset
182 LIBS = @LIBS@
9794
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
183
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
184 AMD_CPPFLAGS = @AMD_CPPFLAGS@
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
185 AMD_LDFLAGS = @AMD_LDFLAGS@
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
186 AMD_LIBS = @AMD_LIBS@
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
187
15424
cabe2fa4566c build: Add and organize octave_config_info variables.
Rik <rik@octave.org>
parents: 15363
diff changeset
188 ARPACK_CPPFLAGS = @ARPACK_CPPFLAGS@
cabe2fa4566c build: Add and organize octave_config_info variables.
Rik <rik@octave.org>
parents: 15363
diff changeset
189 ARPACK_LDFLAGS = @ARPACK_LDFLAGS@
cabe2fa4566c build: Add and organize octave_config_info variables.
Rik <rik@octave.org>
parents: 15363
diff changeset
190 ARPACK_LIBS = @ARPACK_LIBS@
cabe2fa4566c build: Add and organize octave_config_info variables.
Rik <rik@octave.org>
parents: 15363
diff changeset
191
cabe2fa4566c build: Add and organize octave_config_info variables.
Rik <rik@octave.org>
parents: 15363
diff changeset
192 BLAS_LIBS = @BLAS_LIBS@
cabe2fa4566c build: Add and organize octave_config_info variables.
Rik <rik@octave.org>
parents: 15363
diff changeset
193
9794
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
194 CAMD_CPPFLAGS = @CAMD_CPPFLAGS@
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
195 CAMD_LDFLAGS = @CAMD_LDFLAGS@
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
196 CAMD_LIBS = @CAMD_LIBS@
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
197
15424
cabe2fa4566c build: Add and organize octave_config_info variables.
Rik <rik@octave.org>
parents: 15363
diff changeset
198 CARBON_LIBS = @CARBON_LIBS@
cabe2fa4566c build: Add and organize octave_config_info variables.
Rik <rik@octave.org>
parents: 15363
diff changeset
199
9794
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
200 COLAMD_CPPFLAGS = @COLAMD_CPPFLAGS@
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
201 COLAMD_LDFLAGS = @COLAMD_LDFLAGS@
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
202 COLAMD_LIBS = @COLAMD_LIBS@
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
203
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
204 CCOLAMD_CPPFLAGS = @CCOLAMD_CPPFLAGS@
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
205 CCOLAMD_LDFLAGS = @CCOLAMD_LDFLAGS@
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
206 CCOLAMD_LIBS = @CCOLAMD_LIBS@
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
207
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
208 CHOLMOD_CPPFLAGS = @CHOLMOD_CPPFLAGS@
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
209 CHOLMOD_LDFLAGS = @CHOLMOD_LDFLAGS@
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
210 CHOLMOD_LIBS = @CHOLMOD_LIBS@
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
211
15424
cabe2fa4566c build: Add and organize octave_config_info variables.
Rik <rik@octave.org>
parents: 15363
diff changeset
212 CURL_CPPFLAGS = @CURL_CPPFLAGS@
cabe2fa4566c build: Add and organize octave_config_info variables.
Rik <rik@octave.org>
parents: 15363
diff changeset
213 CURL_LDFLAGS = @CURL_LDFLAGS@
cabe2fa4566c build: Add and organize octave_config_info variables.
Rik <rik@octave.org>
parents: 15363
diff changeset
214 CURL_LIBS = @CURL_LIBS@
cabe2fa4566c build: Add and organize octave_config_info variables.
Rik <rik@octave.org>
parents: 15363
diff changeset
215
9794
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
216 CXSPARSE_CPPFLAGS = @CXSPARSE_CPPFLAGS@
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
217 CXSPARSE_LDFLAGS = @CXSPARSE_LDFLAGS@
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
218 CXSPARSE_LIBS = @CXSPARSE_LIBS@
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
219
15424
cabe2fa4566c build: Add and organize octave_config_info variables.
Rik <rik@octave.org>
parents: 15363
diff changeset
220 FFTW3_CPPFLAGS = @FFTW3_CPPFLAGS@
cabe2fa4566c build: Add and organize octave_config_info variables.
Rik <rik@octave.org>
parents: 15363
diff changeset
221 FFTW3_LDFLAGS = @FFTW3_LDFLAGS@
cabe2fa4566c build: Add and organize octave_config_info variables.
Rik <rik@octave.org>
parents: 15363
diff changeset
222 FFTW3_LIBS = @FFTW3_LIBS@
cabe2fa4566c build: Add and organize octave_config_info variables.
Rik <rik@octave.org>
parents: 15363
diff changeset
223
cabe2fa4566c build: Add and organize octave_config_info variables.
Rik <rik@octave.org>
parents: 15363
diff changeset
224 FFTW3F_CPPFLAGS = @FFTW3F_CPPFLAGS@
cabe2fa4566c build: Add and organize octave_config_info variables.
Rik <rik@octave.org>
parents: 15363
diff changeset
225 FFTW3F_LDFLAGS = @FFTW3F_LDFLAGS@
cabe2fa4566c build: Add and organize octave_config_info variables.
Rik <rik@octave.org>
parents: 15363
diff changeset
226 FFTW3F_LIBS = @FFTW3F_LIBS@
cabe2fa4566c build: Add and organize octave_config_info variables.
Rik <rik@octave.org>
parents: 15363
diff changeset
227
cabe2fa4566c build: Add and organize octave_config_info variables.
Rik <rik@octave.org>
parents: 15363
diff changeset
228 FFTW_XCPPFLAGS = $(FFTW3_CPPFLAGS) $(FFTW3F_CPPFLAGS)
cabe2fa4566c build: Add and organize octave_config_info variables.
Rik <rik@octave.org>
parents: 15363
diff changeset
229 FFTW_XLDFLAGS = $(FFTW3_LDFLAGS) $(FFTW3F_LDFLAGS)
15969
139f4b19a3ac build: Improve detection of FFTW multi-threading
Mike Miller <mtmiller@ieee.org>
parents: 15964
diff changeset
230 FFTW_XLIBS = $(FFTW3_LIBS) $(FFTW3F_LIBS)
15424
cabe2fa4566c build: Add and organize octave_config_info variables.
Rik <rik@octave.org>
parents: 15363
diff changeset
231
19733
08033d583435 more consistently use _CPPFLAGS and _LDFLAGS variables
John W. Eaton <jwe@octave.org>
parents: 19732
diff changeset
232 FLTK_CPPFLAGS = @FLTK_CPPFLAGS@
08033d583435 more consistently use _CPPFLAGS and _LDFLAGS variables
John W. Eaton <jwe@octave.org>
parents: 19732
diff changeset
233 FLTK_LDFLAGS = @FLTK_LDFLAGS@
19732
bf25e9f7c22a use FLTK_CFLAGS and FLTK_LIBS instead of GRAPHICS_CFLAGS and GRAPHICS_LIBS
John W. Eaton <jwe@octave.org>
parents: 19596
diff changeset
234 FLTK_LIBS = @FLTK_LIBS@
bf25e9f7c22a use FLTK_CFLAGS and FLTK_LIBS instead of GRAPHICS_CFLAGS and GRAPHICS_LIBS
John W. Eaton <jwe@octave.org>
parents: 19596
diff changeset
235
17816
e6317049225b build: Remove FreeType and Fontconfig CPPFLAGS from XTRA_CXXFLAGS.
Rik <rik@octave.org>
parents: 17797
diff changeset
236 ## Alias CPPFLAGS to CFLAGS.
e6317049225b build: Remove FreeType and Fontconfig CPPFLAGS from XTRA_CXXFLAGS.
Rik <rik@octave.org>
parents: 17797
diff changeset
237 ## This is closer to the true meaning of `pkg-config --cflags` output.
e6317049225b build: Remove FreeType and Fontconfig CPPFLAGS from XTRA_CXXFLAGS.
Rik <rik@octave.org>
parents: 17797
diff changeset
238 FONTCONFIG_CPPFLAGS = @FONTCONFIG_CFLAGS@
e6317049225b build: Remove FreeType and Fontconfig CPPFLAGS from XTRA_CXXFLAGS.
Rik <rik@octave.org>
parents: 17797
diff changeset
239 FONTCONFIG_CFLAGS = @FONTCONFIG_CFLAGS@
e6317049225b build: Remove FreeType and Fontconfig CPPFLAGS from XTRA_CXXFLAGS.
Rik <rik@octave.org>
parents: 17797
diff changeset
240
e6317049225b build: Remove FreeType and Fontconfig CPPFLAGS from XTRA_CXXFLAGS.
Rik <rik@octave.org>
parents: 17797
diff changeset
241 ## Alias CPPFLAGS to CFLAGS.
e6317049225b build: Remove FreeType and Fontconfig CPPFLAGS from XTRA_CXXFLAGS.
Rik <rik@octave.org>
parents: 17797
diff changeset
242 FT2_CPPFLAGS = @FT2_CFLAGS@
15424
cabe2fa4566c build: Add and organize octave_config_info variables.
Rik <rik@octave.org>
parents: 15363
diff changeset
243 FT2_CFLAGS = @FT2_CFLAGS@
cabe2fa4566c build: Add and organize octave_config_info variables.
Rik <rik@octave.org>
parents: 15363
diff changeset
244 FT2_LIBS = @FT2_LIBS@
cabe2fa4566c build: Add and organize octave_config_info variables.
Rik <rik@octave.org>
parents: 15363
diff changeset
245
cabe2fa4566c build: Add and organize octave_config_info variables.
Rik <rik@octave.org>
parents: 15363
diff changeset
246 GLPK_CPPFLAGS = @GLPK_CPPFLAGS@
cabe2fa4566c build: Add and organize octave_config_info variables.
Rik <rik@octave.org>
parents: 15363
diff changeset
247 GLPK_LDFLAGS = @GLPK_LDFLAGS@
cabe2fa4566c build: Add and organize octave_config_info variables.
Rik <rik@octave.org>
parents: 15363
diff changeset
248 GLPK_LIBS = @GLPK_LIBS@
cabe2fa4566c build: Add and organize octave_config_info variables.
Rik <rik@octave.org>
parents: 15363
diff changeset
249
17797
06a850f83dd4 build: Remove embedded gl2ps. Require gl2ps as external dependency.
Rik <rik@octave.org>
parents: 16603
diff changeset
250 GL2PS_LIBS = @GL2PS_LIBS@
06a850f83dd4 build: Remove embedded gl2ps. Require gl2ps as external dependency.
Rik <rik@octave.org>
parents: 16603
diff changeset
251
15424
cabe2fa4566c build: Add and organize octave_config_info variables.
Rik <rik@octave.org>
parents: 15363
diff changeset
252 HDF5_CPPFLAGS = @HDF5_CPPFLAGS@
cabe2fa4566c build: Add and organize octave_config_info variables.
Rik <rik@octave.org>
parents: 15363
diff changeset
253 HDF5_LDFLAGS = @HDF5_LDFLAGS@
cabe2fa4566c build: Add and organize octave_config_info variables.
Rik <rik@octave.org>
parents: 15363
diff changeset
254 HDF5_LIBS = @HDF5_LIBS@
cabe2fa4566c build: Add and organize octave_config_info variables.
Rik <rik@octave.org>
parents: 15363
diff changeset
255
15625
acf0addfc610 include Octave Forge java package in core Octave
John W. Eaton <jwe@octave.org>
parents: 15596
diff changeset
256 JAVA_CPPFLAGS = @JAVA_CPPFLAGS@
acf0addfc610 include Octave Forge java package in core Octave
John W. Eaton <jwe@octave.org>
parents: 15596
diff changeset
257 JAVA_LIBS = @JAVA_LIBS@
acf0addfc610 include Octave Forge java package in core Octave
John W. Eaton <jwe@octave.org>
parents: 15596
diff changeset
258
15424
cabe2fa4566c build: Add and organize octave_config_info variables.
Rik <rik@octave.org>
parents: 15363
diff changeset
259 LAPACK_LIBS = @LAPACK_LIBS@
cabe2fa4566c build: Add and organize octave_config_info variables.
Rik <rik@octave.org>
parents: 15363
diff changeset
260
cabe2fa4566c build: Add and organize octave_config_info variables.
Rik <rik@octave.org>
parents: 15363
diff changeset
261 LLVM_CPPFLAGS = @LLVM_CPPFLAGS@
cabe2fa4566c build: Add and organize octave_config_info variables.
Rik <rik@octave.org>
parents: 15363
diff changeset
262 LLVM_LDFLAGS = @LLVM_LDFLAGS@
cabe2fa4566c build: Add and organize octave_config_info variables.
Rik <rik@octave.org>
parents: 15363
diff changeset
263 LLVM_LIBS = @LLVM_LIBS@
cabe2fa4566c build: Add and organize octave_config_info variables.
Rik <rik@octave.org>
parents: 15363
diff changeset
264
cabe2fa4566c build: Add and organize octave_config_info variables.
Rik <rik@octave.org>
parents: 15363
diff changeset
265 MAGICK_CPPFLAGS = @MAGICK_CPPFLAGS@
cabe2fa4566c build: Add and organize octave_config_info variables.
Rik <rik@octave.org>
parents: 15363
diff changeset
266 MAGICK_LDFLAGS = @MAGICK_LDFLAGS@
cabe2fa4566c build: Add and organize octave_config_info variables.
Rik <rik@octave.org>
parents: 15363
diff changeset
267 MAGICK_LIBS = @MAGICK_LIBS@
9794
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
268
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
269 OPENGL_LIBS = @OPENGL_LIBS@
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
270
19734
9f6ee9cb749c put OSMESA compiler flag variables in config_options struct
John W. Eaton <jwe@octave.org>
parents: 19733
diff changeset
271 OSMESA_CPPFLAGS = @OSMESA_CPPFLAGS@
9f6ee9cb749c put OSMESA compiler flag variables in config_options struct
John W. Eaton <jwe@octave.org>
parents: 19733
diff changeset
272 OSMESA_LDFLAGS = @OSMESA_LDFLAGS@
9f6ee9cb749c put OSMESA compiler flag variables in config_options struct
John W. Eaton <jwe@octave.org>
parents: 19733
diff changeset
273 OSMESA_LIBS = @OSMESA_LIBS@
9f6ee9cb749c put OSMESA compiler flag variables in config_options struct
John W. Eaton <jwe@octave.org>
parents: 19733
diff changeset
274
17821
82c94987abc6 build: Remove REGEX_CPPFLAGS from XTRA_CXXFLAGS.
Rik <rik@octave.org>
parents: 17816
diff changeset
275 PCRE_CPPFLAGS = @PCRE_CPPFLAGS@
82c94987abc6 build: Remove REGEX_CPPFLAGS from XTRA_CXXFLAGS.
Rik <rik@octave.org>
parents: 17816
diff changeset
276 PCRE_LIBS = @PCRE_LIBS@
82c94987abc6 build: Remove REGEX_CPPFLAGS from XTRA_CXXFLAGS.
Rik <rik@octave.org>
parents: 17816
diff changeset
277
15424
cabe2fa4566c build: Add and organize octave_config_info variables.
Rik <rik@octave.org>
parents: 15363
diff changeset
278 PTHREAD_CFLAGS = @PTHREAD_CFLAGS@
cabe2fa4566c build: Add and organize octave_config_info variables.
Rik <rik@octave.org>
parents: 15363
diff changeset
279 PTHREAD_LIBS = @PTHREAD_LIBS@
cabe2fa4566c build: Add and organize octave_config_info variables.
Rik <rik@octave.org>
parents: 15363
diff changeset
280
cabe2fa4566c build: Add and organize octave_config_info variables.
Rik <rik@octave.org>
parents: 15363
diff changeset
281 QHULL_CPPFLAGS = @QHULL_CPPFLAGS@
cabe2fa4566c build: Add and organize octave_config_info variables.
Rik <rik@octave.org>
parents: 15363
diff changeset
282 QHULL_LDFLAGS = @QHULL_LDFLAGS@
cabe2fa4566c build: Add and organize octave_config_info variables.
Rik <rik@octave.org>
parents: 15363
diff changeset
283 QHULL_LIBS = @QHULL_LIBS@
cabe2fa4566c build: Add and organize octave_config_info variables.
Rik <rik@octave.org>
parents: 15363
diff changeset
284
9794
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
285 QRUPDATE_CPPFLAGS = @QRUPDATE_CPPFLAGS@
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
286 QRUPDATE_LDFLAGS = @QRUPDATE_LDFLAGS@
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
287 QRUPDATE_LIBS = @QRUPDATE_LIBS@
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
288
15424
cabe2fa4566c build: Add and organize octave_config_info variables.
Rik <rik@octave.org>
parents: 15363
diff changeset
289 READLINE_LIBS = @READLINE_LIBS@
9794
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
290
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
291 SPARSE_XCPPFLAGS = \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
292 $(CHOLMOD_CPPFLAGS) $(UMFPACK_CPPFLAGS) \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
293 $(AMD_CPPFLAGS) $(CAMD_CPPFLAGS) $(COLAMD_CPPFLAGS) \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
294 $(CCOLAMD_CPPFLAGS) $(CXSPARSE_CPPFLAGS)
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
295
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
296 SPARSE_XLDFLAGS = \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
297 $(CHOLMOD_LDFLAGS) $(UMFPACK_LDFLAGS) \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
298 $(AMD_LDFLAGS) $(CAMD_LDFLAGS) $(COLAMD_LDFLAGS) \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
299 $(CCOLAMD_LDFLAGS) $(CXSPARSE_LDFLAGS)
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
300
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
301 ## Order matters, at least on some systems (Cygwin, for example).
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
302 SPARSE_XLIBS = \
16135
98b211a163ce build: remove obsolet macros from common.mk
Rik <rik@octave.org>
parents: 16132
diff changeset
303 $(CHOLMOD_LIBS) $(UMFPACK_LIBS) \
98b211a163ce build: remove obsolet macros from common.mk
Rik <rik@octave.org>
parents: 16132
diff changeset
304 $(AMD_LIBS) $(CAMD_LIBS) $(COLAMD_LIBS) \
98b211a163ce build: remove obsolet macros from common.mk
Rik <rik@octave.org>
parents: 16132
diff changeset
305 $(CCOLAMD_LIBS) $(CXSPARSE_LIBS)
9794
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
306
15424
cabe2fa4566c build: Add and organize octave_config_info variables.
Rik <rik@octave.org>
parents: 15363
diff changeset
307 TERM_LIBS = @TERM_LIBS@
cabe2fa4566c build: Add and organize octave_config_info variables.
Rik <rik@octave.org>
parents: 15363
diff changeset
308
cabe2fa4566c build: Add and organize octave_config_info variables.
Rik <rik@octave.org>
parents: 15363
diff changeset
309 UMFPACK_CPPFLAGS = @UMFPACK_CPPFLAGS@
cabe2fa4566c build: Add and organize octave_config_info variables.
Rik <rik@octave.org>
parents: 15363
diff changeset
310 UMFPACK_LDFLAGS = @UMFPACK_LDFLAGS@
cabe2fa4566c build: Add and organize octave_config_info variables.
Rik <rik@octave.org>
parents: 15363
diff changeset
311 UMFPACK_LIBS = @UMFPACK_LIBS@
9794
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
312
15424
cabe2fa4566c build: Add and organize octave_config_info variables.
Rik <rik@octave.org>
parents: 15363
diff changeset
313 X11_INCFLAGS = @X11_INCFLAGS@
cabe2fa4566c build: Add and organize octave_config_info variables.
Rik <rik@octave.org>
parents: 15363
diff changeset
314 X11_LIBS = @X11_LIBS@
9794
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
315
15424
cabe2fa4566c build: Add and organize octave_config_info variables.
Rik <rik@octave.org>
parents: 15363
diff changeset
316 Z_CPPFLAGS = @Z_CPPFLAGS@
cabe2fa4566c build: Add and organize octave_config_info variables.
Rik <rik@octave.org>
parents: 15363
diff changeset
317 Z_LDFLAGS = @Z_LDFLAGS@
cabe2fa4566c build: Add and organize octave_config_info variables.
Rik <rik@octave.org>
parents: 15363
diff changeset
318 Z_LIBS = @Z_LIBS@
cabe2fa4566c build: Add and organize octave_config_info variables.
Rik <rik@octave.org>
parents: 15363
diff changeset
319
cabe2fa4566c build: Add and organize octave_config_info variables.
Rik <rik@octave.org>
parents: 15363
diff changeset
320 # Miscellaneous
9794
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
321
9906
8d20fb66a0dc more automake fixes
John W. Eaton <jwe@octave.org>
parents: 9845
diff changeset
322 OCTAVE_IDX_TYPE = @OCTAVE_IDX_TYPE@
9794
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
323
20712
4a25c398ffa2 configure option to build with address sanitizer (bugg #46449)
John W. Eaton <jwe@octave.org>
parents: 20308
diff changeset
324 if AMCOND_ADDRESS_SANITIZER_ENABLED
4a25c398ffa2 configure option to build with address sanitizer (bugg #46449)
John W. Eaton <jwe@octave.org>
parents: 20308
diff changeset
325 ADDRESS_SANITIZER_OPTIONS="symbolize=1"
4a25c398ffa2 configure option to build with address sanitizer (bugg #46449)
John W. Eaton <jwe@octave.org>
parents: 20308
diff changeset
326 endif
4a25c398ffa2 configure option to build with address sanitizer (bugg #46449)
John W. Eaton <jwe@octave.org>
parents: 20308
diff changeset
327
9794
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
328 # The arguments passed to configure.
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
329 config_opts = @config_opts@
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
330
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
331 CONFIG_SUBDIRS = @subdirs@
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
332
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
333 # ==================== Where To Install Things ====================
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
334
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
335 # The default location for installation. Everything is placed in
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
336 # subdirectories of this directory. The default values for many of
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
337 # the variables below are expressed in terms of this one, so you may
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
338 # not need to change them. This defaults to /usr/local.
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
339 prefix = @prefix@
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
340
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
341 # Like `prefix', but used for architecture-specific files.
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
342 exec_prefix = @exec_prefix@
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
343
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
344 # Where to install Octave and other binaries that people will want to
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
345 # run directly.
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
346 bindir = @bindir@
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
347
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
348 # Normally the directory for installing executables that system
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
349 # administrators run. This is the same as libexecdir on Cygwin systems.
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
350 sbindir = @sbindir@
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
351
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
352 # The root of the directory tree for read-only
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
353 # architecture-independent data files.
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
354 datarootdir = @datarootdir@
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
355
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
356 # Where to install architecture-independent data files. ${fcnfiledir}
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
357 # and ${localfcnfiledir} are subdirectories of this.
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
358 datadir = @datadir@
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
359
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
360 libdir = @libdir@
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
361
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
362 # Where to install and expect extra files like NEWS and doc-cache.
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
363 octetcdir = @octetcdir@
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
364
15971
e27d9b9b71f4 gui: install translation files into $(datadir)/octave/$(version)/locale
Torsten <ttl@justmail.de>
parents: 15969
diff changeset
365 # Where to install and expect the language files for the gui.
e27d9b9b71f4 gui: install translation files into $(datadir)/octave/$(version)/locale
Torsten <ttl@justmail.de>
parents: 15969
diff changeset
366 octlocaledir = @octlocaledir@
e27d9b9b71f4 gui: install translation files into $(datadir)/octave/$(version)/locale
Torsten <ttl@justmail.de>
parents: 15969
diff changeset
367
15271
648dabbb4c6b build: Refactor liboctave into multiple subdirectories. Move libcruft into liboctave.
Rik <rik@octave.org>
parents: 15167
diff changeset
368 # Where to install and expect libraries like liboctave.a, liboctinterp.a,
9794
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
369 # and other architecture-dependent data.
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
370 octlibdir = @octlibdir@
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
371
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
372 # Where to install and expect executable programs to be run by Octave
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
373 # rather than directly by users.
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
374 libexecdir = @libexecdir@
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
375
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
376 # The prefix for Octave's include file directory. The default is
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
377 # ${prefix}/include
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
378 includedir = @includedir@
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
379
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
380 # Where to install Octave's man pages, and what extension they should
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
381 # have. The default is ${prefix}/man/man1
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
382 mandir = @mandir@
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
383 man1dir = @man1dir@
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
384 man1ext = @man1ext@
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
385
16019
5b2126a8c84f install tests and functions to run them
John W. Eaton <jwe@octave.org>
parents: 15971
diff changeset
386 # Where to install test files.
5b2126a8c84f install tests and functions to run them
John W. Eaton <jwe@octave.org>
parents: 15971
diff changeset
387 octtestsdir = @octtestsdir@
5b2126a8c84f install tests and functions to run them
John W. Eaton <jwe@octave.org>
parents: 15971
diff changeset
388
9794
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
389 # The full path to the default doc cache file.
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
390 doc_cache_file = @doc_cache_file@
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
391
14614
4e9dc46d4125 handle texinfo macros consistently in help system and manual
John W. Eaton <jwe@octave.org>
parents: 14550
diff changeset
392 # The full path to the default texi macros file.
4e9dc46d4125 handle texinfo macros consistently in help system and manual
John W. Eaton <jwe@octave.org>
parents: 14550
diff changeset
393 texi_macros_file_file = @texi_macros_file@
4e9dc46d4125 handle texinfo macros consistently in help system and manual
John W. Eaton <jwe@octave.org>
parents: 14550
diff changeset
394
9794
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
395 # Where to install and expect the info files describing Octave..
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
396 infodir = @infodir@
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
397
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
398 # The full path to the default info file.
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
399 infofile = @infofile@
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
400
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
401 # ==================== Octave-specific directories ====================
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
402
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
403 # These variables hold the values specific to Octave. They are
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
404 # based on the values of the standard Make variables above.
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
405
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
406 # What is the path separation character
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
407 sepchar = @sepchar@
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
408
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
409 # Where to install Octave's include files. The default is
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
410 # ${includedir}/octave-${version}/octave
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
411 octincludedir = @octincludedir@
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
412
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
413 # Where to install the function file distributed with
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
414 # Octave. This includes the Octave version, so that the
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
415 # function files for different versions of Octave will install
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
416 # themselves in separate directories.
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
417 fcnfiledir = @fcnfiledir@
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
418
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
419 # Directories Octave should search for function files specific
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
420 # to this site (i.e. customizations), before consulting
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
421 # ${fcnfiledir}. This should be a colon-separated list of
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
422 # directories.
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
423 localfcnfiledir = @localfcnfiledir@
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
424 localapifcnfiledir = @localapifcnfiledir@
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
425 localverfcnfiledir = @localverfcnfiledir@
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
426
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
427 # Where to put executables to be run by Octave rather than
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
428 # the user. This path usually includes the Octave version
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
429 # and configuration name, so that multiple configurations
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
430 # for multiple versions of Octave may be installed at once.
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
431 archlibdir = @archlibdir@
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
432
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
433 # Where to put executables to be run by Octave rather than by the
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
434 # user that are specific to this site.
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
435 localarchlibdir = @localarchlibdir@
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
436 localapiarchlibdir = @localapiarchlibdir@
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
437 localverarchlibdir = @localverarchlibdir@
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
438
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
439 # Where to put object files that will by dynamically loaded.
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
440 # This path usually includes the Octave version and configuration
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
441 # name, so that multiple configurations for multiple versions of
19593
446c46af4b42 strip trailing whitespace from most source files
John W. Eaton <jwe@octave.org>
parents: 18974
diff changeset
442 # Octave may be installed at once.
9794
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
443 octfiledir = @octfiledir@
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
444
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
445 # Directories Octave should search for object files that will be
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
446 # dynamically loaded and that are specific to this site
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
447 # (i.e. customizations), before consulting ${octfiledir}. This should
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
448 # be a colon-separated list of directories.
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
449 localoctfiledir = @localoctfiledir@
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
450 localapioctfiledir = @localapioctfiledir@
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
451 localveroctfiledir = @localveroctfiledir@
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
452
19033
c8240a60dd01 Add penny.mat to build system.
Rik <rik@octave.org>
parents: 19032
diff changeset
453 # Where Octave will search for example data files shipped with distribution.
c8240a60dd01 Add penny.mat to build system.
Rik <rik@octave.org>
parents: 19032
diff changeset
454 octdatadir = @octdatadir@
c8240a60dd01 Add penny.mat to build system.
Rik <rik@octave.org>
parents: 19032
diff changeset
455
9794
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
456 # Where Octave will search to find image files.
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
457 imagedir = @imagedir@
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
458
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
459 # The type of computer we are running on.
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
460 canonical_host_type = @canonical_host_type@
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
461
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
462 # Where Octave will look for startup files
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
463 startupfiledir = ${fcnfiledir}/startup
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
464 localstartupfiledir = ${localfcnfiledir}/startup
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
465
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
466 # LD_LIBRARY_PATH, DYLD_LIBRARY_PATH, PATH, ...
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
467 library_path_var = @library_path_var@
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
468
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
469 # The separator used for elements of the LD_PRELOAD variable (might be
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
470 # a space, so protect with $(null))
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
471 null =
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
472 ldpreloadsep = $(null)@ldpreloadsep@$(null)
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
473
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
474 NO_OCT_FILE_STRIP = @NO_OCT_FILE_STRIP@
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
475
15424
cabe2fa4566c build: Add and organize octave_config_info variables.
Rik <rik@octave.org>
parents: 15363
diff changeset
476 # ==================== Octave-specific Makefile rules ====================
cabe2fa4566c build: Add and organize octave_config_info variables.
Rik <rik@octave.org>
parents: 15363
diff changeset
477
9794
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
478 # The following pattern rules and the substitution functions require
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
479 # GNU make. If you don't have it, get it!
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
480
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
481 define simple_move_if_change_rule
19792
4f6ae6b94abe make --enable-silent-rules configure option more useful
John W. Eaton <jwe@octave.org>
parents: 19775
diff changeset
482 if [ -s $@-t ]; then \
21281
b76955e83fe4 maint: Run all build shell scripts with SHELL as command interpreter
Mike Miller <mtmiller@octave.org>
parents: 21229
diff changeset
483 $(SHELL) $(top_srcdir)/build-aux/move-if-change $@-t $@; \
19792
4f6ae6b94abe make --enable-silent-rules configure option more useful
John W. Eaton <jwe@octave.org>
parents: 19775
diff changeset
484 else \
4f6ae6b94abe make --enable-silent-rules configure option more useful
John W. Eaton <jwe@octave.org>
parents: 19775
diff changeset
485 echo "$@-t is empty!" 1>&2; \
4f6ae6b94abe make --enable-silent-rules configure option more useful
John W. Eaton <jwe@octave.org>
parents: 19775
diff changeset
486 rm -f $@-t; \
4f6ae6b94abe make --enable-silent-rules configure option more useful
John W. Eaton <jwe@octave.org>
parents: 19775
diff changeset
487 exit 1; \
4f6ae6b94abe make --enable-silent-rules configure option more useful
John W. Eaton <jwe@octave.org>
parents: 19775
diff changeset
488 fi
9794
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
489 endef
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
490
9965
a7e288044ef7 avoid cp -a --update
John W. Eaton <jwe@octave.org>
parents: 9917
diff changeset
491 define cp_update_rule
19792
4f6ae6b94abe make --enable-silent-rules configure option more useful
John W. Eaton <jwe@octave.org>
parents: 19775
diff changeset
492 if [ "x$(srcdir)" != "x." ] && [ -f $(srcdir)/$@ ] && [ ! -f $@ ]; then \
4f6ae6b94abe make --enable-silent-rules configure option more useful
John W. Eaton <jwe@octave.org>
parents: 19775
diff changeset
493 cp $(srcdir)/$@ $@; \
4f6ae6b94abe make --enable-silent-rules configure option more useful
John W. Eaton <jwe@octave.org>
parents: 19775
diff changeset
494 touch -r $(srcdir)/$@ $@; \
4f6ae6b94abe make --enable-silent-rules configure option more useful
John W. Eaton <jwe@octave.org>
parents: 19775
diff changeset
495 fi
9965
a7e288044ef7 avoid cp -a --update
John W. Eaton <jwe@octave.org>
parents: 9917
diff changeset
496 endef
a7e288044ef7 avoid cp -a --update
John W. Eaton <jwe@octave.org>
parents: 9917
diff changeset
497
21131
54527108599a store more --enable-FEATURE info in octave_config_info
John W. Eaton <jwe@octave.org>
parents: 20712
diff changeset
498 ## The do_subst_config_vals and do_subst_cross_config_vals differ only in
54527108599a store more --enable-FEATURE info in octave_config_info
John W. Eaton <jwe@octave.org>
parents: 20712
diff changeset
499 ## the definitions of the following variables:
54527108599a store more --enable-FEATURE info in octave_config_info
John W. Eaton <jwe@octave.org>
parents: 20712
diff changeset
500 ##
54527108599a store more --enable-FEATURE info in octave_config_info
John W. Eaton <jwe@octave.org>
parents: 20712
diff changeset
501 ## OCTAVE_CONF_MKOCTFILE_AR
54527108599a store more --enable-FEATURE info in octave_config_info
John W. Eaton <jwe@octave.org>
parents: 20712
diff changeset
502 ## OCTAVE_CONF_MKOCTFILE_CC
54527108599a store more --enable-FEATURE info in octave_config_info
John W. Eaton <jwe@octave.org>
parents: 20712
diff changeset
503 ## OCTAVE_CONF_MKOCTFILE_CXX
54527108599a store more --enable-FEATURE info in octave_config_info
John W. Eaton <jwe@octave.org>
parents: 20712
diff changeset
504 ## OCTAVE_CONF_MKOCTFILE_DL_LD
54527108599a store more --enable-FEATURE info in octave_config_info
John W. Eaton <jwe@octave.org>
parents: 20712
diff changeset
505 ## OCTAVE_CONF_MKOCTFILE_DL_LDFLAGS
54527108599a store more --enable-FEATURE info in octave_config_info
John W. Eaton <jwe@octave.org>
parents: 20712
diff changeset
506 ## OCTAVE_CONF_MKOCTFILE_F77
54527108599a store more --enable-FEATURE info in octave_config_info
John W. Eaton <jwe@octave.org>
parents: 20712
diff changeset
507 ## OCTAVE_CONF_MKOCTFILE_LD_CXX
54527108599a store more --enable-FEATURE info in octave_config_info
John W. Eaton <jwe@octave.org>
parents: 20712
diff changeset
508 ## OCTAVE_CONF_MKOCTFILE_RANLIB
54527108599a store more --enable-FEATURE info in octave_config_info
John W. Eaton <jwe@octave.org>
parents: 20712
diff changeset
509
16171
cf6788da4152 eliminate UGLY_DEFS
John W. Eaton <jwe@octave.org>
parents: 16162
diff changeset
510 ## To avoid shell command line limits, break the replacement patterns
cf6788da4152 eliminate UGLY_DEFS
John W. Eaton <jwe@octave.org>
parents: 16162
diff changeset
511 ## into two roughly equal sized parts.
9794
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
512
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
513 define do_subst_config_vals
19792
4f6ae6b94abe make --enable-silent-rules configure option more useful
John W. Eaton <jwe@octave.org>
parents: 19775
diff changeset
514 $(SED) < $< \
4f6ae6b94abe make --enable-silent-rules configure option more useful
John W. Eaton <jwe@octave.org>
parents: 19775
diff changeset
515 -e "s|%NO_EDIT_WARNING%|DO NOT EDIT! Generated automatically from $(<F) by Make.|" \
21131
54527108599a store more --enable-FEATURE info in octave_config_info
John W. Eaton <jwe@octave.org>
parents: 20712
diff changeset
516 -e "s|%NO_OCT_FILE_STRIP%|$NO_OCT_FILE_STRIP}|" \
54527108599a store more --enable-FEATURE info in octave_config_info
John W. Eaton <jwe@octave.org>
parents: 20712
diff changeset
517 -e "s|%OCTAVE_BINDIR%|\"$bindir}\"|" \
19792
4f6ae6b94abe make --enable-silent-rules configure option more useful
John W. Eaton <jwe@octave.org>
parents: 19775
diff changeset
518 -e "s|%OCTAVE_CONF_ALL_CFLAGS%|\"${ALL_CFLAGS}\"|" \
4f6ae6b94abe make --enable-silent-rules configure option more useful
John W. Eaton <jwe@octave.org>
parents: 19775
diff changeset
519 -e "s|%OCTAVE_CONF_ALL_CXXFLAGS%|\"${ALL_CXXFLAGS}\"|" \
4f6ae6b94abe make --enable-silent-rules configure option more useful
John W. Eaton <jwe@octave.org>
parents: 19775
diff changeset
520 -e "s|%OCTAVE_CONF_ALL_FFLAGS%|\"${ALL_FFLAGS}\"|" \
4f6ae6b94abe make --enable-silent-rules configure option more useful
John W. Eaton <jwe@octave.org>
parents: 19775
diff changeset
521 -e "s|%OCTAVE_CONF_ALL_LDFLAGS%|\"${ALL_LDFLAGS}\"|" \
4f6ae6b94abe make --enable-silent-rules configure option more useful
John W. Eaton <jwe@octave.org>
parents: 19775
diff changeset
522 -e "s|%OCTAVE_CONF_AMD_CPPFLAGS%|\"${AMD_CPPFLAGS}\"|" \
4f6ae6b94abe make --enable-silent-rules configure option more useful
John W. Eaton <jwe@octave.org>
parents: 19775
diff changeset
523 -e "s|%OCTAVE_CONF_AMD_LDFLAGS%|\"${AMD_LDFLAGS}\"|" \
4f6ae6b94abe make --enable-silent-rules configure option more useful
John W. Eaton <jwe@octave.org>
parents: 19775
diff changeset
524 -e "s|%OCTAVE_CONF_AMD_LIBS%|\"${AMD_LIBS}\"|" \
4f6ae6b94abe make --enable-silent-rules configure option more useful
John W. Eaton <jwe@octave.org>
parents: 19775
diff changeset
525 -e "s|%OCTAVE_CONF_AR%|\"${AR}\"|" \
4f6ae6b94abe make --enable-silent-rules configure option more useful
John W. Eaton <jwe@octave.org>
parents: 19775
diff changeset
526 -e "s|%OCTAVE_CONF_ARFLAGS%|\"${ARFLAGS}\"|" \
4f6ae6b94abe make --enable-silent-rules configure option more useful
John W. Eaton <jwe@octave.org>
parents: 19775
diff changeset
527 -e "s|%OCTAVE_CONF_ARPACK_CPPFLAGS%|\"${ARPACK_CPPFLAGS}\"|" \
4f6ae6b94abe make --enable-silent-rules configure option more useful
John W. Eaton <jwe@octave.org>
parents: 19775
diff changeset
528 -e "s|%OCTAVE_CONF_ARPACK_LDFLAGS%|\"${ARPACK_LDFLAGS}\"|" \
4f6ae6b94abe make --enable-silent-rules configure option more useful
John W. Eaton <jwe@octave.org>
parents: 19775
diff changeset
529 -e "s|%OCTAVE_CONF_ARPACK_LIBS%|\"${ARPACK_LIBS}\"|" \
4f6ae6b94abe make --enable-silent-rules configure option more useful
John W. Eaton <jwe@octave.org>
parents: 19775
diff changeset
530 -e "s|%OCTAVE_CONF_BLAS_LIBS%|\"${BLAS_LIBS}\"|" \
4f6ae6b94abe make --enable-silent-rules configure option more useful
John W. Eaton <jwe@octave.org>
parents: 19775
diff changeset
531 -e "s|%OCTAVE_CONF_CAMD_CPPFLAGS%|\"${CAMD_CPPFLAGS}\"|" \
4f6ae6b94abe make --enable-silent-rules configure option more useful
John W. Eaton <jwe@octave.org>
parents: 19775
diff changeset
532 -e "s|%OCTAVE_CONF_CAMD_LDFLAGS%|\"${CAMD_LDFLAGS}\"|" \
4f6ae6b94abe make --enable-silent-rules configure option more useful
John W. Eaton <jwe@octave.org>
parents: 19775
diff changeset
533 -e "s|%OCTAVE_CONF_CAMD_LIBS%|\"${CAMD_LIBS}\"|" \
4f6ae6b94abe make --enable-silent-rules configure option more useful
John W. Eaton <jwe@octave.org>
parents: 19775
diff changeset
534 -e "s|%OCTAVE_CONF_CANONICAL_HOST_TYPE%|\"${canonical_host_type}\"|" \
4f6ae6b94abe make --enable-silent-rules configure option more useful
John W. Eaton <jwe@octave.org>
parents: 19775
diff changeset
535 -e "s|%OCTAVE_CONF_CARBON_LIBS%|\"${CARBON_LIBS}\"|" \
4f6ae6b94abe make --enable-silent-rules configure option more useful
John W. Eaton <jwe@octave.org>
parents: 19775
diff changeset
536 -e "s|%OCTAVE_CONF_CC%|\"${CC}\"|" \
4f6ae6b94abe make --enable-silent-rules configure option more useful
John W. Eaton <jwe@octave.org>
parents: 19775
diff changeset
537 -e "s|%OCTAVE_CONF_CCOLAMD_CPPFLAGS%|\"${CCOLAMD_CPPFLAGS}\"|" \
4f6ae6b94abe make --enable-silent-rules configure option more useful
John W. Eaton <jwe@octave.org>
parents: 19775
diff changeset
538 -e "s|%OCTAVE_CONF_CCOLAMD_LDFLAGS%|\"${CCOLAMD_LDFLAGS}\"|" \
4f6ae6b94abe make --enable-silent-rules configure option more useful
John W. Eaton <jwe@octave.org>
parents: 19775
diff changeset
539 -e "s|%OCTAVE_CONF_CCOLAMD_LIBS%|\"${CCOLAMD_LIBS}\"|" \
4f6ae6b94abe make --enable-silent-rules configure option more useful
John W. Eaton <jwe@octave.org>
parents: 19775
diff changeset
540 -e "s|%OCTAVE_CONF_CFLAGS%|\"${CFLAGS}\"|" \
4f6ae6b94abe make --enable-silent-rules configure option more useful
John W. Eaton <jwe@octave.org>
parents: 19775
diff changeset
541 -e "s|%OCTAVE_CONF_CHOLMOD_CPPFLAGS%|\"${CHOLMOD_CPPFLAGS}\"|" \
4f6ae6b94abe make --enable-silent-rules configure option more useful
John W. Eaton <jwe@octave.org>
parents: 19775
diff changeset
542 -e "s|%OCTAVE_CONF_CHOLMOD_LDFLAGS%|\"${CHOLMOD_LDFLAGS}\"|" \
4f6ae6b94abe make --enable-silent-rules configure option more useful
John W. Eaton <jwe@octave.org>
parents: 19775
diff changeset
543 -e "s|%OCTAVE_CONF_CHOLMOD_LIBS%|\"${CHOLMOD_LIBS}\"|" \
4f6ae6b94abe make --enable-silent-rules configure option more useful
John W. Eaton <jwe@octave.org>
parents: 19775
diff changeset
544 -e "s|%OCTAVE_CONF_COLAMD_CPPFLAGS%|\"${COLAMD_CPPFLAGS}\"|" \
4f6ae6b94abe make --enable-silent-rules configure option more useful
John W. Eaton <jwe@octave.org>
parents: 19775
diff changeset
545 -e "s|%OCTAVE_CONF_COLAMD_LDFLAGS%|\"${COLAMD_LDFLAGS}\"|" \
4f6ae6b94abe make --enable-silent-rules configure option more useful
John W. Eaton <jwe@octave.org>
parents: 19775
diff changeset
546 -e "s|%OCTAVE_CONF_COLAMD_LIBS%|\"${COLAMD_LIBS}\"|" \
4f6ae6b94abe make --enable-silent-rules configure option more useful
John W. Eaton <jwe@octave.org>
parents: 19775
diff changeset
547 -e "s|%OCTAVE_CONF_CPICFLAG%|\"${CPICFLAG}\"|" \
4f6ae6b94abe make --enable-silent-rules configure option more useful
John W. Eaton <jwe@octave.org>
parents: 19775
diff changeset
548 -e "s|%OCTAVE_CONF_CPPFLAGS%|\"${CPPFLAGS}\"|" \
4f6ae6b94abe make --enable-silent-rules configure option more useful
John W. Eaton <jwe@octave.org>
parents: 19775
diff changeset
549 -e "s|%OCTAVE_CONF_CURL_CPPFLAGS%|\"${CURL_CPPFLAGS}\"|" \
4f6ae6b94abe make --enable-silent-rules configure option more useful
John W. Eaton <jwe@octave.org>
parents: 19775
diff changeset
550 -e "s|%OCTAVE_CONF_CURL_LDFLAGS%|\"${CURL_LDFLAGS}\"|" \
4f6ae6b94abe make --enable-silent-rules configure option more useful
John W. Eaton <jwe@octave.org>
parents: 19775
diff changeset
551 -e "s|%OCTAVE_CONF_CURL_LIBS%|\"${CURL_LIBS}\"|" \
4f6ae6b94abe make --enable-silent-rules configure option more useful
John W. Eaton <jwe@octave.org>
parents: 19775
diff changeset
552 -e "s|%OCTAVE_CONF_CXSPARSE_CPPFLAGS%|\"${CXSPARSE_CPPFLAGS}\"|" \
4f6ae6b94abe make --enable-silent-rules configure option more useful
John W. Eaton <jwe@octave.org>
parents: 19775
diff changeset
553 -e "s|%OCTAVE_CONF_CXSPARSE_LDFLAGS%|\"${CXSPARSE_LDFLAGS}\"|" \
4f6ae6b94abe make --enable-silent-rules configure option more useful
John W. Eaton <jwe@octave.org>
parents: 19775
diff changeset
554 -e "s|%OCTAVE_CONF_CXSPARSE_LIBS%|\"${CXSPARSE_LIBS}\"|" \
4f6ae6b94abe make --enable-silent-rules configure option more useful
John W. Eaton <jwe@octave.org>
parents: 19775
diff changeset
555 -e "s|%OCTAVE_CONF_CXX%|\"${CXX}\"|" \
4f6ae6b94abe make --enable-silent-rules configure option more useful
John W. Eaton <jwe@octave.org>
parents: 19775
diff changeset
556 -e "s|%OCTAVE_CONF_CXXCPP%|\"${CXXCPP}\"|" \
4f6ae6b94abe make --enable-silent-rules configure option more useful
John W. Eaton <jwe@octave.org>
parents: 19775
diff changeset
557 -e "s|%OCTAVE_CONF_CXXFLAGS%|\"${CXXFLAGS}\"|" \
4f6ae6b94abe make --enable-silent-rules configure option more useful
John W. Eaton <jwe@octave.org>
parents: 19775
diff changeset
558 -e "s|%OCTAVE_CONF_CXXPICFLAG%|\"${CXXPICFLAG}\"|" \
4f6ae6b94abe make --enable-silent-rules configure option more useful
John W. Eaton <jwe@octave.org>
parents: 19775
diff changeset
559 -e "s|%OCTAVE_CONF_DEFAULT_PAGER%|\"${DEFAULT_PAGER}\"|" \
4f6ae6b94abe make --enable-silent-rules configure option more useful
John W. Eaton <jwe@octave.org>
parents: 19775
diff changeset
560 -e "s|%OCTAVE_CONF_DEFS%|\"${DEFS}\"|" \
4f6ae6b94abe make --enable-silent-rules configure option more useful
John W. Eaton <jwe@octave.org>
parents: 19775
diff changeset
561 -e "s|%OCTAVE_CONF_DEPEND_FLAGS%|\"${DEPEND_FLAGS}\"|" \
4f6ae6b94abe make --enable-silent-rules configure option more useful
John W. Eaton <jwe@octave.org>
parents: 19775
diff changeset
562 -e "s|%OCTAVE_CONF_DEPEND_EXTRA_SED_PATTERN%|\"${DEPEND_EXTRA_SED_PATTERN}\"|" \
4f6ae6b94abe make --enable-silent-rules configure option more useful
John W. Eaton <jwe@octave.org>
parents: 19775
diff changeset
563 -e "s|%OCTAVE_CONF_DL_LD%|\"${DL_LD}\"|" \
4f6ae6b94abe make --enable-silent-rules configure option more useful
John W. Eaton <jwe@octave.org>
parents: 19775
diff changeset
564 -e "s|%OCTAVE_CONF_DL_LDFLAGS%|\"${DL_LDFLAGS}\"|" \
4f6ae6b94abe make --enable-silent-rules configure option more useful
John W. Eaton <jwe@octave.org>
parents: 19775
diff changeset
565 -e "s|%OCTAVE_CONF_DL_LIBS%|\"${DL_LIBS}\"|" \
4f6ae6b94abe make --enable-silent-rules configure option more useful
John W. Eaton <jwe@octave.org>
parents: 19775
diff changeset
566 -e "s|%OCTAVE_CONF_EXEEXT%|\"${EXEEXT}\"|" \
4f6ae6b94abe make --enable-silent-rules configure option more useful
John W. Eaton <jwe@octave.org>
parents: 19775
diff changeset
567 -e "s|%OCTAVE_CONF_GCC_VERSION%|\"${GCC_VERSION}\"|" \
4f6ae6b94abe make --enable-silent-rules configure option more useful
John W. Eaton <jwe@octave.org>
parents: 19775
diff changeset
568 -e "s|%OCTAVE_CONF_GXX_VERSION%|\"${GXX_VERSION}\"|" \
4f6ae6b94abe make --enable-silent-rules configure option more useful
John W. Eaton <jwe@octave.org>
parents: 19775
diff changeset
569 -e "s|%OCTAVE_CONF_F77%|\"${F77}\"|" \
4f6ae6b94abe make --enable-silent-rules configure option more useful
John W. Eaton <jwe@octave.org>
parents: 19775
diff changeset
570 -e "s|%OCTAVE_CONF_F77_FLOAT_STORE_FLAG%|\"${F77_FLOAT_STORE_FLAG}\"|" \
4f6ae6b94abe make --enable-silent-rules configure option more useful
John W. Eaton <jwe@octave.org>
parents: 19775
diff changeset
571 -e "s|%OCTAVE_CONF_F77_INTEGER_8_FLAG%|\"${F77_INTEGER_8_FLAG}\"|" \
4f6ae6b94abe make --enable-silent-rules configure option more useful
John W. Eaton <jwe@octave.org>
parents: 19775
diff changeset
572 -e "s|%OCTAVE_CONF_FFLAGS%|\"${FFLAGS}\"|" \
4f6ae6b94abe make --enable-silent-rules configure option more useful
John W. Eaton <jwe@octave.org>
parents: 19775
diff changeset
573 -e "s|%OCTAVE_CONF_FFTW3_CPPFLAGS%|\"${FFTW3_CPPFLAGS}\"|" \
4f6ae6b94abe make --enable-silent-rules configure option more useful
John W. Eaton <jwe@octave.org>
parents: 19775
diff changeset
574 -e "s|%OCTAVE_CONF_FFTW3_LDFLAGS%|\"${FFTW3_LDFLAGS}\"|" \
4f6ae6b94abe make --enable-silent-rules configure option more useful
John W. Eaton <jwe@octave.org>
parents: 19775
diff changeset
575 -e "s|%OCTAVE_CONF_FFTW3_LIBS%|\"${FFTW3_LIBS}\"|" \
4f6ae6b94abe make --enable-silent-rules configure option more useful
John W. Eaton <jwe@octave.org>
parents: 19775
diff changeset
576 -e "s|%OCTAVE_CONF_FFTW3F_CPPFLAGS%|\"${FFTW3F_CPPFLAGS}\"|" \
4f6ae6b94abe make --enable-silent-rules configure option more useful
John W. Eaton <jwe@octave.org>
parents: 19775
diff changeset
577 -e "s|%OCTAVE_CONF_FFTW3F_LDFLAGS%|\"${FFTW3F_LDFLAGS}\"|" \
4f6ae6b94abe make --enable-silent-rules configure option more useful
John W. Eaton <jwe@octave.org>
parents: 19775
diff changeset
578 -e "s|%OCTAVE_CONF_FFTW3F_LIBS%|\"${FFTW3F_LIBS}\"|" \
4f6ae6b94abe make --enable-silent-rules configure option more useful
John W. Eaton <jwe@octave.org>
parents: 19775
diff changeset
579 -e "s|%OCTAVE_CONF_FLIBS%|\"${FLIBS}\"|" \
4f6ae6b94abe make --enable-silent-rules configure option more useful
John W. Eaton <jwe@octave.org>
parents: 19775
diff changeset
580 -e "s|%OCTAVE_CONF_FLTK_CPPFLAGS%|\"${FLTK_CPPFLAGS}\"|" \
4f6ae6b94abe make --enable-silent-rules configure option more useful
John W. Eaton <jwe@octave.org>
parents: 19775
diff changeset
581 -e "s|%OCTAVE_CONF_FLTK_LDFLAGS%|\"${FLTK_LDFLAGS}\"|" \
4f6ae6b94abe make --enable-silent-rules configure option more useful
John W. Eaton <jwe@octave.org>
parents: 19775
diff changeset
582 -e "s|%OCTAVE_CONF_FLTK_LIBS%|\"${FLTK_LIBS}\"|" \
4f6ae6b94abe make --enable-silent-rules configure option more useful
John W. Eaton <jwe@octave.org>
parents: 19775
diff changeset
583 -e "s|%OCTAVE_CONF_FONTCONFIG_CPPFLAGS%|\"${FONTCONFIG_CPPFLAGS}\"|" \
4f6ae6b94abe make --enable-silent-rules configure option more useful
John W. Eaton <jwe@octave.org>
parents: 19775
diff changeset
584 -e "s|%OCTAVE_CONF_FONTCONFIG_LIBS%|\"${FONTCONFIG_LIBS}\"|" \
4f6ae6b94abe make --enable-silent-rules configure option more useful
John W. Eaton <jwe@octave.org>
parents: 19775
diff changeset
585 -e "s|%OCTAVE_CONF_FPICFLAG%|\"${FPICFLAG}\"|" \
4f6ae6b94abe make --enable-silent-rules configure option more useful
John W. Eaton <jwe@octave.org>
parents: 19775
diff changeset
586 -e "s|%OCTAVE_CONF_FT2_CPPFLAGS%|\"${FT2_CPPFLAGS}\"|" \
4f6ae6b94abe make --enable-silent-rules configure option more useful
John W. Eaton <jwe@octave.org>
parents: 19775
diff changeset
587 -e "s|%OCTAVE_CONF_FT2_LIBS%|\"${FT2_LIBS}\"|" \
4f6ae6b94abe make --enable-silent-rules configure option more useful
John W. Eaton <jwe@octave.org>
parents: 19775
diff changeset
588 -e "s|%OCTAVE_CONF_GLPK_CPPFLAGS%|\"${GLPK_CPPFLAGS}\"|" \
4f6ae6b94abe make --enable-silent-rules configure option more useful
John W. Eaton <jwe@octave.org>
parents: 19775
diff changeset
589 -e "s|%OCTAVE_CONF_GLPK_LDFLAGS%|\"${GLPK_LDFLAGS}\"|" \
4f6ae6b94abe make --enable-silent-rules configure option more useful
John W. Eaton <jwe@octave.org>
parents: 19775
diff changeset
590 -e "s|%OCTAVE_CONF_GLPK_LIBS%|\"${GLPK_LIBS}\"|" \
4f6ae6b94abe make --enable-silent-rules configure option more useful
John W. Eaton <jwe@octave.org>
parents: 19775
diff changeset
591 -e "s|%OCTAVE_CONF_GNUPLOT%|\"${GNUPLOT}\"|" \
4f6ae6b94abe make --enable-silent-rules configure option more useful
John W. Eaton <jwe@octave.org>
parents: 19775
diff changeset
592 -e "s|%OCTAVE_CONF_HDF5_CPPFLAGS%|\"${HDF5_CPPFLAGS}\"|" | \
4f6ae6b94abe make --enable-silent-rules configure option more useful
John W. Eaton <jwe@octave.org>
parents: 19775
diff changeset
593 $(SED) -e "s|%OCTAVE_CONF_HDF5_LDFLAGS%|\"${HDF5_LDFLAGS}\"|" \
4f6ae6b94abe make --enable-silent-rules configure option more useful
John W. Eaton <jwe@octave.org>
parents: 19775
diff changeset
594 -e "s|%OCTAVE_CONF_HDF5_LIBS%|\"${HDF5_LIBS}\"|" \
4f6ae6b94abe make --enable-silent-rules configure option more useful
John W. Eaton <jwe@octave.org>
parents: 19775
diff changeset
595 -e "s|%OCTAVE_CONF_INCLUDEDIR%|\"${includedir}\"|" \
4f6ae6b94abe make --enable-silent-rules configure option more useful
John W. Eaton <jwe@octave.org>
parents: 19775
diff changeset
596 -e "s|%OCTAVE_CONF_LAPACK_LIBS%|\"${LAPACK_LIBS}\"|" \
4f6ae6b94abe make --enable-silent-rules configure option more useful
John W. Eaton <jwe@octave.org>
parents: 19775
diff changeset
597 -e "s|%OCTAVE_CONF_LD_CXX%|\"${LD_CXX}\"|" \
4f6ae6b94abe make --enable-silent-rules configure option more useful
John W. Eaton <jwe@octave.org>
parents: 19775
diff changeset
598 -e "s|%OCTAVE_CONF_LDFLAGS%|\"${LDFLAGS}\"|" \
4f6ae6b94abe make --enable-silent-rules configure option more useful
John W. Eaton <jwe@octave.org>
parents: 19775
diff changeset
599 -e "s|%OCTAVE_CONF_LD_STATIC_FLAG%|\"${LD_STATIC_FLAG}\"|" \
4f6ae6b94abe make --enable-silent-rules configure option more useful
John W. Eaton <jwe@octave.org>
parents: 19775
diff changeset
600 -e "s|%OCTAVE_CONF_LEX%|\"${LEX}\"|" \
4f6ae6b94abe make --enable-silent-rules configure option more useful
John W. Eaton <jwe@octave.org>
parents: 19775
diff changeset
601 -e "s|%OCTAVE_CONF_LEXLIB%|\"${LEXLIB}\"|" \
4f6ae6b94abe make --enable-silent-rules configure option more useful
John W. Eaton <jwe@octave.org>
parents: 19775
diff changeset
602 -e "s|%OCTAVE_CONF_LFLAGS%|\"${LFLAGS}\"|" \
4f6ae6b94abe make --enable-silent-rules configure option more useful
John W. Eaton <jwe@octave.org>
parents: 19775
diff changeset
603 -e "s|%OCTAVE_CONF_LIBDIR%|\"${libdir}\"|" \
4f6ae6b94abe make --enable-silent-rules configure option more useful
John W. Eaton <jwe@octave.org>
parents: 19775
diff changeset
604 -e "s|%OCTAVE_CONF_LIBEXT%|\"${LIBEXT}\"|" \
4f6ae6b94abe make --enable-silent-rules configure option more useful
John W. Eaton <jwe@octave.org>
parents: 19775
diff changeset
605 -e "s|%OCTAVE_CONF_LIBFLAGS%|\"${LIBFLAGS}\"|" \
4f6ae6b94abe make --enable-silent-rules configure option more useful
John W. Eaton <jwe@octave.org>
parents: 19775
diff changeset
606 -e "s|%OCTAVE_CONF_LIBOCTAVE%|\"${LIBOCTAVE}\"|" \
4f6ae6b94abe make --enable-silent-rules configure option more useful
John W. Eaton <jwe@octave.org>
parents: 19775
diff changeset
607 -e "s|%OCTAVE_CONF_LIBOCTINTERP%|\"${LIBOCTINTERP}\"|" \
4f6ae6b94abe make --enable-silent-rules configure option more useful
John W. Eaton <jwe@octave.org>
parents: 19775
diff changeset
608 -e "s|%OCTAVE_CONF_LIBS%|\"${LIBS}\"|" \
4f6ae6b94abe make --enable-silent-rules configure option more useful
John W. Eaton <jwe@octave.org>
parents: 19775
diff changeset
609 -e "s|%OCTAVE_CONF_LLVM_CPPFLAGS%|\"${LLVM_CPPFLAGS}\"|" \
4f6ae6b94abe make --enable-silent-rules configure option more useful
John W. Eaton <jwe@octave.org>
parents: 19775
diff changeset
610 -e "s|%OCTAVE_CONF_LLVM_LDFLAGS%|\"${LLVM_LDFLAGS}\"|" \
4f6ae6b94abe make --enable-silent-rules configure option more useful
John W. Eaton <jwe@octave.org>
parents: 19775
diff changeset
611 -e "s|%OCTAVE_CONF_LLVM_LIBS%|\"${LLVM_LIBS}\"|" \
4f6ae6b94abe make --enable-silent-rules configure option more useful
John W. Eaton <jwe@octave.org>
parents: 19775
diff changeset
612 -e "s|%OCTAVE_CONF_LN_S%|\"${LN_S}\"|" \
4f6ae6b94abe make --enable-silent-rules configure option more useful
John W. Eaton <jwe@octave.org>
parents: 19775
diff changeset
613 -e "s|%OCTAVE_CONF_MAGICK_CPPFLAGS%|\"${MAGICK_CPPFLAGS}\"|" \
4f6ae6b94abe make --enable-silent-rules configure option more useful
John W. Eaton <jwe@octave.org>
parents: 19775
diff changeset
614 -e "s|%OCTAVE_CONF_MAGICK_LDFLAGS%|\"${MAGICK_LDFLAGS}\"|" \
4f6ae6b94abe make --enable-silent-rules configure option more useful
John W. Eaton <jwe@octave.org>
parents: 19775
diff changeset
615 -e "s|%OCTAVE_CONF_MAGICK_LIBS%|\"${MAGICK_LIBS}\"|" \
4f6ae6b94abe make --enable-silent-rules configure option more useful
John W. Eaton <jwe@octave.org>
parents: 19775
diff changeset
616 -e 's|%OCTAVE_CONF_MKOCTFILE_AR%|\"${MKOCTFILE_AR}\"|' \
4f6ae6b94abe make --enable-silent-rules configure option more useful
John W. Eaton <jwe@octave.org>
parents: 19775
diff changeset
617 -e 's|%OCTAVE_CONF_MKOCTFILE_CC%|\"${MKOCTFILE_CC}\"|' \
4f6ae6b94abe make --enable-silent-rules configure option more useful
John W. Eaton <jwe@octave.org>
parents: 19775
diff changeset
618 -e 's|%OCTAVE_CONF_MKOCTFILE_CXX%|\"${MKOCTFILE_CXX}\"|' \
4f6ae6b94abe make --enable-silent-rules configure option more useful
John W. Eaton <jwe@octave.org>
parents: 19775
diff changeset
619 -e 's|%OCTAVE_CONF_MKOCTFILE_DL_LD%|\"${MKOCTFILE_DL_LD}\"|' \
4f6ae6b94abe make --enable-silent-rules configure option more useful
John W. Eaton <jwe@octave.org>
parents: 19775
diff changeset
620 -e 's|%OCTAVE_CONF_MKOCTFILE_DL_LDFLAGS%|\"${MKOCTFILE_DL_LDFLAGS}\"|' \
4f6ae6b94abe make --enable-silent-rules configure option more useful
John W. Eaton <jwe@octave.org>
parents: 19775
diff changeset
621 -e 's|%OCTAVE_CONF_MKOCTFILE_F77%|\"${MKOCTFILE_F77}\"|' \
4f6ae6b94abe make --enable-silent-rules configure option more useful
John W. Eaton <jwe@octave.org>
parents: 19775
diff changeset
622 -e 's|%OCTAVE_CONF_MKOCTFILE_LD_CXX%|\"${MKOCTFILE_LD_CXX}\"|' \
4f6ae6b94abe make --enable-silent-rules configure option more useful
John W. Eaton <jwe@octave.org>
parents: 19775
diff changeset
623 -e 's|%OCTAVE_CONF_MKOCTFILE_RANLIB%|\"${MKOCTFILE_RANLIB}\"|' \
4f6ae6b94abe make --enable-silent-rules configure option more useful
John W. Eaton <jwe@octave.org>
parents: 19775
diff changeset
624 -e "s|%OCTAVE_CONF_OCTAVE_LINK_DEPS%|\"${OCTAVE_LINK_DEPS}\"|" \
4f6ae6b94abe make --enable-silent-rules configure option more useful
John W. Eaton <jwe@octave.org>
parents: 19775
diff changeset
625 -e "s|%OCTAVE_CONF_OCTAVE_LINK_OPTS%|\"${OCTAVE_LINK_OPTS}\"|" \
4f6ae6b94abe make --enable-silent-rules configure option more useful
John W. Eaton <jwe@octave.org>
parents: 19775
diff changeset
626 -e "s|%OCTAVE_CONF_OCTINCLUDEDIR%|\"${octincludedir}\"|" \
4f6ae6b94abe make --enable-silent-rules configure option more useful
John W. Eaton <jwe@octave.org>
parents: 19775
diff changeset
627 -e "s|%OCTAVE_CONF_OCTLIBDIR%|\"${octlibdir}\"|" \
4f6ae6b94abe make --enable-silent-rules configure option more useful
John W. Eaton <jwe@octave.org>
parents: 19775
diff changeset
628 -e "s|%OCTAVE_CONF_OCT_LINK_DEPS%|\"${OCT_LINK_DEPS}\"|" \
4f6ae6b94abe make --enable-silent-rules configure option more useful
John W. Eaton <jwe@octave.org>
parents: 19775
diff changeset
629 -e "s|%OCTAVE_CONF_OCT_LINK_OPTS%|\"${OCT_LINK_OPTS}\"|" \
4f6ae6b94abe make --enable-silent-rules configure option more useful
John W. Eaton <jwe@octave.org>
parents: 19775
diff changeset
630 -e "s|%OCTAVE_CONF_OPENGL_LIBS%|\"${OPENGL_LIBS}\"|" \
4f6ae6b94abe make --enable-silent-rules configure option more useful
John W. Eaton <jwe@octave.org>
parents: 19775
diff changeset
631 -e "s|%OCTAVE_CONF_OSMESA_CPPFLAGS%|\"${OSMESA_CPPFLAGS}\"|" \
4f6ae6b94abe make --enable-silent-rules configure option more useful
John W. Eaton <jwe@octave.org>
parents: 19775
diff changeset
632 -e "s|%OCTAVE_CONF_OSMESA_LDFLAGS%|\"${OSMESA_LDFLAGS}\"|" \
4f6ae6b94abe make --enable-silent-rules configure option more useful
John W. Eaton <jwe@octave.org>
parents: 19775
diff changeset
633 -e "s|%OCTAVE_CONF_OSMESA_LIBS%|\"${OSMESA_LIBS}\"|" \
4f6ae6b94abe make --enable-silent-rules configure option more useful
John W. Eaton <jwe@octave.org>
parents: 19775
diff changeset
634 -e "s|%OCTAVE_CONF_PCRE_CPPFLAGS%|\"${PCRE_CPPFLAGS}\"|" \
4f6ae6b94abe make --enable-silent-rules configure option more useful
John W. Eaton <jwe@octave.org>
parents: 19775
diff changeset
635 -e "s|%OCTAVE_CONF_PCRE_LIBS%|\"${PCRE_LIBS}\"|" \
4f6ae6b94abe make --enable-silent-rules configure option more useful
John W. Eaton <jwe@octave.org>
parents: 19775
diff changeset
636 -e "s|%OCTAVE_CONF_PREFIX%|\"${prefix}\"|" \
4f6ae6b94abe make --enable-silent-rules configure option more useful
John W. Eaton <jwe@octave.org>
parents: 19775
diff changeset
637 -e "s|%OCTAVE_CONF_PTHREAD_CFLAGS%|\"${PTHREAD_CFLAGS}\"|" \
4f6ae6b94abe make --enable-silent-rules configure option more useful
John W. Eaton <jwe@octave.org>
parents: 19775
diff changeset
638 -e "s|%OCTAVE_CONF_PTHREAD_LIBS%|\"${PTHREAD_LIBS}\"|" \
4f6ae6b94abe make --enable-silent-rules configure option more useful
John W. Eaton <jwe@octave.org>
parents: 19775
diff changeset
639 -e "s|%OCTAVE_CONF_QHULL_CPPFLAGS%|\"${QHULL_CPPFLAGSS}\"|" \
4f6ae6b94abe make --enable-silent-rules configure option more useful
John W. Eaton <jwe@octave.org>
parents: 19775
diff changeset
640 -e "s|%OCTAVE_CONF_QHULL_LDFLAGS%|\"${QHULL_LDFLAGSS}\"|" \
4f6ae6b94abe make --enable-silent-rules configure option more useful
John W. Eaton <jwe@octave.org>
parents: 19775
diff changeset
641 -e "s|%OCTAVE_CONF_QHULL_LIBS%|\"${QHULL_LIBS}\"|" \
4f6ae6b94abe make --enable-silent-rules configure option more useful
John W. Eaton <jwe@octave.org>
parents: 19775
diff changeset
642 -e "s|%OCTAVE_CONF_QRUPDATE_CPPFLAGS%|\"${QRUPDATE_CPPFLAGS}\"|" \
4f6ae6b94abe make --enable-silent-rules configure option more useful
John W. Eaton <jwe@octave.org>
parents: 19775
diff changeset
643 -e "s|%OCTAVE_CONF_QRUPDATE_LDFLAGS%|\"${QRUPDATE_LDFLAGS}\"|" \
4f6ae6b94abe make --enable-silent-rules configure option more useful
John W. Eaton <jwe@octave.org>
parents: 19775
diff changeset
644 -e "s|%OCTAVE_CONF_QRUPDATE_LIBS%|\"${QRUPDATE_LIBS}\"|" \
4f6ae6b94abe make --enable-silent-rules configure option more useful
John W. Eaton <jwe@octave.org>
parents: 19775
diff changeset
645 -e "s|%OCTAVE_CONF_QT_CPPFLAGS%|\"${QT_CPPFLAGS}\"|" \
4f6ae6b94abe make --enable-silent-rules configure option more useful
John W. Eaton <jwe@octave.org>
parents: 19775
diff changeset
646 -e "s|%OCTAVE_CONF_QT_LDFLAGS%|\"${QT_LDFLAGS}\"|" \
4f6ae6b94abe make --enable-silent-rules configure option more useful
John W. Eaton <jwe@octave.org>
parents: 19775
diff changeset
647 -e "s|%OCTAVE_CONF_QT_LIBS%|\"${QT_LIBS}\"|" \
4f6ae6b94abe make --enable-silent-rules configure option more useful
John W. Eaton <jwe@octave.org>
parents: 19775
diff changeset
648 -e "s|%OCTAVE_CONF_RANLIB%|\"${RANLIB}\"|" \
4f6ae6b94abe make --enable-silent-rules configure option more useful
John W. Eaton <jwe@octave.org>
parents: 19775
diff changeset
649 -e "s|%OCTAVE_CONF_RDYNAMIC_FLAG%|\"${RDYNAMIC_FLAG}\"|" \
4f6ae6b94abe make --enable-silent-rules configure option more useful
John W. Eaton <jwe@octave.org>
parents: 19775
diff changeset
650 -e "s|%OCTAVE_CONF_READLINE_LIBS%|\"${READLINE_LIBS}\"|" \
4f6ae6b94abe make --enable-silent-rules configure option more useful
John W. Eaton <jwe@octave.org>
parents: 19775
diff changeset
651 -e "s|%OCTAVE_CONF_SED%|\"${SED}\"|" \
4f6ae6b94abe make --enable-silent-rules configure option more useful
John W. Eaton <jwe@octave.org>
parents: 19775
diff changeset
652 -e "s|%OCTAVE_CONF_SHARED_LIBS%|\"${SHARED_LIBS}\"|" \
4f6ae6b94abe make --enable-silent-rules configure option more useful
John W. Eaton <jwe@octave.org>
parents: 19775
diff changeset
653 -e "s|%OCTAVE_CONF_SHLEXT%|\"${SHLEXT}\"|" \
4f6ae6b94abe make --enable-silent-rules configure option more useful
John W. Eaton <jwe@octave.org>
parents: 19775
diff changeset
654 -e "s|%OCTAVE_CONF_SHLLINKEXT%|\"${SHLLINKEXT}\"|" \
4f6ae6b94abe make --enable-silent-rules configure option more useful
John W. Eaton <jwe@octave.org>
parents: 19775
diff changeset
655 -e "s|%OCTAVE_CONF_SHLEXT_VER%|\"${SHLEXT_VER}\"|" \
4f6ae6b94abe make --enable-silent-rules configure option more useful
John W. Eaton <jwe@octave.org>
parents: 19775
diff changeset
656 -e "s|%OCTAVE_CONF_SH_LD%|\"${SH_LD}\"|" \
4f6ae6b94abe make --enable-silent-rules configure option more useful
John W. Eaton <jwe@octave.org>
parents: 19775
diff changeset
657 -e "s|%OCTAVE_CONF_SH_LDFLAGS%|\"${SH_LDFLAGS}\"|" \
4f6ae6b94abe make --enable-silent-rules configure option more useful
John W. Eaton <jwe@octave.org>
parents: 19775
diff changeset
658 -e "s|%OCTAVE_CONF_SONAME_FLAGS%|\"${SONAME_FLAGS}\"|" \
4f6ae6b94abe make --enable-silent-rules configure option more useful
John W. Eaton <jwe@octave.org>
parents: 19775
diff changeset
659 -e "s|%OCTAVE_CONF_STATIC_LIBS%|\"${STATIC_LIBS}\"|" \
4f6ae6b94abe make --enable-silent-rules configure option more useful
John W. Eaton <jwe@octave.org>
parents: 19775
diff changeset
660 -e "s|%OCTAVE_CONF_TERM_LIBS%|\"${TERM_LIBS}\"|" \
4f6ae6b94abe make --enable-silent-rules configure option more useful
John W. Eaton <jwe@octave.org>
parents: 19775
diff changeset
661 -e "s|%OCTAVE_CONF_UMFPACK_CPPFLAGS%|\"${UMFPACK_CPPFLAGS}\"|" \
4f6ae6b94abe make --enable-silent-rules configure option more useful
John W. Eaton <jwe@octave.org>
parents: 19775
diff changeset
662 -e "s|%OCTAVE_CONF_UMFPACK_LDFLAGS%|\"${UMFPACK_LDFLAGS}\"|" \
4f6ae6b94abe make --enable-silent-rules configure option more useful
John W. Eaton <jwe@octave.org>
parents: 19775
diff changeset
663 -e "s|%OCTAVE_CONF_UMFPACK_LIBS%|\"${UMFPACK_LIBS}\"|" \
4f6ae6b94abe make --enable-silent-rules configure option more useful
John W. Eaton <jwe@octave.org>
parents: 19775
diff changeset
664 -e "s|%OCTAVE_CONF_VERSION%|\"${version}\"|" \
4f6ae6b94abe make --enable-silent-rules configure option more useful
John W. Eaton <jwe@octave.org>
parents: 19775
diff changeset
665 -e "s|%OCTAVE_CONF_WARN_CFLAGS%|\"${WARN_CFLAGS}\"|" \
4f6ae6b94abe make --enable-silent-rules configure option more useful
John W. Eaton <jwe@octave.org>
parents: 19775
diff changeset
666 -e "s|%OCTAVE_CONF_WARN_CXXFLAGS%|\"${WARN_CXXFLAGS}\"|" \
4f6ae6b94abe make --enable-silent-rules configure option more useful
John W. Eaton <jwe@octave.org>
parents: 19775
diff changeset
667 -e "s|%OCTAVE_CONF_X11_INCFLAGS%|\"${X11_INCFLAGS}\"|" \
4f6ae6b94abe make --enable-silent-rules configure option more useful
John W. Eaton <jwe@octave.org>
parents: 19775
diff changeset
668 -e "s|%OCTAVE_CONF_X11_LIBS%|\"${X11_LIBS}\"|" \
4f6ae6b94abe make --enable-silent-rules configure option more useful
John W. Eaton <jwe@octave.org>
parents: 19775
diff changeset
669 -e "s|%OCTAVE_CONF_XTRA_CFLAGS%|\"${XTRA_CFLAGS}\"|" \
4f6ae6b94abe make --enable-silent-rules configure option more useful
John W. Eaton <jwe@octave.org>
parents: 19775
diff changeset
670 -e "s|%OCTAVE_CONF_XTRA_CXXFLAGS%|\"${XTRA_CXXFLAGS}\"|" \
4f6ae6b94abe make --enable-silent-rules configure option more useful
John W. Eaton <jwe@octave.org>
parents: 19775
diff changeset
671 -e "s|%OCTAVE_CONF_YACC%|\"${YACC}\"|" \
4f6ae6b94abe make --enable-silent-rules configure option more useful
John W. Eaton <jwe@octave.org>
parents: 19775
diff changeset
672 -e "s|%OCTAVE_CONF_YFLAGS%|\"${YFLAGS}\"|" \
4f6ae6b94abe make --enable-silent-rules configure option more useful
John W. Eaton <jwe@octave.org>
parents: 19775
diff changeset
673 -e "s|%OCTAVE_CONF_Z_CPPFLAGS%|\"${Z_CPPFLAGS}\"|" \
4f6ae6b94abe make --enable-silent-rules configure option more useful
John W. Eaton <jwe@octave.org>
parents: 19775
diff changeset
674 -e "s|%OCTAVE_CONF_Z_LDFLAGS%|\"${Z_LDFLAGS}\"|" \
4f6ae6b94abe make --enable-silent-rules configure option more useful
John W. Eaton <jwe@octave.org>
parents: 19775
diff changeset
675 -e "s|%OCTAVE_CONF_Z_LIBS%|\"${Z_LIBS}\"|" \
4f6ae6b94abe make --enable-silent-rules configure option more useful
John W. Eaton <jwe@octave.org>
parents: 19775
diff changeset
676 -e "s|%OCTAVE_CONF_config_opts%|\"${config_opts}\"|" > $@-t && \
4f6ae6b94abe make --enable-silent-rules configure option more useful
John W. Eaton <jwe@octave.org>
parents: 19775
diff changeset
677 $(simple_move_if_change_rule)
9794
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
678 endef
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
679
19963
8ba35b7b355d Add cross buioldable mkoctfile target
John Donoghue
parents: 19792
diff changeset
680 define do_subst_cross_config_vals
8ba35b7b355d Add cross buioldable mkoctfile target
John Donoghue
parents: 19792
diff changeset
681 $(SED) < $< \
8ba35b7b355d Add cross buioldable mkoctfile target
John Donoghue
parents: 19792
diff changeset
682 -e "s|%NO_EDIT_WARNING%|DO NOT EDIT! Generated automatically from $(<F) by Make.|" \
8ba35b7b355d Add cross buioldable mkoctfile target
John Donoghue
parents: 19792
diff changeset
683 -e "s|%NO_OCT_FILE_STRIP%|${NO_OCT_FILE_STRIP}|" \
8ba35b7b355d Add cross buioldable mkoctfile target
John Donoghue
parents: 19792
diff changeset
684 -e "s|%OCTAVE_BINDIR%|\"${bindir}\"|" \
8ba35b7b355d Add cross buioldable mkoctfile target
John Donoghue
parents: 19792
diff changeset
685 -e "s|%OCTAVE_CONF_ALL_CFLAGS%|\"${ALL_CFLAGS}\"|" \
8ba35b7b355d Add cross buioldable mkoctfile target
John Donoghue
parents: 19792
diff changeset
686 -e "s|%OCTAVE_CONF_ALL_CXXFLAGS%|\"${ALL_CXXFLAGS}\"|" \
8ba35b7b355d Add cross buioldable mkoctfile target
John Donoghue
parents: 19792
diff changeset
687 -e "s|%OCTAVE_CONF_ALL_FFLAGS%|\"${ALL_FFLAGS}\"|" \
8ba35b7b355d Add cross buioldable mkoctfile target
John Donoghue
parents: 19792
diff changeset
688 -e "s|%OCTAVE_CONF_ALL_LDFLAGS%|\"${ALL_LDFLAGS}\"|" \
8ba35b7b355d Add cross buioldable mkoctfile target
John Donoghue
parents: 19792
diff changeset
689 -e "s|%OCTAVE_CONF_AMD_CPPFLAGS%|\"${AMD_CPPFLAGS}\"|" \
8ba35b7b355d Add cross buioldable mkoctfile target
John Donoghue
parents: 19792
diff changeset
690 -e "s|%OCTAVE_CONF_AMD_LDFLAGS%|\"${AMD_LDFLAGS}\"|" \
8ba35b7b355d Add cross buioldable mkoctfile target
John Donoghue
parents: 19792
diff changeset
691 -e "s|%OCTAVE_CONF_AMD_LIBS%|\"${AMD_LIBS}\"|" \
8ba35b7b355d Add cross buioldable mkoctfile target
John Donoghue
parents: 19792
diff changeset
692 -e "s|%OCTAVE_CONF_AR%|\"${AR}\"|" \
8ba35b7b355d Add cross buioldable mkoctfile target
John Donoghue
parents: 19792
diff changeset
693 -e "s|%OCTAVE_CONF_ARFLAGS%|\"${ARFLAGS}\"|" \
8ba35b7b355d Add cross buioldable mkoctfile target
John Donoghue
parents: 19792
diff changeset
694 -e "s|%OCTAVE_CONF_ARPACK_CPPFLAGS%|\"${ARPACK_CPPFLAGS}\"|" \
8ba35b7b355d Add cross buioldable mkoctfile target
John Donoghue
parents: 19792
diff changeset
695 -e "s|%OCTAVE_CONF_ARPACK_LDFLAGS%|\"${ARPACK_LDFLAGS}\"|" \
8ba35b7b355d Add cross buioldable mkoctfile target
John Donoghue
parents: 19792
diff changeset
696 -e "s|%OCTAVE_CONF_ARPACK_LIBS%|\"${ARPACK_LIBS}\"|" \
8ba35b7b355d Add cross buioldable mkoctfile target
John Donoghue
parents: 19792
diff changeset
697 -e "s|%OCTAVE_CONF_BLAS_LIBS%|\"${BLAS_LIBS}\"|" \
8ba35b7b355d Add cross buioldable mkoctfile target
John Donoghue
parents: 19792
diff changeset
698 -e "s|%OCTAVE_CONF_CAMD_CPPFLAGS%|\"${CAMD_CPPFLAGS}\"|" \
8ba35b7b355d Add cross buioldable mkoctfile target
John Donoghue
parents: 19792
diff changeset
699 -e "s|%OCTAVE_CONF_CAMD_LDFLAGS%|\"${CAMD_LDFLAGS}\"|" \
8ba35b7b355d Add cross buioldable mkoctfile target
John Donoghue
parents: 19792
diff changeset
700 -e "s|%OCTAVE_CONF_CAMD_LIBS%|\"${CAMD_LIBS}\"|" \
8ba35b7b355d Add cross buioldable mkoctfile target
John Donoghue
parents: 19792
diff changeset
701 -e "s|%OCTAVE_CONF_CANONICAL_HOST_TYPE%|\"${canonical_host_type}\"|" \
8ba35b7b355d Add cross buioldable mkoctfile target
John Donoghue
parents: 19792
diff changeset
702 -e "s|%OCTAVE_CONF_CARBON_LIBS%|\"${CARBON_LIBS}\"|" \
8ba35b7b355d Add cross buioldable mkoctfile target
John Donoghue
parents: 19792
diff changeset
703 -e "s|%OCTAVE_CONF_CC%|\"${CC}\"|" \
8ba35b7b355d Add cross buioldable mkoctfile target
John Donoghue
parents: 19792
diff changeset
704 -e "s|%OCTAVE_CONF_CCOLAMD_CPPFLAGS%|\"${CCOLAMD_CPPFLAGS}\"|" \
8ba35b7b355d Add cross buioldable mkoctfile target
John Donoghue
parents: 19792
diff changeset
705 -e "s|%OCTAVE_CONF_CCOLAMD_LDFLAGS%|\"${CCOLAMD_LDFLAGS}\"|" \
8ba35b7b355d Add cross buioldable mkoctfile target
John Donoghue
parents: 19792
diff changeset
706 -e "s|%OCTAVE_CONF_CCOLAMD_LIBS%|\"${CCOLAMD_LIBS}\"|" \
8ba35b7b355d Add cross buioldable mkoctfile target
John Donoghue
parents: 19792
diff changeset
707 -e "s|%OCTAVE_CONF_CFLAGS%|\"${CFLAGS}\"|" \
8ba35b7b355d Add cross buioldable mkoctfile target
John Donoghue
parents: 19792
diff changeset
708 -e "s|%OCTAVE_CONF_CHOLMOD_CPPFLAGS%|\"${CHOLMOD_CPPFLAGS}\"|" \
8ba35b7b355d Add cross buioldable mkoctfile target
John Donoghue
parents: 19792
diff changeset
709 -e "s|%OCTAVE_CONF_CHOLMOD_LDFLAGS%|\"${CHOLMOD_LDFLAGS}\"|" \
8ba35b7b355d Add cross buioldable mkoctfile target
John Donoghue
parents: 19792
diff changeset
710 -e "s|%OCTAVE_CONF_CHOLMOD_LIBS%|\"${CHOLMOD_LIBS}\"|" \
8ba35b7b355d Add cross buioldable mkoctfile target
John Donoghue
parents: 19792
diff changeset
711 -e "s|%OCTAVE_CONF_COLAMD_CPPFLAGS%|\"${COLAMD_CPPFLAGS}\"|" \
8ba35b7b355d Add cross buioldable mkoctfile target
John Donoghue
parents: 19792
diff changeset
712 -e "s|%OCTAVE_CONF_COLAMD_LDFLAGS%|\"${COLAMD_LDFLAGS}\"|" \
8ba35b7b355d Add cross buioldable mkoctfile target
John Donoghue
parents: 19792
diff changeset
713 -e "s|%OCTAVE_CONF_COLAMD_LIBS%|\"${COLAMD_LIBS}\"|" \
8ba35b7b355d Add cross buioldable mkoctfile target
John Donoghue
parents: 19792
diff changeset
714 -e "s|%OCTAVE_CONF_CPICFLAG%|\"${CPICFLAG}\"|" \
8ba35b7b355d Add cross buioldable mkoctfile target
John Donoghue
parents: 19792
diff changeset
715 -e "s|%OCTAVE_CONF_CPPFLAGS%|\"${CPPFLAGS}\"|" \
8ba35b7b355d Add cross buioldable mkoctfile target
John Donoghue
parents: 19792
diff changeset
716 -e "s|%OCTAVE_CONF_CURL_CPPFLAGS%|\"${CURL_CPPFLAGS}\"|" \
8ba35b7b355d Add cross buioldable mkoctfile target
John Donoghue
parents: 19792
diff changeset
717 -e "s|%OCTAVE_CONF_CURL_LDFLAGS%|\"${CURL_LDFLAGS}\"|" \
8ba35b7b355d Add cross buioldable mkoctfile target
John Donoghue
parents: 19792
diff changeset
718 -e "s|%OCTAVE_CONF_CURL_LIBS%|\"${CURL_LIBS}\"|" \
8ba35b7b355d Add cross buioldable mkoctfile target
John Donoghue
parents: 19792
diff changeset
719 -e "s|%OCTAVE_CONF_CXSPARSE_CPPFLAGS%|\"${CXSPARSE_CPPFLAGS}\"|" \
8ba35b7b355d Add cross buioldable mkoctfile target
John Donoghue
parents: 19792
diff changeset
720 -e "s|%OCTAVE_CONF_CXSPARSE_LDFLAGS%|\"${CXSPARSE_LDFLAGS}\"|" \
8ba35b7b355d Add cross buioldable mkoctfile target
John Donoghue
parents: 19792
diff changeset
721 -e "s|%OCTAVE_CONF_CXSPARSE_LIBS%|\"${CXSPARSE_LIBS}\"|" \
8ba35b7b355d Add cross buioldable mkoctfile target
John Donoghue
parents: 19792
diff changeset
722 -e "s|%OCTAVE_CONF_CXX%|\"${CXX}\"|" \
8ba35b7b355d Add cross buioldable mkoctfile target
John Donoghue
parents: 19792
diff changeset
723 -e "s|%OCTAVE_CONF_CXXCPP%|\"${CXXCPP}\"|" \
8ba35b7b355d Add cross buioldable mkoctfile target
John Donoghue
parents: 19792
diff changeset
724 -e "s|%OCTAVE_CONF_CXXFLAGS%|\"${CXXFLAGS}\"|" \
8ba35b7b355d Add cross buioldable mkoctfile target
John Donoghue
parents: 19792
diff changeset
725 -e "s|%OCTAVE_CONF_CXXPICFLAG%|\"${CXXPICFLAG}\"|" \
8ba35b7b355d Add cross buioldable mkoctfile target
John Donoghue
parents: 19792
diff changeset
726 -e "s|%OCTAVE_CONF_DEFAULT_PAGER%|\"${DEFAULT_PAGER}\"|" \
8ba35b7b355d Add cross buioldable mkoctfile target
John Donoghue
parents: 19792
diff changeset
727 -e "s|%OCTAVE_CONF_DEFS%|\"${DEFS}\"|" \
8ba35b7b355d Add cross buioldable mkoctfile target
John Donoghue
parents: 19792
diff changeset
728 -e "s|%OCTAVE_CONF_DEPEND_FLAGS%|\"${DEPEND_FLAGS}\"|" \
8ba35b7b355d Add cross buioldable mkoctfile target
John Donoghue
parents: 19792
diff changeset
729 -e "s|%OCTAVE_CONF_DEPEND_EXTRA_SED_PATTERN%|\"${DEPEND_EXTRA_SED_PATTERN}\"|" \
8ba35b7b355d Add cross buioldable mkoctfile target
John Donoghue
parents: 19792
diff changeset
730 -e "s|%OCTAVE_CONF_DL_LD%|\"${DL_LD}\"|" \
8ba35b7b355d Add cross buioldable mkoctfile target
John Donoghue
parents: 19792
diff changeset
731 -e "s|%OCTAVE_CONF_DL_LDFLAGS%|\"${DL_LDFLAGS}\"|" \
8ba35b7b355d Add cross buioldable mkoctfile target
John Donoghue
parents: 19792
diff changeset
732 -e "s|%OCTAVE_CONF_DL_LIBS%|\"${DL_LIBS}\"|" \
8ba35b7b355d Add cross buioldable mkoctfile target
John Donoghue
parents: 19792
diff changeset
733 -e "s|%OCTAVE_CONF_EXEEXT%|\"${EXEEXT}\"|" \
8ba35b7b355d Add cross buioldable mkoctfile target
John Donoghue
parents: 19792
diff changeset
734 -e "s|%OCTAVE_CONF_GCC_VERSION%|\"${GCC_VERSION}\"|" \
8ba35b7b355d Add cross buioldable mkoctfile target
John Donoghue
parents: 19792
diff changeset
735 -e "s|%OCTAVE_CONF_GXX_VERSION%|\"${GXX_VERSION}\"|" \
8ba35b7b355d Add cross buioldable mkoctfile target
John Donoghue
parents: 19792
diff changeset
736 -e "s|%OCTAVE_CONF_F77%|\"${F77}\"|" \
8ba35b7b355d Add cross buioldable mkoctfile target
John Donoghue
parents: 19792
diff changeset
737 -e "s|%OCTAVE_CONF_F77_FLOAT_STORE_FLAG%|\"${F77_FLOAT_STORE_FLAG}\"|" \
8ba35b7b355d Add cross buioldable mkoctfile target
John Donoghue
parents: 19792
diff changeset
738 -e "s|%OCTAVE_CONF_F77_INTEGER_8_FLAG%|\"${F77_INTEGER_8_FLAG}\"|" \
8ba35b7b355d Add cross buioldable mkoctfile target
John Donoghue
parents: 19792
diff changeset
739 -e "s|%OCTAVE_CONF_FFLAGS%|\"${FFLAGS}\"|" \
8ba35b7b355d Add cross buioldable mkoctfile target
John Donoghue
parents: 19792
diff changeset
740 -e "s|%OCTAVE_CONF_FFTW3_CPPFLAGS%|\"${FFTW3_CPPFLAGS}\"|" \
8ba35b7b355d Add cross buioldable mkoctfile target
John Donoghue
parents: 19792
diff changeset
741 -e "s|%OCTAVE_CONF_FFTW3_LDFLAGS%|\"${FFTW3_LDFLAGS}\"|" \
8ba35b7b355d Add cross buioldable mkoctfile target
John Donoghue
parents: 19792
diff changeset
742 -e "s|%OCTAVE_CONF_FFTW3_LIBS%|\"${FFTW3_LIBS}\"|" \
8ba35b7b355d Add cross buioldable mkoctfile target
John Donoghue
parents: 19792
diff changeset
743 -e "s|%OCTAVE_CONF_FFTW3F_CPPFLAGS%|\"${FFTW3F_CPPFLAGS}\"|" \
8ba35b7b355d Add cross buioldable mkoctfile target
John Donoghue
parents: 19792
diff changeset
744 -e "s|%OCTAVE_CONF_FFTW3F_LDFLAGS%|\"${FFTW3F_LDFLAGS}\"|" \
8ba35b7b355d Add cross buioldable mkoctfile target
John Donoghue
parents: 19792
diff changeset
745 -e "s|%OCTAVE_CONF_FFTW3F_LIBS%|\"${FFTW3F_LIBS}\"|" \
8ba35b7b355d Add cross buioldable mkoctfile target
John Donoghue
parents: 19792
diff changeset
746 -e "s|%OCTAVE_CONF_FLIBS%|\"${FLIBS}\"|" \
8ba35b7b355d Add cross buioldable mkoctfile target
John Donoghue
parents: 19792
diff changeset
747 -e "s|%OCTAVE_CONF_FLTK_CPPFLAGS%|\"${FLTK_CPPFLAGS}\"|" \
8ba35b7b355d Add cross buioldable mkoctfile target
John Donoghue
parents: 19792
diff changeset
748 -e "s|%OCTAVE_CONF_FLTK_LDFLAGS%|\"${FLTK_LDFLAGS}\"|" \
8ba35b7b355d Add cross buioldable mkoctfile target
John Donoghue
parents: 19792
diff changeset
749 -e "s|%OCTAVE_CONF_FLTK_LIBS%|\"${FLTK_LIBS}\"|" \
8ba35b7b355d Add cross buioldable mkoctfile target
John Donoghue
parents: 19792
diff changeset
750 -e "s|%OCTAVE_CONF_FONTCONFIG_CPPFLAGS%|\"${FONTCONFIG_CPPFLAGS}\"|" \
8ba35b7b355d Add cross buioldable mkoctfile target
John Donoghue
parents: 19792
diff changeset
751 -e "s|%OCTAVE_CONF_FONTCONFIG_LIBS%|\"${FONTCONFIG_LIBS}\"|" \
8ba35b7b355d Add cross buioldable mkoctfile target
John Donoghue
parents: 19792
diff changeset
752 -e "s|%OCTAVE_CONF_FPICFLAG%|\"${FPICFLAG}\"|" \
8ba35b7b355d Add cross buioldable mkoctfile target
John Donoghue
parents: 19792
diff changeset
753 -e "s|%OCTAVE_CONF_FT2_CPPFLAGS%|\"${FT2_CPPFLAGS}\"|" \
8ba35b7b355d Add cross buioldable mkoctfile target
John Donoghue
parents: 19792
diff changeset
754 -e "s|%OCTAVE_CONF_FT2_LIBS%|\"${FT2_LIBS}\"|" \
8ba35b7b355d Add cross buioldable mkoctfile target
John Donoghue
parents: 19792
diff changeset
755 -e "s|%OCTAVE_CONF_GLPK_CPPFLAGS%|\"${GLPK_CPPFLAGS}\"|" \
8ba35b7b355d Add cross buioldable mkoctfile target
John Donoghue
parents: 19792
diff changeset
756 -e "s|%OCTAVE_CONF_GLPK_LDFLAGS%|\"${GLPK_LDFLAGS}\"|" \
8ba35b7b355d Add cross buioldable mkoctfile target
John Donoghue
parents: 19792
diff changeset
757 -e "s|%OCTAVE_CONF_GLPK_LIBS%|\"${GLPK_LIBS}\"|" \
8ba35b7b355d Add cross buioldable mkoctfile target
John Donoghue
parents: 19792
diff changeset
758 -e "s|%OCTAVE_CONF_GNUPLOT%|\"${GNUPLOT}\"|" \
8ba35b7b355d Add cross buioldable mkoctfile target
John Donoghue
parents: 19792
diff changeset
759 -e "s|%OCTAVE_CONF_HDF5_CPPFLAGS%|\"${HDF5_CPPFLAGS}\"|" | \
8ba35b7b355d Add cross buioldable mkoctfile target
John Donoghue
parents: 19792
diff changeset
760 $(SED) -e "s|%OCTAVE_CONF_HDF5_LDFLAGS%|\"${HDF5_LDFLAGS}\"|" \
8ba35b7b355d Add cross buioldable mkoctfile target
John Donoghue
parents: 19792
diff changeset
761 -e "s|%OCTAVE_CONF_HDF5_LIBS%|\"${HDF5_LIBS}\"|" \
8ba35b7b355d Add cross buioldable mkoctfile target
John Donoghue
parents: 19792
diff changeset
762 -e "s|%OCTAVE_CONF_INCLUDEDIR%|\"${includedir}\"|" \
8ba35b7b355d Add cross buioldable mkoctfile target
John Donoghue
parents: 19792
diff changeset
763 -e "s|%OCTAVE_CONF_LAPACK_LIBS%|\"${LAPACK_LIBS}\"|" \
8ba35b7b355d Add cross buioldable mkoctfile target
John Donoghue
parents: 19792
diff changeset
764 -e "s|%OCTAVE_CONF_LD_CXX%|\"${LD_CXX}\"|" \
8ba35b7b355d Add cross buioldable mkoctfile target
John Donoghue
parents: 19792
diff changeset
765 -e "s|%OCTAVE_CONF_LDFLAGS%|\"${LDFLAGS}\"|" \
8ba35b7b355d Add cross buioldable mkoctfile target
John Donoghue
parents: 19792
diff changeset
766 -e "s|%OCTAVE_CONF_LD_STATIC_FLAG%|\"${LD_STATIC_FLAG}\"|" \
8ba35b7b355d Add cross buioldable mkoctfile target
John Donoghue
parents: 19792
diff changeset
767 -e "s|%OCTAVE_CONF_LEX%|\"${LEX}\"|" \
8ba35b7b355d Add cross buioldable mkoctfile target
John Donoghue
parents: 19792
diff changeset
768 -e "s|%OCTAVE_CONF_LEXLIB%|\"${LEXLIB}\"|" \
8ba35b7b355d Add cross buioldable mkoctfile target
John Donoghue
parents: 19792
diff changeset
769 -e "s|%OCTAVE_CONF_LFLAGS%|\"${LFLAGS}\"|" \
8ba35b7b355d Add cross buioldable mkoctfile target
John Donoghue
parents: 19792
diff changeset
770 -e "s|%OCTAVE_CONF_LIBDIR%|\"${libdir}\"|" \
8ba35b7b355d Add cross buioldable mkoctfile target
John Donoghue
parents: 19792
diff changeset
771 -e "s|%OCTAVE_CONF_LIBEXT%|\"${LIBEXT}\"|" \
8ba35b7b355d Add cross buioldable mkoctfile target
John Donoghue
parents: 19792
diff changeset
772 -e "s|%OCTAVE_CONF_LIBFLAGS%|\"${LIBFLAGS}\"|" \
8ba35b7b355d Add cross buioldable mkoctfile target
John Donoghue
parents: 19792
diff changeset
773 -e "s|%OCTAVE_CONF_LIBOCTAVE%|\"${LIBOCTAVE}\"|" \
8ba35b7b355d Add cross buioldable mkoctfile target
John Donoghue
parents: 19792
diff changeset
774 -e "s|%OCTAVE_CONF_LIBOCTINTERP%|\"${LIBOCTINTERP}\"|" \
8ba35b7b355d Add cross buioldable mkoctfile target
John Donoghue
parents: 19792
diff changeset
775 -e "s|%OCTAVE_CONF_LIBS%|\"${LIBS}\"|" \
8ba35b7b355d Add cross buioldable mkoctfile target
John Donoghue
parents: 19792
diff changeset
776 -e "s|%OCTAVE_CONF_LLVM_CPPFLAGS%|\"${LLVM_CPPFLAGS}\"|" \
8ba35b7b355d Add cross buioldable mkoctfile target
John Donoghue
parents: 19792
diff changeset
777 -e "s|%OCTAVE_CONF_LLVM_LDFLAGS%|\"${LLVM_LDFLAGS}\"|" \
8ba35b7b355d Add cross buioldable mkoctfile target
John Donoghue
parents: 19792
diff changeset
778 -e "s|%OCTAVE_CONF_LLVM_LIBS%|\"${LLVM_LIBS}\"|" \
8ba35b7b355d Add cross buioldable mkoctfile target
John Donoghue
parents: 19792
diff changeset
779 -e "s|%OCTAVE_CONF_LN_S%|\"${LN_S}\"|" \
8ba35b7b355d Add cross buioldable mkoctfile target
John Donoghue
parents: 19792
diff changeset
780 -e "s|%OCTAVE_CONF_MAGICK_CPPFLAGS%|\"${MAGICK_CPPFLAGS}\"|" \
8ba35b7b355d Add cross buioldable mkoctfile target
John Donoghue
parents: 19792
diff changeset
781 -e "s|%OCTAVE_CONF_MAGICK_LDFLAGS%|\"${MAGICK_LDFLAGS}\"|" \
8ba35b7b355d Add cross buioldable mkoctfile target
John Donoghue
parents: 19792
diff changeset
782 -e "s|%OCTAVE_CONF_MAGICK_LIBS%|\"${MAGICK_LIBS}\"|" \
8ba35b7b355d Add cross buioldable mkoctfile target
John Donoghue
parents: 19792
diff changeset
783 -e 's|%OCTAVE_CONF_MKOCTFILE_AR%|\"${AR}\"|' \
8ba35b7b355d Add cross buioldable mkoctfile target
John Donoghue
parents: 19792
diff changeset
784 -e 's|%OCTAVE_CONF_MKOCTFILE_CC%|\"${CC}\"|' \
8ba35b7b355d Add cross buioldable mkoctfile target
John Donoghue
parents: 19792
diff changeset
785 -e 's|%OCTAVE_CONF_MKOCTFILE_CXX%|\"${CXX}\"|' \
8ba35b7b355d Add cross buioldable mkoctfile target
John Donoghue
parents: 19792
diff changeset
786 -e 's|%OCTAVE_CONF_MKOCTFILE_DL_LD%|\"${DL_LD}\"|' \
8ba35b7b355d Add cross buioldable mkoctfile target
John Donoghue
parents: 19792
diff changeset
787 -e 's|%OCTAVE_CONF_MKOCTFILE_DL_LDFLAGS%|\"${DL_LDFLAGS}\"|' \
8ba35b7b355d Add cross buioldable mkoctfile target
John Donoghue
parents: 19792
diff changeset
788 -e 's|%OCTAVE_CONF_MKOCTFILE_F77%|\"${F77}\"|' \
8ba35b7b355d Add cross buioldable mkoctfile target
John Donoghue
parents: 19792
diff changeset
789 -e 's|%OCTAVE_CONF_MKOCTFILE_LD_CXX%|\"${LD_CXX}\"|' \
8ba35b7b355d Add cross buioldable mkoctfile target
John Donoghue
parents: 19792
diff changeset
790 -e 's|%OCTAVE_CONF_MKOCTFILE_RANLIB%|\"${RANLIB}\"|' \
8ba35b7b355d Add cross buioldable mkoctfile target
John Donoghue
parents: 19792
diff changeset
791 -e "s|%OCTAVE_CONF_OCTAVE_LINK_DEPS%|\"${OCTAVE_LINK_DEPS}\"|" \
8ba35b7b355d Add cross buioldable mkoctfile target
John Donoghue
parents: 19792
diff changeset
792 -e "s|%OCTAVE_CONF_OCTAVE_LINK_OPTS%|\"${OCTAVE_LINK_OPTS}\"|" \
8ba35b7b355d Add cross buioldable mkoctfile target
John Donoghue
parents: 19792
diff changeset
793 -e "s|%OCTAVE_CONF_OCTINCLUDEDIR%|\"${octincludedir}\"|" \
8ba35b7b355d Add cross buioldable mkoctfile target
John Donoghue
parents: 19792
diff changeset
794 -e "s|%OCTAVE_CONF_OCTLIBDIR%|\"${octlibdir}\"|" \
8ba35b7b355d Add cross buioldable mkoctfile target
John Donoghue
parents: 19792
diff changeset
795 -e "s|%OCTAVE_CONF_OCT_LINK_DEPS%|\"${OCT_LINK_DEPS}\"|" \
8ba35b7b355d Add cross buioldable mkoctfile target
John Donoghue
parents: 19792
diff changeset
796 -e "s|%OCTAVE_CONF_OCT_LINK_OPTS%|\"${OCT_LINK_OPTS}\"|" \
8ba35b7b355d Add cross buioldable mkoctfile target
John Donoghue
parents: 19792
diff changeset
797 -e "s|%OCTAVE_CONF_OPENGL_LIBS%|\"${OPENGL_LIBS}\"|" \
8ba35b7b355d Add cross buioldable mkoctfile target
John Donoghue
parents: 19792
diff changeset
798 -e "s|%OCTAVE_CONF_OSMESA_CPPFLAGS%|\"${OSMESA_CPPFLAGS}\"|" \
8ba35b7b355d Add cross buioldable mkoctfile target
John Donoghue
parents: 19792
diff changeset
799 -e "s|%OCTAVE_CONF_OSMESA_LDFLAGS%|\"${OSMESA_LDFLAGS}\"|" \
8ba35b7b355d Add cross buioldable mkoctfile target
John Donoghue
parents: 19792
diff changeset
800 -e "s|%OCTAVE_CONF_OSMESA_LIBS%|\"${OSMESA_LIBS}\"|" \
8ba35b7b355d Add cross buioldable mkoctfile target
John Donoghue
parents: 19792
diff changeset
801 -e "s|%OCTAVE_CONF_PCRE_CPPFLAGS%|\"${PCRE_CPPFLAGS}\"|" \
8ba35b7b355d Add cross buioldable mkoctfile target
John Donoghue
parents: 19792
diff changeset
802 -e "s|%OCTAVE_CONF_PCRE_LIBS%|\"${PCRE_LIBS}\"|" \
8ba35b7b355d Add cross buioldable mkoctfile target
John Donoghue
parents: 19792
diff changeset
803 -e "s|%OCTAVE_CONF_PREFIX%|\"${prefix}\"|" \
8ba35b7b355d Add cross buioldable mkoctfile target
John Donoghue
parents: 19792
diff changeset
804 -e "s|%OCTAVE_CONF_PTHREAD_CFLAGS%|\"${PTHREAD_CFLAGS}\"|" \
8ba35b7b355d Add cross buioldable mkoctfile target
John Donoghue
parents: 19792
diff changeset
805 -e "s|%OCTAVE_CONF_PTHREAD_LIBS%|\"${PTHREAD_LIBS}\"|" \
8ba35b7b355d Add cross buioldable mkoctfile target
John Donoghue
parents: 19792
diff changeset
806 -e "s|%OCTAVE_CONF_QHULL_CPPFLAGS%|\"${QHULL_CPPFLAGSS}\"|" \
8ba35b7b355d Add cross buioldable mkoctfile target
John Donoghue
parents: 19792
diff changeset
807 -e "s|%OCTAVE_CONF_QHULL_LDFLAGS%|\"${QHULL_LDFLAGSS}\"|" \
8ba35b7b355d Add cross buioldable mkoctfile target
John Donoghue
parents: 19792
diff changeset
808 -e "s|%OCTAVE_CONF_QHULL_LIBS%|\"${QHULL_LIBS}\"|" \
8ba35b7b355d Add cross buioldable mkoctfile target
John Donoghue
parents: 19792
diff changeset
809 -e "s|%OCTAVE_CONF_QRUPDATE_CPPFLAGS%|\"${QRUPDATE_CPPFLAGS}\"|" \
8ba35b7b355d Add cross buioldable mkoctfile target
John Donoghue
parents: 19792
diff changeset
810 -e "s|%OCTAVE_CONF_QRUPDATE_LDFLAGS%|\"${QRUPDATE_LDFLAGS}\"|" \
8ba35b7b355d Add cross buioldable mkoctfile target
John Donoghue
parents: 19792
diff changeset
811 -e "s|%OCTAVE_CONF_QRUPDATE_LIBS%|\"${QRUPDATE_LIBS}\"|" \
8ba35b7b355d Add cross buioldable mkoctfile target
John Donoghue
parents: 19792
diff changeset
812 -e "s|%OCTAVE_CONF_QT_CPPFLAGS%|\"${QT_CPPFLAGS}\"|" \
8ba35b7b355d Add cross buioldable mkoctfile target
John Donoghue
parents: 19792
diff changeset
813 -e "s|%OCTAVE_CONF_QT_LDFLAGS%|\"${QT_LDFLAGS}\"|" \
8ba35b7b355d Add cross buioldable mkoctfile target
John Donoghue
parents: 19792
diff changeset
814 -e "s|%OCTAVE_CONF_QT_LIBS%|\"${QT_LIBS}\"|" \
8ba35b7b355d Add cross buioldable mkoctfile target
John Donoghue
parents: 19792
diff changeset
815 -e "s|%OCTAVE_CONF_RANLIB%|\"${RANLIB}\"|" \
8ba35b7b355d Add cross buioldable mkoctfile target
John Donoghue
parents: 19792
diff changeset
816 -e "s|%OCTAVE_CONF_RDYNAMIC_FLAG%|\"${RDYNAMIC_FLAG}\"|" \
8ba35b7b355d Add cross buioldable mkoctfile target
John Donoghue
parents: 19792
diff changeset
817 -e "s|%OCTAVE_CONF_READLINE_LIBS%|\"${READLINE_LIBS}\"|" \
8ba35b7b355d Add cross buioldable mkoctfile target
John Donoghue
parents: 19792
diff changeset
818 -e "s|%OCTAVE_CONF_SED%|\"${SED}\"|" \
8ba35b7b355d Add cross buioldable mkoctfile target
John Donoghue
parents: 19792
diff changeset
819 -e "s|%OCTAVE_CONF_SHARED_LIBS%|\"${SHARED_LIBS}\"|" \
8ba35b7b355d Add cross buioldable mkoctfile target
John Donoghue
parents: 19792
diff changeset
820 -e "s|%OCTAVE_CONF_SHLEXT%|\"${SHLEXT}\"|" \
8ba35b7b355d Add cross buioldable mkoctfile target
John Donoghue
parents: 19792
diff changeset
821 -e "s|%OCTAVE_CONF_SHLLINKEXT%|\"${SHLLINKEXT}\"|" \
8ba35b7b355d Add cross buioldable mkoctfile target
John Donoghue
parents: 19792
diff changeset
822 -e "s|%OCTAVE_CONF_SHLEXT_VER%|\"${SHLEXT_VER}\"|" \
8ba35b7b355d Add cross buioldable mkoctfile target
John Donoghue
parents: 19792
diff changeset
823 -e "s|%OCTAVE_CONF_SH_LD%|\"${SH_LD}\"|" \
8ba35b7b355d Add cross buioldable mkoctfile target
John Donoghue
parents: 19792
diff changeset
824 -e "s|%OCTAVE_CONF_SH_LDFLAGS%|\"${SH_LDFLAGS}\"|" \
8ba35b7b355d Add cross buioldable mkoctfile target
John Donoghue
parents: 19792
diff changeset
825 -e "s|%OCTAVE_CONF_SONAME_FLAGS%|\"${SONAME_FLAGS}\"|" \
8ba35b7b355d Add cross buioldable mkoctfile target
John Donoghue
parents: 19792
diff changeset
826 -e "s|%OCTAVE_CONF_STATIC_LIBS%|\"${STATIC_LIBS}\"|" \
8ba35b7b355d Add cross buioldable mkoctfile target
John Donoghue
parents: 19792
diff changeset
827 -e "s|%OCTAVE_CONF_TERM_LIBS%|\"${TERM_LIBS}\"|" \
8ba35b7b355d Add cross buioldable mkoctfile target
John Donoghue
parents: 19792
diff changeset
828 -e "s|%OCTAVE_CONF_UMFPACK_CPPFLAGS%|\"${UMFPACK_CPPFLAGS}\"|" \
8ba35b7b355d Add cross buioldable mkoctfile target
John Donoghue
parents: 19792
diff changeset
829 -e "s|%OCTAVE_CONF_UMFPACK_LDFLAGS%|\"${UMFPACK_LDFLAGS}\"|" \
8ba35b7b355d Add cross buioldable mkoctfile target
John Donoghue
parents: 19792
diff changeset
830 -e "s|%OCTAVE_CONF_UMFPACK_LIBS%|\"${UMFPACK_LIBS}\"|" \
8ba35b7b355d Add cross buioldable mkoctfile target
John Donoghue
parents: 19792
diff changeset
831 -e "s|%OCTAVE_CONF_VERSION%|\"${version}\"|" \
8ba35b7b355d Add cross buioldable mkoctfile target
John Donoghue
parents: 19792
diff changeset
832 -e "s|%OCTAVE_CONF_WARN_CFLAGS%|\"${WARN_CFLAGS}\"|" \
8ba35b7b355d Add cross buioldable mkoctfile target
John Donoghue
parents: 19792
diff changeset
833 -e "s|%OCTAVE_CONF_WARN_CXXFLAGS%|\"${WARN_CXXFLAGS}\"|" \
8ba35b7b355d Add cross buioldable mkoctfile target
John Donoghue
parents: 19792
diff changeset
834 -e "s|%OCTAVE_CONF_X11_INCFLAGS%|\"${X11_INCFLAGS}\"|" \
8ba35b7b355d Add cross buioldable mkoctfile target
John Donoghue
parents: 19792
diff changeset
835 -e "s|%OCTAVE_CONF_X11_LIBS%|\"${X11_LIBS}\"|" \
8ba35b7b355d Add cross buioldable mkoctfile target
John Donoghue
parents: 19792
diff changeset
836 -e "s|%OCTAVE_CONF_XTRA_CFLAGS%|\"${XTRA_CFLAGS}\"|" \
8ba35b7b355d Add cross buioldable mkoctfile target
John Donoghue
parents: 19792
diff changeset
837 -e "s|%OCTAVE_CONF_XTRA_CXXFLAGS%|\"${XTRA_CXXFLAGS}\"|" \
8ba35b7b355d Add cross buioldable mkoctfile target
John Donoghue
parents: 19792
diff changeset
838 -e "s|%OCTAVE_CONF_YACC%|\"${YACC}\"|" \
8ba35b7b355d Add cross buioldable mkoctfile target
John Donoghue
parents: 19792
diff changeset
839 -e "s|%OCTAVE_CONF_YFLAGS%|\"${YFLAGS}\"|" \
8ba35b7b355d Add cross buioldable mkoctfile target
John Donoghue
parents: 19792
diff changeset
840 -e "s|%OCTAVE_CONF_Z_CPPFLAGS%|\"${Z_CPPFLAGS}\"|" \
8ba35b7b355d Add cross buioldable mkoctfile target
John Donoghue
parents: 19792
diff changeset
841 -e "s|%OCTAVE_CONF_Z_LDFLAGS%|\"${Z_LDFLAGS}\"|" \
8ba35b7b355d Add cross buioldable mkoctfile target
John Donoghue
parents: 19792
diff changeset
842 -e "s|%OCTAVE_CONF_Z_LIBS%|\"${Z_LIBS}\"|" \
8ba35b7b355d Add cross buioldable mkoctfile target
John Donoghue
parents: 19792
diff changeset
843 -e "s|%OCTAVE_CONF_config_opts%|\"${config_opts}\"|" > $@-t && \
8ba35b7b355d Add cross buioldable mkoctfile target
John Donoghue
parents: 19792
diff changeset
844 $(simple_move_if_change_rule)
8ba35b7b355d Add cross buioldable mkoctfile target
John Donoghue
parents: 19792
diff changeset
845 endef
8ba35b7b355d Add cross buioldable mkoctfile target
John Donoghue
parents: 19792
diff changeset
846
8ba35b7b355d Add cross buioldable mkoctfile target
John Donoghue
parents: 19792
diff changeset
847
9794
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
848 define do_subst_default_vals
19792
4f6ae6b94abe make --enable-silent-rules configure option more useful
John W. Eaton <jwe@octave.org>
parents: 19775
diff changeset
849 $(SED) < $< > $@-t \
4f6ae6b94abe make --enable-silent-rules configure option more useful
John W. Eaton <jwe@octave.org>
parents: 19775
diff changeset
850 -e "s|%NO_EDIT_WARNING%|DO NOT EDIT! Generated automatically from $(<F) by Make.|" \
4f6ae6b94abe make --enable-silent-rules configure option more useful
John W. Eaton <jwe@octave.org>
parents: 19775
diff changeset
851 -e "s|%OCTAVE_ARCHLIBDIR%|\"${archlibdir}\"|" \
4f6ae6b94abe make --enable-silent-rules configure option more useful
John W. Eaton <jwe@octave.org>
parents: 19775
diff changeset
852 -e "s|%OCTAVE_BINDIR%|\"${bindir}\"|" \
4f6ae6b94abe make --enable-silent-rules configure option more useful
John W. Eaton <jwe@octave.org>
parents: 19775
diff changeset
853 -e "s|%OCTAVE_CANONICAL_HOST_TYPE%|\"${canonical_host_type}\"|" \
4f6ae6b94abe make --enable-silent-rules configure option more useful
John W. Eaton <jwe@octave.org>
parents: 19775
diff changeset
854 -e "s|%OCTAVE_DATADIR%|\"${datadir}\"|" \
4f6ae6b94abe make --enable-silent-rules configure option more useful
John W. Eaton <jwe@octave.org>
parents: 19775
diff changeset
855 -e "s|%OCTAVE_DATAROOTDIR%|\"${datarootdir}\"|" \
4f6ae6b94abe make --enable-silent-rules configure option more useful
John W. Eaton <jwe@octave.org>
parents: 19775
diff changeset
856 -e "s|%OCTAVE_DEFAULT_PAGER%|\"${DEFAULT_PAGER}\"|" \
4f6ae6b94abe make --enable-silent-rules configure option more useful
John W. Eaton <jwe@octave.org>
parents: 19775
diff changeset
857 -e "s|%OCTAVE_DOC_CACHE_FILE%|\"${doc_cache_file}\"|" \
4f6ae6b94abe make --enable-silent-rules configure option more useful
John W. Eaton <jwe@octave.org>
parents: 19775
diff changeset
858 -e "s|%OCTAVE_EXEC_PREFIX%|\"${exec_prefix}\"|" \
19986
4840fc43f0b5 octave-config: add EXEEXT and SHLEXT variables to -p
John Donoghue
parents: 19963
diff changeset
859 -e "s|%OCTAVE_EXEEXT%|\"${EXEEXT}\"|" \
19792
4f6ae6b94abe make --enable-silent-rules configure option more useful
John W. Eaton <jwe@octave.org>
parents: 19775
diff changeset
860 -e "s|%OCTAVE_FCNFILEDIR%|\"${fcnfiledir}\"|" \
4f6ae6b94abe make --enable-silent-rules configure option more useful
John W. Eaton <jwe@octave.org>
parents: 19775
diff changeset
861 -e "s|%OCTAVE_IMAGEDIR%|\"${imagedir}\"|" \
4f6ae6b94abe make --enable-silent-rules configure option more useful
John W. Eaton <jwe@octave.org>
parents: 19775
diff changeset
862 -e "s|%OCTAVE_INCLUDEDIR%|\"${includedir}\"|" \
4f6ae6b94abe make --enable-silent-rules configure option more useful
John W. Eaton <jwe@octave.org>
parents: 19775
diff changeset
863 -e "s|%OCTAVE_INFODIR%|\"${infodir}\"|" \
4f6ae6b94abe make --enable-silent-rules configure option more useful
John W. Eaton <jwe@octave.org>
parents: 19775
diff changeset
864 -e "s|%OCTAVE_INFOFILE%|\"${infofile}\"|" \
4f6ae6b94abe make --enable-silent-rules configure option more useful
John W. Eaton <jwe@octave.org>
parents: 19775
diff changeset
865 -e "s|%OCTAVE_LIBDIR%|\"${libdir}\"|" \
4f6ae6b94abe make --enable-silent-rules configure option more useful
John W. Eaton <jwe@octave.org>
parents: 19775
diff changeset
866 -e "s|%OCTAVE_LIBEXECDIR%|\"${libexecdir}\"|" \
4f6ae6b94abe make --enable-silent-rules configure option more useful
John W. Eaton <jwe@octave.org>
parents: 19775
diff changeset
867 -e "s|%OCTAVE_LOCALAPIFCNFILEDIR%|\"${localapifcnfiledir}\"|" \
4f6ae6b94abe make --enable-silent-rules configure option more useful
John W. Eaton <jwe@octave.org>
parents: 19775
diff changeset
868 -e "s|%OCTAVE_LOCALAPIOCTFILEDIR%|\"${localapioctfiledir}\"|" \
4f6ae6b94abe make --enable-silent-rules configure option more useful
John W. Eaton <jwe@octave.org>
parents: 19775
diff changeset
869 -e "s|%OCTAVE_LOCALARCHLIBDIR%|\"${localarchlibdir}\"|" \
4f6ae6b94abe make --enable-silent-rules configure option more useful
John W. Eaton <jwe@octave.org>
parents: 19775
diff changeset
870 -e "s|%OCTAVE_LOCALFCNFILEDIR%|\"${localfcnfiledir}\"|" \
4f6ae6b94abe make --enable-silent-rules configure option more useful
John W. Eaton <jwe@octave.org>
parents: 19775
diff changeset
871 -e "s|%OCTAVE_LOCALOCTFILEDIR%|\"${localoctfiledir}\"|" \
4f6ae6b94abe make --enable-silent-rules configure option more useful
John W. Eaton <jwe@octave.org>
parents: 19775
diff changeset
872 -e "s|%OCTAVE_LOCALSTARTUPFILEDIR%|\"${localstartupfiledir}\"|" \
4f6ae6b94abe make --enable-silent-rules configure option more useful
John W. Eaton <jwe@octave.org>
parents: 19775
diff changeset
873 -e "s|%OCTAVE_LOCALAPIARCHLIBDIR%|\"${localapiarchlibdir}\"|" \
4f6ae6b94abe make --enable-silent-rules configure option more useful
John W. Eaton <jwe@octave.org>
parents: 19775
diff changeset
874 -e "s|%OCTAVE_LOCALVERARCHLIBDIR%|\"${localverarchlibdir}\"|" \
4f6ae6b94abe make --enable-silent-rules configure option more useful
John W. Eaton <jwe@octave.org>
parents: 19775
diff changeset
875 -e "s|%OCTAVE_LOCALVERFCNFILEDIR%|\"${localverfcnfiledir}\"|" \
4f6ae6b94abe make --enable-silent-rules configure option more useful
John W. Eaton <jwe@octave.org>
parents: 19775
diff changeset
876 -e "s|%OCTAVE_LOCALVEROCTFILEDIR%|\"${localveroctfiledir}\"|" \
4f6ae6b94abe make --enable-silent-rules configure option more useful
John W. Eaton <jwe@octave.org>
parents: 19775
diff changeset
877 -e "s|%OCTAVE_MAN1DIR%|\"${man1dir}\"|" \
4f6ae6b94abe make --enable-silent-rules configure option more useful
John W. Eaton <jwe@octave.org>
parents: 19775
diff changeset
878 -e "s|%OCTAVE_MAN1EXT%|\"${man1ext}\"|" \
4f6ae6b94abe make --enable-silent-rules configure option more useful
John W. Eaton <jwe@octave.org>
parents: 19775
diff changeset
879 -e "s|%OCTAVE_MANDIR%|\"${mandir}\"|" \
4f6ae6b94abe make --enable-silent-rules configure option more useful
John W. Eaton <jwe@octave.org>
parents: 19775
diff changeset
880 -e "s|%OCTAVE_OCTDATADIR%|\"${octdatadir}\"|" \
4f6ae6b94abe make --enable-silent-rules configure option more useful
John W. Eaton <jwe@octave.org>
parents: 19775
diff changeset
881 -e "s|%OCTAVE_OCTFILEDIR%|\"${octfiledir}\"|" \
4f6ae6b94abe make --enable-silent-rules configure option more useful
John W. Eaton <jwe@octave.org>
parents: 19775
diff changeset
882 -e "s|%OCTAVE_OCTETCDIR%|\"${octetcdir}\"|" \
4f6ae6b94abe make --enable-silent-rules configure option more useful
John W. Eaton <jwe@octave.org>
parents: 19775
diff changeset
883 -e "s|%OCTAVE_OCTINCLUDEDIR%|\"${octincludedir}\"|" \
4f6ae6b94abe make --enable-silent-rules configure option more useful
John W. Eaton <jwe@octave.org>
parents: 19775
diff changeset
884 -e "s|%OCTAVE_OCTLIBDIR%|\"${octlibdir}\"|" \
4f6ae6b94abe make --enable-silent-rules configure option more useful
John W. Eaton <jwe@octave.org>
parents: 19775
diff changeset
885 -e "s|%OCTAVE_OCTLOCALEDIR%|\"${octlocaledir}\"|" \
4f6ae6b94abe make --enable-silent-rules configure option more useful
John W. Eaton <jwe@octave.org>
parents: 19775
diff changeset
886 -e "s|%OCTAVE_OCTTESTSDIR%|\"${octtestsdir}\"|" \
4f6ae6b94abe make --enable-silent-rules configure option more useful
John W. Eaton <jwe@octave.org>
parents: 19775
diff changeset
887 -e "s|%OCTAVE_STARTUPFILEDIR%|\"${startupfiledir}\"|" \
4f6ae6b94abe make --enable-silent-rules configure option more useful
John W. Eaton <jwe@octave.org>
parents: 19775
diff changeset
888 -e "s|%OCTAVE_PREFIX%|\"${prefix}\"|" \
4f6ae6b94abe make --enable-silent-rules configure option more useful
John W. Eaton <jwe@octave.org>
parents: 19775
diff changeset
889 -e "s|%OCTAVE_API_VERSION%|\"${api_version}\"|" \
4f6ae6b94abe make --enable-silent-rules configure option more useful
John W. Eaton <jwe@octave.org>
parents: 19775
diff changeset
890 -e "s|%OCTAVE_RELEASE%|\"${OCTAVE_RELEASE}\"|" \
19986
4840fc43f0b5 octave-config: add EXEEXT and SHLEXT variables to -p
John Donoghue
parents: 19963
diff changeset
891 -e "s|%OCTAVE_SHLEXT%|\"${SHLEXT}\"|" \
19792
4f6ae6b94abe make --enable-silent-rules configure option more useful
John W. Eaton <jwe@octave.org>
parents: 19775
diff changeset
892 -e "s|%OCTAVE_TEXI_MACROS_FILE%|\"${texi_macros_file}\"|" \
4f6ae6b94abe make --enable-silent-rules configure option more useful
John W. Eaton <jwe@octave.org>
parents: 19775
diff changeset
893 -e "s|%OCTAVE_VERSION%|\"${version}\"|" && \
4f6ae6b94abe make --enable-silent-rules configure option more useful
John W. Eaton <jwe@octave.org>
parents: 19775
diff changeset
894 $(simple_move_if_change_rule)
9794
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
895 endef
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
896
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
897 define do_subst_script_vals
19792
4f6ae6b94abe make --enable-silent-rules configure option more useful
John W. Eaton <jwe@octave.org>
parents: 19775
diff changeset
898 $(SED) < $< \
4f6ae6b94abe make --enable-silent-rules configure option more useful
John W. Eaton <jwe@octave.org>
parents: 19775
diff changeset
899 -e "s|%AWK%|${AWK}|g" \
4f6ae6b94abe make --enable-silent-rules configure option more useful
John W. Eaton <jwe@octave.org>
parents: 19775
diff changeset
900 -e "s|%FIND%|${FIND}|g" \
4f6ae6b94abe make --enable-silent-rules configure option more useful
John W. Eaton <jwe@octave.org>
parents: 19775
diff changeset
901 -e "s|%SED%|${SED}|g" \
20712
4a25c398ffa2 configure option to build with address sanitizer (bugg #46449)
John W. Eaton <jwe@octave.org>
parents: 20308
diff changeset
902 -e "s|%ADDRESS_SANITIZER_OPTIONS%|${ADDRESS_SANITIZER_OPTIONS}|g" \
19792
4f6ae6b94abe make --enable-silent-rules configure option more useful
John W. Eaton <jwe@octave.org>
parents: 19775
diff changeset
903 -e "s|%abs_top_srcdir%|${abs_top_srcdir}|" \
4f6ae6b94abe make --enable-silent-rules configure option more useful
John W. Eaton <jwe@octave.org>
parents: 19775
diff changeset
904 -e "s|%builddir%|$(shell pwd)|" > $@-t && \
4f6ae6b94abe make --enable-silent-rules configure option more useful
John W. Eaton <jwe@octave.org>
parents: 19775
diff changeset
905 $(simple_move_if_change_rule)
9794
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
906 endef
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
907
16522
bfff338c56d1 set default terminal font for the GUI from the configure script
John W. Eaton <jwe@octave.org>
parents: 16174
diff changeset
908 define do_subst_qt_settings
19792
4f6ae6b94abe make --enable-silent-rules configure option more useful
John W. Eaton <jwe@octave.org>
parents: 19775
diff changeset
909 $(SED) < $< \
4f6ae6b94abe make --enable-silent-rules configure option more useful
John W. Eaton <jwe@octave.org>
parents: 19775
diff changeset
910 -e "s|%DEFAULT_TERMINAL_FONT%|${DEFAULT_TERMINAL_FONT}|" \
4f6ae6b94abe make --enable-silent-rules configure option more useful
John W. Eaton <jwe@octave.org>
parents: 19775
diff changeset
911 -e "s|%DEFAULT_TERMINAL_FONT_SIZE%|${DEFAULT_TERMINAL_FONT_SIZE}|" > $@-t && \
4f6ae6b94abe make --enable-silent-rules configure option more useful
John W. Eaton <jwe@octave.org>
parents: 19775
diff changeset
912 $(simple_move_if_change_rule)
16522
bfff338c56d1 set default terminal font for the GUI from the configure script
John W. Eaton <jwe@octave.org>
parents: 16174
diff changeset
913 endef
bfff338c56d1 set default terminal font for the GUI from the configure script
John W. Eaton <jwe@octave.org>
parents: 16174
diff changeset
914
19775
a941a65c7cb8 handle bison syntax changes in TeX parser
John W. Eaton <jwe@octave.org>
parents: 19734
diff changeset
915 define subst-bison-api-decls
a941a65c7cb8 handle bison syntax changes in TeX parser
John W. Eaton <jwe@octave.org>
parents: 19734
diff changeset
916 case "$(BISON_API_PREFIX_DECL_STYLE)" in \
a941a65c7cb8 handle bison syntax changes in TeX parser
John W. Eaton <jwe@octave.org>
parents: 19734
diff changeset
917 *api*) \
a941a65c7cb8 handle bison syntax changes in TeX parser
John W. Eaton <jwe@octave.org>
parents: 19734
diff changeset
918 case "$(BISON_API_PREFIX_DECL_STYLE)" in \
a941a65c7cb8 handle bison syntax changes in TeX parser
John W. Eaton <jwe@octave.org>
parents: 19734
diff changeset
919 *brace*) \
a941a65c7cb8 handle bison syntax changes in TeX parser
John W. Eaton <jwe@octave.org>
parents: 19734
diff changeset
920 api_prefix_decl='%define api.prefix {$(1)}'; ;; \
a941a65c7cb8 handle bison syntax changes in TeX parser
John W. Eaton <jwe@octave.org>
parents: 19734
diff changeset
921 *) \
a941a65c7cb8 handle bison syntax changes in TeX parser
John W. Eaton <jwe@octave.org>
parents: 19734
diff changeset
922 api_prefix_decl='%define api.prefix "$(1)"'; ;; \
a941a65c7cb8 handle bison syntax changes in TeX parser
John W. Eaton <jwe@octave.org>
parents: 19734
diff changeset
923 esac; \
a941a65c7cb8 handle bison syntax changes in TeX parser
John W. Eaton <jwe@octave.org>
parents: 19734
diff changeset
924 ;; \
a941a65c7cb8 handle bison syntax changes in TeX parser
John W. Eaton <jwe@octave.org>
parents: 19734
diff changeset
925 *name*) \
a941a65c7cb8 handle bison syntax changes in TeX parser
John W. Eaton <jwe@octave.org>
parents: 19734
diff changeset
926 case "$(BISON_API_PREFIX_DECL_STYLE)" in \
a941a65c7cb8 handle bison syntax changes in TeX parser
John W. Eaton <jwe@octave.org>
parents: 19734
diff changeset
927 *brace*) \
a941a65c7cb8 handle bison syntax changes in TeX parser
John W. Eaton <jwe@octave.org>
parents: 19734
diff changeset
928 api_prefix_decl='%name-prefix {$(1)}'; ;; \
a941a65c7cb8 handle bison syntax changes in TeX parser
John W. Eaton <jwe@octave.org>
parents: 19734
diff changeset
929 *) \
a941a65c7cb8 handle bison syntax changes in TeX parser
John W. Eaton <jwe@octave.org>
parents: 19734
diff changeset
930 api_prefix_decl='%name-prefix="$(1)"'; ;; \
a941a65c7cb8 handle bison syntax changes in TeX parser
John W. Eaton <jwe@octave.org>
parents: 19734
diff changeset
931 esac; \
a941a65c7cb8 handle bison syntax changes in TeX parser
John W. Eaton <jwe@octave.org>
parents: 19734
diff changeset
932 ;; \
a941a65c7cb8 handle bison syntax changes in TeX parser
John W. Eaton <jwe@octave.org>
parents: 19734
diff changeset
933 esac; \
a941a65c7cb8 handle bison syntax changes in TeX parser
John W. Eaton <jwe@octave.org>
parents: 19734
diff changeset
934 case "$(BISON_PUSH_PULL_DECL_STYLE)" in \
a941a65c7cb8 handle bison syntax changes in TeX parser
John W. Eaton <jwe@octave.org>
parents: 19734
diff changeset
935 *quote*) quote='"' ;; \
a941a65c7cb8 handle bison syntax changes in TeX parser
John W. Eaton <jwe@octave.org>
parents: 19734
diff changeset
936 *) quote="" ;; \
a941a65c7cb8 handle bison syntax changes in TeX parser
John W. Eaton <jwe@octave.org>
parents: 19734
diff changeset
937 esac; \
a941a65c7cb8 handle bison syntax changes in TeX parser
John W. Eaton <jwe@octave.org>
parents: 19734
diff changeset
938 case "$(BISON_PUSH_PULL_DECL_STYLE)" in \
a941a65c7cb8 handle bison syntax changes in TeX parser
John W. Eaton <jwe@octave.org>
parents: 19734
diff changeset
939 *dash*) push_pull_decl="%define api.push-pull $${quote}both$${quote}"; ;; \
a941a65c7cb8 handle bison syntax changes in TeX parser
John W. Eaton <jwe@octave.org>
parents: 19734
diff changeset
940 *underscore*) push_pull_decl="%define api.push_pull $${quote}both$${quote}"; ;; \
a941a65c7cb8 handle bison syntax changes in TeX parser
John W. Eaton <jwe@octave.org>
parents: 19734
diff changeset
941 esac; \
a941a65c7cb8 handle bison syntax changes in TeX parser
John W. Eaton <jwe@octave.org>
parents: 19734
diff changeset
942 $(SED) -e "s/%PUSH_PULL_DECL%/$$push_pull_decl/" \
19792
4f6ae6b94abe make --enable-silent-rules configure option more useful
John W. Eaton <jwe@octave.org>
parents: 19775
diff changeset
943 -e "s/%API_PREFIX_DECL%/$$api_prefix_decl/" $< > $@-t && \
19775
a941a65c7cb8 handle bison syntax changes in TeX parser
John W. Eaton <jwe@octave.org>
parents: 19734
diff changeset
944 mv $@-t $@
a941a65c7cb8 handle bison syntax changes in TeX parser
John W. Eaton <jwe@octave.org>
parents: 19734
diff changeset
945 endef
a941a65c7cb8 handle bison syntax changes in TeX parser
John W. Eaton <jwe@octave.org>
parents: 19734
diff changeset
946
16603
e5c0acc31640 install .gdbinit in test directory
John W. Eaton <jwe@octave.org>
parents: 16522
diff changeset
947 define gdbinit_install_rule
20308
bacaec9b5535 eliminate recursive make invocation in test directory tree
John W. Eaton <jwe@octave.org>
parents: 20226
diff changeset
948 if [ -f $@ ]; then \
bacaec9b5535 eliminate recursive make invocation in test directory tree
John W. Eaton <jwe@octave.org>
parents: 20226
diff changeset
949 echo "refusing to overwrite $@ with newer version from $<" 1>&2; \
19792
4f6ae6b94abe make --enable-silent-rules configure option more useful
John W. Eaton <jwe@octave.org>
parents: 19775
diff changeset
950 else \
20308
bacaec9b5535 eliminate recursive make invocation in test directory tree
John W. Eaton <jwe@octave.org>
parents: 20226
diff changeset
951 echo "Installing $@ from version at $<" ; \
19792
4f6ae6b94abe make --enable-silent-rules configure option more useful
John W. Eaton <jwe@octave.org>
parents: 19775
diff changeset
952 cp $< $@; \
4f6ae6b94abe make --enable-silent-rules configure option more useful
John W. Eaton <jwe@octave.org>
parents: 19775
diff changeset
953 fi
4f6ae6b94abe make --enable-silent-rules configure option more useful
John W. Eaton <jwe@octave.org>
parents: 19775
diff changeset
954 endef
4f6ae6b94abe make --enable-silent-rules configure option more useful
John W. Eaton <jwe@octave.org>
parents: 19775
diff changeset
955
4f6ae6b94abe make --enable-silent-rules configure option more useful
John W. Eaton <jwe@octave.org>
parents: 19775
diff changeset
956 define test-file-commands
4f6ae6b94abe make --enable-silent-rules configure option more useful
John W. Eaton <jwe@octave.org>
parents: 19775
diff changeset
957 rm -f $@-t $@ && \
4f6ae6b94abe make --enable-silent-rules configure option more useful
John W. Eaton <jwe@octave.org>
parents: 19775
diff changeset
958 ( echo "## DO NOT EDIT! Generated automatically from $(<F) by Make."; \
4f6ae6b94abe make --enable-silent-rules configure option more useful
John W. Eaton <jwe@octave.org>
parents: 19775
diff changeset
959 $(GREP) '^%!' $< \
4f6ae6b94abe make --enable-silent-rules configure option more useful
John W. Eaton <jwe@octave.org>
parents: 19775
diff changeset
960 ) > $@-t && \
4f6ae6b94abe make --enable-silent-rules configure option more useful
John W. Eaton <jwe@octave.org>
parents: 19775
diff changeset
961 mv $@-t $@
16603
e5c0acc31640 install .gdbinit in test directory
John W. Eaton <jwe@octave.org>
parents: 16522
diff changeset
962 endef
e5c0acc31640 install .gdbinit in test directory
John W. Eaton <jwe@octave.org>
parents: 16522
diff changeset
963
16019
5b2126a8c84f install tests and functions to run them
John W. Eaton <jwe@octave.org>
parents: 15971
diff changeset
964 %.cc-tst : %.cc
19792
4f6ae6b94abe make --enable-silent-rules configure option more useful
John W. Eaton <jwe@octave.org>
parents: 19775
diff changeset
965 $(AM_V_GEN)$(test-file-commands)
16019
5b2126a8c84f install tests and functions to run them
John W. Eaton <jwe@octave.org>
parents: 15971
diff changeset
966
5b2126a8c84f install tests and functions to run them
John W. Eaton <jwe@octave.org>
parents: 15971
diff changeset
967 %.yy-tst : %.yy
19792
4f6ae6b94abe make --enable-silent-rules configure option more useful
John W. Eaton <jwe@octave.org>
parents: 19775
diff changeset
968 $(AM_V_GEN)$(test-file-commands)
16019
5b2126a8c84f install tests and functions to run them
John W. Eaton <jwe@octave.org>
parents: 15971
diff changeset
969
5b2126a8c84f install tests and functions to run them
John W. Eaton <jwe@octave.org>
parents: 15971
diff changeset
970 %.ll-tst : %.ll
19792
4f6ae6b94abe make --enable-silent-rules configure option more useful
John W. Eaton <jwe@octave.org>
parents: 19775
diff changeset
971 $(AM_V_GEN)$(test-file-commands)