]> CyberLeo.Net >> Repos - FreeBSD/releng/9.2.git/blob - gnu/usr.bin/binutils/ld/Makefile.powerpc64
- Copy stable/9 to releng/9.2 as part of the 9.2-RELEASE cycle.
[FreeBSD/releng/9.2.git] / gnu / usr.bin / binutils / ld / Makefile.powerpc64
1 # $FreeBSD$
2
3 NATIVE_EMULATION=       elf64ppc
4
5 SRCS+=          e${NATIVE_EMULATION}.c
6 CLEANFILES+=    e${NATIVE_EMULATION}.c
7 e${NATIVE_EMULATION}.c: emulparams/${NATIVE_EMULATION}.sh emultempl/elf32.em \
8     scripttempl/elf.sc genscripts.sh stringify.sed ldemul-list.h
9         sh ${.CURDIR}/genscripts.sh ${SRCDIR}/ld ${LIBSEARCHPATH} \
10             ${TOOLS_PREFIX}/usr \
11             ${HOST} ${TARGET_TUPLE} ${TARGET_TUPLE} \
12             ${NATIVE_EMULATION} ""  no ${NATIVE_EMULATION} ${TARGET_TUPLE}
13
14 PPC32_EMULATION= elf32ppc
15 _ppc32_path=    \"${TOOLS_PREFIX}/usr/lib32\"
16 EMS+=           ${PPC32_EMULATION}
17 .for ext in ${ELF_SCR_EXT}
18 LDSCRIPTS+=     ${PPC32_EMULATION}.${ext}
19 .endfor
20
21 SRCS+=          e${PPC32_EMULATION}.c
22 CLEANFILES+=    e${PPC32_EMULATION}.c
23 e${PPC32_EMULATION}.c: emulparams/${PPC32_EMULATION}.sh emultempl/elf32.em \
24     scripttempl/elf.sc genscripts.sh stringify.sed ldemul-list.h
25         sh ${.CURDIR}/genscripts.sh ${SRCDIR}/ld ${_ppc32_path} \
26             ${TOOLS_PREFIX}/usr \
27             ${HOST} ${TARGET_TUPLE} ${TARGET_TUPLE} \
28             ${PPC32_EMULATION} "" no ${PPC32_EMULATION} ${TARGET_TUPLE}
29