annotate src/bfd.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
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
2333
f653602a0500 Rebrand to new project name MXE
Volker Grabsch <vog@notjusthosting.com>
parents: 1424
diff changeset
1 # This file is part of MXE.
2353
99516e73b368 Move doc/index.html -> index.html
Volker Grabsch <vog@notjusthosting.com>
parents: 2349
diff changeset
2 # See index.html for further information.
1423
37a4c4febabd new package: bfd
Martin Gerhardy <martin.gerhardy@gmail.com>
parents:
diff changeset
3
1424
212aadc668c6 cleanup package: bfd
Volker Grabsch <vog@notjusthosting.com>
parents: 1423
diff changeset
4 PKG := bfd
3048
5ef49fb3299d treat gcc and binutils as build tools
John W. Eaton <jwe@octave.org>
parents: 3013
diff changeset
5 $(PKG)_IGNORE = $(build-binutils_IGNORE)
5ef49fb3299d treat gcc and binutils as build tools
John W. Eaton <jwe@octave.org>
parents: 3013
diff changeset
6 $(PKG)_CHECKSUM = $(build-binutils_CHECKSUM)
5ef49fb3299d treat gcc and binutils as build tools
John W. Eaton <jwe@octave.org>
parents: 3013
diff changeset
7 $(PKG)_SUBDIR = $(build-binutils_SUBDIR)
5ef49fb3299d treat gcc and binutils as build tools
John W. Eaton <jwe@octave.org>
parents: 3013
diff changeset
8 $(PKG)_FILE = $(build-binutils_FILE)
5ef49fb3299d treat gcc and binutils as build tools
John W. Eaton <jwe@octave.org>
parents: 3013
diff changeset
9 $(PKG)_URL = $(build-binutils_URL)
5ef49fb3299d treat gcc and binutils as build tools
John W. Eaton <jwe@octave.org>
parents: 3013
diff changeset
10 $(PKG)_URL_2 = $(build-binutils_URL2)
5ef49fb3299d treat gcc and binutils as build tools
John W. Eaton <jwe@octave.org>
parents: 3013
diff changeset
11 $(PKG)_DEPS :=
1423
37a4c4febabd new package: bfd
Martin Gerhardy <martin.gerhardy@gmail.com>
parents:
diff changeset
12
37a4c4febabd new package: bfd
Martin Gerhardy <martin.gerhardy@gmail.com>
parents:
diff changeset
13 define $(PKG)_UPDATE
3048
5ef49fb3299d treat gcc and binutils as build tools
John W. Eaton <jwe@octave.org>
parents: 3013
diff changeset
14 echo $(build-binutils_VERSION)
1423
37a4c4febabd new package: bfd
Martin Gerhardy <martin.gerhardy@gmail.com>
parents:
diff changeset
15 endef
37a4c4febabd new package: bfd
Martin Gerhardy <martin.gerhardy@gmail.com>
parents:
diff changeset
16
37a4c4febabd new package: bfd
Martin Gerhardy <martin.gerhardy@gmail.com>
parents:
diff changeset
17 define $(PKG)_BUILD
37a4c4febabd new package: bfd
Martin Gerhardy <martin.gerhardy@gmail.com>
parents:
diff changeset
18 cd '$(1)/bfd' && ./configure \
3013
bcc26ffe9a0f use variable for --host and --build configure arguments
John W. Eaton <jwe@octave.org>
parents: 3012
diff changeset
19 $(HOST_AND_BUILD_CONFIGURE_OPTIONS) \
1423
37a4c4febabd new package: bfd
Martin Gerhardy <martin.gerhardy@gmail.com>
parents:
diff changeset
20 --target='$(TARGET)' \
3012
100e618349f7 Improve handling of prefix directories by defining HOST_PREFIX and
John W. Eaton <jwe@octave.org>
parents: 2855
diff changeset
21 --prefix='$(HOST_PREFIX)' \
1423
37a4c4febabd new package: bfd
Martin Gerhardy <martin.gerhardy@gmail.com>
parents:
diff changeset
22 --enable-install-libbfd \
2855
47558e958113 Allow static/shared libraries to be configured in top-level Makefile.
John W. Eaton <jwe@octave.org>
parents: 2365
diff changeset
23 $(ENABLE_SHARED_OR_STATIC)
1423
37a4c4febabd new package: bfd
Martin Gerhardy <martin.gerhardy@gmail.com>
parents:
diff changeset
24 $(MAKE) -C '$(1)/bfd' -j '$(JOBS)'
37a4c4febabd new package: bfd
Martin Gerhardy <martin.gerhardy@gmail.com>
parents:
diff changeset
25 $(MAKE) -C '$(1)/bfd' -j 1 install
37a4c4febabd new package: bfd
Martin Gerhardy <martin.gerhardy@gmail.com>
parents:
diff changeset
26 endef