freebsd-skq/gnu/usr.bin/binutils/ld/Makefile.alpha
2006-07-22 14:37:17 +00:00

34 lines
1.2 KiB
Makefile

# $FreeBSD$
NATIVE_EMULATION= elf64alpha_fbsd
EMS+= elf64alpha alpha
.for ext in ${ELF_SCR_EXT}
LDSCRIPTS+= elf64alpha.${ext}
.endfor
LDSCRIPTS+= alpha.x alpha.xbn alpha.xn alpha.xr alpha.xu
SRCS+= e${NATIVE_EMULATION}.c eelf64alpha.c ealpha.c
CLEANFILES+= e${NATIVE_EMULATION}.c eelf64alpha.c ealpha.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}
eelf64alpha.c: emulparams/elf64alpha.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 elf64alpha ${TARGET_TUPLE}
ealpha.c: emulparams/alpha.sh emultempl/generic.em scripttempl/alpha.sc \
genscripts.sh stringify.sed
sh ${.CURDIR}/genscripts.sh ${SRCDIR}/ld ${LIBSERACHPATH} \
${TOOLS_PREFIX}/usr \
${HOST} ${TARGET_TUPLE} ${TARGET_TUPLE} \
${NATIVE_EMULATION} "" no alpha ${TARGET_TUPLE}