annotate build-aux/common.mk @ 19627:446c46af4b42 stable

strip trailing whitespace from most source files * Makefile.am, NEWS, build-aux/common.mk, configure.ac, doc/Makefile.am, doc/doxyhtml/Makefile.am, doc/interpreter/Makefile.am, doc/interpreter/arith.txi, doc/interpreter/audio.txi, doc/interpreter/basics.txi, doc/interpreter/bugs.txi, doc/interpreter/container.txi, doc/interpreter/cp-idx.txi, doc/interpreter/data.txi, doc/interpreter/debug.txi, doc/interpreter/diagperm.txi, doc/interpreter/diffeq.txi, doc/interpreter/doccheck/README, doc/interpreter/doccheck/spellcheck, doc/interpreter/emacs.txi, doc/interpreter/errors.txi, doc/interpreter/eval.txi, doc/interpreter/expr.txi, doc/interpreter/external.txi, doc/interpreter/fn-idx.txi, doc/interpreter/func.txi, doc/interpreter/geometry.txi, doc/interpreter/geometryimages.m, doc/interpreter/gpl.txi, doc/interpreter/grammar.txi, doc/interpreter/gui.txi, doc/interpreter/image.txi, doc/interpreter/install.txi, doc/interpreter/interp.txi, doc/interpreter/interpimages.m, doc/interpreter/intro.txi, doc/interpreter/io.txi, doc/interpreter/java.txi, doc/interpreter/linalg.txi, doc/interpreter/macros.texi, doc/interpreter/matrix.txi, doc/interpreter/munge-texi.pl, doc/interpreter/nonlin.txi, doc/interpreter/numbers.txi, doc/interpreter/obsolete.txi, doc/interpreter/octave-config.1, doc/interpreter/octave.texi, doc/interpreter/oop.txi, doc/interpreter/op-idx.txi, doc/interpreter/optim.txi, doc/interpreter/package.txi, doc/interpreter/plot.txi, doc/interpreter/poly.txi, doc/interpreter/preface.txi, doc/interpreter/quad.txi, doc/interpreter/set.txi, doc/interpreter/signal.txi, doc/interpreter/sparse.txi, doc/interpreter/sparseimages.m, doc/interpreter/splineimages.m, doc/interpreter/stats.txi, doc/interpreter/stmt.txi, doc/interpreter/strings.txi, doc/interpreter/system.txi, doc/interpreter/testfun.txi, doc/interpreter/tips.txi, doc/interpreter/var.txi, doc/interpreter/vectorize.txi, doc/liboctave/Makefile.am, doc/liboctave/array.texi, doc/liboctave/bugs.texi, doc/liboctave/cp-idx.texi, doc/liboctave/dae.texi, doc/liboctave/diffeq.texi, doc/liboctave/error.texi, doc/liboctave/factor.texi, doc/liboctave/fn-idx.texi, doc/liboctave/gpl.texi, doc/liboctave/install.texi, doc/liboctave/intro.texi, doc/liboctave/liboctave.texi, doc/liboctave/matvec.texi, doc/liboctave/nleqn.texi, doc/liboctave/nlfunc.texi, doc/liboctave/ode.texi, doc/liboctave/optim.texi, doc/liboctave/preface.texi, doc/liboctave/quad.texi, doc/liboctave/range.texi, doc/refcard/Makefile.am, doc/refcard/refcard.tex, etc/HACKING, etc/NEWS.1, etc/NEWS.2, etc/NEWS.3, etc/OLD-ChangeLogs/ChangeLog, etc/OLD-ChangeLogs/doc-ChangeLog, etc/OLD-ChangeLogs/scripts-ChangeLog, etc/OLD-ChangeLogs/src-ChangeLog, etc/OLD-ChangeLogs/test-ChangeLog, etc/PROJECTS, etc/README.Cygwin, etc/README.MacOS, etc/README.MinGW, etc/README.gnuplot, etc/gdbinit, etc/icons/Makefile.am, examples/@polynomial/end.m, examples/@polynomial/subsasgn.m, examples/Makefile.am, examples/standalonebuiltin.cc, libgui/Makefile.am, libgui/qterminal/libqterminal/README, libgui/qterminal/libqterminal/unix/BlockArray.cpp, libgui/qterminal/libqterminal/unix/BlockArray.h, libgui/qterminal/libqterminal/unix/Character.h, libgui/qterminal/libqterminal/unix/CharacterColor.h, libgui/qterminal/libqterminal/unix/Emulation.cpp, libgui/qterminal/libqterminal/unix/Emulation.h, libgui/qterminal/libqterminal/unix/Filter.cpp, libgui/qterminal/libqterminal/unix/Filter.h, libgui/qterminal/libqterminal/unix/History.cpp, libgui/qterminal/libqterminal/unix/History.h, libgui/qterminal/libqterminal/unix/KeyboardTranslator.cpp, libgui/qterminal/libqterminal/unix/KeyboardTranslator.h, libgui/qterminal/libqterminal/unix/LineFont.h, libgui/qterminal/libqterminal/unix/QUnixTerminalImpl.cpp, libgui/qterminal/libqterminal/unix/QUnixTerminalImpl.h, libgui/qterminal/libqterminal/unix/Screen.cpp, libgui/qterminal/libqterminal/unix/Screen.h, libgui/qterminal/libqterminal/unix/ScreenWindow.cpp, libgui/qterminal/libqterminal/unix/ScreenWindow.h, libgui/qterminal/libqterminal/unix/TerminalCharacterDecoder.cpp, libgui/qterminal/libqterminal/unix/TerminalCharacterDecoder.h, libgui/qterminal/libqterminal/unix/Vt102Emulation.h, libgui/qterminal/libqterminal/win32/QWinTerminalImpl.cpp, libgui/qterminal/qterminal/main.cpp, libgui/src/m-editor/file-editor-tab.cc, libgui/src/octave-gui.cc, libgui/src/octave-qt-link.cc, libinterp/corefcn/data.cc, libinterp/corefcn/defun-int.h, libinterp/corefcn/det.cc, libinterp/corefcn/gl2ps-renderer.cc, libinterp/corefcn/graphics.cc, libinterp/corefcn/graphics.in.h, libinterp/corefcn/ls-mat5.cc, libinterp/corefcn/lu.cc, libinterp/corefcn/oct-tex-parser.yy, libinterp/corefcn/oct-tex-symbols.in, libinterp/corefcn/quadcc.cc, libinterp/corefcn/zfstream.cc, libinterp/dldfcn/__eigs__.cc, libinterp/dldfcn/__voronoi__.cc, libinterp/gendoc.pl, libinterp/genprops.awk, libinterp/mk-errno-list, libinterp/mk-pkg-add, libinterp/mkbuiltins, libinterp/mkdefs, libinterp/mkdocs, libinterp/mkops, libinterp/octave-value/ov-java.cc, libinterp/parse-tree/lex.ll, libinterp/parse-tree/oct-parse.in.yy, libinterp/parse-tree/octave.gperf, liboctave/Makefile.am, liboctave/array/Array.cc, liboctave/array/module.mk, liboctave/cruft/daspk/datv.f, liboctave/cruft/daspk/dcnst0.f, liboctave/cruft/daspk/dcnstr.f, liboctave/cruft/daspk/ddasic.f, liboctave/cruft/daspk/ddasid.f, liboctave/cruft/daspk/ddasik.f, liboctave/cruft/daspk/ddaspk.f, liboctave/cruft/daspk/ddstp.f, liboctave/cruft/daspk/ddwnrm.f, liboctave/cruft/daspk/dfnrmd.f, liboctave/cruft/daspk/dfnrmk.f, liboctave/cruft/daspk/dhels.f, liboctave/cruft/daspk/dheqr.f, liboctave/cruft/daspk/dinvwt.f, liboctave/cruft/daspk/dlinsd.f, liboctave/cruft/daspk/dlinsk.f, liboctave/cruft/daspk/dmatd.f, liboctave/cruft/daspk/dnedd.f, liboctave/cruft/daspk/dnedk.f, liboctave/cruft/daspk/dnsd.f, liboctave/cruft/daspk/dnsid.f, liboctave/cruft/daspk/dnsik.f, liboctave/cruft/daspk/dnsk.f, liboctave/cruft/daspk/dorth.f, liboctave/cruft/daspk/dslvd.f, liboctave/cruft/daspk/dslvk.f, liboctave/cruft/daspk/dspigm.f, liboctave/cruft/daspk/dyypnw.f, liboctave/cruft/dasrt/ddasrt.f, liboctave/cruft/dasrt/drchek.f, liboctave/cruft/dassl/ddaslv.f, liboctave/cruft/dassl/ddassl.f, liboctave/cruft/misc/blaswrap.c, liboctave/cruft/misc/module.mk, liboctave/cruft/odepack/cfode.f, liboctave/cruft/odepack/dlsode.f, liboctave/cruft/odepack/ewset.f, liboctave/cruft/odepack/intdy.f, liboctave/cruft/odepack/prepj.f, liboctave/cruft/odepack/sintdy.f, liboctave/cruft/odepack/slsode.f, liboctave/cruft/odepack/solsy.f, liboctave/cruft/odepack/ssolsy.f, liboctave/cruft/odepack/stode.f, liboctave/cruft/odepack/vnorm.f, liboctave/cruft/ranlib/Basegen.doc, liboctave/cruft/ranlib/README, liboctave/cruft/ranlib/genbet.f, liboctave/cruft/ranlib/genexp.f, liboctave/cruft/ranlib/gennch.f, liboctave/cruft/ranlib/gennf.f, liboctave/cruft/ranlib/gennor.f, liboctave/cruft/ranlib/getsd.f, liboctave/cruft/ranlib/initgn.f, liboctave/cruft/ranlib/phrtsd.f, liboctave/cruft/ranlib/randlib.fdoc, liboctave/cruft/ranlib/setsd.f, liboctave/cruft/ranlib/tstgmn.for, liboctave/cruft/ranlib/tstmid.for, liboctave/cruft/slatec-fn/atanh.f, liboctave/cruft/slatec-fn/datanh.f, liboctave/cruft/slatec-fn/xgmainc.f, liboctave/cruft/slatec-fn/xsgmainc.f, liboctave/numeric/module.mk, liboctave/operators/mk-ops.awk, liboctave/operators/mx-ops, liboctave/operators/sparse-mk-ops.awk, liboctave/operators/sparse-mx-ops, liboctave/operators/vx-ops, liboctave/util/module.mk, run-octave.in, scripts/@ftp/ftp.m, scripts/audio/wavread.m, scripts/deprecated/java_convert_matrix.m, scripts/deprecated/java_debug.m, scripts/deprecated/java_invoke.m, scripts/deprecated/java_new.m, scripts/deprecated/java_unsigned_conversion.m, scripts/deprecated/javafields.m, scripts/deprecated/javamethods.m, scripts/deprecated/shell_cmd.m, scripts/general/accumarray.m, scripts/general/display.m, scripts/general/fieldnames.m, scripts/general/interp1.m, scripts/general/interp2.m, scripts/general/interp3.m, scripts/general/isa.m, scripts/general/methods.m, scripts/general/sortrows.m, scripts/geometry/convhull.m, scripts/geometry/delaunay.m, scripts/geometry/delaunay3.m, scripts/geometry/delaunayn.m, scripts/geometry/griddata.m, scripts/geometry/griddatan.m, scripts/geometry/voronoi.m, scripts/geometry/voronoin.m, scripts/gui/guihandles.m, scripts/gui/inputdlg.m, scripts/gui/listdlg.m, scripts/gui/msgbox.m, scripts/gui/questdlg.m, scripts/gui/uigetfile.m, scripts/gui/waitbar.m, scripts/gui/warndlg.m, scripts/help/doc.m, scripts/help/help.m, scripts/help/type.m, scripts/image/bone.m, scripts/image/cmpermute.m, scripts/image/cmunique.m, scripts/image/colorcube.m, scripts/image/colormap.m, scripts/image/contrast.m, scripts/image/gray2ind.m, scripts/image/image.m, scripts/image/imshow.m, scripts/image/ind2gray.m, scripts/image/jet.m, scripts/image/rgb2ntsc.m, scripts/image/spinmap.m, scripts/io/importdata.m, scripts/io/strread.m, scripts/io/textread.m, scripts/io/textscan.m, scripts/java/java_get.m, scripts/java/java_set.m, scripts/java/javaaddpath.m, scripts/java/javaclasspath.m, scripts/java/javamem.m, scripts/linear-algebra/linsolve.m, scripts/linear-algebra/qzhess.m, scripts/miscellaneous/debug.m, scripts/miscellaneous/desktop.m, scripts/miscellaneous/dir.m, scripts/miscellaneous/dos.m, scripts/miscellaneous/edit.m, scripts/miscellaneous/fact.m, scripts/miscellaneous/getappdata.m, scripts/miscellaneous/inputname.m, scripts/miscellaneous/license.m, scripts/miscellaneous/ls_command.m, scripts/miscellaneous/run.m, scripts/miscellaneous/setfield.m, scripts/miscellaneous/unix.m, scripts/miscellaneous/ver.m, scripts/mk-pkg-add, scripts/mkdoc.pl, scripts/optimization/fminsearch.m, scripts/optimization/optimset.m, scripts/optimization/sqp.m, scripts/pkg/pkg.m, scripts/pkg/private/create_pkgadddel.m, scripts/pkg/private/fix_depends.m, scripts/pkg/private/install.m, scripts/plot/appearance/axis.m, scripts/plot/appearance/box.m, scripts/plot/appearance/clabel.m, scripts/plot/appearance/daspect.m, scripts/plot/appearance/datetick.m, scripts/plot/appearance/grid.m, scripts/plot/appearance/legend.m, scripts/plot/appearance/orient.m, scripts/plot/appearance/shading.m, scripts/plot/appearance/text.m, scripts/plot/appearance/title.m, scripts/plot/appearance/xlabel.m, scripts/plot/appearance/ylabel.m, scripts/plot/appearance/zlabel.m, scripts/plot/draw/area.m, scripts/plot/draw/bar.m, scripts/plot/draw/barh.m, scripts/plot/draw/colorbar.m, scripts/plot/draw/contour.m, scripts/plot/draw/contour3.m, scripts/plot/draw/contourf.m, scripts/plot/draw/ellipsoid.m, scripts/plot/draw/errorbar.m, scripts/plot/draw/ezcontour.m, scripts/plot/draw/ezcontourf.m, scripts/plot/draw/ezmesh.m, scripts/plot/draw/ezpolar.m, scripts/plot/draw/fill.m, scripts/plot/draw/fplot.m, scripts/plot/draw/hist.m, scripts/plot/draw/meshc.m, scripts/plot/draw/meshz.m, scripts/plot/draw/pareto.m, scripts/plot/draw/patch.m, scripts/plot/draw/peaks.m, scripts/plot/draw/pie.m, scripts/plot/draw/pie3.m, scripts/plot/draw/plot.m, scripts/plot/draw/plotyy.m, scripts/plot/draw/private/__bar__.m, scripts/plot/draw/private/__contour__.m, scripts/plot/draw/private/__errplot__.m, scripts/plot/draw/private/__ezplot__.m, scripts/plot/draw/private/__patch__.m, scripts/plot/draw/private/__stem__.m, scripts/plot/draw/rectangle.m, scripts/plot/draw/ribbon.m, scripts/plot/draw/rose.m, scripts/plot/draw/scatter.m, scripts/plot/draw/scatter3.m, scripts/plot/draw/semilogx.m, scripts/plot/draw/shrinkfaces.m, scripts/plot/draw/sombrero.m, scripts/plot/draw/sphere.m, scripts/plot/draw/stairs.m, scripts/plot/draw/stem.m, scripts/plot/draw/stemleaf.m, scripts/plot/draw/surf.m, scripts/plot/draw/surface.m, scripts/plot/draw/surfc.m, scripts/plot/draw/surfl.m, scripts/plot/draw/surfnorm.m, scripts/plot/draw/tetramesh.m, scripts/plot/draw/trimesh.m, scripts/plot/draw/triplot.m, scripts/plot/draw/trisurf.m, scripts/plot/util/__gnuplot_drawnow__.m, scripts/plot/util/__plt_get_axis_arg__.m, scripts/plot/util/axes.m, scripts/plot/util/clf.m, scripts/plot/util/copyobj.m, scripts/plot/util/figure.m, scripts/plot/util/gcbo.m, scripts/plot/util/graphics_toolkit.m, scripts/plot/util/hggroup.m, scripts/plot/util/meshgrid.m, scripts/plot/util/newplot.m, scripts/plot/util/print.m, scripts/plot/util/private/__add_default_menu__.m, scripts/plot/util/private/__fltk_print__.m, scripts/plot/util/private/__gnuplot_print__.m, scripts/plot/util/private/__print_parse_opts__.m, scripts/plot/util/refreshdata.m, scripts/plot/util/subplot.m, scripts/polynomial/conv.m, scripts/polynomial/poly.m, scripts/polynomial/polyeig.m, scripts/polynomial/polyfit.m, scripts/polynomial/polyval.m, scripts/polynomial/private/__splinefit__.m, scripts/polynomial/spline.m, scripts/prefs/prefdir.m, scripts/prefs/preferences.m, scripts/prefs/private/prefsfile.m, scripts/prefs/rmpref.m, scripts/signal/freqz.m, scripts/signal/module.mk, scripts/sparse/eigs.m, scripts/sparse/pcg.m, scripts/sparse/private/__sprand_impl__.m, scripts/sparse/sprand.m, scripts/sparse/sprandn.m, scripts/sparse/spy.m, scripts/sparse/svds.m, scripts/specfun/expint.m, scripts/specfun/factor.m, scripts/special-matrix/gallery.m, scripts/special-matrix/hankel.m, scripts/special-matrix/toeplitz.m, scripts/startup/inputrc, scripts/statistics/base/kurtosis.m, scripts/statistics/base/moment.m, scripts/statistics/base/qqplot.m, scripts/statistics/base/var.m, scripts/statistics/distributions/betarnd.m, scripts/statistics/distributions/binoinv.m, scripts/statistics/distributions/binopdf.m, scripts/statistics/distributions/binornd.m, scripts/statistics/distributions/cauchy_rnd.m, scripts/statistics/distributions/chi2rnd.m, scripts/statistics/distributions/discrete_pdf.m, scripts/statistics/distributions/discrete_rnd.m, scripts/statistics/distributions/empirical_rnd.m, scripts/statistics/distributions/exprnd.m, scripts/statistics/distributions/frnd.m, scripts/statistics/distributions/gamrnd.m, scripts/statistics/distributions/geornd.m, scripts/statistics/distributions/hygernd.m, scripts/statistics/distributions/kolmogorov_smirnov_cdf.m, scripts/statistics/distributions/laplace_cdf.m, scripts/statistics/distributions/laplace_pdf.m, scripts/statistics/distributions/logistic_cdf.m, scripts/statistics/distributions/logistic_pdf.m, scripts/statistics/distributions/lognrnd.m, scripts/statistics/distributions/nbincdf.m, scripts/statistics/distributions/nbininv.m, scripts/statistics/distributions/nbinpdf.m, scripts/statistics/distributions/nbinrnd.m, scripts/statistics/distributions/normrnd.m, scripts/statistics/distributions/poissinv.m, scripts/statistics/distributions/poissrnd.m, scripts/statistics/distributions/tinv.m, scripts/statistics/distributions/trnd.m, scripts/statistics/distributions/unidcdf.m, scripts/statistics/distributions/unidpdf.m, scripts/statistics/distributions/unidrnd.m, scripts/statistics/distributions/unifrnd.m, scripts/statistics/distributions/wblrnd.m, scripts/statistics/models/module.mk, scripts/statistics/tests/kruskal_wallis_test.m, scripts/strings/base2dec.m, scripts/strings/deblank.m, scripts/strings/dec2base.m, scripts/strings/dec2bin.m, scripts/strings/dec2hex.m, scripts/strings/mat2str.m, scripts/strings/ostrsplit.m, scripts/strings/regexptranslate.m, scripts/strings/str2num.m, scripts/strings/strcat.m, scripts/strings/strjoin.m, scripts/strings/strsplit.m, scripts/strings/strtok.m, scripts/strings/strtrim.m, scripts/strings/strtrunc.m, scripts/strings/substr.m, scripts/testfun/__run_test_suite__.m, scripts/testfun/speed.m, scripts/testfun/test.m, scripts/time/asctime.m, scripts/time/datenum.m, scripts/time/datevec.m, scripts/time/weekday.m, src/Makefile.am, test/Makefile.am, test/build-bc-overload-tests.sh, test/build-sparse-tests.sh, test/jit.tst, test/line-continue.tst: Strip trailing whitespace.
author John W. Eaton <jwe@octave.org>
date Tue, 20 Jan 2015 08:26:57 -0500
parents d8abf813c69f
children fe689210525c
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
9794
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
15 PERL = @PERL@
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
16 export PERL
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
17
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
18 PYTHON = @PYTHON@
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
19
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
20 GNUPLOT = @GNUPLOT@
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
21
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
22 DESKTOP_FILE_INSTALL = @DESKTOP_FILE_INSTALL@
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
23
9906
8d20fb66a0dc more automake fixes
John W. Eaton <jwe@octave.org>
parents: 9845
diff changeset
24 OCTAVE_VERSION = @OCTAVE_VERSION@
18228
b6b6e0dc700e provide version number macros (bug #41045)
John W. Eaton <jwe@octave.org>
parents: 17821
diff changeset
25 OCTAVE_MAJOR_VERSION = @OCTAVE_MAJOR_VERSION@
b6b6e0dc700e provide version number macros (bug #41045)
John W. Eaton <jwe@octave.org>
parents: 17821
diff changeset
26 OCTAVE_MINOR_VERSION = @OCTAVE_MINOR_VERSION@
b6b6e0dc700e provide version number macros (bug #41045)
John W. Eaton <jwe@octave.org>
parents: 17821
diff changeset
27 OCTAVE_PATCH_VERSION = @OCTAVE_PATCH_VERSION@
9906
8d20fb66a0dc more automake fixes
John W. Eaton <jwe@octave.org>
parents: 9845
diff changeset
28 OCTAVE_API_VERSION = @OCTAVE_API_VERSION@
8d20fb66a0dc more automake fixes
John W. Eaton <jwe@octave.org>
parents: 9845
diff changeset
29 OCTAVE_RELEASE_DATE = @OCTAVE_RELEASE_DATE@
8d20fb66a0dc more automake fixes
John W. Eaton <jwe@octave.org>
parents: 9845
diff changeset
30 OCTAVE_COPYRIGHT = @OCTAVE_COPYRIGHT@
8d20fb66a0dc more automake fixes
John W. Eaton <jwe@octave.org>
parents: 9845
diff changeset
31
8d20fb66a0dc more automake fixes
John W. Eaton <jwe@octave.org>
parents: 9845
diff changeset
32 version = $(OCTAVE_VERSION)
8d20fb66a0dc more automake fixes
John W. Eaton <jwe@octave.org>
parents: 9845
diff changeset
33 api_version = $(OCTAVE_API_VERSION)
9794
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
34
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
35 ## AM_LIBTOOLFLAGS = --silent
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
36
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
37 #### Start of system configuration section. ####
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
38
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
39 EXEEXT = @EXEEXT@
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
40
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
41 BUILD_EXEEXT = @BUILD_EXEEXT@
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
42
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
43 LEX = @LEX@
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
44 AM_LFLAGS = @LFLAGS@
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
45 LEXLIB = @LEXLIB@
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
46
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
47 YACC = @YACC@
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
48 AM_YFLAGS = -dv
19008
d8abf813c69f handle changes in bison 3.x
John W. Eaton <jwe@octave.org>
parents: 18228
diff changeset
49 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
50 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
51
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
52 GPERF = @GPERF@
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
53
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
54 AR = @AR@
19627
446c46af4b42 strip trailing whitespace from most source files
John W. Eaton <jwe@octave.org>
parents: 19008
diff changeset
55 ARFLAGS = @ARFLAGS@
9794
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 TEMPLATE_AR = @TEMPLATE_AR@
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
58 TEMPLATE_ARFLAGS = @TEMPLATE_ARFLAGS@
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 RANLIB = @RANLIB@
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
61
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
62 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
63 MKDIR_P = @MKDIR_P@
9794
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 MAKEINFO = @MAKEINFO@
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
66 TEXI2DVI = @TEXI2DVI@
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
67 TEXI2PDF = @TEXI2PDF@
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
68
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
69 GHOSTSCRIPT = @GHOSTSCRIPT@
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
70
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
71 DEFAULT_PAGER = @DEFAULT_PAGER@
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
72
16522
bfff338c56d1 set default terminal font for the GUI from the configure script
John W. Eaton <jwe@octave.org>
parents: 16174
diff changeset
73 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
74 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
75
9794
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
76 ENABLE_DYNAMIC_LINKING = @ENABLE_DYNAMIC_LINKING@
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
77
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
78 SHLEXT = @SHLEXT@
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
79 SHLEXT_VER = @SHLEXT_VER@
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
80 SHLLIB = @SHLLIB@
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
81 SHLLIB_VER = @SHLLIB_VER@
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
82 SHLBIN = @SHLBIN@
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
83 SHLBIN_VER = @SHLBIN_VER@
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
84 SHLLINKEXT=
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
85
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
86 LIBEXT = a
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
87 LIBPRE = @LIBPRE@
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
88 SHLPRE = @SHLPRE@
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
89 SHLLIBPRE = @SHLLIBPRE@
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
90 SHLBINPRE = @SHLBINPRE@
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
91
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
92 # Fortran compiler flags.
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
93
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
94 FC = @FC@
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
95 F77 = @F77@
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
96 AM_FFLAGS = @FFLAGS@
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
97 FPICFLAG = @FPICFLAG@
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
98 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
99 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
100 ALL_FFLAGS = $(FFLAGS)
9794
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
101
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
102 F77_TOLOWER=@F77_TOLOWER@
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
103 F77_APPEND_UNDERSCORE=@F77_TOLOWER@
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
104 F77_APPEND_EXTRA_UNDERSCORE=@F77_TOLOWER@
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
105
14550
bc4c574ab3b6 Add configure check for isnan in fortran.
Carlo de Falco <cdf@users.sourceforge.net>
parents: 14144
diff changeset
106 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
107
15424
cabe2fa4566c build: Add and organize octave_config_info variables.
Rik <rik@octave.org>
parents: 15363
diff changeset
108 # C compiler flags.
9794
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
109
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
110 CC = @CC@
15167
1c711a646fa7 Deprecate configure variables CC_VERSION, CXX_VERSION.
Rik <rik@octave.org>
parents: 15154
diff changeset
111 ## FIXME: CC_VERSION is deprecated and should be removed in version 3.12
9794
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
112 CC_VERSION = @CC_VERSION@
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)
15424
cabe2fa4566c build: Add and organize octave_config_info variables.
Rik <rik@octave.org>
parents: 15363
diff changeset
118 ALL_CPPFLAGS = $(CPPFLAGS) $(HDF5_CPPFLAGS) $(Z_CPPFLAGS) $(LLVM_CPPFLAGS)
9794
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
119
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
120 BUILD_CC = @BUILD_CC@
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
121 BUILD_CFLAGS = @BUILD_CFLAGS@
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
122
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
123 DEPEND_FLAGS = @DEPEND_FLAGS@
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
124 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
125 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
126 # ifeq ($(INCLUDE_DEPS),no)
9794
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
127 # omit_deps = true;
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
128 # endif
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
129
15424
cabe2fa4566c build: Add and organize octave_config_info variables.
Rik <rik@octave.org>
parents: 15363
diff changeset
130 DEFS = @DEFS@
cabe2fa4566c build: Add and organize octave_config_info variables.
Rik <rik@octave.org>
parents: 15363
diff changeset
131
cabe2fa4566c build: Add and organize octave_config_info variables.
Rik <rik@octave.org>
parents: 15363
diff changeset
132 # C++ compiler flags.
9794
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
133
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
134 CXX = @CXX@
15167
1c711a646fa7 Deprecate configure variables CC_VERSION, CXX_VERSION.
Rik <rik@octave.org>
parents: 15154
diff changeset
135 ## FIXME: CXX_VERSION is deprecated and should be removed in version 3.12
9794
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
136 CXX_VERSION = @CXX_VERSION@
15167
1c711a646fa7 Deprecate configure variables CC_VERSION, CXX_VERSION.
Rik <rik@octave.org>
parents: 15154
diff changeset
137 GXX_VERSION = @GXX_VERSION@
9794
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
138 CXXCPP = @CXXCPP@
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
139 CXXPICFLAG = @CXXPICFLAG@
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
140 XTRA_CXXFLAGS = @XTRA_CXXFLAGS@
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
141 WARN_CXXFLAGS = @WARN_CXXFLAGS@
15363
482d92904aa4 don't use WARN_CXXFLAGS for qterminal library
John W. Eaton <jwe@octave.org>
parents: 15271
diff changeset
142 AM_CXXFLAGS = $(XTRA_CXXFLAGS)
9794
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
143
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
144 BUILD_CXX = @BUILD_CXX@
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
145 BUILD_CXXFLAGS = @BUILD_CXXFLAGS@
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
146
15424
cabe2fa4566c build: Add and organize octave_config_info variables.
Rik <rik@octave.org>
parents: 15363
diff changeset
147 # Linker and library flags
9794
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
148
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
149 LD_CXX = @LD_CXX@
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
150 LD_STATIC_FLAG = @LD_STATIC_FLAG@
15424
cabe2fa4566c build: Add and organize octave_config_info variables.
Rik <rik@octave.org>
parents: 15363
diff changeset
151 LIBFLAGS = -L$(top_builddir)
9794
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
152 #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
153
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
154 BUILD_LDFLAGS = @BUILD_LDFLAGS@
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
155
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
156 SH_LD = @SH_LD@
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
157 SH_LDFLAGS = @SH_LDFLAGS@
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
158
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
159 DL_LD = @DL_LD@
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
160 DL_LDFLAGS = @DL_LDFLAGS@
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 SONAME_FLAGS = @SONAME_FLAGS@
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
163
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
164 RDYNAMIC_FLAG = @RDYNAMIC_FLAG@
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
165
15424
cabe2fa4566c build: Add and organize octave_config_info variables.
Rik <rik@octave.org>
parents: 15363
diff changeset
166 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
167
15945
a653526ea4a5 use mkoctfile, not octave_config_info to get default pkg compiler tools
John W. Eaton <jwe@octave.org>
parents: 15932
diff changeset
168 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
169 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
170 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
171 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
172 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
173 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
174 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
175 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
176
747dd82082c8 strip cross tool prefix from CC, CXX, etc. definitions used in mkoctfile
John W. Eaton <jwe@octave.org>
parents: 14144
diff changeset
177 # 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
178
9794
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
179 LIBOCTINTERP = @LIBOCTINTERP@
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
180 LIBOCTAVE = @LIBOCTAVE@
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
181
15424
cabe2fa4566c build: Add and organize octave_config_info variables.
Rik <rik@octave.org>
parents: 15363
diff changeset
182 DL_LIBS = @DL_LIBS@
cabe2fa4566c build: Add and organize octave_config_info variables.
Rik <rik@octave.org>
parents: 15363
diff changeset
183 FLIBS = @FLIBS@
cabe2fa4566c build: Add and organize octave_config_info variables.
Rik <rik@octave.org>
parents: 15363
diff changeset
184 LIBS = @LIBS@
9794
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
185
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
186 AMD_CPPFLAGS = @AMD_CPPFLAGS@
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
187 AMD_LDFLAGS = @AMD_LDFLAGS@
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
188 AMD_LIBS = @AMD_LIBS@
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
189
15424
cabe2fa4566c build: Add and organize octave_config_info variables.
Rik <rik@octave.org>
parents: 15363
diff changeset
190 ARPACK_CPPFLAGS = @ARPACK_CPPFLAGS@
cabe2fa4566c build: Add and organize octave_config_info variables.
Rik <rik@octave.org>
parents: 15363
diff changeset
191 ARPACK_LDFLAGS = @ARPACK_LDFLAGS@
cabe2fa4566c build: Add and organize octave_config_info variables.
Rik <rik@octave.org>
parents: 15363
diff changeset
192 ARPACK_LIBS = @ARPACK_LIBS@
cabe2fa4566c build: Add and organize octave_config_info variables.
Rik <rik@octave.org>
parents: 15363
diff changeset
193
cabe2fa4566c build: Add and organize octave_config_info variables.
Rik <rik@octave.org>
parents: 15363
diff changeset
194 BLAS_LIBS = @BLAS_LIBS@
cabe2fa4566c build: Add and organize octave_config_info variables.
Rik <rik@octave.org>
parents: 15363
diff changeset
195
9794
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
196 CAMD_CPPFLAGS = @CAMD_CPPFLAGS@
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
197 CAMD_LDFLAGS = @CAMD_LDFLAGS@
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
198 CAMD_LIBS = @CAMD_LIBS@
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
199
15424
cabe2fa4566c build: Add and organize octave_config_info variables.
Rik <rik@octave.org>
parents: 15363
diff changeset
200 CARBON_LIBS = @CARBON_LIBS@
cabe2fa4566c build: Add and organize octave_config_info variables.
Rik <rik@octave.org>
parents: 15363
diff changeset
201
9794
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
202 COLAMD_CPPFLAGS = @COLAMD_CPPFLAGS@
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
203 COLAMD_LDFLAGS = @COLAMD_LDFLAGS@
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
204 COLAMD_LIBS = @COLAMD_LIBS@
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
205
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
206 CCOLAMD_CPPFLAGS = @CCOLAMD_CPPFLAGS@
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
207 CCOLAMD_LDFLAGS = @CCOLAMD_LDFLAGS@
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
208 CCOLAMD_LIBS = @CCOLAMD_LIBS@
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
209
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
210 CHOLMOD_CPPFLAGS = @CHOLMOD_CPPFLAGS@
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
211 CHOLMOD_LDFLAGS = @CHOLMOD_LDFLAGS@
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
212 CHOLMOD_LIBS = @CHOLMOD_LIBS@
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
213
15424
cabe2fa4566c build: Add and organize octave_config_info variables.
Rik <rik@octave.org>
parents: 15363
diff changeset
214 CURL_CPPFLAGS = @CURL_CPPFLAGS@
cabe2fa4566c build: Add and organize octave_config_info variables.
Rik <rik@octave.org>
parents: 15363
diff changeset
215 CURL_LDFLAGS = @CURL_LDFLAGS@
cabe2fa4566c build: Add and organize octave_config_info variables.
Rik <rik@octave.org>
parents: 15363
diff changeset
216 CURL_LIBS = @CURL_LIBS@
cabe2fa4566c build: Add and organize octave_config_info variables.
Rik <rik@octave.org>
parents: 15363
diff changeset
217
9794
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
218 CXSPARSE_CPPFLAGS = @CXSPARSE_CPPFLAGS@
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
219 CXSPARSE_LDFLAGS = @CXSPARSE_LDFLAGS@
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
220 CXSPARSE_LIBS = @CXSPARSE_LIBS@
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
221
15424
cabe2fa4566c build: Add and organize octave_config_info variables.
Rik <rik@octave.org>
parents: 15363
diff changeset
222 FFTW3_CPPFLAGS = @FFTW3_CPPFLAGS@
cabe2fa4566c build: Add and organize octave_config_info variables.
Rik <rik@octave.org>
parents: 15363
diff changeset
223 FFTW3_LDFLAGS = @FFTW3_LDFLAGS@
cabe2fa4566c build: Add and organize octave_config_info variables.
Rik <rik@octave.org>
parents: 15363
diff changeset
224 FFTW3_LIBS = @FFTW3_LIBS@
cabe2fa4566c build: Add and organize octave_config_info variables.
Rik <rik@octave.org>
parents: 15363
diff changeset
225
cabe2fa4566c build: Add and organize octave_config_info variables.
Rik <rik@octave.org>
parents: 15363
diff changeset
226 FFTW3F_CPPFLAGS = @FFTW3F_CPPFLAGS@
cabe2fa4566c build: Add and organize octave_config_info variables.
Rik <rik@octave.org>
parents: 15363
diff changeset
227 FFTW3F_LDFLAGS = @FFTW3F_LDFLAGS@
cabe2fa4566c build: Add and organize octave_config_info variables.
Rik <rik@octave.org>
parents: 15363
diff changeset
228 FFTW3F_LIBS = @FFTW3F_LIBS@
cabe2fa4566c build: Add and organize octave_config_info variables.
Rik <rik@octave.org>
parents: 15363
diff changeset
229
cabe2fa4566c build: Add and organize octave_config_info variables.
Rik <rik@octave.org>
parents: 15363
diff changeset
230 FFTW_XCPPFLAGS = $(FFTW3_CPPFLAGS) $(FFTW3F_CPPFLAGS)
cabe2fa4566c build: Add and organize octave_config_info variables.
Rik <rik@octave.org>
parents: 15363
diff changeset
231 FFTW_XLDFLAGS = $(FFTW3_LDFLAGS) $(FFTW3F_LDFLAGS)
15969
139f4b19a3ac build: Improve detection of FFTW multi-threading
Mike Miller <mtmiller@ieee.org>
parents: 15964
diff changeset
232 FFTW_XLIBS = $(FFTW3_LIBS) $(FFTW3F_LIBS)
15424
cabe2fa4566c build: Add and organize octave_config_info variables.
Rik <rik@octave.org>
parents: 15363
diff changeset
233
17816
e6317049225b build: Remove FreeType and Fontconfig CPPFLAGS from XTRA_CXXFLAGS.
Rik <rik@octave.org>
parents: 17797
diff changeset
234 ## Alias CPPFLAGS to CFLAGS.
e6317049225b build: Remove FreeType and Fontconfig CPPFLAGS from XTRA_CXXFLAGS.
Rik <rik@octave.org>
parents: 17797
diff changeset
235 ## 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
236 FONTCONFIG_CPPFLAGS = @FONTCONFIG_CFLAGS@
e6317049225b build: Remove FreeType and Fontconfig CPPFLAGS from XTRA_CXXFLAGS.
Rik <rik@octave.org>
parents: 17797
diff changeset
237 FONTCONFIG_CFLAGS = @FONTCONFIG_CFLAGS@
e6317049225b build: Remove FreeType and Fontconfig CPPFLAGS from XTRA_CXXFLAGS.
Rik <rik@octave.org>
parents: 17797
diff changeset
238
e6317049225b build: Remove FreeType and Fontconfig CPPFLAGS from XTRA_CXXFLAGS.
Rik <rik@octave.org>
parents: 17797
diff changeset
239 ## Alias CPPFLAGS to CFLAGS.
e6317049225b build: Remove FreeType and Fontconfig CPPFLAGS from XTRA_CXXFLAGS.
Rik <rik@octave.org>
parents: 17797
diff changeset
240 FT2_CPPFLAGS = @FT2_CFLAGS@
15424
cabe2fa4566c build: Add and organize octave_config_info variables.
Rik <rik@octave.org>
parents: 15363
diff changeset
241 FT2_CFLAGS = @FT2_CFLAGS@
cabe2fa4566c build: Add and organize octave_config_info variables.
Rik <rik@octave.org>
parents: 15363
diff changeset
242 FT2_LIBS = @FT2_LIBS@
cabe2fa4566c build: Add and organize octave_config_info variables.
Rik <rik@octave.org>
parents: 15363
diff changeset
243
cabe2fa4566c build: Add and organize octave_config_info variables.
Rik <rik@octave.org>
parents: 15363
diff changeset
244 GLPK_CPPFLAGS = @GLPK_CPPFLAGS@
cabe2fa4566c build: Add and organize octave_config_info variables.
Rik <rik@octave.org>
parents: 15363
diff changeset
245 GLPK_LDFLAGS = @GLPK_LDFLAGS@
cabe2fa4566c build: Add and organize octave_config_info variables.
Rik <rik@octave.org>
parents: 15363
diff changeset
246 GLPK_LIBS = @GLPK_LIBS@
cabe2fa4566c build: Add and organize octave_config_info variables.
Rik <rik@octave.org>
parents: 15363
diff changeset
247
cabe2fa4566c build: Add and organize octave_config_info variables.
Rik <rik@octave.org>
parents: 15363
diff changeset
248 GRAPHICS_CFLAGS = @GRAPHICS_CFLAGS@
cabe2fa4566c build: Add and organize octave_config_info variables.
Rik <rik@octave.org>
parents: 15363
diff changeset
249 GRAPHICS_LIBS = @GRAPHICS_LIBS@
cabe2fa4566c build: Add and organize octave_config_info variables.
Rik <rik@octave.org>
parents: 15363
diff changeset
250
17797
06a850f83dd4 build: Remove embedded gl2ps. Require gl2ps as external dependency.
Rik <rik@octave.org>
parents: 16603
diff changeset
251 GL2PS_LIBS = @GL2PS_LIBS@
06a850f83dd4 build: Remove embedded gl2ps. Require gl2ps as external dependency.
Rik <rik@octave.org>
parents: 16603
diff changeset
252
15424
cabe2fa4566c build: Add and organize octave_config_info variables.
Rik <rik@octave.org>
parents: 15363
diff changeset
253 HDF5_CPPFLAGS = @HDF5_CPPFLAGS@
cabe2fa4566c build: Add and organize octave_config_info variables.
Rik <rik@octave.org>
parents: 15363
diff changeset
254 HDF5_LDFLAGS = @HDF5_LDFLAGS@
cabe2fa4566c build: Add and organize octave_config_info variables.
Rik <rik@octave.org>
parents: 15363
diff changeset
255 HDF5_LIBS = @HDF5_LIBS@
cabe2fa4566c build: Add and organize octave_config_info variables.
Rik <rik@octave.org>
parents: 15363
diff changeset
256
15625
acf0addfc610 include Octave Forge java package in core Octave
John W. Eaton <jwe@octave.org>
parents: 15596
diff changeset
257 JAVA_CPPFLAGS = @JAVA_CPPFLAGS@
acf0addfc610 include Octave Forge java package in core Octave
John W. Eaton <jwe@octave.org>
parents: 15596
diff changeset
258 JAVA_LIBS = @JAVA_LIBS@
acf0addfc610 include Octave Forge java package in core Octave
John W. Eaton <jwe@octave.org>
parents: 15596
diff changeset
259
15424
cabe2fa4566c build: Add and organize octave_config_info variables.
Rik <rik@octave.org>
parents: 15363
diff changeset
260 LAPACK_LIBS = @LAPACK_LIBS@
cabe2fa4566c build: Add and organize octave_config_info variables.
Rik <rik@octave.org>
parents: 15363
diff changeset
261
cabe2fa4566c build: Add and organize octave_config_info variables.
Rik <rik@octave.org>
parents: 15363
diff changeset
262 LLVM_CPPFLAGS = @LLVM_CPPFLAGS@
cabe2fa4566c build: Add and organize octave_config_info variables.
Rik <rik@octave.org>
parents: 15363
diff changeset
263 LLVM_LDFLAGS = @LLVM_LDFLAGS@
cabe2fa4566c build: Add and organize octave_config_info variables.
Rik <rik@octave.org>
parents: 15363
diff changeset
264 LLVM_LIBS = @LLVM_LIBS@
cabe2fa4566c build: Add and organize octave_config_info variables.
Rik <rik@octave.org>
parents: 15363
diff changeset
265
cabe2fa4566c build: Add and organize octave_config_info variables.
Rik <rik@octave.org>
parents: 15363
diff changeset
266 MAGICK_CPPFLAGS = @MAGICK_CPPFLAGS@
cabe2fa4566c build: Add and organize octave_config_info variables.
Rik <rik@octave.org>
parents: 15363
diff changeset
267 MAGICK_LDFLAGS = @MAGICK_LDFLAGS@
cabe2fa4566c build: Add and organize octave_config_info variables.
Rik <rik@octave.org>
parents: 15363
diff changeset
268 MAGICK_LIBS = @MAGICK_LIBS@
9794
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
269
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
270 OPENGL_LIBS = @OPENGL_LIBS@
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
271
17821
82c94987abc6 build: Remove REGEX_CPPFLAGS from XTRA_CXXFLAGS.
Rik <rik@octave.org>
parents: 17816
diff changeset
272 PCRE_CPPFLAGS = @PCRE_CPPFLAGS@
82c94987abc6 build: Remove REGEX_CPPFLAGS from XTRA_CXXFLAGS.
Rik <rik@octave.org>
parents: 17816
diff changeset
273 PCRE_LIBS = @PCRE_LIBS@
82c94987abc6 build: Remove REGEX_CPPFLAGS from XTRA_CXXFLAGS.
Rik <rik@octave.org>
parents: 17816
diff changeset
274
15424
cabe2fa4566c build: Add and organize octave_config_info variables.
Rik <rik@octave.org>
parents: 15363
diff changeset
275 PTHREAD_CFLAGS = @PTHREAD_CFLAGS@
cabe2fa4566c build: Add and organize octave_config_info variables.
Rik <rik@octave.org>
parents: 15363
diff changeset
276 PTHREAD_LIBS = @PTHREAD_LIBS@
cabe2fa4566c build: Add and organize octave_config_info variables.
Rik <rik@octave.org>
parents: 15363
diff changeset
277
cabe2fa4566c build: Add and organize octave_config_info variables.
Rik <rik@octave.org>
parents: 15363
diff changeset
278 QHULL_CPPFLAGS = @QHULL_CPPFLAGS@
cabe2fa4566c build: Add and organize octave_config_info variables.
Rik <rik@octave.org>
parents: 15363
diff changeset
279 QHULL_LDFLAGS = @QHULL_LDFLAGS@
cabe2fa4566c build: Add and organize octave_config_info variables.
Rik <rik@octave.org>
parents: 15363
diff changeset
280 QHULL_LIBS = @QHULL_LIBS@
cabe2fa4566c build: Add and organize octave_config_info variables.
Rik <rik@octave.org>
parents: 15363
diff changeset
281
9794
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
282 QRUPDATE_CPPFLAGS = @QRUPDATE_CPPFLAGS@
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
283 QRUPDATE_LDFLAGS = @QRUPDATE_LDFLAGS@
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
284 QRUPDATE_LIBS = @QRUPDATE_LIBS@
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
285
15424
cabe2fa4566c build: Add and organize octave_config_info variables.
Rik <rik@octave.org>
parents: 15363
diff changeset
286 READLINE_LIBS = @READLINE_LIBS@
9794
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
287
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
288 SPARSE_XCPPFLAGS = \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
289 $(CHOLMOD_CPPFLAGS) $(UMFPACK_CPPFLAGS) \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
290 $(AMD_CPPFLAGS) $(CAMD_CPPFLAGS) $(COLAMD_CPPFLAGS) \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
291 $(CCOLAMD_CPPFLAGS) $(CXSPARSE_CPPFLAGS)
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
292
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
293 SPARSE_XLDFLAGS = \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
294 $(CHOLMOD_LDFLAGS) $(UMFPACK_LDFLAGS) \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
295 $(AMD_LDFLAGS) $(CAMD_LDFLAGS) $(COLAMD_LDFLAGS) \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
296 $(CCOLAMD_LDFLAGS) $(CXSPARSE_LDFLAGS)
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
297
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
298 ## 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
299 SPARSE_XLIBS = \
16135
98b211a163ce build: remove obsolet macros from common.mk
Rik <rik@octave.org>
parents: 16132
diff changeset
300 $(CHOLMOD_LIBS) $(UMFPACK_LIBS) \
98b211a163ce build: remove obsolet macros from common.mk
Rik <rik@octave.org>
parents: 16132
diff changeset
301 $(AMD_LIBS) $(CAMD_LIBS) $(COLAMD_LIBS) \
98b211a163ce build: remove obsolet macros from common.mk
Rik <rik@octave.org>
parents: 16132
diff changeset
302 $(CCOLAMD_LIBS) $(CXSPARSE_LIBS)
9794
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
303
15424
cabe2fa4566c build: Add and organize octave_config_info variables.
Rik <rik@octave.org>
parents: 15363
diff changeset
304 TERM_LIBS = @TERM_LIBS@
cabe2fa4566c build: Add and organize octave_config_info variables.
Rik <rik@octave.org>
parents: 15363
diff changeset
305
cabe2fa4566c build: Add and organize octave_config_info variables.
Rik <rik@octave.org>
parents: 15363
diff changeset
306 UMFPACK_CPPFLAGS = @UMFPACK_CPPFLAGS@
cabe2fa4566c build: Add and organize octave_config_info variables.
Rik <rik@octave.org>
parents: 15363
diff changeset
307 UMFPACK_LDFLAGS = @UMFPACK_LDFLAGS@
cabe2fa4566c build: Add and organize octave_config_info variables.
Rik <rik@octave.org>
parents: 15363
diff changeset
308 UMFPACK_LIBS = @UMFPACK_LIBS@
9794
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
309
15424
cabe2fa4566c build: Add and organize octave_config_info variables.
Rik <rik@octave.org>
parents: 15363
diff changeset
310 X11_INCFLAGS = @X11_INCFLAGS@
cabe2fa4566c build: Add and organize octave_config_info variables.
Rik <rik@octave.org>
parents: 15363
diff changeset
311 X11_LIBS = @X11_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 Z_CPPFLAGS = @Z_CPPFLAGS@
cabe2fa4566c build: Add and organize octave_config_info variables.
Rik <rik@octave.org>
parents: 15363
diff changeset
314 Z_LDFLAGS = @Z_LDFLAGS@
cabe2fa4566c build: Add and organize octave_config_info variables.
Rik <rik@octave.org>
parents: 15363
diff changeset
315 Z_LIBS = @Z_LIBS@
cabe2fa4566c build: Add and organize octave_config_info variables.
Rik <rik@octave.org>
parents: 15363
diff changeset
316
cabe2fa4566c build: Add and organize octave_config_info variables.
Rik <rik@octave.org>
parents: 15363
diff changeset
317 # Miscellaneous
9794
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
318
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
319 USE_64_BIT_IDX_T = @USE_64_BIT_IDX_T@
9906
8d20fb66a0dc more automake fixes
John W. Eaton <jwe@octave.org>
parents: 9845
diff changeset
320 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
321
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
322 TEXINFO_COLAMD = @TEXINFO_COLAMD@
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
323 TEXINFO_CHOLMOD = @TEXINFO_CHOLMOD@
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
324 TEXINFO_UMFPACK = @TEXINFO_UMFPACK@
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
325 TEXINFO_QHULL = @TEXINFO_QHULL@
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
326
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
327 # The arguments passed to configure.
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
328 config_opts = @config_opts@
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
329
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
330 CONFIG_SUBDIRS = @subdirs@
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
331
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
332 # ==================== Where To Install Things ====================
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
333
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
334 # 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
335 # 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
336 # 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
337 # 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
338 prefix = @prefix@
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
339
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
340 # 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
341 exec_prefix = @exec_prefix@
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
342
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
343 # 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
344 # run directly.
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
345 bindir = @bindir@
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
346
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
347 # 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
348 # 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
349 sbindir = @sbindir@
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
350
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
351 # 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
352 # architecture-independent data files.
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
353 datarootdir = @datarootdir@
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
354
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
355 # 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
356 # and ${localfcnfiledir} are subdirectories of this.
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
357 datadir = @datadir@
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
358
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
359 libdir = @libdir@
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
360
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
361 # 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
362 octetcdir = @octetcdir@
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
363
15971
e27d9b9b71f4 gui: install translation files into $(datadir)/octave/$(version)/locale
Torsten <ttl@justmail.de>
parents: 15969
diff changeset
364 # 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
365 octlocaledir = @octlocaledir@
e27d9b9b71f4 gui: install translation files into $(datadir)/octave/$(version)/locale
Torsten <ttl@justmail.de>
parents: 15969
diff changeset
366
15271
648dabbb4c6b build: Refactor liboctave into multiple subdirectories. Move libcruft into liboctave.
Rik <rik@octave.org>
parents: 15167
diff changeset
367 # 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
368 # and other architecture-dependent data.
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
369 octlibdir = @octlibdir@
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
370
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
371 # 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
372 # rather than directly by users.
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
373 libexecdir = @libexecdir@
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
374
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
375 # 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
376 # ${prefix}/include
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
377 includedir = @includedir@
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
378
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
379 # 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
380 # 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
381 mandir = @mandir@
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
382 man1dir = @man1dir@
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
383 man1ext = @man1ext@
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
384
16019
5b2126a8c84f install tests and functions to run them
John W. Eaton <jwe@octave.org>
parents: 15971
diff changeset
385 # Where to install test files.
5b2126a8c84f install tests and functions to run them
John W. Eaton <jwe@octave.org>
parents: 15971
diff changeset
386 octtestsdir = @octtestsdir@
5b2126a8c84f install tests and functions to run them
John W. Eaton <jwe@octave.org>
parents: 15971
diff changeset
387
9794
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
388 # 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
389 doc_cache_file = @doc_cache_file@
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
390
14614
4e9dc46d4125 handle texinfo macros consistently in help system and manual
John W. Eaton <jwe@octave.org>
parents: 14550
diff changeset
391 # 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
392 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
393
9794
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
394 # 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
395 infodir = @infodir@
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
396
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
397 # 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
398 infofile = @infofile@
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
399
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
400 # ==================== Octave-specific directories ====================
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
401
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
402 # 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
403 # 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
404
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
405 # What is the path separation character
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
406 sepchar = @sepchar@
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
407
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
408 # 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
409 # ${includedir}/octave-${version}/octave
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
410 octincludedir = @octincludedir@
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
411
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
412 # 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
413 # 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
414 # 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
415 # themselves in separate directories.
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
416 fcnfiledir = @fcnfiledir@
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
417
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
418 # 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
419 # 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
420 # ${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
421 # directories.
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
422 localfcnfiledir = @localfcnfiledir@
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
423 localapifcnfiledir = @localapifcnfiledir@
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
424 localverfcnfiledir = @localverfcnfiledir@
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
425
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
426 # 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
427 # 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
428 # 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
429 # 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
430 archlibdir = @archlibdir@
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
431
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
432 # 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
433 # 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
434 localarchlibdir = @localarchlibdir@
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
435 localapiarchlibdir = @localapiarchlibdir@
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
436 localverarchlibdir = @localverarchlibdir@
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
437
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
438 # 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
439 # 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
440 # name, so that multiple configurations for multiple versions of
19627
446c46af4b42 strip trailing whitespace from most source files
John W. Eaton <jwe@octave.org>
parents: 19008
diff changeset
441 # 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
442 octfiledir = @octfiledir@
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
443
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
444 # 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
445 # 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
446 # (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
447 # 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
448 localoctfiledir = @localoctfiledir@
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
449 localapioctfiledir = @localapioctfiledir@
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
450 localveroctfiledir = @localveroctfiledir@
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
451
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
452 # 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
453 imagedir = @imagedir@
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
454
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
455 # 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
456 canonical_host_type = @canonical_host_type@
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
457
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
458 # 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
459 startupfiledir = ${fcnfiledir}/startup
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
460 localstartupfiledir = ${localfcnfiledir}/startup
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 # 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
463 library_path_var = @library_path_var@
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
464
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
465 # 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
466 # a space, so protect with $(null))
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
467 null =
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
468 ldpreloadsep = $(null)@ldpreloadsep@$(null)
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
469
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
470 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
471
15424
cabe2fa4566c build: Add and organize octave_config_info variables.
Rik <rik@octave.org>
parents: 15363
diff changeset
472 # ==================== Octave-specific Makefile rules ====================
cabe2fa4566c build: Add and organize octave_config_info variables.
Rik <rik@octave.org>
parents: 15363
diff changeset
473
9794
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
474 # 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
475 # 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
476
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
477 define simple_move_if_change_rule
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
478 if [ -s $@-t ]; then \
12733
b67c2d580a25 maint: clean up top-level directory
John W. Eaton <jwe@octave.org>
parents: 12732
diff changeset
479 $(top_srcdir)/build-aux/move-if-change $@-t $@; \
9794
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
480 else \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
481 echo "$@-t is empty!" 1>&2; \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
482 rm -f $@-t; \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
483 exit 1; \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
484 fi
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
485 endef
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
486
9965
a7e288044ef7 avoid cp -a --update
John W. Eaton <jwe@octave.org>
parents: 9917
diff changeset
487 define cp_update_rule
a7e288044ef7 avoid cp -a --update
John W. Eaton <jwe@octave.org>
parents: 9917
diff changeset
488 if [ "x$(srcdir)" != "x." ] && [ -f $(srcdir)/$@ ] && [ ! -f $@ ]; then \
a7e288044ef7 avoid cp -a --update
John W. Eaton <jwe@octave.org>
parents: 9917
diff changeset
489 cp $(srcdir)/$@ $@; \
a7e288044ef7 avoid cp -a --update
John W. Eaton <jwe@octave.org>
parents: 9917
diff changeset
490 touch -r $(srcdir)/$@ $@; \
a7e288044ef7 avoid cp -a --update
John W. Eaton <jwe@octave.org>
parents: 9917
diff changeset
491 fi
a7e288044ef7 avoid cp -a --update
John W. Eaton <jwe@octave.org>
parents: 9917
diff changeset
492 endef
a7e288044ef7 avoid cp -a --update
John W. Eaton <jwe@octave.org>
parents: 9917
diff changeset
493
16171
cf6788da4152 eliminate UGLY_DEFS
John W. Eaton <jwe@octave.org>
parents: 16162
diff changeset
494 ## To avoid shell command line limits, break the replacement patterns
cf6788da4152 eliminate UGLY_DEFS
John W. Eaton <jwe@octave.org>
parents: 16162
diff changeset
495 ## 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
496
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
497 define do_subst_config_vals
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
498 echo "making $@ from $<"
16171
cf6788da4152 eliminate UGLY_DEFS
John W. Eaton <jwe@octave.org>
parents: 16162
diff changeset
499 $(SED) < $< \
cf6788da4152 eliminate UGLY_DEFS
John W. Eaton <jwe@octave.org>
parents: 16162
diff changeset
500 -e "s|%NO_EDIT_WARNING%|DO NOT EDIT! Generated automatically from $(<F) by Make.|" \
cf6788da4152 eliminate UGLY_DEFS
John W. Eaton <jwe@octave.org>
parents: 16162
diff changeset
501 -e "s|%NO_OCT_FILE_STRIP%|${NO_OCT_FILE_STRIP}|" \
cf6788da4152 eliminate UGLY_DEFS
John W. Eaton <jwe@octave.org>
parents: 16162
diff changeset
502 -e "s|%OCTAVE_BINDIR%|\"${bindir}\"|" \
cf6788da4152 eliminate UGLY_DEFS
John W. Eaton <jwe@octave.org>
parents: 16162
diff changeset
503 -e "s|%OCTAVE_CONF_ALL_CFLAGS%|\"${ALL_CFLAGS}\"|" \
cf6788da4152 eliminate UGLY_DEFS
John W. Eaton <jwe@octave.org>
parents: 16162
diff changeset
504 -e "s|%OCTAVE_CONF_ALL_CXXFLAGS%|\"${ALL_CXXFLAGS}\"|" \
cf6788da4152 eliminate UGLY_DEFS
John W. Eaton <jwe@octave.org>
parents: 16162
diff changeset
505 -e "s|%OCTAVE_CONF_ALL_FFLAGS%|\"${ALL_FFLAGS}\"|" \
cf6788da4152 eliminate UGLY_DEFS
John W. Eaton <jwe@octave.org>
parents: 16162
diff changeset
506 -e "s|%OCTAVE_CONF_ALL_LDFLAGS%|\"${ALL_LDFLAGS}\"|" \
cf6788da4152 eliminate UGLY_DEFS
John W. Eaton <jwe@octave.org>
parents: 16162
diff changeset
507 -e "s|%OCTAVE_CONF_AMD_CPPFLAGS%|\"${AMD_CPPFLAGS}\"|" \
cf6788da4152 eliminate UGLY_DEFS
John W. Eaton <jwe@octave.org>
parents: 16162
diff changeset
508 -e "s|%OCTAVE_CONF_AMD_LDFLAGS%|\"${AMD_LDFLAGS}\"|" \
cf6788da4152 eliminate UGLY_DEFS
John W. Eaton <jwe@octave.org>
parents: 16162
diff changeset
509 -e "s|%OCTAVE_CONF_AMD_LIBS%|\"${AMD_LIBS}\"|" \
cf6788da4152 eliminate UGLY_DEFS
John W. Eaton <jwe@octave.org>
parents: 16162
diff changeset
510 -e "s|%OCTAVE_CONF_AR%|\"${AR}\"|" \
cf6788da4152 eliminate UGLY_DEFS
John W. Eaton <jwe@octave.org>
parents: 16162
diff changeset
511 -e "s|%OCTAVE_CONF_ARFLAGS%|\"${ARFLAGS}\"|" \
cf6788da4152 eliminate UGLY_DEFS
John W. Eaton <jwe@octave.org>
parents: 16162
diff changeset
512 -e "s|%OCTAVE_CONF_ARPACK_CPPFLAGS%|\"${ARPACK_CPPFLAGS}\"|" \
cf6788da4152 eliminate UGLY_DEFS
John W. Eaton <jwe@octave.org>
parents: 16162
diff changeset
513 -e "s|%OCTAVE_CONF_ARPACK_LDFLAGS%|\"${ARPACK_LDFLAGS}\"|" \
cf6788da4152 eliminate UGLY_DEFS
John W. Eaton <jwe@octave.org>
parents: 16162
diff changeset
514 -e "s|%OCTAVE_CONF_ARPACK_LIBS%|\"${ARPACK_LIBS}\"|" \
cf6788da4152 eliminate UGLY_DEFS
John W. Eaton <jwe@octave.org>
parents: 16162
diff changeset
515 -e "s|%OCTAVE_CONF_BLAS_LIBS%|\"${BLAS_LIBS}\"|" \
cf6788da4152 eliminate UGLY_DEFS
John W. Eaton <jwe@octave.org>
parents: 16162
diff changeset
516 -e "s|%OCTAVE_CONF_CAMD_CPPFLAGS%|\"${CAMD_CPPFLAGS}\"|" \
cf6788da4152 eliminate UGLY_DEFS
John W. Eaton <jwe@octave.org>
parents: 16162
diff changeset
517 -e "s|%OCTAVE_CONF_CAMD_LDFLAGS%|\"${CAMD_LDFLAGS}\"|" \
cf6788da4152 eliminate UGLY_DEFS
John W. Eaton <jwe@octave.org>
parents: 16162
diff changeset
518 -e "s|%OCTAVE_CONF_CAMD_LIBS%|\"${CAMD_LIBS}\"|" \
cf6788da4152 eliminate UGLY_DEFS
John W. Eaton <jwe@octave.org>
parents: 16162
diff changeset
519 -e "s|%OCTAVE_CONF_CANONICAL_HOST_TYPE%|\"${canonical_host_type}\"|" \
cf6788da4152 eliminate UGLY_DEFS
John W. Eaton <jwe@octave.org>
parents: 16162
diff changeset
520 -e "s|%OCTAVE_CONF_CARBON_LIBS%|\"${CARBON_LIBS}\"|" \
cf6788da4152 eliminate UGLY_DEFS
John W. Eaton <jwe@octave.org>
parents: 16162
diff changeset
521 -e "s|%OCTAVE_CONF_CC%|\"${CC}\"|" \
cf6788da4152 eliminate UGLY_DEFS
John W. Eaton <jwe@octave.org>
parents: 16162
diff changeset
522 -e "s|%OCTAVE_CONF_CC_VERSION%|\"${CC_VERSION}\"|" \
cf6788da4152 eliminate UGLY_DEFS
John W. Eaton <jwe@octave.org>
parents: 16162
diff changeset
523 -e "s|%OCTAVE_CONF_CCOLAMD_CPPFLAGS%|\"${CCOLAMD_CPPFLAGS}\"|" \
cf6788da4152 eliminate UGLY_DEFS
John W. Eaton <jwe@octave.org>
parents: 16162
diff changeset
524 -e "s|%OCTAVE_CONF_CCOLAMD_LDFLAGS%|\"${CCOLAMD_LDFLAGS}\"|" \
cf6788da4152 eliminate UGLY_DEFS
John W. Eaton <jwe@octave.org>
parents: 16162
diff changeset
525 -e "s|%OCTAVE_CONF_CCOLAMD_LIBS%|\"${CCOLAMD_LIBS}\"|" \
cf6788da4152 eliminate UGLY_DEFS
John W. Eaton <jwe@octave.org>
parents: 16162
diff changeset
526 -e "s|%OCTAVE_CONF_CFLAGS%|\"${CFLAGS}\"|" \
cf6788da4152 eliminate UGLY_DEFS
John W. Eaton <jwe@octave.org>
parents: 16162
diff changeset
527 -e "s|%OCTAVE_CONF_CHOLMOD_CPPFLAGS%|\"${CHOLMOD_CPPFLAGS}\"|" \
cf6788da4152 eliminate UGLY_DEFS
John W. Eaton <jwe@octave.org>
parents: 16162
diff changeset
528 -e "s|%OCTAVE_CONF_CHOLMOD_LDFLAGS%|\"${CHOLMOD_LDFLAGS}\"|" \
cf6788da4152 eliminate UGLY_DEFS
John W. Eaton <jwe@octave.org>
parents: 16162
diff changeset
529 -e "s|%OCTAVE_CONF_CHOLMOD_LIBS%|\"${CHOLMOD_LIBS}\"|" \
cf6788da4152 eliminate UGLY_DEFS
John W. Eaton <jwe@octave.org>
parents: 16162
diff changeset
530 -e "s|%OCTAVE_CONF_COLAMD_CPPFLAGS%|\"${COLAMD_CPPFLAGS}\"|" \
cf6788da4152 eliminate UGLY_DEFS
John W. Eaton <jwe@octave.org>
parents: 16162
diff changeset
531 -e "s|%OCTAVE_CONF_COLAMD_LDFLAGS%|\"${COLAMD_LDFLAGS}\"|" \
cf6788da4152 eliminate UGLY_DEFS
John W. Eaton <jwe@octave.org>
parents: 16162
diff changeset
532 -e "s|%OCTAVE_CONF_COLAMD_LIBS%|\"${COLAMD_LIBS}\"|" \
cf6788da4152 eliminate UGLY_DEFS
John W. Eaton <jwe@octave.org>
parents: 16162
diff changeset
533 -e "s|%OCTAVE_CONF_CPICFLAG%|\"${CPICFLAG}\"|" \
cf6788da4152 eliminate UGLY_DEFS
John W. Eaton <jwe@octave.org>
parents: 16162
diff changeset
534 -e "s|%OCTAVE_CONF_CPPFLAGS%|\"${CPPFLAGS}\"|" \
cf6788da4152 eliminate UGLY_DEFS
John W. Eaton <jwe@octave.org>
parents: 16162
diff changeset
535 -e "s|%OCTAVE_CONF_CURL_CPPFLAGS%|\"${CURL_CPPFLAGS}\"|" \
cf6788da4152 eliminate UGLY_DEFS
John W. Eaton <jwe@octave.org>
parents: 16162
diff changeset
536 -e "s|%OCTAVE_CONF_CURL_LDFLAGS%|\"${CURL_LDFLAGS}\"|" \
cf6788da4152 eliminate UGLY_DEFS
John W. Eaton <jwe@octave.org>
parents: 16162
diff changeset
537 -e "s|%OCTAVE_CONF_CURL_LIBS%|\"${CURL_LIBS}\"|" \
cf6788da4152 eliminate UGLY_DEFS
John W. Eaton <jwe@octave.org>
parents: 16162
diff changeset
538 -e "s|%OCTAVE_CONF_CXSPARSE_CPPFLAGS%|\"${CXSPARSE_CPPFLAGS}\"|" \
cf6788da4152 eliminate UGLY_DEFS
John W. Eaton <jwe@octave.org>
parents: 16162
diff changeset
539 -e "s|%OCTAVE_CONF_CXSPARSE_LDFLAGS%|\"${CXSPARSE_LDFLAGS}\"|" \
cf6788da4152 eliminate UGLY_DEFS
John W. Eaton <jwe@octave.org>
parents: 16162
diff changeset
540 -e "s|%OCTAVE_CONF_CXSPARSE_LIBS%|\"${CXSPARSE_LIBS}\"|" \
cf6788da4152 eliminate UGLY_DEFS
John W. Eaton <jwe@octave.org>
parents: 16162
diff changeset
541 -e "s|%OCTAVE_CONF_CXX%|\"${CXX}\"|" \
cf6788da4152 eliminate UGLY_DEFS
John W. Eaton <jwe@octave.org>
parents: 16162
diff changeset
542 -e "s|%OCTAVE_CONF_CXXCPP%|\"${CXXCPP}\"|" \
cf6788da4152 eliminate UGLY_DEFS
John W. Eaton <jwe@octave.org>
parents: 16162
diff changeset
543 -e "s|%OCTAVE_CONF_CXXFLAGS%|\"${CXXFLAGS}\"|" \
cf6788da4152 eliminate UGLY_DEFS
John W. Eaton <jwe@octave.org>
parents: 16162
diff changeset
544 -e "s|%OCTAVE_CONF_CXXPICFLAG%|\"${CXXPICFLAG}\"|" \
cf6788da4152 eliminate UGLY_DEFS
John W. Eaton <jwe@octave.org>
parents: 16162
diff changeset
545 -e "s|%OCTAVE_CONF_CXX_VERSION%|\"${CXX_VERSION}\"|" \
cf6788da4152 eliminate UGLY_DEFS
John W. Eaton <jwe@octave.org>
parents: 16162
diff changeset
546 -e "s|%OCTAVE_CONF_DEFAULT_PAGER%|\"${DEFAULT_PAGER}\"|" \
cf6788da4152 eliminate UGLY_DEFS
John W. Eaton <jwe@octave.org>
parents: 16162
diff changeset
547 -e "s|%OCTAVE_CONF_DEFS%|\"${DEFS}\"|" \
cf6788da4152 eliminate UGLY_DEFS
John W. Eaton <jwe@octave.org>
parents: 16162
diff changeset
548 -e "s|%OCTAVE_CONF_DEPEND_FLAGS%|\"${DEPEND_FLAGS}\"|" \
cf6788da4152 eliminate UGLY_DEFS
John W. Eaton <jwe@octave.org>
parents: 16162
diff changeset
549 -e "s|%OCTAVE_CONF_DEPEND_EXTRA_SED_PATTERN%|\"${DEPEND_EXTRA_SED_PATTERN}\"|" \
cf6788da4152 eliminate UGLY_DEFS
John W. Eaton <jwe@octave.org>
parents: 16162
diff changeset
550 -e "s|%OCTAVE_CONF_DL_LD%|\"${DL_LD}\"|" \
cf6788da4152 eliminate UGLY_DEFS
John W. Eaton <jwe@octave.org>
parents: 16162
diff changeset
551 -e "s|%OCTAVE_CONF_DL_LDFLAGS%|\"${DL_LDFLAGS}\"|" \
cf6788da4152 eliminate UGLY_DEFS
John W. Eaton <jwe@octave.org>
parents: 16162
diff changeset
552 -e "s|%OCTAVE_CONF_DL_LIBS%|\"${DL_LIBS}\"|" \
cf6788da4152 eliminate UGLY_DEFS
John W. Eaton <jwe@octave.org>
parents: 16162
diff changeset
553 -e "s|%OCTAVE_CONF_ENABLE_DYNAMIC_LINKING%|\"${ENABLE_DYNAMIC_LINKING}\"|" \
cf6788da4152 eliminate UGLY_DEFS
John W. Eaton <jwe@octave.org>
parents: 16162
diff changeset
554 -e "s|%OCTAVE_CONF_EXEEXT%|\"${EXEEXT}\"|" \
cf6788da4152 eliminate UGLY_DEFS
John W. Eaton <jwe@octave.org>
parents: 16162
diff changeset
555 -e "s|%OCTAVE_CONF_GCC_VERSION%|\"${GCC_VERSION}\"|" \
cf6788da4152 eliminate UGLY_DEFS
John W. Eaton <jwe@octave.org>
parents: 16162
diff changeset
556 -e "s|%OCTAVE_CONF_GXX_VERSION%|\"${GXX_VERSION}\"|" \
cf6788da4152 eliminate UGLY_DEFS
John W. Eaton <jwe@octave.org>
parents: 16162
diff changeset
557 -e "s|%OCTAVE_CONF_F77%|\"${F77}\"|" \
cf6788da4152 eliminate UGLY_DEFS
John W. Eaton <jwe@octave.org>
parents: 16162
diff changeset
558 -e "s|%OCTAVE_CONF_F77_FLOAT_STORE_FLAG%|\"${F77_FLOAT_STORE_FLAG}\"|" \
cf6788da4152 eliminate UGLY_DEFS
John W. Eaton <jwe@octave.org>
parents: 16162
diff changeset
559 -e "s|%OCTAVE_CONF_F77_INTEGER_8_FLAG%|\"${F77_INTEGER_8_FLAG}\"|" \
cf6788da4152 eliminate UGLY_DEFS
John W. Eaton <jwe@octave.org>
parents: 16162
diff changeset
560 -e "s|%OCTAVE_CONF_FC%|\"${FC}\"|" \
cf6788da4152 eliminate UGLY_DEFS
John W. Eaton <jwe@octave.org>
parents: 16162
diff changeset
561 -e "s|%OCTAVE_CONF_FFLAGS%|\"${FFLAGS}\"|" \
cf6788da4152 eliminate UGLY_DEFS
John W. Eaton <jwe@octave.org>
parents: 16162
diff changeset
562 -e "s|%OCTAVE_CONF_FFTW3_CPPFLAGS%|\"${FFTW3_CPPFLAGS}\"|" \
cf6788da4152 eliminate UGLY_DEFS
John W. Eaton <jwe@octave.org>
parents: 16162
diff changeset
563 -e "s|%OCTAVE_CONF_FFTW3_LDFLAGS%|\"${FFTW3_LDFLAGS}\"|" \
cf6788da4152 eliminate UGLY_DEFS
John W. Eaton <jwe@octave.org>
parents: 16162
diff changeset
564 -e "s|%OCTAVE_CONF_FFTW3_LIBS%|\"${FFTW3_LIBS}\"|" \
cf6788da4152 eliminate UGLY_DEFS
John W. Eaton <jwe@octave.org>
parents: 16162
diff changeset
565 -e "s|%OCTAVE_CONF_FFTW3F_CPPFLAGS%|\"${FFTW3F_CPPFLAGS}\"|" \
cf6788da4152 eliminate UGLY_DEFS
John W. Eaton <jwe@octave.org>
parents: 16162
diff changeset
566 -e "s|%OCTAVE_CONF_FFTW3F_LDFLAGS%|\"${FFTW3F_LDFLAGS}\"|" \
cf6788da4152 eliminate UGLY_DEFS
John W. Eaton <jwe@octave.org>
parents: 16162
diff changeset
567 -e "s|%OCTAVE_CONF_FFTW3F_LIBS%|\"${FFTW3F_LIBS}\"|" \
cf6788da4152 eliminate UGLY_DEFS
John W. Eaton <jwe@octave.org>
parents: 16162
diff changeset
568 -e "s|%OCTAVE_CONF_FLIBS%|\"${FLIBS}\"|" \
17816
e6317049225b build: Remove FreeType and Fontconfig CPPFLAGS from XTRA_CXXFLAGS.
Rik <rik@octave.org>
parents: 17797
diff changeset
569 -e "s|%OCTAVE_CONF_FONTCONFIG_CFLAGS%|\"${FONTCONFIG_CFLAGS}\"|" \
16171
cf6788da4152 eliminate UGLY_DEFS
John W. Eaton <jwe@octave.org>
parents: 16162
diff changeset
570 -e "s|%OCTAVE_CONF_FPICFLAG%|\"${FPICFLAG}\"|" \
cf6788da4152 eliminate UGLY_DEFS
John W. Eaton <jwe@octave.org>
parents: 16162
diff changeset
571 -e "s|%OCTAVE_CONF_FT2_CFLAGS%|\"${FT2_CFLAGS}\"|" \
cf6788da4152 eliminate UGLY_DEFS
John W. Eaton <jwe@octave.org>
parents: 16162
diff changeset
572 -e "s|%OCTAVE_CONF_FT2_LIBS%|\"${FT2_LIBS}\"|" \
cf6788da4152 eliminate UGLY_DEFS
John W. Eaton <jwe@octave.org>
parents: 16162
diff changeset
573 -e "s|%OCTAVE_CONF_GLPK_CPPFLAGS%|\"${GLPK_CPPFLAGS}\"|" \
cf6788da4152 eliminate UGLY_DEFS
John W. Eaton <jwe@octave.org>
parents: 16162
diff changeset
574 -e "s|%OCTAVE_CONF_GLPK_LDFLAGS%|\"${GLPK_LDFLAGS}\"|" \
cf6788da4152 eliminate UGLY_DEFS
John W. Eaton <jwe@octave.org>
parents: 16162
diff changeset
575 -e "s|%OCTAVE_CONF_GLPK_LIBS%|\"${GLPK_LIBS}\"|" \
cf6788da4152 eliminate UGLY_DEFS
John W. Eaton <jwe@octave.org>
parents: 16162
diff changeset
576 -e "s|%OCTAVE_CONF_GNUPLOT%|\"${GNUPLOT}\"|" \
cf6788da4152 eliminate UGLY_DEFS
John W. Eaton <jwe@octave.org>
parents: 16162
diff changeset
577 -e "s|%OCTAVE_CONF_GRAPHICS_CFLAGS%|\"${GRAPHICS_CFLAGS}\"|" \
cf6788da4152 eliminate UGLY_DEFS
John W. Eaton <jwe@octave.org>
parents: 16162
diff changeset
578 -e "s|%OCTAVE_CONF_GRAPHICS_LIBS%|\"${GRAPHICS_LIBS}\"|" \
cf6788da4152 eliminate UGLY_DEFS
John W. Eaton <jwe@octave.org>
parents: 16162
diff changeset
579 -e "s|%OCTAVE_CONF_HDF5_CPPFLAGS%|\"${HDF5_CPPFLAGS}\"|" | \
cf6788da4152 eliminate UGLY_DEFS
John W. Eaton <jwe@octave.org>
parents: 16162
diff changeset
580 $(SED) -e "s|%OCTAVE_CONF_HDF5_LDFLAGS%|\"${HDF5_LDFLAGS}\"|" \
cf6788da4152 eliminate UGLY_DEFS
John W. Eaton <jwe@octave.org>
parents: 16162
diff changeset
581 -e "s|%OCTAVE_CONF_HDF5_LIBS%|\"${HDF5_LIBS}\"|" \
cf6788da4152 eliminate UGLY_DEFS
John W. Eaton <jwe@octave.org>
parents: 16162
diff changeset
582 -e "s|%OCTAVE_CONF_INCLUDEDIR%|\"${includedir}\"|" \
cf6788da4152 eliminate UGLY_DEFS
John W. Eaton <jwe@octave.org>
parents: 16162
diff changeset
583 -e "s|%OCTAVE_CONF_LAPACK_LIBS%|\"${LAPACK_LIBS}\"|" \
cf6788da4152 eliminate UGLY_DEFS
John W. Eaton <jwe@octave.org>
parents: 16162
diff changeset
584 -e "s|%OCTAVE_CONF_LD_CXX%|\"${LD_CXX}\"|" \
cf6788da4152 eliminate UGLY_DEFS
John W. Eaton <jwe@octave.org>
parents: 16162
diff changeset
585 -e "s|%OCTAVE_CONF_LDFLAGS%|\"${LDFLAGS}\"|" \
cf6788da4152 eliminate UGLY_DEFS
John W. Eaton <jwe@octave.org>
parents: 16162
diff changeset
586 -e "s|%OCTAVE_CONF_LD_STATIC_FLAG%|\"${LD_STATIC_FLAG}\"|" \
cf6788da4152 eliminate UGLY_DEFS
John W. Eaton <jwe@octave.org>
parents: 16162
diff changeset
587 -e "s|%OCTAVE_CONF_LEX%|\"${LEX}\"|" \
cf6788da4152 eliminate UGLY_DEFS
John W. Eaton <jwe@octave.org>
parents: 16162
diff changeset
588 -e "s|%OCTAVE_CONF_LEXLIB%|\"${LEXLIB}\"|" \
cf6788da4152 eliminate UGLY_DEFS
John W. Eaton <jwe@octave.org>
parents: 16162
diff changeset
589 -e "s|%OCTAVE_CONF_LFLAGS%|\"${LFLAGS}\"|" \
cf6788da4152 eliminate UGLY_DEFS
John W. Eaton <jwe@octave.org>
parents: 16162
diff changeset
590 -e "s|%OCTAVE_CONF_LIBDIR%|\"${libdir}\"|" \
cf6788da4152 eliminate UGLY_DEFS
John W. Eaton <jwe@octave.org>
parents: 16162
diff changeset
591 -e "s|%OCTAVE_CONF_LIBEXT%|\"${LIBEXT}\"|" \
cf6788da4152 eliminate UGLY_DEFS
John W. Eaton <jwe@octave.org>
parents: 16162
diff changeset
592 -e "s|%OCTAVE_CONF_LIBFLAGS%|\"${LIBFLAGS}\"|" \
cf6788da4152 eliminate UGLY_DEFS
John W. Eaton <jwe@octave.org>
parents: 16162
diff changeset
593 -e "s|%OCTAVE_CONF_LIBOCTAVE%|\"${LIBOCTAVE}\"|" \
cf6788da4152 eliminate UGLY_DEFS
John W. Eaton <jwe@octave.org>
parents: 16162
diff changeset
594 -e "s|%OCTAVE_CONF_LIBOCTINTERP%|\"${LIBOCTINTERP}\"|" \
cf6788da4152 eliminate UGLY_DEFS
John W. Eaton <jwe@octave.org>
parents: 16162
diff changeset
595 -e "s|%OCTAVE_CONF_LIBS%|\"${LIBS}\"|" \
cf6788da4152 eliminate UGLY_DEFS
John W. Eaton <jwe@octave.org>
parents: 16162
diff changeset
596 -e "s|%OCTAVE_CONF_LLVM_CPPFLAGS%|\"${LLVM_CPPFLAGS}\"|" \
cf6788da4152 eliminate UGLY_DEFS
John W. Eaton <jwe@octave.org>
parents: 16162
diff changeset
597 -e "s|%OCTAVE_CONF_LLVM_LDFLAGS%|\"${LLVM_LDFLAGS}\"|" \
cf6788da4152 eliminate UGLY_DEFS
John W. Eaton <jwe@octave.org>
parents: 16162
diff changeset
598 -e "s|%OCTAVE_CONF_LLVM_LIBS%|\"${LLVM_LIBS}\"|" \
cf6788da4152 eliminate UGLY_DEFS
John W. Eaton <jwe@octave.org>
parents: 16162
diff changeset
599 -e "s|%OCTAVE_CONF_LN_S%|\"${LN_S}\"|" \
cf6788da4152 eliminate UGLY_DEFS
John W. Eaton <jwe@octave.org>
parents: 16162
diff changeset
600 -e "s|%OCTAVE_CONF_MAGICK_CPPFLAGS%|\"${MAGICK_CPPFLAGS}\"|" \
cf6788da4152 eliminate UGLY_DEFS
John W. Eaton <jwe@octave.org>
parents: 16162
diff changeset
601 -e "s|%OCTAVE_CONF_MAGICK_LDFLAGS%|\"${MAGICK_LDFLAGS}\"|" \
cf6788da4152 eliminate UGLY_DEFS
John W. Eaton <jwe@octave.org>
parents: 16162
diff changeset
602 -e "s|%OCTAVE_CONF_MAGICK_LIBS%|\"${MAGICK_LIBS}\"|" \
cf6788da4152 eliminate UGLY_DEFS
John W. Eaton <jwe@octave.org>
parents: 16162
diff changeset
603 -e 's|%OCTAVE_CONF_MKOCTFILE_AR%|\"${MKOCTFILE_AR}\"|' \
cf6788da4152 eliminate UGLY_DEFS
John W. Eaton <jwe@octave.org>
parents: 16162
diff changeset
604 -e 's|%OCTAVE_CONF_MKOCTFILE_CC%|\"${MKOCTFILE_CC}\"|' \
cf6788da4152 eliminate UGLY_DEFS
John W. Eaton <jwe@octave.org>
parents: 16162
diff changeset
605 -e 's|%OCTAVE_CONF_MKOCTFILE_CXX%|\"${MKOCTFILE_CXX}\"|' \
cf6788da4152 eliminate UGLY_DEFS
John W. Eaton <jwe@octave.org>
parents: 16162
diff changeset
606 -e 's|%OCTAVE_CONF_MKOCTFILE_DL_LD%|\"${MKOCTFILE_DL_LD}\"|' \
cf6788da4152 eliminate UGLY_DEFS
John W. Eaton <jwe@octave.org>
parents: 16162
diff changeset
607 -e 's|%OCTAVE_CONF_MKOCTFILE_DL_LDFLAGS%|\"${MKOCTFILE_DL_LDFLAGS}\"|' \
cf6788da4152 eliminate UGLY_DEFS
John W. Eaton <jwe@octave.org>
parents: 16162
diff changeset
608 -e 's|%OCTAVE_CONF_MKOCTFILE_F77%|\"${MKOCTFILE_F77}\"|' \
cf6788da4152 eliminate UGLY_DEFS
John W. Eaton <jwe@octave.org>
parents: 16162
diff changeset
609 -e 's|%OCTAVE_CONF_MKOCTFILE_LD_CXX%|\"${MKOCTFILE_LD_CXX}\"|' \
cf6788da4152 eliminate UGLY_DEFS
John W. Eaton <jwe@octave.org>
parents: 16162
diff changeset
610 -e 's|%OCTAVE_CONF_MKOCTFILE_RANLIB%|\"${MKOCTFILE_RANLIB}\"|' \
cf6788da4152 eliminate UGLY_DEFS
John W. Eaton <jwe@octave.org>
parents: 16162
diff changeset
611 -e "s|%OCTAVE_CONF_OCTAVE_LINK_DEPS%|\"${OCTAVE_LINK_DEPS}\"|" \
cf6788da4152 eliminate UGLY_DEFS
John W. Eaton <jwe@octave.org>
parents: 16162
diff changeset
612 -e "s|%OCTAVE_CONF_OCTAVE_LINK_OPTS%|\"${OCTAVE_LINK_OPTS}\"|" \
cf6788da4152 eliminate UGLY_DEFS
John W. Eaton <jwe@octave.org>
parents: 16162
diff changeset
613 -e "s|%OCTAVE_CONF_OCTINCLUDEDIR%|\"${octincludedir}\"|" \
cf6788da4152 eliminate UGLY_DEFS
John W. Eaton <jwe@octave.org>
parents: 16162
diff changeset
614 -e "s|%OCTAVE_CONF_OCTLIBDIR%|\"${octlibdir}\"|" \
cf6788da4152 eliminate UGLY_DEFS
John W. Eaton <jwe@octave.org>
parents: 16162
diff changeset
615 -e "s|%OCTAVE_CONF_OCT_LINK_DEPS%|\"${OCT_LINK_DEPS}\"|" \
cf6788da4152 eliminate UGLY_DEFS
John W. Eaton <jwe@octave.org>
parents: 16162
diff changeset
616 -e "s|%OCTAVE_CONF_OCT_LINK_OPTS%|\"${OCT_LINK_OPTS}\"|" \
cf6788da4152 eliminate UGLY_DEFS
John W. Eaton <jwe@octave.org>
parents: 16162
diff changeset
617 -e "s|%OCTAVE_CONF_OPENGL_LIBS%|\"${OPENGL_LIBS}\"|" \
17821
82c94987abc6 build: Remove REGEX_CPPFLAGS from XTRA_CXXFLAGS.
Rik <rik@octave.org>
parents: 17816
diff changeset
618 -e "s|%OCTAVE_CONF_PCRE_CPPFLAGS%|\"${PCRE_CPPFLAGS}\"|" \
82c94987abc6 build: Remove REGEX_CPPFLAGS from XTRA_CXXFLAGS.
Rik <rik@octave.org>
parents: 17816
diff changeset
619 -e "s|%OCTAVE_CONF_PCRE_LIBS%|\"${PCRE_LIBS}\"|" \
16171
cf6788da4152 eliminate UGLY_DEFS
John W. Eaton <jwe@octave.org>
parents: 16162
diff changeset
620 -e "s|%OCTAVE_CONF_PREFIX%|\"${prefix}\"|" \
cf6788da4152 eliminate UGLY_DEFS
John W. Eaton <jwe@octave.org>
parents: 16162
diff changeset
621 -e "s|%OCTAVE_CONF_PTHREAD_CFLAGS%|\"${PTHREAD_CFLAGS}\"|" \
cf6788da4152 eliminate UGLY_DEFS
John W. Eaton <jwe@octave.org>
parents: 16162
diff changeset
622 -e "s|%OCTAVE_CONF_PTHREAD_LIBS%|\"${PTHREAD_LIBS}\"|" \
cf6788da4152 eliminate UGLY_DEFS
John W. Eaton <jwe@octave.org>
parents: 16162
diff changeset
623 -e "s|%OCTAVE_CONF_QHULL_CPPFLAGS%|\"${QHULL_CPPFLAGSS}\"|" \
cf6788da4152 eliminate UGLY_DEFS
John W. Eaton <jwe@octave.org>
parents: 16162
diff changeset
624 -e "s|%OCTAVE_CONF_QHULL_LDFLAGS%|\"${QHULL_LDFLAGSS}\"|" \
cf6788da4152 eliminate UGLY_DEFS
John W. Eaton <jwe@octave.org>
parents: 16162
diff changeset
625 -e "s|%OCTAVE_CONF_QHULL_LIBS%|\"${QHULL_LIBS}\"|" \
cf6788da4152 eliminate UGLY_DEFS
John W. Eaton <jwe@octave.org>
parents: 16162
diff changeset
626 -e "s|%OCTAVE_CONF_QRUPDATE_CPPFLAGS%|\"${QRUPDATE_CPPFLAGS}\"|" \
cf6788da4152 eliminate UGLY_DEFS
John W. Eaton <jwe@octave.org>
parents: 16162
diff changeset
627 -e "s|%OCTAVE_CONF_QRUPDATE_LDFLAGS%|\"${QRUPDATE_LDFLAGS}\"|" \
cf6788da4152 eliminate UGLY_DEFS
John W. Eaton <jwe@octave.org>
parents: 16162
diff changeset
628 -e "s|%OCTAVE_CONF_QRUPDATE_LIBS%|\"${QRUPDATE_LIBS}\"|" \
cf6788da4152 eliminate UGLY_DEFS
John W. Eaton <jwe@octave.org>
parents: 16162
diff changeset
629 -e "s|%OCTAVE_CONF_QT_CPPFLAGS%|\"${QT_CPPFLAGS}\"|" \
cf6788da4152 eliminate UGLY_DEFS
John W. Eaton <jwe@octave.org>
parents: 16162
diff changeset
630 -e "s|%OCTAVE_CONF_QT_LDFLAGS%|\"${QT_LDFLAGS}\"|" \
cf6788da4152 eliminate UGLY_DEFS
John W. Eaton <jwe@octave.org>
parents: 16162
diff changeset
631 -e "s|%OCTAVE_CONF_QT_LIBS%|\"${QT_LIBS}\"|" \
cf6788da4152 eliminate UGLY_DEFS
John W. Eaton <jwe@octave.org>
parents: 16162
diff changeset
632 -e "s|%OCTAVE_CONF_RANLIB%|\"${RANLIB}\"|" \
cf6788da4152 eliminate UGLY_DEFS
John W. Eaton <jwe@octave.org>
parents: 16162
diff changeset
633 -e "s|%OCTAVE_CONF_RDYNAMIC_FLAG%|\"${RDYNAMIC_FLAG}\"|" \
cf6788da4152 eliminate UGLY_DEFS
John W. Eaton <jwe@octave.org>
parents: 16162
diff changeset
634 -e "s|%OCTAVE_CONF_READLINE_LIBS%|\"${READLINE_LIBS}\"|" \
cf6788da4152 eliminate UGLY_DEFS
John W. Eaton <jwe@octave.org>
parents: 16162
diff changeset
635 -e "s|%OCTAVE_CONF_SED%|\"${SED}\"|" \
cf6788da4152 eliminate UGLY_DEFS
John W. Eaton <jwe@octave.org>
parents: 16162
diff changeset
636 -e "s|%OCTAVE_CONF_SHARED_LIBS%|\"${SHARED_LIBS}\"|" \
cf6788da4152 eliminate UGLY_DEFS
John W. Eaton <jwe@octave.org>
parents: 16162
diff changeset
637 -e "s|%OCTAVE_CONF_SHLEXT%|\"${SHLEXT}\"|" \
cf6788da4152 eliminate UGLY_DEFS
John W. Eaton <jwe@octave.org>
parents: 16162
diff changeset
638 -e "s|%OCTAVE_CONF_SHLLINKEXT%|\"${SHLLINKEXT}\"|" \
cf6788da4152 eliminate UGLY_DEFS
John W. Eaton <jwe@octave.org>
parents: 16162
diff changeset
639 -e "s|%OCTAVE_CONF_SHLEXT_VER%|\"${SHLEXT_VER}\"|" \
cf6788da4152 eliminate UGLY_DEFS
John W. Eaton <jwe@octave.org>
parents: 16162
diff changeset
640 -e "s|%OCTAVE_CONF_SH_LD%|\"${SH_LD}\"|" \
cf6788da4152 eliminate UGLY_DEFS
John W. Eaton <jwe@octave.org>
parents: 16162
diff changeset
641 -e "s|%OCTAVE_CONF_SH_LDFLAGS%|\"${SH_LDFLAGS}\"|" \
cf6788da4152 eliminate UGLY_DEFS
John W. Eaton <jwe@octave.org>
parents: 16162
diff changeset
642 -e "s|%OCTAVE_CONF_SONAME_FLAGS%|\"${SONAME_FLAGS}\"|" \
cf6788da4152 eliminate UGLY_DEFS
John W. Eaton <jwe@octave.org>
parents: 16162
diff changeset
643 -e "s|%OCTAVE_CONF_STATIC_LIBS%|\"${STATIC_LIBS}\"|" \
cf6788da4152 eliminate UGLY_DEFS
John W. Eaton <jwe@octave.org>
parents: 16162
diff changeset
644 -e "s|%OCTAVE_CONF_TERM_LIBS%|\"${TERM_LIBS}\"|" \
cf6788da4152 eliminate UGLY_DEFS
John W. Eaton <jwe@octave.org>
parents: 16162
diff changeset
645 -e "s|%OCTAVE_CONF_UMFPACK_CPPFLAGS%|\"${UMFPACK_CPPFLAGS}\"|" \
cf6788da4152 eliminate UGLY_DEFS
John W. Eaton <jwe@octave.org>
parents: 16162
diff changeset
646 -e "s|%OCTAVE_CONF_UMFPACK_LDFLAGS%|\"${UMFPACK_LDFLAGS}\"|" \
cf6788da4152 eliminate UGLY_DEFS
John W. Eaton <jwe@octave.org>
parents: 16162
diff changeset
647 -e "s|%OCTAVE_CONF_UMFPACK_LIBS%|\"${UMFPACK_LIBS}\"|" \
cf6788da4152 eliminate UGLY_DEFS
John W. Eaton <jwe@octave.org>
parents: 16162
diff changeset
648 -e "s|%OCTAVE_CONF_USE_64_BIT_IDX_T%|\"${USE_64_BIT_IDX_T}\"|" \
cf6788da4152 eliminate UGLY_DEFS
John W. Eaton <jwe@octave.org>
parents: 16162
diff changeset
649 -e "s|%OCTAVE_CONF_VERSION%|\"${version}\"|" \
cf6788da4152 eliminate UGLY_DEFS
John W. Eaton <jwe@octave.org>
parents: 16162
diff changeset
650 -e "s|%OCTAVE_CONF_WARN_CFLAGS%|\"${WARN_CFLAGS}\"|" \
cf6788da4152 eliminate UGLY_DEFS
John W. Eaton <jwe@octave.org>
parents: 16162
diff changeset
651 -e "s|%OCTAVE_CONF_WARN_CXXFLAGS%|\"${WARN_CXXFLAGS}\"|" \
cf6788da4152 eliminate UGLY_DEFS
John W. Eaton <jwe@octave.org>
parents: 16162
diff changeset
652 -e "s|%OCTAVE_CONF_X11_INCFLAGS%|\"${X11_INCFLAGS}\"|" \
cf6788da4152 eliminate UGLY_DEFS
John W. Eaton <jwe@octave.org>
parents: 16162
diff changeset
653 -e "s|%OCTAVE_CONF_X11_LIBS%|\"${X11_LIBS}\"|" \
cf6788da4152 eliminate UGLY_DEFS
John W. Eaton <jwe@octave.org>
parents: 16162
diff changeset
654 -e "s|%OCTAVE_CONF_XTRA_CFLAGS%|\"${XTRA_CFLAGS}\"|" \
cf6788da4152 eliminate UGLY_DEFS
John W. Eaton <jwe@octave.org>
parents: 16162
diff changeset
655 -e "s|%OCTAVE_CONF_XTRA_CXXFLAGS%|\"${XTRA_CXXFLAGS}\"|" \
cf6788da4152 eliminate UGLY_DEFS
John W. Eaton <jwe@octave.org>
parents: 16162
diff changeset
656 -e "s|%OCTAVE_CONF_YACC%|\"${YACC}\"|" \
cf6788da4152 eliminate UGLY_DEFS
John W. Eaton <jwe@octave.org>
parents: 16162
diff changeset
657 -e "s|%OCTAVE_CONF_YFLAGS%|\"${YFLAGS}\"|" \
cf6788da4152 eliminate UGLY_DEFS
John W. Eaton <jwe@octave.org>
parents: 16162
diff changeset
658 -e "s|%OCTAVE_CONF_Z_CPPFLAGS%|\"${Z_CPPFLAGS}\"|" \
cf6788da4152 eliminate UGLY_DEFS
John W. Eaton <jwe@octave.org>
parents: 16162
diff changeset
659 -e "s|%OCTAVE_CONF_Z_LDFLAGS%|\"${Z_LDFLAGS}\"|" \
cf6788da4152 eliminate UGLY_DEFS
John W. Eaton <jwe@octave.org>
parents: 16162
diff changeset
660 -e "s|%OCTAVE_CONF_Z_LIBS%|\"${Z_LIBS}\"|" \
cf6788da4152 eliminate UGLY_DEFS
John W. Eaton <jwe@octave.org>
parents: 16162
diff changeset
661 -e "s|%OCTAVE_CONF_config_opts%|\"${config_opts}\"|" > $@-t
9794
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
662 $(simple_move_if_change_rule)
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
663 endef
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
664
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
665 define do_subst_default_vals
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
666 echo "making $@ from $<"
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
667 $(SED) < $< > $@-t \
15100
8523df595d42 maint: Add DO NOT EDIT messages to build system for src/*.in.h.
Rik <rik@octave.org>
parents: 14932
diff changeset
668 -e "s|%NO_EDIT_WARNING%|DO NOT EDIT! Generated automatically from $(<F) by Make.|" \
9794
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
669 -e "s|%OCTAVE_ARCHLIBDIR%|\"${archlibdir}\"|" \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
670 -e "s|%OCTAVE_BINDIR%|\"${bindir}\"|" \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
671 -e "s|%OCTAVE_CANONICAL_HOST_TYPE%|\"${canonical_host_type}\"|" \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
672 -e "s|%OCTAVE_DATADIR%|\"${datadir}\"|" \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
673 -e "s|%OCTAVE_DATAROOTDIR%|\"${datarootdir}\"|" \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
674 -e "s|%OCTAVE_DEFAULT_PAGER%|\"${DEFAULT_PAGER}\"|" \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
675 -e "s|%OCTAVE_DOC_CACHE_FILE%|\"${doc_cache_file}\"|" \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
676 -e "s|%OCTAVE_EXEC_PREFIX%|\"${exec_prefix}\"|" \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
677 -e "s|%OCTAVE_FCNFILEDIR%|\"${fcnfiledir}\"|" \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
678 -e "s|%OCTAVE_IMAGEDIR%|\"${imagedir}\"|" \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
679 -e "s|%OCTAVE_INCLUDEDIR%|\"${includedir}\"|" \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
680 -e "s|%OCTAVE_INFODIR%|\"${infodir}\"|" \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
681 -e "s|%OCTAVE_INFOFILE%|\"${infofile}\"|" \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
682 -e "s|%OCTAVE_LIBDIR%|\"${libdir}\"|" \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
683 -e "s|%OCTAVE_LIBEXECDIR%|\"${libexecdir}\"|" \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
684 -e "s|%OCTAVE_LOCALAPIFCNFILEDIR%|\"${localapifcnfiledir}\"|" \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
685 -e "s|%OCTAVE_LOCALAPIOCTFILEDIR%|\"${localapioctfiledir}\"|" \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
686 -e "s|%OCTAVE_LOCALARCHLIBDIR%|\"${localarchlibdir}\"|" \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
687 -e "s|%OCTAVE_LOCALFCNFILEDIR%|\"${localfcnfiledir}\"|" \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
688 -e "s|%OCTAVE_LOCALOCTFILEDIR%|\"${localoctfiledir}\"|" \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
689 -e "s|%OCTAVE_LOCALSTARTUPFILEDIR%|\"${localstartupfiledir}\"|" \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
690 -e "s|%OCTAVE_LOCALAPIARCHLIBDIR%|\"${localapiarchlibdir}\"|" \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
691 -e "s|%OCTAVE_LOCALVERARCHLIBDIR%|\"${localverarchlibdir}\"|" \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
692 -e "s|%OCTAVE_LOCALVERFCNFILEDIR%|\"${localverfcnfiledir}\"|" \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
693 -e "s|%OCTAVE_LOCALVEROCTFILEDIR%|\"${localveroctfiledir}\"|" \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
694 -e "s|%OCTAVE_MAN1DIR%|\"${man1dir}\"|" \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
695 -e "s|%OCTAVE_MAN1EXT%|\"${man1ext}\"|" \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
696 -e "s|%OCTAVE_MANDIR%|\"${mandir}\"|" \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
697 -e "s|%OCTAVE_OCTFILEDIR%|\"${octfiledir}\"|" \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
698 -e "s|%OCTAVE_OCTETCDIR%|\"${octetcdir}\"|" \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
699 -e "s|%OCTAVE_OCTINCLUDEDIR%|\"${octincludedir}\"|" \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
700 -e "s|%OCTAVE_OCTLIBDIR%|\"${octlibdir}\"|" \
15971
e27d9b9b71f4 gui: install translation files into $(datadir)/octave/$(version)/locale
Torsten <ttl@justmail.de>
parents: 15969
diff changeset
701 -e "s|%OCTAVE_OCTLOCALEDIR%|\"${octlocaledir}\"|" \
16019
5b2126a8c84f install tests and functions to run them
John W. Eaton <jwe@octave.org>
parents: 15971
diff changeset
702 -e "s|%OCTAVE_OCTTESTSDIR%|\"${octtestsdir}\"|" \
9794
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
703 -e "s|%OCTAVE_STARTUPFILEDIR%|\"${startupfiledir}\"|" \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
704 -e "s|%OCTAVE_PREFIX%|\"${prefix}\"|" \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
705 -e "s|%OCTAVE_API_VERSION%|\"${api_version}\"|" \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
706 -e "s|%OCTAVE_RELEASE%|\"${OCTAVE_RELEASE}\"|" \
14614
4e9dc46d4125 handle texinfo macros consistently in help system and manual
John W. Eaton <jwe@octave.org>
parents: 14550
diff changeset
707 -e "s|%OCTAVE_TEXI_MACROS_FILE%|\"${texi_macros_file}\"|" \
9794
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
708 -e "s|%OCTAVE_VERSION%|\"${version}\"|"
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
709 $(simple_move_if_change_rule)
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
710 endef
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
711
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
712 define do_subst_script_vals
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
713 echo "making $@ from $<"
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
714 $(SED) < $< \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
715 -e "s|%AWK%|${AWK}|g" \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
716 -e "s|%FIND%|${FIND}|g" \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
717 -e "s|%SED%|${SED}|g" \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
718 -e "s|%abs_top_srcdir%|${abs_top_srcdir}|" \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
719 -e "s|%builddir%|$(shell pwd)|" > $@-t
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
720 $(simple_move_if_change_rule)
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
721 endef
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
722
16522
bfff338c56d1 set default terminal font for the GUI from the configure script
John W. Eaton <jwe@octave.org>
parents: 16174
diff changeset
723 define do_subst_qt_settings
bfff338c56d1 set default terminal font for the GUI from the configure script
John W. Eaton <jwe@octave.org>
parents: 16174
diff changeset
724 echo "making $@ from $<"
bfff338c56d1 set default terminal font for the GUI from the configure script
John W. Eaton <jwe@octave.org>
parents: 16174
diff changeset
725 $(SED) < $< \
bfff338c56d1 set default terminal font for the GUI from the configure script
John W. Eaton <jwe@octave.org>
parents: 16174
diff changeset
726 -e "s|%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
727 -e "s|%DEFAULT_TERMINAL_FONT_SIZE%|${DEFAULT_TERMINAL_FONT_SIZE}|" > $@-t
bfff338c56d1 set default terminal font for the GUI from the configure script
John W. Eaton <jwe@octave.org>
parents: 16174
diff changeset
728 $(simple_move_if_change_rule)
bfff338c56d1 set default terminal font for the GUI from the configure script
John W. Eaton <jwe@octave.org>
parents: 16174
diff changeset
729 endef
bfff338c56d1 set default terminal font for the GUI from the configure script
John W. Eaton <jwe@octave.org>
parents: 16174
diff changeset
730
16019
5b2126a8c84f install tests and functions to run them
John W. Eaton <jwe@octave.org>
parents: 15971
diff changeset
731 define test-file-commands
16132
43e6415393ff build: check for grep in configure and then use it in build process.
Rik <rik@octave.org>
parents: 16068
diff changeset
732 ( echo "## DO NOT EDIT! Generated automatically from $(<F) by Make."; $(GREP) '^%!' $< ) > $@-t
16019
5b2126a8c84f install tests and functions to run them
John W. Eaton <jwe@octave.org>
parents: 15971
diff changeset
733 mv $@-t $@
5b2126a8c84f install tests and functions to run them
John W. Eaton <jwe@octave.org>
parents: 15971
diff changeset
734 endef
5b2126a8c84f install tests and functions to run them
John W. Eaton <jwe@octave.org>
parents: 15971
diff changeset
735
16603
e5c0acc31640 install .gdbinit in test directory
John W. Eaton <jwe@octave.org>
parents: 16522
diff changeset
736 define gdbinit_install_rule
e5c0acc31640 install .gdbinit in test directory
John W. Eaton <jwe@octave.org>
parents: 16522
diff changeset
737 if [ -f .gdbinit ]; then \
e5c0acc31640 install .gdbinit in test directory
John W. Eaton <jwe@octave.org>
parents: 16522
diff changeset
738 echo "refusing to overwrite .gdbinit with newer version from $<" 1>&2; \
e5c0acc31640 install .gdbinit in test directory
John W. Eaton <jwe@octave.org>
parents: 16522
diff changeset
739 else \
e5c0acc31640 install .gdbinit in test directory
John W. Eaton <jwe@octave.org>
parents: 16522
diff changeset
740 echo "Installing .gdbinit from version at $<" ; \
e5c0acc31640 install .gdbinit in test directory
John W. Eaton <jwe@octave.org>
parents: 16522
diff changeset
741 cp $< $@; \
e5c0acc31640 install .gdbinit in test directory
John W. Eaton <jwe@octave.org>
parents: 16522
diff changeset
742 fi
e5c0acc31640 install .gdbinit in test directory
John W. Eaton <jwe@octave.org>
parents: 16522
diff changeset
743 endef
e5c0acc31640 install .gdbinit in test directory
John W. Eaton <jwe@octave.org>
parents: 16522
diff changeset
744
16019
5b2126a8c84f install tests and functions to run them
John W. Eaton <jwe@octave.org>
parents: 15971
diff changeset
745 %.cc-tst : %.cc
5b2126a8c84f install tests and functions to run them
John W. Eaton <jwe@octave.org>
parents: 15971
diff changeset
746 $(test-file-commands)
5b2126a8c84f install tests and functions to run them
John W. Eaton <jwe@octave.org>
parents: 15971
diff changeset
747
5b2126a8c84f install tests and functions to run them
John W. Eaton <jwe@octave.org>
parents: 15971
diff changeset
748 %.yy-tst : %.yy
5b2126a8c84f install tests and functions to run them
John W. Eaton <jwe@octave.org>
parents: 15971
diff changeset
749 $(test-file-commands)
5b2126a8c84f install tests and functions to run them
John W. Eaton <jwe@octave.org>
parents: 15971
diff changeset
750
5b2126a8c84f install tests and functions to run them
John W. Eaton <jwe@octave.org>
parents: 15971
diff changeset
751 %.ll-tst : %.ll
5b2126a8c84f install tests and functions to run them
John W. Eaton <jwe@octave.org>
parents: 15971
diff changeset
752 $(test-file-commands)