annotate src/build-m4.mk @ 3256:7fb479d0241c

Update build tools for native mingw * src/build-m4.mk: do nothing for native mingw build * Makefile.in: - add bison, m4 as natve mingw, and python as jit build requirements. - remove build-bison as a mingw build dependancy * index.html: Add msys-bison to mingw required packages and mention ghostscript and python.
author John Donoghue <john.donoghue@ieee.org>
date Thu, 26 Sep 2013 21:18:39 -0400
parents ce8bf9230005
children 29e227f8bef6
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
3201
ce8bf9230005 build-m4: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1 # This file is part of MXE.
ce8bf9230005 build-m4: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
2 # See index.html for further information.
ce8bf9230005 build-m4: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
3
ce8bf9230005 build-m4: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
4 PKG := build-m4
ce8bf9230005 build-m4: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
5 $(PKG)_IGNORE :=
ce8bf9230005 build-m4: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
6 $(PKG)_CHECKSUM := 44b3ed8931f65cdab02aee66ae1e49724d2551a4
ce8bf9230005 build-m4: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
7 $(PKG)_SUBDIR := m4-$($(PKG)_VERSION)
ce8bf9230005 build-m4: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
8 $(PKG)_FILE := m4-$($(PKG)_VERSION).tar.gz
ce8bf9230005 build-m4: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
9 $(PKG)_URL := ftp://ftp.gnu.org/pub/gnu/m4/$($(PKG)_FILE)
ce8bf9230005 build-m4: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
10 $(PKG)_DEPS :=
ce8bf9230005 build-m4: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
11
ce8bf9230005 build-m4: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
12 define $(PKG)_UPDATE
ce8bf9230005 build-m4: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
13 echo 'Warning: Updates are temporarily disabled for package $(PKG).' >&2;
ce8bf9230005 build-m4: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
14 echo $($(PKG)_VERSION)
ce8bf9230005 build-m4: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
15 endef
ce8bf9230005 build-m4: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
16
3256
7fb479d0241c Update build tools for native mingw
John Donoghue <john.donoghue@ieee.org>
parents: 3201
diff changeset
17 ifeq ($(MXE_NATIVE_MINGW_BUILD),yes)
7fb479d0241c Update build tools for native mingw
John Donoghue <john.donoghue@ieee.org>
parents: 3201
diff changeset
18 define $(PKG)_BUILD
7fb479d0241c Update build tools for native mingw
John Donoghue <john.donoghue@ieee.org>
parents: 3201
diff changeset
19 echo "Ignoring build-m4 for native mingw build"
7fb479d0241c Update build tools for native mingw
John Donoghue <john.donoghue@ieee.org>
parents: 3201
diff changeset
20 endef
7fb479d0241c Update build tools for native mingw
John Donoghue <john.donoghue@ieee.org>
parents: 3201
diff changeset
21 else
3201
ce8bf9230005 build-m4: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
22 define $(PKG)_BUILD
ce8bf9230005 build-m4: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
23 mkdir '$(1).build'
ce8bf9230005 build-m4: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
24 cd '$(1).build' && '$(1)/configure' \
ce8bf9230005 build-m4: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
25 --prefix='$(BUILD_TOOLS_PREFIX)'
ce8bf9230005 build-m4: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
26 $(MAKE) -C '$(1).build' -j '$(JOBS)'
ce8bf9230005 build-m4: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
27 $(MAKE) -C '$(1).build' -j 1 install
ce8bf9230005 build-m4: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
28 endef
3256
7fb479d0241c Update build tools for native mingw
John Donoghue <john.donoghue@ieee.org>
parents: 3201
diff changeset
29 endif