freebsd-dev/gnu/usr.bin/binutils/ld/Makefile.alpha

29 lines
1.0 KiB
Makefile
Raw Normal View History

1999-08-27 23:37:10 +00:00
# $FreeBSD$
2001-10-14 01:57:19 +00:00
.if ${TARGET_ARCH} == "alpha"
HOST= alpha-unknown-freebsd
CFLAGS+= -DDEFAULT_EMULATION=\"elf64alpha\"
CFLAGS+= -DTARGET=\"alpha-unknown-freebsd\"
_alpha_path= \"/usr/lib\"
.else
_alpha_path= \"/usr/cross/alpha-freebsd/usr/lib\"
1998-05-04 21:29:54 +00:00
.endif
EMS+= ld_elf64alpha_emulation
LDSCRIPTS+= elf64alpha.x elf64alpha.xbn elf64alpha.xn elf64alpha.xr \
elf64alpha.xs elf64alpha.xu alpha.x alpha.xbn \
alpha.xn alpha.xr alpha.xu
2001-10-14 01:57:19 +00:00
SRCS+= eelf64alpha.c ealpha.c
CLEANFILES+= eelf64alpha.c ealpha.c
eelf64alpha.c: emulparams/elf64alpha.sh emultempl/elf32.em \
scripttempl/elf.sc genscripts.sh stringify.sed
sh ${.CURDIR}/genscripts.sh ${SRCDIR}/ld ${_alpha_path} \
${HOST} alpha-unknown-freebsd alpha-unknown-freebsd \
elf64alpha "" elf64alpha alpha-unknown-freebsd
2001-10-14 01:57:19 +00:00
ealpha.c: emulparams/elf64alpha.sh emultempl/elf32.em scripttempl/elf.sc \
genscripts.sh stringify.sed
sh ${.CURDIR}/genscripts.sh ${SRCDIR}/ld ${_alpha_path} \
${HOST} alpha-unknown-freebsd alpha-unknown-freebsd \
1998-05-04 21:29:54 +00:00
elf64alpha "" alpha alpha-unknown-freebsd