Mercurial > mxe-octave
annotate src/gcc-gmp.mk @ 3791:26f72c8e2be7
include osmesa in octave deps for all systems
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Sun, 15 Feb 2015 14:36:31 -0500 |
parents | d95b8b84cea7 |
children | c7285e784532 |
rev | line source |
---|---|
2333
f653602a0500
Rebrand to new project name MXE
Volker Grabsch <vog@notjusthosting.com>
parents:
944
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. |
414
d2a6561bcb6d
add a copyright notice and license to each source file
Volker Grabsch <vog@notjusthosting.com>
parents:
408
diff
changeset
|
3 |
306
85ffa9259036
validate downloads using SHA-1 checksums
Volker Grabsch <vog@notjusthosting.com>
parents:
266
diff
changeset
|
4 PKG := gcc-gmp |
944
26c10955389a
remove code duplication between packages gmp and gcc-gmp
Volker Grabsch <vog@notjusthosting.com>
parents:
941
diff
changeset
|
5 $(PKG)_IGNORE = $(gmp_IGNORE) |
3502 | 6 $(PKG)_VERSION := $(gmp_VERSION) |
944
26c10955389a
remove code duplication between packages gmp and gcc-gmp
Volker Grabsch <vog@notjusthosting.com>
parents:
941
diff
changeset
|
7 $(PKG)_CHECKSUM = $(gmp_CHECKSUM) |
26c10955389a
remove code duplication between packages gmp and gcc-gmp
Volker Grabsch <vog@notjusthosting.com>
parents:
941
diff
changeset
|
8 $(PKG)_SUBDIR = $(gmp_SUBDIR) |
26c10955389a
remove code duplication between packages gmp and gcc-gmp
Volker Grabsch <vog@notjusthosting.com>
parents:
941
diff
changeset
|
9 $(PKG)_FILE = $(gmp_FILE) |
26c10955389a
remove code duplication between packages gmp and gcc-gmp
Volker Grabsch <vog@notjusthosting.com>
parents:
941
diff
changeset
|
10 $(PKG)_URL = $(gmp_URL) |
26c10955389a
remove code duplication between packages gmp and gcc-gmp
Volker Grabsch <vog@notjusthosting.com>
parents:
941
diff
changeset
|
11 $(PKG)_URL_2 = $(gmp_URL_2) |
306
85ffa9259036
validate downloads using SHA-1 checksums
Volker Grabsch <vog@notjusthosting.com>
parents:
266
diff
changeset
|
12 $(PKG)_DEPS := |
217
89ba55cd6e29
switch from MinGW GCC to TDM-GCC
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
13 |
89ba55cd6e29
switch from MinGW GCC to TDM-GCC
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
14 define $(PKG)_UPDATE |
3708
d95b8b84cea7
enable additional $(PKG)_UPDATE targets.
John W. Eaton <jwe@octave.org>
parents:
3504
diff
changeset
|
15 echo 'Warning: Updates are temporarily disabled for package $(PKG).' >&2; |
944
26c10955389a
remove code duplication between packages gmp and gcc-gmp
Volker Grabsch <vog@notjusthosting.com>
parents:
941
diff
changeset
|
16 echo $(gmp_VERSION) |
217
89ba55cd6e29
switch from MinGW GCC to TDM-GCC
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
17 endef |
3496
3c7b3646d0b3
update to gcc 4.8.2 and allow building for MinGW-64
John W. Eaton <jwe@octave.org>
parents:
3480
diff
changeset
|
18 |
3c7b3646d0b3
update to gcc 4.8.2 and allow building for MinGW-64
John W. Eaton <jwe@octave.org>
parents:
3480
diff
changeset
|
19 define $(PKG)_BUILD |
3c7b3646d0b3
update to gcc 4.8.2 and allow building for MinGW-64
John W. Eaton <jwe@octave.org>
parents:
3480
diff
changeset
|
20 mkdir '$(1).build' |
3c7b3646d0b3
update to gcc 4.8.2 and allow building for MinGW-64
John W. Eaton <jwe@octave.org>
parents:
3480
diff
changeset
|
21 cd '$(1).build' && '$(1)/configure' \ |
3c7b3646d0b3
update to gcc 4.8.2 and allow building for MinGW-64
John W. Eaton <jwe@octave.org>
parents:
3480
diff
changeset
|
22 --prefix='$(BUILD_TOOLS_PREFIX)' \ |
3504
f8e5b89bb3e3
Make build gcc dependancies static
John Donoghue <john.donoghue@ieee.org>
parents:
3502
diff
changeset
|
23 --disable-shared |
3496
3c7b3646d0b3
update to gcc 4.8.2 and allow building for MinGW-64
John W. Eaton <jwe@octave.org>
parents:
3480
diff
changeset
|
24 $(MAKE) -C '$(1).build' -j '$(JOBS)' |
3c7b3646d0b3
update to gcc 4.8.2 and allow building for MinGW-64
John W. Eaton <jwe@octave.org>
parents:
3480
diff
changeset
|
25 $(MAKE) -C '$(1).build' -j 1 install |
3c7b3646d0b3
update to gcc 4.8.2 and allow building for MinGW-64
John W. Eaton <jwe@octave.org>
parents:
3480
diff
changeset
|
26 endef |