Mercurial > mxe-octave
annotate src/termcap.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 | 5ef49fb3299d |
children | 13be64f9f16d |
rev | line source |
---|---|
2904 | 1 # This file is part of MXE. |
2 # See index.html for further information. | |
3 | |
4 PKG := termcap | |
5 $(PKG)_IGNORE := | |
6 $(PKG)_CHECKSUM := 42dd1e6beee04f336c884f96314f0c96cc2578be | |
7 $(PKG)_SUBDIR := termcap-$($(PKG)_VERSION) | |
8 $(PKG)_FILE := termcap-$($(PKG)_VERSION).tar.gz | |
9 $(PKG)_URL := ftp://ftp.gnu.org/gnu/termcap/$($(PKG)_FILE) | |
3048
5ef49fb3299d
treat gcc and binutils as build tools
John W. Eaton <jwe@octave.org>
parents:
3031
diff
changeset
|
10 $(PKG)_DEPS := |
2904 | 11 |
12 define $(PKG)_UPDATE | |
13 echo 'Warning: Updates are temporarily disabled for package termcap.' >&2; | |
14 echo $(termcap_VERSION) | |
15 endef | |
16 | |
17 define $(PKG)_BUILD | |
18 cd '$(1)' && autoreconf | |
19 cd '$(1)' && ./configure \ | |
2997 | 20 $(CONFIGURE_CPPFLAGS) $(CONFIGURE_LDFLAGS) \ |
3013
bcc26ffe9a0f
use variable for --host and --build configure arguments
John W. Eaton <jwe@octave.org>
parents:
3012
diff
changeset
|
21 $(HOST_AND_BUILD_CONFIGURE_OPTIONS) \ |
3012
100e618349f7
Improve handling of prefix directories by defining HOST_PREFIX and
John W. Eaton <jwe@octave.org>
parents:
2997
diff
changeset
|
22 --prefix='$(HOST_PREFIX)' \ |
3031
951da75fd09c
improve handling of cross tool prefix
John W. Eaton <jwe@octave.org>
parents:
3014
diff
changeset
|
23 AR=$(MXE_AR) |
2904 | 24 |
3031
951da75fd09c
improve handling of cross tool prefix
John W. Eaton <jwe@octave.org>
parents:
3014
diff
changeset
|
25 $(MAKE) AR=$(MXE_AR) -C '$(1)' -j '$(JOBS)' install |
2904 | 26 |
27 if [ "$(BUILD_SHARED)" = yes ]; then \ | |
3031
951da75fd09c
improve handling of cross tool prefix
John W. Eaton <jwe@octave.org>
parents:
3014
diff
changeset
|
28 $(MAKE_SHARED_FROM_STATIC) --ar '$(MXE_AR)' --ld '$(MXE_CC)' '$(HOST_LIBDIR)/libtermcap.a' --install '$(INSTALL)' --libdir '$(HOST_LIBDIR)' --bindir '$(HOST_BINDIR)'; \ |
2904 | 29 fi |
30 endef |