Mercurial > mxe-octave
annotate src/libiberty.mk @ 2353:99516e73b368
Move doc/index.html -> index.html
author | Volker Grabsch <vog@notjusthosting.com> |
---|---|
date | Thu, 29 Mar 2012 12:14:15 +0200 |
parents | f48c5b085a38 |
children | b5321bdec505 |
rev | line source |
---|---|
2333
f653602a0500
Rebrand to new project name MXE
Volker Grabsch <vog@notjusthosting.com>
parents:
2292
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. |
2292 | 3 |
4 # libiberty | |
5 PKG := libiberty | |
6 $(PKG)_IGNORE = $(binutils_IGNORE) | |
7 $(PKG)_CHECKSUM = $(binutils_CHECKSUM) | |
8 $(PKG)_SUBDIR = $(binutils_SUBDIR)/libiberty | |
9 $(PKG)_FILE = $(binutils_FILE) | |
10 $(PKG)_URL = $(binutils_URL) | |
11 $(PKG)_URL_2 = $(binutils_URL_2) | |
12 $(PKG)_DEPS := gcc | |
13 | |
14 define $(PKG)_UPDATE | |
15 echo $(binutils_VERSION) | |
16 endef | |
17 | |
18 define $(PKG)_BUILD | |
19 cd '$(1)' && ./configure \ | |
20 --host='$(TARGET)' \ | |
21 --enable-static \ | |
22 --disable-shared \ | |
23 --prefix='$(PREFIX)/$(TARGET)' \ | |
24 --enable-install-libiberty | |
25 $(MAKE) -C '$(1)' -j '$(JOBS)' | |
26 $(MAKE) -C '$(1)' -j 1 install target_header_dir=libiberty | |
27 | |
28 '$(TARGET)-gcc' \ | |
29 -W -Wall -Werror -ansi -pedantic \ | |
30 '$(2).c' -o '$(PREFIX)/$(TARGET)/bin/test-libiberty.exe' \ | |
31 -I$(PREFIX)/$(TARGET)/include/libiberty -liberty | |
32 endef |