Mercurial > mxe-octave
annotate src/default-octave.mk @ 6837:6adeb47401d6
Add qt6 usage to mxe-octave
* src/qt6-qtbase-1-fixes.patch, src/qt6-qtbase.mk,
src/qt6-qtimageformats-1-fixes.patch, src/qt6-qtimageformats.mk,
src/qt6-qtsvg.mk, src/qt6-qttools.mk, src/qt6-qttranslations.mk,
src/qt6.mk, src/qt6-qt5compat.mk: new files
* Makefile.in: add use of ENABLE_QT and add qt6 values
* configure.ac: add --enable-qt=xxx option, remove--enable-qt5
* dist-files.mk, index.html: add refs to new files
* src/blas_switch.mk, src/gnuplot.mk, src/opengl_switch.mk,
src/default-octave.mk, src/qscintilla.mk,
src/release-octave.mk, src/stable-octave.mk: add prrocessing of ENABLE_QT value
* src/qt5.mk: dont include qt6* files in dependancies
* src/gnuplot-2-qt6.patch: new patch file
* binary-dist-rules.mk: include qtversion in build of octave-launch
* installer-files/octave-firsttime.vbs, installer-files/octave-launch.c
installer-files/octave.bat, installer-files/octave.vbs
: include qt6 file paths
author | John Donoghue <john.donoghue@ieee.org> |
---|---|
date | Wed, 23 Aug 2023 08:48:00 -0400 |
parents | 56decd595eb7 |
children | c2892f53d123 |
rev | line source |
---|---|
3721
933b99febcf1
Expand options to support 3 possible sources of octave
John Donoghue <john.donoghue@ieee.org>
parents:
diff
changeset
|
1 # This file is part of MXE. |
933b99febcf1
Expand options to support 3 possible sources of octave
John Donoghue <john.donoghue@ieee.org>
parents:
diff
changeset
|
2 # See index.html for further information. |
933b99febcf1
Expand options to support 3 possible sources of octave
John Donoghue <john.donoghue@ieee.org>
parents:
diff
changeset
|
3 |
4748
a6b4355efbd6
new organization for release, stable, and default versions of Octave
John W. Eaton <jwe@octave.org>
parents:
4742
diff
changeset
|
4 ## This set of rules is intended for building the latest sources from |
a6b4355efbd6
new organization for release, stable, and default versions of Octave
John W. Eaton <jwe@octave.org>
parents:
4742
diff
changeset
|
5 ## the default branch of the Octave hg archive. The $(PKG)_URL is |
a6b4355efbd6
new organization for release, stable, and default versions of Octave
John W. Eaton <jwe@octave.org>
parents:
4742
diff
changeset
|
6 ## intentionally set to an invalid value. You must create a tar.lz |
a6b4355efbd6
new organization for release, stable, and default versions of Octave
John W. Eaton <jwe@octave.org>
parents:
4742
diff
changeset
|
7 ## file from the default branch of the Octave hg archive separately |
a6b4355efbd6
new organization for release, stable, and default versions of Octave
John W. Eaton <jwe@octave.org>
parents:
4742
diff
changeset
|
8 ## and place it in the directory where mxe-octave package sources are |
a6b4355efbd6
new organization for release, stable, and default versions of Octave
John W. Eaton <jwe@octave.org>
parents:
4742
diff
changeset
|
9 ## found. |
a6b4355efbd6
new organization for release, stable, and default versions of Octave
John W. Eaton <jwe@octave.org>
parents:
4742
diff
changeset
|
10 |
3758
d80808c840aa
omit checksum for default-octave package
John W. Eaton <jwe@octave.org>
parents:
3755
diff
changeset
|
11 ## We omit the package checksum so that we don't have to update it |
4748
a6b4355efbd6
new organization for release, stable, and default versions of Octave
John W. Eaton <jwe@octave.org>
parents:
4742
diff
changeset
|
12 ## each time the tarball changes. |
3758
d80808c840aa
omit checksum for default-octave package
John W. Eaton <jwe@octave.org>
parents:
3755
diff
changeset
|
13 |
3722
26f68f03c4b2
default-octave: fix typo in name of package
John Donoghue <john.donoghue@ieee.org>
parents:
3721
diff
changeset
|
14 PKG := default-octave |
3721
933b99febcf1
Expand options to support 3 possible sources of octave
John Donoghue <john.donoghue@ieee.org>
parents:
diff
changeset
|
15 $(PKG)_IGNORE := |
6519
77267b0c5bc8
octave: Update version numbers after merge in Octave repository.
Markus Mützel <markus.muetzel@gmx.de>
parents:
6396
diff
changeset
|
16 $(PKG)_VERSION := 9.0.0 |
3857
c7505b1c28b1
default-octave.mk: undo previous change; point to current hydra version
John W. Eaton <jwe@octave.org>
parents:
3855
diff
changeset
|
17 $(PKG)_CHECKSUM := ## No checksum |
3721
933b99febcf1
Expand options to support 3 possible sources of octave
John Donoghue <john.donoghue@ieee.org>
parents:
diff
changeset
|
18 $(PKG)_SUBDIR := octave-$($(PKG)_VERSION) |
4748
a6b4355efbd6
new organization for release, stable, and default versions of Octave
John W. Eaton <jwe@octave.org>
parents:
4742
diff
changeset
|
19 $(PKG)_FILE := octave-$($(PKG)_VERSION).tar.lz |
a6b4355efbd6
new organization for release, stable, and default versions of Octave
John W. Eaton <jwe@octave.org>
parents:
4742
diff
changeset
|
20 $(PKG)_URL := http://not.a.valid.url/$($(PKG)_FILE) |
3721
933b99febcf1
Expand options to support 3 possible sources of octave
John Donoghue <john.donoghue@ieee.org>
parents:
diff
changeset
|
21 ifeq ($(USE_SYSTEM_FONTCONFIG),no) |
933b99febcf1
Expand options to support 3 possible sources of octave
John Donoghue <john.donoghue@ieee.org>
parents:
diff
changeset
|
22 $(PKG)_FONTCONFIG := fontconfig |
933b99febcf1
Expand options to support 3 possible sources of octave
John Donoghue <john.donoghue@ieee.org>
parents:
diff
changeset
|
23 endif |
6518
a8cdb57c6ea6
default-octave: Depend on pcre2 instead of pcre (bug #61542).
Markus Mützel <markus.muetzel@gmx.de>
parents:
6515
diff
changeset
|
24 $(PKG)_DEPS := blas arpack curl epstool fftw fltk $($(PKG)_FONTCONFIG) ghostscript gl2ps glpk gnuplot graphicsmagick hdf5 lapack libsndfile pcre2 portaudio pstoedit qhull qrupdate qscintilla rapidjson readline sundials-ida suitesparse texinfo zlib |
4222
44b1a9b2193e
qt5: add initial qt5 to mxe-octave, based on mxe.cc
John D
parents:
4221
diff
changeset
|
25 |
6837
6adeb47401d6
Add qt6 usage to mxe-octave
John Donoghue <john.donoghue@ieee.org>
parents:
6520
diff
changeset
|
26 ifeq ($(ENABLE_QT),4) |
6adeb47401d6
Add qt6 usage to mxe-octave
John Donoghue <john.donoghue@ieee.org>
parents:
6520
diff
changeset
|
27 $(PKG)_DEPS += qt |
6adeb47401d6
Add qt6 usage to mxe-octave
John Donoghue <john.donoghue@ieee.org>
parents:
6520
diff
changeset
|
28 endif |
6adeb47401d6
Add qt6 usage to mxe-octave
John Donoghue <john.donoghue@ieee.org>
parents:
6520
diff
changeset
|
29 ifeq ($(ENABLE_QT),5) |
4222
44b1a9b2193e
qt5: add initial qt5 to mxe-octave, based on mxe.cc
John D
parents:
4221
diff
changeset
|
30 $(PKG)_DEPS += qt5 |
6837
6adeb47401d6
Add qt6 usage to mxe-octave
John Donoghue <john.donoghue@ieee.org>
parents:
6520
diff
changeset
|
31 endif |
6adeb47401d6
Add qt6 usage to mxe-octave
John Donoghue <john.donoghue@ieee.org>
parents:
6520
diff
changeset
|
32 ifeq ($(ENABLE_QT),6) |
6adeb47401d6
Add qt6 usage to mxe-octave
John Donoghue <john.donoghue@ieee.org>
parents:
6520
diff
changeset
|
33 $(PKG)_DEPS += qt6 |
4222
44b1a9b2193e
qt5: add initial qt5 to mxe-octave, based on mxe.cc
John D
parents:
4221
diff
changeset
|
34 endif |
44b1a9b2193e
qt5: add initial qt5 to mxe-octave, based on mxe.cc
John D
parents:
4221
diff
changeset
|
35 |
4779
2612d718f3a5
Only conditionally depend on mesa.
Markus Mützel <markus.muetzel@gmx.de>
parents:
4748
diff
changeset
|
36 ifeq ($(USE_SYSTEM_OPENGL),no) |
2612d718f3a5
Only conditionally depend on mesa.
Markus Mützel <markus.muetzel@gmx.de>
parents:
4748
diff
changeset
|
37 $(PKG)_DEPS += mesa |
2612d718f3a5
Only conditionally depend on mesa.
Markus Mützel <markus.muetzel@gmx.de>
parents:
4748
diff
changeset
|
38 endif |
2612d718f3a5
Only conditionally depend on mesa.
Markus Mützel <markus.muetzel@gmx.de>
parents:
4748
diff
changeset
|
39 |
4742
f54322738d5f
default-octave: use configure option --with-blas-"-lblas -lxerbla" for Windows builds
John W. Eaton <jwe@octave.org>
parents:
4734
diff
changeset
|
40 ifeq ($(MXE_WINDOWS_BUILD),yes) |
f54322738d5f
default-octave: use configure option --with-blas-"-lblas -lxerbla" for Windows builds
John W. Eaton <jwe@octave.org>
parents:
4734
diff
changeset
|
41 $(PKG)_WITH_BLAS_CONFIGURE_OPTIONS := --with-blas="-lblas -lxerbla" |
f54322738d5f
default-octave: use configure option --with-blas-"-lblas -lxerbla" for Windows builds
John W. Eaton <jwe@octave.org>
parents:
4734
diff
changeset
|
42 else |
4800
ebb6dbbb8b3f
synchronize rules for release, stable, and default Octave builds
John W. Eaton <jwe@octave.org>
parents:
4779
diff
changeset
|
43 $(PKG)_WITH_BLAS_CONFIGURE_OPTIONS := --with-blas="-lblas" |
3827
02990526ae69
allow building of X11 libs to be disabled
John W. Eaton <jwe@octave.org>
parents:
3807
diff
changeset
|
44 ifeq ($(USE_SYSTEM_X11_LIBS),no) |
02990526ae69
allow building of X11 libs to be disabled
John W. Eaton <jwe@octave.org>
parents:
3807
diff
changeset
|
45 $(PKG)_DEPS += x11 xext |
02990526ae69
allow building of X11 libs to be disabled
John W. Eaton <jwe@octave.org>
parents:
3807
diff
changeset
|
46 endif |
3743
4f58c4b4dee0
build libX11 and dependencies
John W. Eaton <jwe@octave.org>
parents:
3722
diff
changeset
|
47 endif |
4189 | 48 |
49 ifeq ($(MXE_SYSTEM),mingw) | |
50 ifeq ($(USE_SYSTEM_GCC),no) | |
51 $(PKG)_DEPS += libgomp | |
52 endif | |
53 endif | |
54 | |
3721
933b99febcf1
Expand options to support 3 possible sources of octave
John Donoghue <john.donoghue@ieee.org>
parents:
diff
changeset
|
55 ifeq ($(ENABLE_JIT),yes) |
933b99febcf1
Expand options to support 3 possible sources of octave
John Donoghue <john.donoghue@ieee.org>
parents:
diff
changeset
|
56 $(PKG)_DEPS += llvm |
933b99febcf1
Expand options to support 3 possible sources of octave
John Donoghue <john.donoghue@ieee.org>
parents:
diff
changeset
|
57 $(PKG)_ENABLE_JIT_CONFIGURE_OPTIONS := --enable-jit |
933b99febcf1
Expand options to support 3 possible sources of octave
John Donoghue <john.donoghue@ieee.org>
parents:
diff
changeset
|
58 else |
933b99febcf1
Expand options to support 3 possible sources of octave
John Donoghue <john.donoghue@ieee.org>
parents:
diff
changeset
|
59 $(PKG)_ENABLE_JIT_CONFIGURE_OPTIONS := --disable-jit |
933b99febcf1
Expand options to support 3 possible sources of octave
John Donoghue <john.donoghue@ieee.org>
parents:
diff
changeset
|
60 endif |
933b99febcf1
Expand options to support 3 possible sources of octave
John Donoghue <john.donoghue@ieee.org>
parents:
diff
changeset
|
61 |
933b99febcf1
Expand options to support 3 possible sources of octave
John Donoghue <john.donoghue@ieee.org>
parents:
diff
changeset
|
62 ifeq ($(ENABLE_JAVA),no) |
933b99febcf1
Expand options to support 3 possible sources of octave
John Donoghue <john.donoghue@ieee.org>
parents:
diff
changeset
|
63 $(PKG)_ENABLE_JAVA_CONFIGURE_OPTIONS := --disable-java |
933b99febcf1
Expand options to support 3 possible sources of octave
John Donoghue <john.donoghue@ieee.org>
parents:
diff
changeset
|
64 else |
933b99febcf1
Expand options to support 3 possible sources of octave
John Donoghue <john.donoghue@ieee.org>
parents:
diff
changeset
|
65 ifeq ($(MXE_SYSTEM),mingw) |
933b99febcf1
Expand options to support 3 possible sources of octave
John Donoghue <john.donoghue@ieee.org>
parents:
diff
changeset
|
66 ifeq ($(MXE_NATIVE_BUILD),no) |
933b99febcf1
Expand options to support 3 possible sources of octave
John Donoghue <john.donoghue@ieee.org>
parents:
diff
changeset
|
67 $(PKG)_ENABLE_JAVA_CONFIGURE_OPTIONS := \ |
933b99febcf1
Expand options to support 3 possible sources of octave
John Donoghue <john.donoghue@ieee.org>
parents:
diff
changeset
|
68 --with-java-includedir="$(HOST_INCDIR)/java" |
933b99febcf1
Expand options to support 3 possible sources of octave
John Donoghue <john.donoghue@ieee.org>
parents:
diff
changeset
|
69 endif |
933b99febcf1
Expand options to support 3 possible sources of octave
John Donoghue <john.donoghue@ieee.org>
parents:
diff
changeset
|
70 endif |
933b99febcf1
Expand options to support 3 possible sources of octave
John Donoghue <john.donoghue@ieee.org>
parents:
diff
changeset
|
71 endif |
933b99febcf1
Expand options to support 3 possible sources of octave
John Donoghue <john.donoghue@ieee.org>
parents:
diff
changeset
|
72 |
3849
e50c777c9a97
explicitly set MOC, UIC, RCC, and LRELEASE for Octave configure commands
John W. Eaton <jwe@octave.org>
parents:
3836
diff
changeset
|
73 ## If we allow the system Qt libraries to be used, then these |
e50c777c9a97
explicitly set MOC, UIC, RCC, and LRELEASE for Octave configure commands
John W. Eaton <jwe@octave.org>
parents:
3836
diff
changeset
|
74 ## won't make sense. |
e50c777c9a97
explicitly set MOC, UIC, RCC, and LRELEASE for Octave configure commands
John W. Eaton <jwe@octave.org>
parents:
3836
diff
changeset
|
75 $(PKG)_QT_CONFIGURE_OPTIONS := \ |
4352
bf358512f67e
Correctly locate cross-compiler versions of Qt tools (bug #50258).
Rik <rik@octave.org>
parents:
4339
diff
changeset
|
76 MOC_QTVER=$(MXE_MOC) \ |
bf358512f67e
Correctly locate cross-compiler versions of Qt tools (bug #50258).
Rik <rik@octave.org>
parents:
4339
diff
changeset
|
77 UIC_QTVER=$(MXE_UIC) \ |
bf358512f67e
Correctly locate cross-compiler versions of Qt tools (bug #50258).
Rik <rik@octave.org>
parents:
4339
diff
changeset
|
78 RCC_QTVER=$(MXE_RCC) \ |
bf358512f67e
Correctly locate cross-compiler versions of Qt tools (bug #50258).
Rik <rik@octave.org>
parents:
4339
diff
changeset
|
79 LRELEASE_QTVER=$(MXE_LRELEASE) |
3849
e50c777c9a97
explicitly set MOC, UIC, RCC, and LRELEASE for Octave configure commands
John W. Eaton <jwe@octave.org>
parents:
3836
diff
changeset
|
80 |
6837
6adeb47401d6
Add qt6 usage to mxe-octave
John Donoghue <john.donoghue@ieee.org>
parents:
6520
diff
changeset
|
81 ifeq ($(ENABLE_QT),4) |
6adeb47401d6
Add qt6 usage to mxe-octave
John Donoghue <john.donoghue@ieee.org>
parents:
6520
diff
changeset
|
82 $(PKG)_PKG_CONFIG_PATH := "$(HOST_LIBDIR)/pkgconfig" |
6adeb47401d6
Add qt6 usage to mxe-octave
John Donoghue <john.donoghue@ieee.org>
parents:
6520
diff
changeset
|
83 $(PKG)_QTDIR := $(HOST_PREFIX) |
6adeb47401d6
Add qt6 usage to mxe-octave
John Donoghue <john.donoghue@ieee.org>
parents:
6520
diff
changeset
|
84 $(PKG)_QT_CONFIGURE_OPTIONS += octave_cv_lib_qscintilla="-lqscintilla2_qt4" |
6adeb47401d6
Add qt6 usage to mxe-octave
John Donoghue <john.donoghue@ieee.org>
parents:
6520
diff
changeset
|
85 endif |
6adeb47401d6
Add qt6 usage to mxe-octave
John Donoghue <john.donoghue@ieee.org>
parents:
6520
diff
changeset
|
86 ifeq ($(ENABLE_QT),5) |
4222
44b1a9b2193e
qt5: add initial qt5 to mxe-octave, based on mxe.cc
John D
parents:
4221
diff
changeset
|
87 #$(PKG)_PKG_CONFIG_PATH := "$(HOST_LIBDIR)/pkgconfig" |
44b1a9b2193e
qt5: add initial qt5 to mxe-octave, based on mxe.cc
John D
parents:
4221
diff
changeset
|
88 $(PKG)_PKG_CONFIG_PATH := "$(HOST_PREFIX)/qt5/lib/pkgconfig:$(HOST_LIBDIR)/pkgconfig" |
44b1a9b2193e
qt5: add initial qt5 to mxe-octave, based on mxe.cc
John D
parents:
4221
diff
changeset
|
89 $(PKG)_QTDIR := $(HOST_PREFIX)/qt5 |
4502
ea11b18f72ae
default-octave: Set Qscintilla library name for configure.
John W. Eaton <jwe@octave.org>
parents:
4488
diff
changeset
|
90 $(PKG)_QT_CONFIGURE_OPTIONS += octave_cv_lib_qscintilla="-lqscintilla2_qt5" |
4222
44b1a9b2193e
qt5: add initial qt5 to mxe-octave, based on mxe.cc
John D
parents:
4221
diff
changeset
|
91 endif |
6837
6adeb47401d6
Add qt6 usage to mxe-octave
John Donoghue <john.donoghue@ieee.org>
parents:
6520
diff
changeset
|
92 ifeq ($(ENABLE_QT),6) |
6adeb47401d6
Add qt6 usage to mxe-octave
John Donoghue <john.donoghue@ieee.org>
parents:
6520
diff
changeset
|
93 $(PKG)_PKG_CONFIG_PATH := "$(HOST_PREFIX)/qt6/lib/pkgconfig:$(HOST_LIBDIR)/pkgconfig" |
6adeb47401d6
Add qt6 usage to mxe-octave
John Donoghue <john.donoghue@ieee.org>
parents:
6520
diff
changeset
|
94 $(PKG)_QTDIR := $(HOST_PREFIX)/qt6 |
6adeb47401d6
Add qt6 usage to mxe-octave
John Donoghue <john.donoghue@ieee.org>
parents:
6520
diff
changeset
|
95 $(PKG)_QT_CONFIGURE_OPTIONS += octave_cv_lib_qscintilla="-lqscintilla2_qt6" |
6adeb47401d6
Add qt6 usage to mxe-octave
John Donoghue <john.donoghue@ieee.org>
parents:
6520
diff
changeset
|
96 endif |
4222
44b1a9b2193e
qt5: add initial qt5 to mxe-octave, based on mxe.cc
John D
parents:
4221
diff
changeset
|
97 |
3721
933b99febcf1
Expand options to support 3 possible sources of octave
John Donoghue <john.donoghue@ieee.org>
parents:
diff
changeset
|
98 ifneq ($(ENABLE_DOCS),yes) |
933b99febcf1
Expand options to support 3 possible sources of octave
John Donoghue <john.donoghue@ieee.org>
parents:
diff
changeset
|
99 $(PKG)_ENABLE_DOCS_CONFIGURE_OPTIONS := --disable-docs |
933b99febcf1
Expand options to support 3 possible sources of octave
John Donoghue <john.donoghue@ieee.org>
parents:
diff
changeset
|
100 endif |
933b99febcf1
Expand options to support 3 possible sources of octave
John Donoghue <john.donoghue@ieee.org>
parents:
diff
changeset
|
101 |
933b99febcf1
Expand options to support 3 possible sources of octave
John Donoghue <john.donoghue@ieee.org>
parents:
diff
changeset
|
102 ifeq ($(MXE_NATIVE_BUILD),yes) |
933b99febcf1
Expand options to support 3 possible sources of octave
John Donoghue <john.donoghue@ieee.org>
parents:
diff
changeset
|
103 $(PKG)_CONFIGURE_ENV := LD_LIBRARY_PATH=$(LD_LIBRARY_PATH) |
933b99febcf1
Expand options to support 3 possible sources of octave
John Donoghue <john.donoghue@ieee.org>
parents:
diff
changeset
|
104 ifeq ($(ENABLE_64),yes) |
4339
07671a76e291
qhull: enable qhull when compiling for 64bit (Bug #50069)
John D
parents:
4311
diff
changeset
|
105 $(PKG)_ENABLE_64_CONFIGURE_OPTIONS := --enable-64 |
4311
8528b1ccd529
default-octave: fix F77 integer size configuration
John W. Eaton <jwe@octave.org>
parents:
4304
diff
changeset
|
106 else |
8528b1ccd529
default-octave: fix F77 integer size configuration
John W. Eaton <jwe@octave.org>
parents:
4304
diff
changeset
|
107 $(PKG)_ENABLE_64_CONFIGURE_OPTIONS := --disable-64 |
3721
933b99febcf1
Expand options to support 3 possible sources of octave
John Donoghue <john.donoghue@ieee.org>
parents:
diff
changeset
|
108 endif |
933b99febcf1
Expand options to support 3 possible sources of octave
John Donoghue <john.donoghue@ieee.org>
parents:
diff
changeset
|
109 else |
933b99febcf1
Expand options to support 3 possible sources of octave
John Donoghue <john.donoghue@ieee.org>
parents:
diff
changeset
|
110 ifeq ($(MXE_SYSTEM),mingw) |
933b99febcf1
Expand options to support 3 possible sources of octave
John Donoghue <john.donoghue@ieee.org>
parents:
diff
changeset
|
111 $(PKG)_CROSS_CONFIG_OPTIONS := \ |
933b99febcf1
Expand options to support 3 possible sources of octave
John Donoghue <john.donoghue@ieee.org>
parents:
diff
changeset
|
112 FLTK_CONFIG='$(BUILD_TOOLS_PREFIX)/bin/$(MXE_TOOL_PREFIX)fltk-config' \ |
4407
e9b032b9340a
octave: cross-compile gnulib time functions correctly (bug #51351)
Mike Miller <mtmiller@octave.org>
parents:
4352
diff
changeset
|
113 gl_cv_func_gettimeofday_clobber=no \ |
e9b032b9340a
octave: cross-compile gnulib time functions correctly (bug #51351)
Mike Miller <mtmiller@octave.org>
parents:
4352
diff
changeset
|
114 gl_cv_func_tzset_clobber=no |
3721
933b99febcf1
Expand options to support 3 possible sources of octave
John Donoghue <john.donoghue@ieee.org>
parents:
diff
changeset
|
115 ifeq ($(ENABLE_64),yes) |
4339
07671a76e291
qhull: enable qhull when compiling for 64bit (Bug #50069)
John D
parents:
4311
diff
changeset
|
116 $(PKG)_ENABLE_64_CONFIGURE_OPTIONS := --enable-64 |
4311
8528b1ccd529
default-octave: fix F77 integer size configuration
John W. Eaton <jwe@octave.org>
parents:
4304
diff
changeset
|
117 else |
8528b1ccd529
default-octave: fix F77 integer size configuration
John W. Eaton <jwe@octave.org>
parents:
4304
diff
changeset
|
118 $(PKG)_ENABLE_64_CONFIGURE_OPTIONS := --disable-64 |
3721
933b99febcf1
Expand options to support 3 possible sources of octave
John Donoghue <john.donoghue@ieee.org>
parents:
diff
changeset
|
119 endif |
933b99febcf1
Expand options to support 3 possible sources of octave
John Donoghue <john.donoghue@ieee.org>
parents:
diff
changeset
|
120 endif |
933b99febcf1
Expand options to support 3 possible sources of octave
John Donoghue <john.donoghue@ieee.org>
parents:
diff
changeset
|
121 endif |
933b99febcf1
Expand options to support 3 possible sources of octave
John Donoghue <john.donoghue@ieee.org>
parents:
diff
changeset
|
122 |
4311
8528b1ccd529
default-octave: fix F77 integer size configuration
John W. Eaton <jwe@octave.org>
parents:
4304
diff
changeset
|
123 ifeq ($(ENABLE_FORTRAN_INT64),yes) |
6299
b8d72e61d379
default-octave: Rename configure variable (bug #62715).
Markus Mützel <markus.muetzel@gmx.de>
parents:
5974
diff
changeset
|
124 $(PKG)_ENABLE_FORTRAN_INT64_CONFIGURE_OPTIONS := F77_INTEGER_8_FLAG=-fdefault-integer-8 ax_blas_f77_func_ok=yes ax_cv_blas_integer_size=8 octave_cv_sizeof_fortran_integer=8 |
4311
8528b1ccd529
default-octave: fix F77 integer size configuration
John W. Eaton <jwe@octave.org>
parents:
4304
diff
changeset
|
125 else |
6299
b8d72e61d379
default-octave: Rename configure variable (bug #62715).
Markus Mützel <markus.muetzel@gmx.de>
parents:
5974
diff
changeset
|
126 $(PKG)_ENABLE_FORTRAN_INT64_CONFIGURE_OPTIONS := ax_blas_f77_func_ok=yes ax_cv_blas_integer_size=4 octave_cv_sizeof_fortran_integer=4 |
4311
8528b1ccd529
default-octave: fix F77 integer size configuration
John W. Eaton <jwe@octave.org>
parents:
4304
diff
changeset
|
127 endif |
8528b1ccd529
default-octave: fix F77 integer size configuration
John W. Eaton <jwe@octave.org>
parents:
4304
diff
changeset
|
128 |
5652
eccf230ad6c1
default-octave.mk: Add double-quotes only for mingw hosts (bug #59923).
Markus Mützel <markus.muetzel@gmx.de>
parents:
5645
diff
changeset
|
129 ifeq ($(MXE_SYSTEM),mingw) |
eccf230ad6c1
default-octave.mk: Add double-quotes only for mingw hosts (bug #59923).
Markus Mützel <markus.muetzel@gmx.de>
parents:
5645
diff
changeset
|
130 # This is very similar to CONFIGURE_CPPFLAGS and CONFIGURE_LDFLAGS but with |
eccf230ad6c1
default-octave.mk: Add double-quotes only for mingw hosts (bug #59923).
Markus Mützel <markus.muetzel@gmx.de>
parents:
5645
diff
changeset
|
131 # double quoted paths. |
eccf230ad6c1
default-octave.mk: Add double-quotes only for mingw hosts (bug #59923).
Markus Mützel <markus.muetzel@gmx.de>
parents:
5645
diff
changeset
|
132 $(PKG)_CONFIGURE_CPPFLAGS := CPPFLAGS='-I"$(HOST_PREFIX)/include"' |
eccf230ad6c1
default-octave.mk: Add double-quotes only for mingw hosts (bug #59923).
Markus Mützel <markus.muetzel@gmx.de>
parents:
5645
diff
changeset
|
133 ifeq ($(MXE_USE_LIB64_DIRECTORY),yes) |
eccf230ad6c1
default-octave.mk: Add double-quotes only for mingw hosts (bug #59923).
Markus Mützel <markus.muetzel@gmx.de>
parents:
5645
diff
changeset
|
134 $(PKG)_CONFIGURE_LDFLAGS := LDFLAGS='-L"$(HOST_PREFIX)/lib" -L"$(HOST_PREFIX)/lib64"' |
eccf230ad6c1
default-octave.mk: Add double-quotes only for mingw hosts (bug #59923).
Markus Mützel <markus.muetzel@gmx.de>
parents:
5645
diff
changeset
|
135 else |
eccf230ad6c1
default-octave.mk: Add double-quotes only for mingw hosts (bug #59923).
Markus Mützel <markus.muetzel@gmx.de>
parents:
5645
diff
changeset
|
136 $(PKG)_CONFIGURE_LDFLAGS := LDFLAGS='-L"$(HOST_PREFIX)/lib"' |
eccf230ad6c1
default-octave.mk: Add double-quotes only for mingw hosts (bug #59923).
Markus Mützel <markus.muetzel@gmx.de>
parents:
5645
diff
changeset
|
137 endif |
5645
8645df9cd530
default-octave.mk: Double-quote paths in configure variables (bug #59923).
Markus Mützel <markus.muetzel@gmx.de>
parents:
5566
diff
changeset
|
138 else |
5652
eccf230ad6c1
default-octave.mk: Add double-quotes only for mingw hosts (bug #59923).
Markus Mützel <markus.muetzel@gmx.de>
parents:
5645
diff
changeset
|
139 $(PKG)_CONFIGURE_CPPFLAGS := $(CONFIGURE_CPPFLAGS) |
eccf230ad6c1
default-octave.mk: Add double-quotes only for mingw hosts (bug #59923).
Markus Mützel <markus.muetzel@gmx.de>
parents:
5645
diff
changeset
|
140 $(PKG)_CONFIGURE_LDFLAGS := $(CONFIGURE_LDFLAGS) |
5645
8645df9cd530
default-octave.mk: Double-quote paths in configure variables (bug #59923).
Markus Mützel <markus.muetzel@gmx.de>
parents:
5566
diff
changeset
|
141 endif |
8645df9cd530
default-octave.mk: Double-quote paths in configure variables (bug #59923).
Markus Mützel <markus.muetzel@gmx.de>
parents:
5566
diff
changeset
|
142 |
5652
eccf230ad6c1
default-octave.mk: Add double-quotes only for mingw hosts (bug #59923).
Markus Mützel <markus.muetzel@gmx.de>
parents:
5645
diff
changeset
|
143 |
3721
933b99febcf1
Expand options to support 3 possible sources of octave
John Donoghue <john.donoghue@ieee.org>
parents:
diff
changeset
|
144 ifeq ($(MXE_SYSTEM),msvc) |
933b99febcf1
Expand options to support 3 possible sources of octave
John Donoghue <john.donoghue@ieee.org>
parents:
diff
changeset
|
145 $(PKG)_PREFIX := '$(HOST_PREFIX)/local/$($(PKG)_SUBDIR)' |
933b99febcf1
Expand options to support 3 possible sources of octave
John Donoghue <john.donoghue@ieee.org>
parents:
diff
changeset
|
146 # - Enable atomic refcount (required for QtHandles) |
933b99febcf1
Expand options to support 3 possible sources of octave
John Donoghue <john.donoghue@ieee.org>
parents:
diff
changeset
|
147 # - Skip configure test for pow and sqrt, MSVC fails to compile them |
933b99febcf1
Expand options to support 3 possible sources of octave
John Donoghue <john.donoghue@ieee.org>
parents:
diff
changeset
|
148 # because it uses intrinsics (with -O2 flag) and bump on the fake |
933b99febcf1
Expand options to support 3 possible sources of octave
John Donoghue <john.donoghue@ieee.org>
parents:
diff
changeset
|
149 # "char FUNC()" forward declaration. |
933b99febcf1
Expand options to support 3 possible sources of octave
John Donoghue <john.donoghue@ieee.org>
parents:
diff
changeset
|
150 # - Override CFLAGS and CXXFLAGS to disable some warnings. |
933b99febcf1
Expand options to support 3 possible sources of octave
John Donoghue <john.donoghue@ieee.org>
parents:
diff
changeset
|
151 $(PKG)_EXTRA_CONFIGURE_OPTIONS := \ |
933b99febcf1
Expand options to support 3 possible sources of octave
John Donoghue <john.donoghue@ieee.org>
parents:
diff
changeset
|
152 --enable-atomic-refcount \ |
933b99febcf1
Expand options to support 3 possible sources of octave
John Donoghue <john.donoghue@ieee.org>
parents:
diff
changeset
|
153 ac_cv_func_pow=yes ac_cv_func_sqrt=yes \ |
933b99febcf1
Expand options to support 3 possible sources of octave
John Donoghue <john.donoghue@ieee.org>
parents:
diff
changeset
|
154 CFLAGS='-O2 -wd4244 -wd4003 -wd4005 -wd4068' \ |
933b99febcf1
Expand options to support 3 possible sources of octave
John Donoghue <john.donoghue@ieee.org>
parents:
diff
changeset
|
155 CXXFLAGS='-O2 -wd4244 -wd4003 -wd4005 -wd4068' |
933b99febcf1
Expand options to support 3 possible sources of octave
John Donoghue <john.donoghue@ieee.org>
parents:
diff
changeset
|
156 else |
933b99febcf1
Expand options to support 3 possible sources of octave
John Donoghue <john.donoghue@ieee.org>
parents:
diff
changeset
|
157 $(PKG)_PREFIX := '$(HOST_PREFIX)' |
5652
eccf230ad6c1
default-octave.mk: Add double-quotes only for mingw hosts (bug #59923).
Markus Mützel <markus.muetzel@gmx.de>
parents:
5645
diff
changeset
|
158 ifeq ($(MXE_SYSTEM),mingw) |
eccf230ad6c1
default-octave.mk: Add double-quotes only for mingw hosts (bug #59923).
Markus Mützel <markus.muetzel@gmx.de>
parents:
5645
diff
changeset
|
159 $(PKG)_EXTRA_CONFIGURE_OPTIONS := \ |
eccf230ad6c1
default-octave.mk: Add double-quotes only for mingw hosts (bug #59923).
Markus Mützel <markus.muetzel@gmx.de>
parents:
5645
diff
changeset
|
160 LDFLAGS='-Wl,-rpath-link,"$(HOST_LIBDIR)" -L"$(HOST_LIBDIR)" -L"$($(PKG)_QTDIR)/lib"' |
eccf230ad6c1
default-octave.mk: Add double-quotes only for mingw hosts (bug #59923).
Markus Mützel <markus.muetzel@gmx.de>
parents:
5645
diff
changeset
|
161 else |
eccf230ad6c1
default-octave.mk: Add double-quotes only for mingw hosts (bug #59923).
Markus Mützel <markus.muetzel@gmx.de>
parents:
5645
diff
changeset
|
162 $(PKG)_EXTRA_CONFIGURE_OPTIONS := \ |
eccf230ad6c1
default-octave.mk: Add double-quotes only for mingw hosts (bug #59923).
Markus Mützel <markus.muetzel@gmx.de>
parents:
5645
diff
changeset
|
163 LDFLAGS='-Wl,-rpath-link,$(HOST_LIBDIR) -L$(HOST_LIBDIR) -L$($(PKG)_QTDIR)/lib' |
eccf230ad6c1
default-octave.mk: Add double-quotes only for mingw hosts (bug #59923).
Markus Mützel <markus.muetzel@gmx.de>
parents:
5645
diff
changeset
|
164 endif |
3721
933b99febcf1
Expand options to support 3 possible sources of octave
John Donoghue <john.donoghue@ieee.org>
parents:
diff
changeset
|
165 endif |
933b99febcf1
Expand options to support 3 possible sources of octave
John Donoghue <john.donoghue@ieee.org>
parents:
diff
changeset
|
166 |
933b99febcf1
Expand options to support 3 possible sources of octave
John Donoghue <john.donoghue@ieee.org>
parents:
diff
changeset
|
167 ifeq ($(MXE_SYSTEM),mingw) |
933b99febcf1
Expand options to support 3 possible sources of octave
John Donoghue <john.donoghue@ieee.org>
parents:
diff
changeset
|
168 $(PKG)_EXTRA_CONFIGURE_OPTIONS += --with-x=no |
933b99febcf1
Expand options to support 3 possible sources of octave
John Donoghue <john.donoghue@ieee.org>
parents:
diff
changeset
|
169 endif |
933b99febcf1
Expand options to support 3 possible sources of octave
John Donoghue <john.donoghue@ieee.org>
parents:
diff
changeset
|
170 |
3854 | 171 # if want binary packages and are cross compiling, then we need cross tools enabled |
3853
58935b4de51f
Enable build cross mkoctfile and compile of-XXXX package files
John Donoghue
parents:
3852
diff
changeset
|
172 ifeq ($(ENABLE_BINARY_PACKAGES),yes) |
58935b4de51f
Enable build cross mkoctfile and compile of-XXXX package files
John Donoghue
parents:
3852
diff
changeset
|
173 ifeq ($(MXE_NATIVE_BUILD),no) |
3854 | 174 $(PKG)_EXTRA_CONFIGURE_OPTIONS += --enable-cross-tools |
3853
58935b4de51f
Enable build cross mkoctfile and compile of-XXXX package files
John Donoghue
parents:
3852
diff
changeset
|
175 endif |
58935b4de51f
Enable build cross mkoctfile and compile of-XXXX package files
John Donoghue
parents:
3852
diff
changeset
|
176 endif |
58935b4de51f
Enable build cross mkoctfile and compile of-XXXX package files
John Donoghue
parents:
3852
diff
changeset
|
177 |
3721
933b99febcf1
Expand options to support 3 possible sources of octave
John Donoghue <john.donoghue@ieee.org>
parents:
diff
changeset
|
178 define $(PKG)_UPDATE |
933b99febcf1
Expand options to support 3 possible sources of octave
John Donoghue <john.donoghue@ieee.org>
parents:
diff
changeset
|
179 echo 'Warning: Updates are temporarily disabled for package octave.' >&2; |
933b99febcf1
Expand options to support 3 possible sources of octave
John Donoghue <john.donoghue@ieee.org>
parents:
diff
changeset
|
180 echo $($(PKG)_VERSION) |
933b99febcf1
Expand options to support 3 possible sources of octave
John Donoghue <john.donoghue@ieee.org>
parents:
diff
changeset
|
181 endef |
933b99febcf1
Expand options to support 3 possible sources of octave
John Donoghue <john.donoghue@ieee.org>
parents:
diff
changeset
|
182 |
933b99febcf1
Expand options to support 3 possible sources of octave
John Donoghue <john.donoghue@ieee.org>
parents:
diff
changeset
|
183 define $(PKG)_BUILD |
933b99febcf1
Expand options to support 3 possible sources of octave
John Donoghue <john.donoghue@ieee.org>
parents:
diff
changeset
|
184 # jni install |
933b99febcf1
Expand options to support 3 possible sources of octave
John Donoghue <john.donoghue@ieee.org>
parents:
diff
changeset
|
185 if [ "$(MXE_SYSTEM)" == "mingw" ] \ |
933b99febcf1
Expand options to support 3 possible sources of octave
John Donoghue <john.donoghue@ieee.org>
parents:
diff
changeset
|
186 && [ "$(MXE_NATIVE_BUILD)" == "no" ] \ |
933b99febcf1
Expand options to support 3 possible sources of octave
John Donoghue <john.donoghue@ieee.org>
parents:
diff
changeset
|
187 && [ "$(ENABLE_JAVA)" == "yes" ]; then \ |
933b99febcf1
Expand options to support 3 possible sources of octave
John Donoghue <john.donoghue@ieee.org>
parents:
diff
changeset
|
188 if [ ! -f $(HOST_INCDIR)/java/jni.h ]; then \ |
933b99febcf1
Expand options to support 3 possible sources of octave
John Donoghue <john.donoghue@ieee.org>
parents:
diff
changeset
|
189 mkdir -p '$(HOST_INCDIR)/java'; \ |
5897
8c1cad878da2
Download Java headers from GitHub.
Markus Mützel <markus.muetzel@gmx.de>
parents:
5750
diff
changeset
|
190 $(WGET) -N https://raw.github.com/openjdk/jdk/7b2e99178f7cf41ecd86b2ccfba38ea653e815e7/jdk/src/share/javavm/export/jni.h \ |
3721
933b99febcf1
Expand options to support 3 possible sources of octave
John Donoghue <john.donoghue@ieee.org>
parents:
diff
changeset
|
191 -O $(HOST_INCDIR)/java/jni.h; \ |
933b99febcf1
Expand options to support 3 possible sources of octave
John Donoghue <john.donoghue@ieee.org>
parents:
diff
changeset
|
192 fi; \ |
933b99febcf1
Expand options to support 3 possible sources of octave
John Donoghue <john.donoghue@ieee.org>
parents:
diff
changeset
|
193 if [ ! -f $(HOST_INCDIR)/java/win32/jni_md.h ]; then \ |
933b99febcf1
Expand options to support 3 possible sources of octave
John Donoghue <john.donoghue@ieee.org>
parents:
diff
changeset
|
194 mkdir -p '$(HOST_INCDIR)/java/win32'; \ |
5897
8c1cad878da2
Download Java headers from GitHub.
Markus Mützel <markus.muetzel@gmx.de>
parents:
5750
diff
changeset
|
195 $(WGET) -N https://raw.github.com/openjdk/jdk/7b2e99178f7cf41ecd86b2ccfba38ea653e815e7/jdk/src/windows/javavm/export/jni_md.h \ |
3721
933b99febcf1
Expand options to support 3 possible sources of octave
John Donoghue <john.donoghue@ieee.org>
parents:
diff
changeset
|
196 -O $(HOST_INCDIR)/java/win32/jni_md.h; \ |
933b99febcf1
Expand options to support 3 possible sources of octave
John Donoghue <john.donoghue@ieee.org>
parents:
diff
changeset
|
197 fi; \ |
933b99febcf1
Expand options to support 3 possible sources of octave
John Donoghue <john.donoghue@ieee.org>
parents:
diff
changeset
|
198 fi |
933b99febcf1
Expand options to support 3 possible sources of octave
John Donoghue <john.donoghue@ieee.org>
parents:
diff
changeset
|
199 |
933b99febcf1
Expand options to support 3 possible sources of octave
John Donoghue <john.donoghue@ieee.org>
parents:
diff
changeset
|
200 mkdir '$(1)/.build' |
933b99febcf1
Expand options to support 3 possible sources of octave
John Donoghue <john.donoghue@ieee.org>
parents:
diff
changeset
|
201 cd '$(1)/.build' && $($(PKG)_CONFIGURE_ENV) '$(1)/configure' \ |
5645
8645df9cd530
default-octave.mk: Double-quote paths in configure variables (bug #59923).
Markus Mützel <markus.muetzel@gmx.de>
parents:
5566
diff
changeset
|
202 $($(PKG)_CONFIGURE_CPPFLAGS) \ |
8645df9cd530
default-octave.mk: Double-quote paths in configure variables (bug #59923).
Markus Mützel <markus.muetzel@gmx.de>
parents:
5566
diff
changeset
|
203 $($(PKG)_CONFIGURE_LDFLAGS) \ |
3721
933b99febcf1
Expand options to support 3 possible sources of octave
John Donoghue <john.donoghue@ieee.org>
parents:
diff
changeset
|
204 $(HOST_AND_BUILD_CONFIGURE_OPTIONS) \ |
933b99febcf1
Expand options to support 3 possible sources of octave
John Donoghue <john.donoghue@ieee.org>
parents:
diff
changeset
|
205 --prefix='$($(PKG)_PREFIX)' \ |
3807
c6dd0518f31b
use --disable-silent-rules for Octave builds
John W. Eaton <jwe@octave.org>
parents:
3791
diff
changeset
|
206 --disable-silent-rules \ |
3852
a781fda0a9c6
octave: enable install of build log (Bug #44575)
John Donoghue
parents:
3851
diff
changeset
|
207 --enable-install-build-logs \ |
5750
04228fb2b15a
Octave: enable "relocate-all" (bug #60413)
Markus Mützel <markus.muetzel@gmx.de>
parents:
5566
diff
changeset
|
208 --enable-relocate-all \ |
6063
7c82402297b2
default-octave: Start experiment with C++17 features in Octave API.
Markus Mützel <markus.muetzel@gmx.de>
parents:
5974
diff
changeset
|
209 --enable-std-pmr-polymorphic-allocator \ |
3721
933b99febcf1
Expand options to support 3 possible sources of octave
John Donoghue <john.donoghue@ieee.org>
parents:
diff
changeset
|
210 $($(PKG)_CROSS_CONFIG_OPTIONS) \ |
4742
f54322738d5f
default-octave: use configure option --with-blas-"-lblas -lxerbla" for Windows builds
John W. Eaton <jwe@octave.org>
parents:
4734
diff
changeset
|
211 $($(PKG)_WITH_BLAS_CONFIGURE_OPTIONS) \ |
3721
933b99febcf1
Expand options to support 3 possible sources of octave
John Donoghue <john.donoghue@ieee.org>
parents:
diff
changeset
|
212 $($(PKG)_ENABLE_64_CONFIGURE_OPTIONS) \ |
4304
0db33a326eec
make --enable-64 the default
John W. Eaton <jwe@octave.org>
parents:
4223
diff
changeset
|
213 $($(PKG)_ENABLE_FORTRAN_INT64_CONFIGURE_OPTIONS) \ |
3721
933b99febcf1
Expand options to support 3 possible sources of octave
John Donoghue <john.donoghue@ieee.org>
parents:
diff
changeset
|
214 $($(PKG)_ENABLE_JAVA_CONFIGURE_OPTIONS) \ |
933b99febcf1
Expand options to support 3 possible sources of octave
John Donoghue <john.donoghue@ieee.org>
parents:
diff
changeset
|
215 $($(PKG)_ENABLE_JIT_CONFIGURE_OPTIONS) \ |
933b99febcf1
Expand options to support 3 possible sources of octave
John Donoghue <john.donoghue@ieee.org>
parents:
diff
changeset
|
216 $($(PKG)_ENABLE_DOCS_CONFIGURE_OPTIONS) \ |
3849
e50c777c9a97
explicitly set MOC, UIC, RCC, and LRELEASE for Octave configure commands
John W. Eaton <jwe@octave.org>
parents:
3836
diff
changeset
|
217 $($(PKG)_QT_CONFIGURE_OPTIONS) \ |
3721
933b99febcf1
Expand options to support 3 possible sources of octave
John Donoghue <john.donoghue@ieee.org>
parents:
diff
changeset
|
218 $($(PKG)_EXTRA_CONFIGURE_OPTIONS) \ |
933b99febcf1
Expand options to support 3 possible sources of octave
John Donoghue <john.donoghue@ieee.org>
parents:
diff
changeset
|
219 PKG_CONFIG='$(MXE_PKG_CONFIG)' \ |
4222
44b1a9b2193e
qt5: add initial qt5 to mxe-octave, based on mxe.cc
John D
parents:
4221
diff
changeset
|
220 PKG_CONFIG_PATH=$($(PKG)_PKG_CONFIG_PATH) \ |
3721
933b99febcf1
Expand options to support 3 possible sources of octave
John Donoghue <john.donoghue@ieee.org>
parents:
diff
changeset
|
221 && $(CONFIGURE_POST_HOOK) |
933b99febcf1
Expand options to support 3 possible sources of octave
John Donoghue <john.donoghue@ieee.org>
parents:
diff
changeset
|
222 |
3993
3a38544f2a8f
default-octave: update cur current dev branch build
John D
parents:
3986
diff
changeset
|
223 $(MAKE) -C '$(1)/.build/libgnu' |
3a38544f2a8f
default-octave: update cur current dev branch build
John D
parents:
3986
diff
changeset
|
224 |
3721
933b99febcf1
Expand options to support 3 possible sources of octave
John Donoghue <john.donoghue@ieee.org>
parents:
diff
changeset
|
225 $(MAKE) -C '$(1)/.build' -j '$(JOBS)' install DESTDIR='$(3)' |
933b99febcf1
Expand options to support 3 possible sources of octave
John Donoghue <john.donoghue@ieee.org>
parents:
diff
changeset
|
226 |
933b99febcf1
Expand options to support 3 possible sources of octave
John Donoghue <john.donoghue@ieee.org>
parents:
diff
changeset
|
227 if [ "x$(MXE_SYSTEM)" == "xmingw" ]; then \ |
4734
80461a9e516c
override default xerbla with version from Octave
John W. Eaton <jwe@octave.org>
parents:
4651
diff
changeset
|
228 $(INSTALL) '$(3)/$(HOST_BINDIR)/libxerbla.dll' '$(3)$(HOST_BINDIR)/libxerbla-octave.dll'; \ |
3721
933b99febcf1
Expand options to support 3 possible sources of octave
John Donoghue <john.donoghue@ieee.org>
parents:
diff
changeset
|
229 cp '$(1)/.build/src/.libs/octave-gui.exe' '$(3)$(HOST_BINDIR)'; \ |
5705
1855ad40685a
Octave: Copy "octave-svgconvert.exe" to bin directory for mingw target (bug #59546).
Markus Mützel <markus.muetzel@gmx.de>
parents:
5652
diff
changeset
|
230 cp '$(1)/.build/src/.libs/octave-svgconvert.exe' '$(3)$(HOST_BINDIR)'; \ |
3854 | 231 if [ "x$(ENABLE_BINARY_PACKAGES)" == "xyes" ]; then \ |
232 mkdir -p '$(3)$(BUILD_TOOLS_PREFIX)/bin'; \ | |
233 $(INSTALL) '$(1)/.build/src/$(MXE_TOOL_PREFIX)mkoctfile' '$(3)$(BUILD_TOOLS_PREFIX)/bin'; \ | |
234 $(INSTALL) '$(1)/.build/src/$(MXE_TOOL_PREFIX)octave-config' '$(3)$(BUILD_TOOLS_PREFIX)/bin'; \ | |
235 fi; \ | |
3721
933b99febcf1
Expand options to support 3 possible sources of octave
John Donoghue <john.donoghue@ieee.org>
parents:
diff
changeset
|
236 fi |
933b99febcf1
Expand options to support 3 possible sources of octave
John Donoghue <john.donoghue@ieee.org>
parents:
diff
changeset
|
237 |
933b99febcf1
Expand options to support 3 possible sources of octave
John Donoghue <john.donoghue@ieee.org>
parents:
diff
changeset
|
238 if [ "x$(ENABLE_DOCS)" == "xyes" ]; then \ |
933b99febcf1
Expand options to support 3 possible sources of octave
John Donoghue <john.donoghue@ieee.org>
parents:
diff
changeset
|
239 $(MAKE) -C '$(1)/.build' -j '$(JOBS)' DESTDIR=$(3) install-pdf install-html; \ |
933b99febcf1
Expand options to support 3 possible sources of octave
John Donoghue <john.donoghue@ieee.org>
parents:
diff
changeset
|
240 fi |
933b99febcf1
Expand options to support 3 possible sources of octave
John Donoghue <john.donoghue@ieee.org>
parents:
diff
changeset
|
241 |
933b99febcf1
Expand options to support 3 possible sources of octave
John Donoghue <john.donoghue@ieee.org>
parents:
diff
changeset
|
242 # create a file with latest installed octave rev in it |
5566
31f2d5949b0e
Do not install Octave in separate folder.
Markus Mützel <markus.muetzel@gmx.de>
parents:
5537
diff
changeset
|
243 mkdir -p '$(TOP_BUILD_DIR)/octave' |
5286
00a0eac6b6cd
eliminate separate WIN_VERSION for Octave installers (bug #57740)
John W. Eaton <jwe@octave.org>
parents:
4912
diff
changeset
|
244 echo "$($(PKG)_VERSION)" > $(TOP_BUILD_DIR)/octave/octave-version |
6396
d5e6775fb3bc
Add uninstall options to remove local packages and settings (Bug #62352)
John Donoghue <john.donoghue@ieee.org>
parents:
6299
diff
changeset
|
245 $(SED) -n 's,.*"api-v\([^"]*\)".*,\1,p' $(3)$(HOST_INCDIR)/octave-$($(PKG)_VERSION)/octave/version.h > $(TOP_BUILD_DIR)/octave/octave-api |
3721
933b99febcf1
Expand options to support 3 possible sources of octave
John Donoghue <john.donoghue@ieee.org>
parents:
diff
changeset
|
246 endef |