Mercurial > mxe-octave
annotate src/stable-octave.mk @ 3788:f6d63f2a2de6
allow osmesa to build; remove it from octave deps for Windows systems
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Sat, 14 Feb 2015 19:59:17 -0500 |
parents | e1e69acf0bb2 |
children | 26f72c8e2be7 |
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 |
3788
f6d63f2a2de6
allow osmesa to build; remove it from octave deps for Windows systems
John W. Eaton <jwe@octave.org>
parents:
3785
diff
changeset
|
14 $(PKG)_DEPS := blas arpack curl epstool fftw fltk $($(PKG)_FONTCONFIG) ghostscript gl2ps glpk gnuplot graphicsmagick hdf5 lapack 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) |
3788
f6d63f2a2de6
allow osmesa to build; remove it from octave deps for Windows systems
John W. Eaton <jwe@octave.org>
parents:
3785
diff
changeset
|
16 $(PKG)_DEPS += x11 xext osmesa |
3743
4f58c4b4dee0
build libX11 and dependencies
John W. Eaton <jwe@octave.org>
parents:
3692
diff
changeset
|
17 endif |
3692
2b4493282fc7
disable qhull for --enable-64 builds
John W. Eaton <jwe@octave.org>
parents:
3683
diff
changeset
|
18 ifeq ($(ENABLE_64),no) |
2b4493282fc7
disable qhull for --enable-64 builds
John W. Eaton <jwe@octave.org>
parents:
3683
diff
changeset
|
19 $(PKG)_DEPS += qhull |
2b4493282fc7
disable qhull for --enable-64 builds
John W. Eaton <jwe@octave.org>
parents:
3683
diff
changeset
|
20 endif |
3383
6dfbea9a9646
Update stable-octave to 3.8.0
John Donoghue <john.donoghue@ieee.org>
parents:
3048
diff
changeset
|
21 ifeq ($(ENABLE_JIT),yes) |
6dfbea9a9646
Update stable-octave to 3.8.0
John Donoghue <john.donoghue@ieee.org>
parents:
3048
diff
changeset
|
22 $(PKG)_DEPS += llvm |
6dfbea9a9646
Update stable-octave to 3.8.0
John Donoghue <john.donoghue@ieee.org>
parents:
3048
diff
changeset
|
23 $(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
|
24 else |
6dfbea9a9646
Update stable-octave to 3.8.0
John Donoghue <john.donoghue@ieee.org>
parents:
3048
diff
changeset
|
25 $(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
|
26 endif |
6dfbea9a9646
Update stable-octave to 3.8.0
John Donoghue <john.donoghue@ieee.org>
parents:
3048
diff
changeset
|
27 |
6dfbea9a9646
Update stable-octave to 3.8.0
John Donoghue <john.donoghue@ieee.org>
parents:
3048
diff
changeset
|
28 ifeq ($(ENABLE_JAVA),no) |
6dfbea9a9646
Update stable-octave to 3.8.0
John Donoghue <john.donoghue@ieee.org>
parents:
3048
diff
changeset
|
29 $(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
|
30 else |
6dfbea9a9646
Update stable-octave to 3.8.0
John Donoghue <john.donoghue@ieee.org>
parents:
3048
diff
changeset
|
31 ifeq ($(MXE_SYSTEM),mingw) |
6dfbea9a9646
Update stable-octave to 3.8.0
John Donoghue <john.donoghue@ieee.org>
parents:
3048
diff
changeset
|
32 ifeq ($(MXE_NATIVE_BUILD),no) |
6dfbea9a9646
Update stable-octave to 3.8.0
John Donoghue <john.donoghue@ieee.org>
parents:
3048
diff
changeset
|
33 $(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
|
34 --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
|
35 endif |
6dfbea9a9646
Update stable-octave to 3.8.0
John Donoghue <john.donoghue@ieee.org>
parents:
3048
diff
changeset
|
36 endif |
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 |
3497
ddaf87b79532
pass --disable-docs to Octave configure script unless ENABLE_DOCS == yes
John W. Eaton <jwe@octave.org>
parents:
3480
diff
changeset
|
39 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
|
40 $(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
|
41 endif |
6dfbea9a9646
Update stable-octave to 3.8.0
John Donoghue <john.donoghue@ieee.org>
parents:
3048
diff
changeset
|
42 |
6dfbea9a9646
Update stable-octave to 3.8.0
John Donoghue <john.donoghue@ieee.org>
parents:
3048
diff
changeset
|
43 ifeq ($(MXE_NATIVE_BUILD),yes) |
6dfbea9a9646
Update stable-octave to 3.8.0
John Donoghue <john.donoghue@ieee.org>
parents:
3048
diff
changeset
|
44 $(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
|
45 ifeq ($(ENABLE_64),yes) |
3692
2b4493282fc7
disable qhull for --enable-64 builds
John W. Eaton <jwe@octave.org>
parents:
3683
diff
changeset
|
46 $(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
|
47 endif |
6dfbea9a9646
Update stable-octave to 3.8.0
John Donoghue <john.donoghue@ieee.org>
parents:
3048
diff
changeset
|
48 else |
6dfbea9a9646
Update stable-octave to 3.8.0
John Donoghue <john.donoghue@ieee.org>
parents:
3048
diff
changeset
|
49 ifeq ($(MXE_SYSTEM),mingw) |
6dfbea9a9646
Update stable-octave to 3.8.0
John Donoghue <john.donoghue@ieee.org>
parents:
3048
diff
changeset
|
50 $(PKG)_CROSS_CONFIG_OPTIONS := \ |
6dfbea9a9646
Update stable-octave to 3.8.0
John Donoghue <john.donoghue@ieee.org>
parents:
3048
diff
changeset
|
51 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
|
52 gl_cv_func_gettimeofday_clobber=no |
6dfbea9a9646
Update stable-octave to 3.8.0
John Donoghue <john.donoghue@ieee.org>
parents:
3048
diff
changeset
|
53 ifeq ($(ENABLE_64),yes) |
3692
2b4493282fc7
disable qhull for --enable-64 builds
John W. Eaton <jwe@octave.org>
parents:
3683
diff
changeset
|
54 $(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
|
55 endif |
6dfbea9a9646
Update stable-octave to 3.8.0
John Donoghue <john.donoghue@ieee.org>
parents:
3048
diff
changeset
|
56 endif |
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 |
6dfbea9a9646
Update stable-octave to 3.8.0
John Donoghue <john.donoghue@ieee.org>
parents:
3048
diff
changeset
|
59 ifeq ($(MXE_SYSTEM),msvc) |
6dfbea9a9646
Update stable-octave to 3.8.0
John Donoghue <john.donoghue@ieee.org>
parents:
3048
diff
changeset
|
60 $(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
|
61 # - Enable atomic refcount (required for QtHandles) |
6dfbea9a9646
Update stable-octave to 3.8.0
John Donoghue <john.donoghue@ieee.org>
parents:
3048
diff
changeset
|
62 # - 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
|
63 # 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
|
64 # "char FUNC()" forward declaration. |
6dfbea9a9646
Update stable-octave to 3.8.0
John Donoghue <john.donoghue@ieee.org>
parents:
3048
diff
changeset
|
65 # - 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
|
66 $(PKG)_EXTRA_CONFIGURE_OPTIONS := \ |
6dfbea9a9646
Update stable-octave to 3.8.0
John Donoghue <john.donoghue@ieee.org>
parents:
3048
diff
changeset
|
67 --enable-atomic-refcount \ |
6dfbea9a9646
Update stable-octave to 3.8.0
John Donoghue <john.donoghue@ieee.org>
parents:
3048
diff
changeset
|
68 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
|
69 CFLAGS='-O2 -wd4244 -wd4003 -wd4005 -wd4068' \ |
6dfbea9a9646
Update stable-octave to 3.8.0
John Donoghue <john.donoghue@ieee.org>
parents:
3048
diff
changeset
|
70 CXXFLAGS='-O2 -wd4244 -wd4003 -wd4005 -wd4068' |
6dfbea9a9646
Update stable-octave to 3.8.0
John Donoghue <john.donoghue@ieee.org>
parents:
3048
diff
changeset
|
71 else |
6dfbea9a9646
Update stable-octave to 3.8.0
John Donoghue <john.donoghue@ieee.org>
parents:
3048
diff
changeset
|
72 $(PKG)_PREFIX := '$(HOST_PREFIX)' |
6dfbea9a9646
Update stable-octave to 3.8.0
John Donoghue <john.donoghue@ieee.org>
parents:
3048
diff
changeset
|
73 $(PKG)_EXTRA_CONFIGURE_OPTIONS := \ |
6dfbea9a9646
Update stable-octave to 3.8.0
John Donoghue <john.donoghue@ieee.org>
parents:
3048
diff
changeset
|
74 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
|
75 endif |
6dfbea9a9646
Update stable-octave to 3.8.0
John Donoghue <john.donoghue@ieee.org>
parents:
3048
diff
changeset
|
76 |
3646
f38e710f1d95
octave: add --no-x flag when compiling for mingw
John Donoghue <john.donoghue@ieee.org>
parents:
3643
diff
changeset
|
77 ifeq ($(MXE_SYSTEM),mingw) |
3647
fc67e3ab9324
fix typo to disable X
John Donoghue <john.donoghue@ieee.org>
parents:
3646
diff
changeset
|
78 $(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
|
79 endif |
f38e710f1d95
octave: add --no-x flag when compiling for mingw
John Donoghue <john.donoghue@ieee.org>
parents:
3643
diff
changeset
|
80 |
2939
30a5052213e6
octave-stable: build stable version of Octave
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
81 define $(PKG)_UPDATE |
30a5052213e6
octave-stable: build stable version of Octave
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
82 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
|
83 echo $($(PKG)_VERSION) |
30a5052213e6
octave-stable: build stable version of Octave
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
84 endef |
30a5052213e6
octave-stable: build stable version of Octave
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
85 |
30a5052213e6
octave-stable: build stable version of Octave
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
86 define $(PKG)_BUILD |
3383
6dfbea9a9646
Update stable-octave to 3.8.0
John Donoghue <john.donoghue@ieee.org>
parents:
3048
diff
changeset
|
87 # 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
|
88 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
|
89 && [ "$(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
|
90 && [ "$(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
|
91 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
|
92 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
|
93 $(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
|
94 -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
|
95 fi; \ |
3519
de728273f855
update stable-octave package for 3.8.1-rc1
John W. Eaton <jwe@octave.org>
parents:
3516
diff
changeset
|
96 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
|
97 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
|
98 $(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
|
99 -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
|
100 fi; \ |
3383
6dfbea9a9646
Update stable-octave to 3.8.0
John Donoghue <john.donoghue@ieee.org>
parents:
3048
diff
changeset
|
101 fi |
6dfbea9a9646
Update stable-octave to 3.8.0
John Donoghue <john.donoghue@ieee.org>
parents:
3048
diff
changeset
|
102 |
2939
30a5052213e6
octave-stable: build stable version of Octave
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
103 mkdir '$(1)/.build' |
3383
6dfbea9a9646
Update stable-octave to 3.8.0
John Donoghue <john.donoghue@ieee.org>
parents:
3048
diff
changeset
|
104 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
|
105 $(CONFIGURE_CPPFLAGS) $(CONFIGURE_LDFLAGS) \ |
3013
bcc26ffe9a0f
use variable for --host and --build configure arguments
John W. Eaton <jwe@octave.org>
parents:
3012
diff
changeset
|
106 $(HOST_AND_BUILD_CONFIGURE_OPTIONS) \ |
3383
6dfbea9a9646
Update stable-octave to 3.8.0
John Donoghue <john.donoghue@ieee.org>
parents:
3048
diff
changeset
|
107 --prefix='$($(PKG)_PREFIX)' \ |
6dfbea9a9646
Update stable-octave to 3.8.0
John Donoghue <john.donoghue@ieee.org>
parents:
3048
diff
changeset
|
108 $($(PKG)_CROSS_CONFIG_OPTIONS) \ |
6dfbea9a9646
Update stable-octave to 3.8.0
John Donoghue <john.donoghue@ieee.org>
parents:
3048
diff
changeset
|
109 $($(PKG)_ENABLE_64_CONFIGURE_OPTIONS) \ |
6dfbea9a9646
Update stable-octave to 3.8.0
John Donoghue <john.donoghue@ieee.org>
parents:
3048
diff
changeset
|
110 $($(PKG)_ENABLE_JAVA_CONFIGURE_OPTIONS) \ |
6dfbea9a9646
Update stable-octave to 3.8.0
John Donoghue <john.donoghue@ieee.org>
parents:
3048
diff
changeset
|
111 $($(PKG)_ENABLE_JIT_CONFIGURE_OPTIONS) \ |
6dfbea9a9646
Update stable-octave to 3.8.0
John Donoghue <john.donoghue@ieee.org>
parents:
3048
diff
changeset
|
112 $($(PKG)_ENABLE_DOCS_CONFIGURE_OPTIONS) \ |
6dfbea9a9646
Update stable-octave to 3.8.0
John Donoghue <john.donoghue@ieee.org>
parents:
3048
diff
changeset
|
113 $($(PKG)_EXTRA_CONFIGURE_OPTIONS) \ |
6dfbea9a9646
Update stable-octave to 3.8.0
John Donoghue <john.donoghue@ieee.org>
parents:
3048
diff
changeset
|
114 PKG_CONFIG='$(MXE_PKG_CONFIG)' \ |
6dfbea9a9646
Update stable-octave to 3.8.0
John Donoghue <john.donoghue@ieee.org>
parents:
3048
diff
changeset
|
115 PKG_CONFIG_PATH='$(HOST_LIBDIR)/pkgconfig' \ |
6dfbea9a9646
Update stable-octave to 3.8.0
John Donoghue <john.donoghue@ieee.org>
parents:
3048
diff
changeset
|
116 && $(CONFIGURE_POST_HOOK) |
2939
30a5052213e6
octave-stable: build stable version of Octave
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
117 |
30a5052213e6
octave-stable: build stable version of Octave
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
118 ## 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
|
119 ## 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
|
120 ## 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
|
121 $(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
|
122 |
3423
c8e055d83b9f
Set start directory to user home (Bug #41220)
John D <john.donoghue@ieee.org>
parents:
3417
diff
changeset
|
123 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
|
124 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
|
125 fi |
c8e055d83b9f
Set start directory to user home (Bug #41220)
John D <john.donoghue@ieee.org>
parents:
3417
diff
changeset
|
126 |
3383
6dfbea9a9646
Update stable-octave to 3.8.0
John Donoghue <john.donoghue@ieee.org>
parents:
3048
diff
changeset
|
127 if [ "x$(ENABLE_DOCS)" == "xyes" ]; then \ |
6dfbea9a9646
Update stable-octave to 3.8.0
John Donoghue <john.donoghue@ieee.org>
parents:
3048
diff
changeset
|
128 $(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
|
129 fi |
6dfbea9a9646
Update stable-octave to 3.8.0
John Donoghue <john.donoghue@ieee.org>
parents:
3048
diff
changeset
|
130 |
6dfbea9a9646
Update stable-octave to 3.8.0
John Donoghue <john.donoghue@ieee.org>
parents:
3048
diff
changeset
|
131 if [ $(MXE_SYSTEM) != msvc ]; then \ |
6dfbea9a9646
Update stable-octave to 3.8.0
John Donoghue <john.donoghue@ieee.org>
parents:
3048
diff
changeset
|
132 $(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
|
133 fi |
6dfbea9a9646
Update stable-octave to 3.8.0
John Donoghue <john.donoghue@ieee.org>
parents:
3048
diff
changeset
|
134 |
6dfbea9a9646
Update stable-octave to 3.8.0
John Donoghue <john.donoghue@ieee.org>
parents:
3048
diff
changeset
|
135 # 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
|
136 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
|
137 endef |