Mercurial > mxe-octave
annotate src/stable-octave.mk @ 3948:1fea617cdf13
of-odepkg: update to v0.8.5
* src/of-odepkg.mk: update version, checksum, compile if binary package
* build_packages.m: add odepkg back to install script
* Makefile.am: add of-odepkg back to installed of packages
author | John Donoghue |
---|---|
date | Thu, 21 May 2015 13:51:16 -0400 |
parents | c55d9f182272 |
children | 1cab2860069e |
rev | line source |
---|---|
2939
30a5052213e6
octave-stable: build stable version of Octave
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
1 # This file is part of MXE. |
30a5052213e6
octave-stable: build stable version of Octave
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
2 # See index.html for further information. |
30a5052213e6
octave-stable: build stable version of Octave
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
3 |
2961
170d65292853
src/stable-octave.mk: fix package name
John W. Eaton <jwe@octave.org>
parents:
2941
diff
changeset
|
4 PKG := stable-octave |
2939
30a5052213e6
octave-stable: build stable version of Octave
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
5 $(PKG)_IGNORE := |
3683
5c5642ed209b
update stable-octave to 3.8.2
John W. Eaton <jwe@octave.org>
parents:
3647
diff
changeset
|
6 $(PKG)_VERSION := 3.8.2 |
5c5642ed209b
update stable-octave to 3.8.2
John W. Eaton <jwe@octave.org>
parents:
3647
diff
changeset
|
7 $(PKG)_CHECKSUM := 02c38e0f69bce4e6dd7be7d301898347085d9c2d |
2939
30a5052213e6
octave-stable: build stable version of Octave
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
8 $(PKG)_SUBDIR := octave-$($(PKG)_VERSION) |
3558
c102f813be47
update stable-octave to 3.8.1
John W. Eaton <jwe@octave.org>
parents:
3545
diff
changeset
|
9 $(PKG)_FILE := octave-$($(PKG)_VERSION).tar.bz2 |
3560
e14baae9ec8c
stable-octave.mk: fix URL for octave 3.8.1 download
John W. Eaton <jwe@octave.org>
parents:
3558
diff
changeset
|
10 $(PKG)_URL := ftp://ftp.gnu.org/gnu/octave/$($(PKG)_FILE) |
3383
6dfbea9a9646
Update stable-octave to 3.8.0
John Donoghue <john.donoghue@ieee.org>
parents:
3048
diff
changeset
|
11 ifeq ($(USE_SYSTEM_FONTCONFIG),no) |
6dfbea9a9646
Update stable-octave to 3.8.0
John Donoghue <john.donoghue@ieee.org>
parents:
3048
diff
changeset
|
12 $(PKG)_FONTCONFIG := fontconfig |
6dfbea9a9646
Update stable-octave to 3.8.0
John Donoghue <john.donoghue@ieee.org>
parents:
3048
diff
changeset
|
13 endif |
3791
26f72c8e2be7
include osmesa in octave deps for all systems
John W. Eaton <jwe@octave.org>
parents:
3788
diff
changeset
|
14 $(PKG)_DEPS := blas arpack curl epstool fftw fltk $($(PKG)_FONTCONFIG) ghostscript gl2ps glpk gnuplot graphicsmagick hdf5 lapack osmesa pcre pstoedit qrupdate qscintilla qt readline suitesparse texinfo zlib |
3743
4f58c4b4dee0
build libX11 and dependencies
John W. Eaton <jwe@octave.org>
parents:
3692
diff
changeset
|
15 ifeq ($(MXE_WINDOWS_BUILD),no) |
3827
02990526ae69
allow building of X11 libs to be disabled
John W. Eaton <jwe@octave.org>
parents:
3807
diff
changeset
|
16 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
|
17 $(PKG)_DEPS += x11 xext |
02990526ae69
allow building of X11 libs to be disabled
John W. Eaton <jwe@octave.org>
parents:
3807
diff
changeset
|
18 endif |
3743
4f58c4b4dee0
build libX11 and dependencies
John W. Eaton <jwe@octave.org>
parents:
3692
diff
changeset
|
19 endif |
3692
2b4493282fc7
disable qhull for --enable-64 builds
John W. Eaton <jwe@octave.org>
parents:
3683
diff
changeset
|
20 ifeq ($(ENABLE_64),no) |
2b4493282fc7
disable qhull for --enable-64 builds
John W. Eaton <jwe@octave.org>
parents:
3683
diff
changeset
|
21 $(PKG)_DEPS += qhull |
2b4493282fc7
disable qhull for --enable-64 builds
John W. Eaton <jwe@octave.org>
parents:
3683
diff
changeset
|
22 endif |
3383
6dfbea9a9646
Update stable-octave to 3.8.0
John Donoghue <john.donoghue@ieee.org>
parents:
3048
diff
changeset
|
23 ifeq ($(ENABLE_JIT),yes) |
6dfbea9a9646
Update stable-octave to 3.8.0
John Donoghue <john.donoghue@ieee.org>
parents:
3048
diff
changeset
|
24 $(PKG)_DEPS += llvm |
6dfbea9a9646
Update stable-octave to 3.8.0
John Donoghue <john.donoghue@ieee.org>
parents:
3048
diff
changeset
|
25 $(PKG)_ENABLE_JIT_CONFIGURE_OPTIONS := --enable-jit |
6dfbea9a9646
Update stable-octave to 3.8.0
John Donoghue <john.donoghue@ieee.org>
parents:
3048
diff
changeset
|
26 else |
6dfbea9a9646
Update stable-octave to 3.8.0
John Donoghue <john.donoghue@ieee.org>
parents:
3048
diff
changeset
|
27 $(PKG)_ENABLE_JIT_CONFIGURE_OPTIONS := --disable-jit |
6dfbea9a9646
Update stable-octave to 3.8.0
John Donoghue <john.donoghue@ieee.org>
parents:
3048
diff
changeset
|
28 endif |
6dfbea9a9646
Update stable-octave to 3.8.0
John Donoghue <john.donoghue@ieee.org>
parents:
3048
diff
changeset
|
29 |
6dfbea9a9646
Update stable-octave to 3.8.0
John Donoghue <john.donoghue@ieee.org>
parents:
3048
diff
changeset
|
30 ifeq ($(ENABLE_JAVA),no) |
6dfbea9a9646
Update stable-octave to 3.8.0
John Donoghue <john.donoghue@ieee.org>
parents:
3048
diff
changeset
|
31 $(PKG)_ENABLE_JAVA_CONFIGURE_OPTIONS := --disable-java |
6dfbea9a9646
Update stable-octave to 3.8.0
John Donoghue <john.donoghue@ieee.org>
parents:
3048
diff
changeset
|
32 else |
6dfbea9a9646
Update stable-octave to 3.8.0
John Donoghue <john.donoghue@ieee.org>
parents:
3048
diff
changeset
|
33 ifeq ($(MXE_SYSTEM),mingw) |
6dfbea9a9646
Update stable-octave to 3.8.0
John Donoghue <john.donoghue@ieee.org>
parents:
3048
diff
changeset
|
34 ifeq ($(MXE_NATIVE_BUILD),no) |
6dfbea9a9646
Update stable-octave to 3.8.0
John Donoghue <john.donoghue@ieee.org>
parents:
3048
diff
changeset
|
35 $(PKG)_ENABLE_JAVA_CONFIGURE_OPTIONS := \ |
3527
b111822b0bf0
stable-octave.mk, octave.mk: Set java include dir, not home dir.
John W. Eaton <jwe@octave.org>
parents:
3519
diff
changeset
|
36 --with-java-includedir="$(HOST_INCDIR)/java" |
3383
6dfbea9a9646
Update stable-octave to 3.8.0
John Donoghue <john.donoghue@ieee.org>
parents:
3048
diff
changeset
|
37 endif |
6dfbea9a9646
Update stable-octave to 3.8.0
John Donoghue <john.donoghue@ieee.org>
parents:
3048
diff
changeset
|
38 endif |
6dfbea9a9646
Update stable-octave to 3.8.0
John Donoghue <john.donoghue@ieee.org>
parents:
3048
diff
changeset
|
39 endif |
6dfbea9a9646
Update stable-octave to 3.8.0
John Donoghue <john.donoghue@ieee.org>
parents:
3048
diff
changeset
|
40 |
3849
e50c777c9a97
explicitly set MOC, UIC, RCC, and LRELEASE for Octave configure commands
John W. Eaton <jwe@octave.org>
parents:
3827
diff
changeset
|
41 ## 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:
3827
diff
changeset
|
42 ## won't make sense. |
e50c777c9a97
explicitly set MOC, UIC, RCC, and LRELEASE for Octave configure commands
John W. Eaton <jwe@octave.org>
parents:
3827
diff
changeset
|
43 $(PKG)_QT_CONFIGURE_OPTIONS := \ |
3851
c55d9f182272
use MXE_XXXX tools for octave qt compiling (Bug 44563)
John Donoghue
parents:
3849
diff
changeset
|
44 MOC=$(MXE_MOC) \ |
c55d9f182272
use MXE_XXXX tools for octave qt compiling (Bug 44563)
John Donoghue
parents:
3849
diff
changeset
|
45 UIC=$(MXE_UIC) \ |
c55d9f182272
use MXE_XXXX tools for octave qt compiling (Bug 44563)
John Donoghue
parents:
3849
diff
changeset
|
46 RCC=$(MXE_RCC) \ |
c55d9f182272
use MXE_XXXX tools for octave qt compiling (Bug 44563)
John Donoghue
parents:
3849
diff
changeset
|
47 LRELEASE=$(MXE_LRELEASE) |
3849
e50c777c9a97
explicitly set MOC, UIC, RCC, and LRELEASE for Octave configure commands
John W. Eaton <jwe@octave.org>
parents:
3827
diff
changeset
|
48 |
3497
ddaf87b79532
pass --disable-docs to Octave configure script unless ENABLE_DOCS == yes
John W. Eaton <jwe@octave.org>
parents:
3480
diff
changeset
|
49 ifneq ($(ENABLE_DOCS),yes) |
ddaf87b79532
pass --disable-docs to Octave configure script unless ENABLE_DOCS == yes
John W. Eaton <jwe@octave.org>
parents:
3480
diff
changeset
|
50 $(PKG)_ENABLE_DOCS_CONFIGURE_OPTIONS := --disable-docs |
3383
6dfbea9a9646
Update stable-octave to 3.8.0
John Donoghue <john.donoghue@ieee.org>
parents:
3048
diff
changeset
|
51 endif |
6dfbea9a9646
Update stable-octave to 3.8.0
John Donoghue <john.donoghue@ieee.org>
parents:
3048
diff
changeset
|
52 |
6dfbea9a9646
Update stable-octave to 3.8.0
John Donoghue <john.donoghue@ieee.org>
parents:
3048
diff
changeset
|
53 ifeq ($(MXE_NATIVE_BUILD),yes) |
6dfbea9a9646
Update stable-octave to 3.8.0
John Donoghue <john.donoghue@ieee.org>
parents:
3048
diff
changeset
|
54 $(PKG)_CONFIGURE_ENV := LD_LIBRARY_PATH=$(LD_LIBRARY_PATH) |
6dfbea9a9646
Update stable-octave to 3.8.0
John Donoghue <john.donoghue@ieee.org>
parents:
3048
diff
changeset
|
55 ifeq ($(ENABLE_64),yes) |
3692
2b4493282fc7
disable qhull for --enable-64 builds
John W. Eaton <jwe@octave.org>
parents:
3683
diff
changeset
|
56 $(PKG)_ENABLE_64_CONFIGURE_OPTIONS := --enable-64 --without-qhull F77_INTEGER_8_FLAG=-fdefault-integer-8 |
3383
6dfbea9a9646
Update stable-octave to 3.8.0
John Donoghue <john.donoghue@ieee.org>
parents:
3048
diff
changeset
|
57 endif |
6dfbea9a9646
Update stable-octave to 3.8.0
John Donoghue <john.donoghue@ieee.org>
parents:
3048
diff
changeset
|
58 else |
6dfbea9a9646
Update stable-octave to 3.8.0
John Donoghue <john.donoghue@ieee.org>
parents:
3048
diff
changeset
|
59 ifeq ($(MXE_SYSTEM),mingw) |
6dfbea9a9646
Update stable-octave to 3.8.0
John Donoghue <john.donoghue@ieee.org>
parents:
3048
diff
changeset
|
60 $(PKG)_CROSS_CONFIG_OPTIONS := \ |
6dfbea9a9646
Update stable-octave to 3.8.0
John Donoghue <john.donoghue@ieee.org>
parents:
3048
diff
changeset
|
61 FLTK_CONFIG='$(BUILD_TOOLS_PREFIX)/bin/$(MXE_TOOL_PREFIX)fltk-config' \ |
6dfbea9a9646
Update stable-octave to 3.8.0
John Donoghue <john.donoghue@ieee.org>
parents:
3048
diff
changeset
|
62 gl_cv_func_gettimeofday_clobber=no |
6dfbea9a9646
Update stable-octave to 3.8.0
John Donoghue <john.donoghue@ieee.org>
parents:
3048
diff
changeset
|
63 ifeq ($(ENABLE_64),yes) |
3692
2b4493282fc7
disable qhull for --enable-64 builds
John W. Eaton <jwe@octave.org>
parents:
3683
diff
changeset
|
64 $(PKG)_ENABLE_64_CONFIGURE_OPTIONS := --enable-64 --without-qhull F77_INTEGER_8_FLAG=-fdefault-integer-8 ax_blas_f77_func_ok=yes |
3383
6dfbea9a9646
Update stable-octave to 3.8.0
John Donoghue <john.donoghue@ieee.org>
parents:
3048
diff
changeset
|
65 endif |
6dfbea9a9646
Update stable-octave to 3.8.0
John Donoghue <john.donoghue@ieee.org>
parents:
3048
diff
changeset
|
66 endif |
6dfbea9a9646
Update stable-octave to 3.8.0
John Donoghue <john.donoghue@ieee.org>
parents:
3048
diff
changeset
|
67 endif |
6dfbea9a9646
Update stable-octave to 3.8.0
John Donoghue <john.donoghue@ieee.org>
parents:
3048
diff
changeset
|
68 |
6dfbea9a9646
Update stable-octave to 3.8.0
John Donoghue <john.donoghue@ieee.org>
parents:
3048
diff
changeset
|
69 ifeq ($(MXE_SYSTEM),msvc) |
6dfbea9a9646
Update stable-octave to 3.8.0
John Donoghue <john.donoghue@ieee.org>
parents:
3048
diff
changeset
|
70 $(PKG)_PREFIX := '$(HOST_PREFIX)/local/$($(PKG)_SUBDIR)' |
6dfbea9a9646
Update stable-octave to 3.8.0
John Donoghue <john.donoghue@ieee.org>
parents:
3048
diff
changeset
|
71 # - Enable atomic refcount (required for QtHandles) |
6dfbea9a9646
Update stable-octave to 3.8.0
John Donoghue <john.donoghue@ieee.org>
parents:
3048
diff
changeset
|
72 # - Skip configure test for pow and sqrt, MSVC fails to compile them |
6dfbea9a9646
Update stable-octave to 3.8.0
John Donoghue <john.donoghue@ieee.org>
parents:
3048
diff
changeset
|
73 # because it uses intrinsics (with -O2 flag) and bump on the fake |
6dfbea9a9646
Update stable-octave to 3.8.0
John Donoghue <john.donoghue@ieee.org>
parents:
3048
diff
changeset
|
74 # "char FUNC()" forward declaration. |
6dfbea9a9646
Update stable-octave to 3.8.0
John Donoghue <john.donoghue@ieee.org>
parents:
3048
diff
changeset
|
75 # - Override CFLAGS and CXXFLAGS to disable some warnings. |
6dfbea9a9646
Update stable-octave to 3.8.0
John Donoghue <john.donoghue@ieee.org>
parents:
3048
diff
changeset
|
76 $(PKG)_EXTRA_CONFIGURE_OPTIONS := \ |
6dfbea9a9646
Update stable-octave to 3.8.0
John Donoghue <john.donoghue@ieee.org>
parents:
3048
diff
changeset
|
77 --enable-atomic-refcount \ |
6dfbea9a9646
Update stable-octave to 3.8.0
John Donoghue <john.donoghue@ieee.org>
parents:
3048
diff
changeset
|
78 ac_cv_func_pow=yes ac_cv_func_sqrt=yes \ |
6dfbea9a9646
Update stable-octave to 3.8.0
John Donoghue <john.donoghue@ieee.org>
parents:
3048
diff
changeset
|
79 CFLAGS='-O2 -wd4244 -wd4003 -wd4005 -wd4068' \ |
6dfbea9a9646
Update stable-octave to 3.8.0
John Donoghue <john.donoghue@ieee.org>
parents:
3048
diff
changeset
|
80 CXXFLAGS='-O2 -wd4244 -wd4003 -wd4005 -wd4068' |
6dfbea9a9646
Update stable-octave to 3.8.0
John Donoghue <john.donoghue@ieee.org>
parents:
3048
diff
changeset
|
81 else |
6dfbea9a9646
Update stable-octave to 3.8.0
John Donoghue <john.donoghue@ieee.org>
parents:
3048
diff
changeset
|
82 $(PKG)_PREFIX := '$(HOST_PREFIX)' |
6dfbea9a9646
Update stable-octave to 3.8.0
John Donoghue <john.donoghue@ieee.org>
parents:
3048
diff
changeset
|
83 $(PKG)_EXTRA_CONFIGURE_OPTIONS := \ |
6dfbea9a9646
Update stable-octave to 3.8.0
John Donoghue <john.donoghue@ieee.org>
parents:
3048
diff
changeset
|
84 LDFLAGS='-Wl,-rpath-link,$(HOST_LIBDIR) -L$(HOST_LIBDIR)' |
6dfbea9a9646
Update stable-octave to 3.8.0
John Donoghue <john.donoghue@ieee.org>
parents:
3048
diff
changeset
|
85 endif |
6dfbea9a9646
Update stable-octave to 3.8.0
John Donoghue <john.donoghue@ieee.org>
parents:
3048
diff
changeset
|
86 |
3646
f38e710f1d95
octave: add --no-x flag when compiling for mingw
John Donoghue <john.donoghue@ieee.org>
parents:
3643
diff
changeset
|
87 ifeq ($(MXE_SYSTEM),mingw) |
3647
fc67e3ab9324
fix typo to disable X
John Donoghue <john.donoghue@ieee.org>
parents:
3646
diff
changeset
|
88 $(PKG)_EXTRA_CONFIGURE_OPTIONS += --with-x=no |
3646
f38e710f1d95
octave: add --no-x flag when compiling for mingw
John Donoghue <john.donoghue@ieee.org>
parents:
3643
diff
changeset
|
89 endif |
f38e710f1d95
octave: add --no-x flag when compiling for mingw
John Donoghue <john.donoghue@ieee.org>
parents:
3643
diff
changeset
|
90 |
2939
30a5052213e6
octave-stable: build stable version of Octave
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
91 define $(PKG)_UPDATE |
30a5052213e6
octave-stable: build stable version of Octave
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
92 echo 'Warning: Updates are temporarily disabled for package octave.' >&2; |
30a5052213e6
octave-stable: build stable version of Octave
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
93 echo $($(PKG)_VERSION) |
30a5052213e6
octave-stable: build stable version of Octave
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
94 endef |
30a5052213e6
octave-stable: build stable version of Octave
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
95 |
30a5052213e6
octave-stable: build stable version of Octave
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
96 define $(PKG)_BUILD |
3383
6dfbea9a9646
Update stable-octave to 3.8.0
John Donoghue <john.donoghue@ieee.org>
parents:
3048
diff
changeset
|
97 # jni install |
3527
b111822b0bf0
stable-octave.mk, octave.mk: Set java include dir, not home dir.
John W. Eaton <jwe@octave.org>
parents:
3519
diff
changeset
|
98 if [ "$(MXE_SYSTEM)" == "mingw" ] \ |
b111822b0bf0
stable-octave.mk, octave.mk: Set java include dir, not home dir.
John W. Eaton <jwe@octave.org>
parents:
3519
diff
changeset
|
99 && [ "$(MXE_NATIVE_BUILD)" == "no" ] \ |
b111822b0bf0
stable-octave.mk, octave.mk: Set java include dir, not home dir.
John W. Eaton <jwe@octave.org>
parents:
3519
diff
changeset
|
100 && [ "$(ENABLE_JAVA)" == "yes" ]; then \ |
3519
de728273f855
update stable-octave package for 3.8.1-rc1
John W. Eaton <jwe@octave.org>
parents:
3516
diff
changeset
|
101 if [ ! -f $(HOST_INCDIR)/java/jni.h ]; then \ |
3527
b111822b0bf0
stable-octave.mk, octave.mk: Set java include dir, not home dir.
John W. Eaton <jwe@octave.org>
parents:
3519
diff
changeset
|
102 mkdir -p '$(HOST_INCDIR)/java'; \ |
b111822b0bf0
stable-octave.mk, octave.mk: Set java include dir, not home dir.
John W. Eaton <jwe@octave.org>
parents:
3519
diff
changeset
|
103 $(WGET) -N http://hg.openjdk.java.net/jdk7u/jdk7u/jdk/raw-file/tip/src/share/javavm/export/jni.h \ |
b111822b0bf0
stable-octave.mk, octave.mk: Set java include dir, not home dir.
John W. Eaton <jwe@octave.org>
parents:
3519
diff
changeset
|
104 -O $(HOST_INCDIR)/java/jni.h; \ |
3516
3b5b776331f1
Only download java .h files if not already available
John Donoghue <john.donoghue@ieee.org>
parents:
3498
diff
changeset
|
105 fi; \ |
3519
de728273f855
update stable-octave package for 3.8.1-rc1
John W. Eaton <jwe@octave.org>
parents:
3516
diff
changeset
|
106 if [ ! -f $(HOST_INCDIR)/java/win32/jni_md.h ]; then \ |
3527
b111822b0bf0
stable-octave.mk, octave.mk: Set java include dir, not home dir.
John W. Eaton <jwe@octave.org>
parents:
3519
diff
changeset
|
107 mkdir -p '$(HOST_INCDIR)/java/win32'; \ |
b111822b0bf0
stable-octave.mk, octave.mk: Set java include dir, not home dir.
John W. Eaton <jwe@octave.org>
parents:
3519
diff
changeset
|
108 $(WGET) -N http://hg.openjdk.java.net/jdk7u/jdk7u/jdk/raw-file/tip/src/windows/javavm/export/jni_md.h \ |
b111822b0bf0
stable-octave.mk, octave.mk: Set java include dir, not home dir.
John W. Eaton <jwe@octave.org>
parents:
3519
diff
changeset
|
109 -O $(HOST_INCDIR)/java/win32/jni_md.h; \ |
3516
3b5b776331f1
Only download java .h files if not already available
John Donoghue <john.donoghue@ieee.org>
parents:
3498
diff
changeset
|
110 fi; \ |
3383
6dfbea9a9646
Update stable-octave to 3.8.0
John Donoghue <john.donoghue@ieee.org>
parents:
3048
diff
changeset
|
111 fi |
6dfbea9a9646
Update stable-octave to 3.8.0
John Donoghue <john.donoghue@ieee.org>
parents:
3048
diff
changeset
|
112 |
2939
30a5052213e6
octave-stable: build stable version of Octave
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
113 mkdir '$(1)/.build' |
3383
6dfbea9a9646
Update stable-octave to 3.8.0
John Donoghue <john.donoghue@ieee.org>
parents:
3048
diff
changeset
|
114 cd '$(1)/.build' && $($(PKG)_CONFIGURE_ENV) '$(1)/configure' \ |
6dfbea9a9646
Update stable-octave to 3.8.0
John Donoghue <john.donoghue@ieee.org>
parents:
3048
diff
changeset
|
115 $(CONFIGURE_CPPFLAGS) $(CONFIGURE_LDFLAGS) \ |
3013
bcc26ffe9a0f
use variable for --host and --build configure arguments
John W. Eaton <jwe@octave.org>
parents:
3012
diff
changeset
|
116 $(HOST_AND_BUILD_CONFIGURE_OPTIONS) \ |
3383
6dfbea9a9646
Update stable-octave to 3.8.0
John Donoghue <john.donoghue@ieee.org>
parents:
3048
diff
changeset
|
117 --prefix='$($(PKG)_PREFIX)' \ |
3807
c6dd0518f31b
use --disable-silent-rules for Octave builds
John W. Eaton <jwe@octave.org>
parents:
3791
diff
changeset
|
118 --disable-silent-rules \ |
3383
6dfbea9a9646
Update stable-octave to 3.8.0
John Donoghue <john.donoghue@ieee.org>
parents:
3048
diff
changeset
|
119 $($(PKG)_CROSS_CONFIG_OPTIONS) \ |
6dfbea9a9646
Update stable-octave to 3.8.0
John Donoghue <john.donoghue@ieee.org>
parents:
3048
diff
changeset
|
120 $($(PKG)_ENABLE_64_CONFIGURE_OPTIONS) \ |
6dfbea9a9646
Update stable-octave to 3.8.0
John Donoghue <john.donoghue@ieee.org>
parents:
3048
diff
changeset
|
121 $($(PKG)_ENABLE_JAVA_CONFIGURE_OPTIONS) \ |
6dfbea9a9646
Update stable-octave to 3.8.0
John Donoghue <john.donoghue@ieee.org>
parents:
3048
diff
changeset
|
122 $($(PKG)_ENABLE_JIT_CONFIGURE_OPTIONS) \ |
6dfbea9a9646
Update stable-octave to 3.8.0
John Donoghue <john.donoghue@ieee.org>
parents:
3048
diff
changeset
|
123 $($(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:
3827
diff
changeset
|
124 $($(PKG)_QT_CONFIGURE_OPTIONS) \ |
3383
6dfbea9a9646
Update stable-octave to 3.8.0
John Donoghue <john.donoghue@ieee.org>
parents:
3048
diff
changeset
|
125 $($(PKG)_EXTRA_CONFIGURE_OPTIONS) \ |
6dfbea9a9646
Update stable-octave to 3.8.0
John Donoghue <john.donoghue@ieee.org>
parents:
3048
diff
changeset
|
126 PKG_CONFIG='$(MXE_PKG_CONFIG)' \ |
6dfbea9a9646
Update stable-octave to 3.8.0
John Donoghue <john.donoghue@ieee.org>
parents:
3048
diff
changeset
|
127 PKG_CONFIG_PATH='$(HOST_LIBDIR)/pkgconfig' \ |
6dfbea9a9646
Update stable-octave to 3.8.0
John Donoghue <john.donoghue@ieee.org>
parents:
3048
diff
changeset
|
128 && $(CONFIGURE_POST_HOOK) |
2939
30a5052213e6
octave-stable: build stable version of Octave
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
129 |
30a5052213e6
octave-stable: build stable version of Octave
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
130 ## We want both of these install steps so that we install in the |
30a5052213e6
octave-stable: build stable version of Octave
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
131 ## location set by the configure --prefix option, and the other |
30a5052213e6
octave-stable: build stable version of Octave
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
132 ## in a directory tree that will have just Octave files. |
3383
6dfbea9a9646
Update stable-octave to 3.8.0
John Donoghue <john.donoghue@ieee.org>
parents:
3048
diff
changeset
|
133 $(MAKE) -C '$(1)/.build' -j '$(JOBS)' install DESTDIR='$(3)' |
6dfbea9a9646
Update stable-octave to 3.8.0
John Donoghue <john.donoghue@ieee.org>
parents:
3048
diff
changeset
|
134 |
3423
c8e055d83b9f
Set start directory to user home (Bug #41220)
John D <john.donoghue@ieee.org>
parents:
3417
diff
changeset
|
135 if [ "x$(MXE_SYSTEM)" == "xmingw" ]; then \ |
c8e055d83b9f
Set start directory to user home (Bug #41220)
John D <john.donoghue@ieee.org>
parents:
3417
diff
changeset
|
136 cp '$(1)/.build/src/.libs/octave-gui.exe' '$(3)$(HOST_BINDIR)'; \ |
c8e055d83b9f
Set start directory to user home (Bug #41220)
John D <john.donoghue@ieee.org>
parents:
3417
diff
changeset
|
137 fi |
c8e055d83b9f
Set start directory to user home (Bug #41220)
John D <john.donoghue@ieee.org>
parents:
3417
diff
changeset
|
138 |
3383
6dfbea9a9646
Update stable-octave to 3.8.0
John Donoghue <john.donoghue@ieee.org>
parents:
3048
diff
changeset
|
139 if [ "x$(ENABLE_DOCS)" == "xyes" ]; then \ |
6dfbea9a9646
Update stable-octave to 3.8.0
John Donoghue <john.donoghue@ieee.org>
parents:
3048
diff
changeset
|
140 $(MAKE) -C '$(1)/.build' -j '$(JOBS)' DESTDIR=$(3) install-pdf install-html; \ |
6dfbea9a9646
Update stable-octave to 3.8.0
John Donoghue <john.donoghue@ieee.org>
parents:
3048
diff
changeset
|
141 fi |
6dfbea9a9646
Update stable-octave to 3.8.0
John Donoghue <john.donoghue@ieee.org>
parents:
3048
diff
changeset
|
142 |
6dfbea9a9646
Update stable-octave to 3.8.0
John Donoghue <john.donoghue@ieee.org>
parents:
3048
diff
changeset
|
143 if [ $(MXE_SYSTEM) != msvc ]; then \ |
6dfbea9a9646
Update stable-octave to 3.8.0
John Donoghue <john.donoghue@ieee.org>
parents:
3048
diff
changeset
|
144 $(MAKE) -C '$(1)/.build' -j '$(JOBS)' DESTDIR=$(TOP_DIR)/octave install; \ |
6dfbea9a9646
Update stable-octave to 3.8.0
John Donoghue <john.donoghue@ieee.org>
parents:
3048
diff
changeset
|
145 fi |
6dfbea9a9646
Update stable-octave to 3.8.0
John Donoghue <john.donoghue@ieee.org>
parents:
3048
diff
changeset
|
146 |
6dfbea9a9646
Update stable-octave to 3.8.0
John Donoghue <john.donoghue@ieee.org>
parents:
3048
diff
changeset
|
147 # create a file with latest installed octave rev in it |
6dfbea9a9646
Update stable-octave to 3.8.0
John Donoghue <john.donoghue@ieee.org>
parents:
3048
diff
changeset
|
148 echo "$($(PKG)_VERSION)" > $(TOP_DIR)/octave/octave-version |
2939
30a5052213e6
octave-stable: build stable version of Octave
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
149 endef |