annotate src/mingw-w64.mk @ 3721:933b99febcf1

Expand options to support 3 possible sources of octave * configure.ac: modify --enable-stable rule to --enable-octave=source (stable,alpha,default) * Makefile.am: modify OCTAVE_TARGET based on octave build value set in configure. * index.html: added master-octave information. * src/default-octave.mk: new file. * src/default-octave-1-docinstall.patch * dist-files.mk: add default-octave-1-docinstall.patch default-octave.mk * binary-dist-rules.mk: use OCTAVE_TARGET to decide on tarball/installer name
author John Donoghue <john.donoghue@ieee.org>
date Sun, 19 Oct 2014 22:58:20 -0400
parents 3c7b3646d0b3
children b90033378759
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
3496
3c7b3646d0b3 update to gcc 4.8.2 and allow building for MinGW-64
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1 # This file is part of MXE.
3c7b3646d0b3 update to gcc 4.8.2 and allow building for MinGW-64
John W. Eaton <jwe@octave.org>
parents:
diff changeset
2 # See index.html for further information.
3c7b3646d0b3 update to gcc 4.8.2 and allow building for MinGW-64
John W. Eaton <jwe@octave.org>
parents:
diff changeset
3
3c7b3646d0b3 update to gcc 4.8.2 and allow building for MinGW-64
John W. Eaton <jwe@octave.org>
parents:
diff changeset
4 PKG := mingw-w64
3c7b3646d0b3 update to gcc 4.8.2 and allow building for MinGW-64
John W. Eaton <jwe@octave.org>
parents:
diff changeset
5 $(PKG)_IGNORE :=
3c7b3646d0b3 update to gcc 4.8.2 and allow building for MinGW-64
John W. Eaton <jwe@octave.org>
parents:
diff changeset
6 $(PKG)_VERSION := 3.1.0
3c7b3646d0b3 update to gcc 4.8.2 and allow building for MinGW-64
John W. Eaton <jwe@octave.org>
parents:
diff changeset
7 $(PKG)_CHECKSUM := c167b1dc114a13c465fe6adcce9dc65c509baf75
3c7b3646d0b3 update to gcc 4.8.2 and allow building for MinGW-64
John W. Eaton <jwe@octave.org>
parents:
diff changeset
8 $(PKG)_SUBDIR := $(PKG)-v$($(PKG)_VERSION)
3c7b3646d0b3 update to gcc 4.8.2 and allow building for MinGW-64
John W. Eaton <jwe@octave.org>
parents:
diff changeset
9 $(PKG)_FILE := $(PKG)-v$($(PKG)_VERSION).tar.bz2
3c7b3646d0b3 update to gcc 4.8.2 and allow building for MinGW-64
John W. Eaton <jwe@octave.org>
parents:
diff changeset
10 $(PKG)_URL := http://$(SOURCEFORGE_MIRROR)/project/$(PKG)/$(PKG)/$(PKG)-release/$($(PKG)_FILE)
3c7b3646d0b3 update to gcc 4.8.2 and allow building for MinGW-64
John W. Eaton <jwe@octave.org>
parents:
diff changeset
11 $(PKG)_DEPS :=
3c7b3646d0b3 update to gcc 4.8.2 and allow building for MinGW-64
John W. Eaton <jwe@octave.org>
parents:
diff changeset
12
3c7b3646d0b3 update to gcc 4.8.2 and allow building for MinGW-64
John W. Eaton <jwe@octave.org>
parents:
diff changeset
13 define $(PKG)_UPDATE
3c7b3646d0b3 update to gcc 4.8.2 and allow building for MinGW-64
John W. Eaton <jwe@octave.org>
parents:
diff changeset
14 $(WGET) -q -O- 'http://sourceforge.net/projects/mingw-w64/files/mingw-w64/mingw-w64-release/' | \
3c7b3646d0b3 update to gcc 4.8.2 and allow building for MinGW-64
John W. Eaton <jwe@octave.org>
parents:
diff changeset
15 $(SED) -n 's,.*mingw-w64-v\([0-9.]*\)\.tar.*,\1,p' | \
3c7b3646d0b3 update to gcc 4.8.2 and allow building for MinGW-64
John W. Eaton <jwe@octave.org>
parents:
diff changeset
16 $(SORT) -V | \
3c7b3646d0b3 update to gcc 4.8.2 and allow building for MinGW-64
John W. Eaton <jwe@octave.org>
parents:
diff changeset
17 tail -1
3c7b3646d0b3 update to gcc 4.8.2 and allow building for MinGW-64
John W. Eaton <jwe@octave.org>
parents:
diff changeset
18 endef
3c7b3646d0b3 update to gcc 4.8.2 and allow building for MinGW-64
John W. Eaton <jwe@octave.org>
parents:
diff changeset
19
3c7b3646d0b3 update to gcc 4.8.2 and allow building for MinGW-64
John W. Eaton <jwe@octave.org>
parents:
diff changeset
20 define $(PKG)_BUILD
3c7b3646d0b3 update to gcc 4.8.2 and allow building for MinGW-64
John W. Eaton <jwe@octave.org>
parents:
diff changeset
21 mkdir '$(1).headers-build'
3c7b3646d0b3 update to gcc 4.8.2 and allow building for MinGW-64
John W. Eaton <jwe@octave.org>
parents:
diff changeset
22 cd '$(1).headers-build' && '$(1)/mingw-w64-headers/configure' \
3c7b3646d0b3 update to gcc 4.8.2 and allow building for MinGW-64
John W. Eaton <jwe@octave.org>
parents:
diff changeset
23 --host='$(TARGET)' \
3c7b3646d0b3 update to gcc 4.8.2 and allow building for MinGW-64
John W. Eaton <jwe@octave.org>
parents:
diff changeset
24 --prefix='$(HOST_PREFIX)' \
3c7b3646d0b3 update to gcc 4.8.2 and allow building for MinGW-64
John W. Eaton <jwe@octave.org>
parents:
diff changeset
25 --enable-sdk=all
3c7b3646d0b3 update to gcc 4.8.2 and allow building for MinGW-64
John W. Eaton <jwe@octave.org>
parents:
diff changeset
26 $(MAKE) -C '$(1).headers-build' install
3c7b3646d0b3 update to gcc 4.8.2 and allow building for MinGW-64
John W. Eaton <jwe@octave.org>
parents:
diff changeset
27 endef