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
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: 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
3c2b40d19505 New package: libiberty
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
3
3c2b40d19505 New package: libiberty
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
4 # libiberty
3c2b40d19505 New package: libiberty
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
5 PKG := libiberty
3c2b40d19505 New package: libiberty
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
6 $(PKG)_IGNORE = $(binutils_IGNORE)
3c2b40d19505 New package: libiberty
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
7 $(PKG)_CHECKSUM = $(binutils_CHECKSUM)
3c2b40d19505 New package: libiberty
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
8 $(PKG)_SUBDIR = $(binutils_SUBDIR)/libiberty
3c2b40d19505 New package: libiberty
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
9 $(PKG)_FILE = $(binutils_FILE)
3c2b40d19505 New package: libiberty
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
10 $(PKG)_URL = $(binutils_URL)
3c2b40d19505 New package: libiberty
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
11 $(PKG)_URL_2 = $(binutils_URL_2)
3c2b40d19505 New package: libiberty
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
12 $(PKG)_DEPS := gcc
3c2b40d19505 New package: libiberty
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
13
3c2b40d19505 New package: libiberty
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
14 define $(PKG)_UPDATE
3c2b40d19505 New package: libiberty
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
15 echo $(binutils_VERSION)
3c2b40d19505 New package: libiberty
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
16 endef
3c2b40d19505 New package: libiberty
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
17
3c2b40d19505 New package: libiberty
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
18 define $(PKG)_BUILD
3c2b40d19505 New package: libiberty
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
19 cd '$(1)' && ./configure \
3c2b40d19505 New package: libiberty
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
20 --host='$(TARGET)' \
3c2b40d19505 New package: libiberty
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
21 --enable-static \
3c2b40d19505 New package: libiberty
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
22 --disable-shared \
3c2b40d19505 New package: libiberty
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
23 --prefix='$(PREFIX)/$(TARGET)' \
3c2b40d19505 New package: libiberty
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
24 --enable-install-libiberty
3c2b40d19505 New package: libiberty
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
25 $(MAKE) -C '$(1)' -j '$(JOBS)'
3c2b40d19505 New package: libiberty
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
26 $(MAKE) -C '$(1)' -j 1 install target_header_dir=libiberty
3c2b40d19505 New package: libiberty
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
27
3c2b40d19505 New package: libiberty
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
28 '$(TARGET)-gcc' \
3c2b40d19505 New package: libiberty
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
29 -W -Wall -Werror -ansi -pedantic \
3c2b40d19505 New package: libiberty
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
30 '$(2).c' -o '$(PREFIX)/$(TARGET)/bin/test-libiberty.exe' \
3c2b40d19505 New package: libiberty
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
31 -I$(PREFIX)/$(TARGET)/include/libiberty -liberty
3c2b40d19505 New package: libiberty
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
32 endef