3 NATIVE_EMULATION= elf64ppc
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} \
11 ${HOST} ${TARGET_TUPLE} ${TARGET_TUPLE} \
12 ${NATIVE_EMULATION} "" no ${NATIVE_EMULATION} ${TARGET_TUPLE}
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}
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} \
27 ${HOST} ${TARGET_TUPLE} ${TARGET_TUPLE} \
28 ${PPC32_EMULATION} "" no ${PPC32_EMULATION} ${TARGET_TUPLE}