24 lines
816 B
Makefile
24 lines
816 B
Makefile
# $FreeBSD$
|
|
|
|
NATIVE_EMULATION= elf64_ia64_fbsd
|
|
|
|
SRCS+= e${NATIVE_EMULATION}.c
|
|
CLEANFILES+= e${NATIVE_EMULATION}.c
|
|
e${NATIVE_EMULATION}.c: emulparams/${NATIVE_EMULATION}.sh emultempl/elf32.em \
|
|
scripttempl/elf.sc genscripts.sh stringify.sed
|
|
sh ${.CURDIR}/genscripts.sh ${SRCDIR}/ld ${LIBSERACHPATH} \
|
|
${TOOLS_PREFIX}/usr \
|
|
${HOST} ${TARGET_TUPLE} ${TARGET_TUPLE} \
|
|
${NATIVE_EMULATION} "" no ${NATIVE_EMULATION} ${TARGET_TUPLE}
|
|
|
|
#XXX EMS+= eelf64_ia64
|
|
|
|
SRCS+= eelf64_ia64.c
|
|
CLEANFILES+= eelf64_ia64.c
|
|
eelf64_ia64.c: emulparams/elf64_ia64.sh emultempl/elf32.em \
|
|
scripttempl/elf.sc genscripts.sh stringify.sed
|
|
sh ${.CURDIR}/genscripts.sh ${SRCDIR}/ld ${LIBSERACHPATH} \
|
|
${TOOLS_PREFIX}/usr \
|
|
${HOST} ${TARGET_TUPLE} ${TARGET_TUPLE} \
|
|
elf64_ia64 "" no elf64_ia64 ${TARGET_TUPLE}
|