Mercurial > mxe-octave
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 |
rev | line source |
---|---|
3201 | 1 # This file is part of MXE. |
2 # See index.html for further information. | |
3 | |
4 PKG := build-m4 | |
5 $(PKG)_IGNORE := | |
6 $(PKG)_CHECKSUM := 44b3ed8931f65cdab02aee66ae1e49724d2551a4 | |
7 $(PKG)_SUBDIR := m4-$($(PKG)_VERSION) | |
8 $(PKG)_FILE := m4-$($(PKG)_VERSION).tar.gz | |
9 $(PKG)_URL := ftp://ftp.gnu.org/pub/gnu/m4/$($(PKG)_FILE) | |
10 $(PKG)_DEPS := | |
11 | |
12 define $(PKG)_UPDATE | |
13 echo 'Warning: Updates are temporarily disabled for package $(PKG).' >&2; | |
14 echo $($(PKG)_VERSION) | |
15 endef | |
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 | 22 define $(PKG)_BUILD |
23 mkdir '$(1).build' | |
24 cd '$(1).build' && '$(1)/configure' \ | |
25 --prefix='$(BUILD_TOOLS_PREFIX)' | |
26 $(MAKE) -C '$(1).build' -j '$(JOBS)' | |
27 $(MAKE) -C '$(1).build' -j 1 install | |
28 endef | |
3256
7fb479d0241c
Update build tools for native mingw
John Donoghue <john.donoghue@ieee.org>
parents:
3201
diff
changeset
|
29 endif |