Makefile.powerpc64 revision 209867
1209867Snwhitehorn# $FreeBSD: head/gnu/usr.bin/binutils/ld/Makefile.powerpc64 209867 2010-07-10 02:29:22Z nwhitehorn $
2209867Snwhitehorn
3209867SnwhitehornNATIVE_EMULATION=	elf64ppc
4209867Snwhitehorn
5209867SnwhitehornSRCS+=		e${NATIVE_EMULATION}.c
6209867SnwhitehornCLEANFILES+=	e${NATIVE_EMULATION}.c
7209867Snwhitehorne${NATIVE_EMULATION}.c: emulparams/${NATIVE_EMULATION}.sh emultempl/elf32.em \
8209867Snwhitehorn    scripttempl/elf.sc genscripts.sh stringify.sed
9209867Snwhitehorn	sh ${.CURDIR}/genscripts.sh ${SRCDIR}/ld ${LIBSERACHPATH} \
10209867Snwhitehorn	    ${TOOLS_PREFIX}/usr \
11209867Snwhitehorn	    ${HOST} ${TARGET_TUPLE} ${TARGET_TUPLE} \
12209867Snwhitehorn	    ${NATIVE_EMULATION} ""  no ${NATIVE_EMULATION} ${TARGET_TUPLE}
13209867Snwhitehorn
14209867SnwhitehornPPC32_EMULATION= elf32ppc
15209867Snwhitehorn_ppc32_path=	\"${TOOLS_PREFIX}/usr/lib32\"
16209867SnwhitehornEMS+=		${PPC32_EMULATION}
17209867Snwhitehorn.for ext in ${ELF_SCR_EXT}
18209867SnwhitehornLDSCRIPTS+=	${PPC32_EMULATION}.${ext}
19209867Snwhitehorn.endfor
20209867Snwhitehorn
21209867SnwhitehornSRCS+=		e${PPC32_EMULATION}.c
22209867SnwhitehornCLEANFILES+=	e${PPC32_EMULATION}.c
23209867Snwhitehorne${PPC32_EMULATION}.c: emulparams/${PPC32_EMULATION}.sh emultempl/elf32.em \
24209867Snwhitehorn    scripttempl/elf.sc genscripts.sh stringify.sed
25209867Snwhitehorn	sh ${.CURDIR}/genscripts.sh ${SRCDIR}/ld ${_ppc32_path} \
26209867Snwhitehorn	    ${TOOLS_PREFIX}/usr \
27209867Snwhitehorn	    ${HOST} ${TARGET_TUPLE} ${TARGET_TUPLE} \
28209867Snwhitehorn	    ${PPC32_EMULATION} "" no ${PPC32_EMULATION} ${TARGET_TUPLE}
29209867Snwhitehorn
30