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

22 lines
661 B
Makefile
Raw Normal View History

#
1999-08-27 23:37:10 +00:00
# $FreeBSD$
#
1998-05-04 21:29:54 +00:00
.if ${MACHINE_ARCH} == "i386"
HOST= i386-unknown-freebsdelf
1998-05-04 21:29:54 +00:00
CFLAGS+= -DDEFAULT_EMULATION=\"elf_i386\"
CFLAGS+= -DTARGET=\"i386-unknown-freebsdelf\"
.endif
EMS+= ld_elf_i386_emulation
LDSCRIPTS+= elf_i386.x elf_i386.xbn elf_i386.xn elf_i386.xr \
elf_i386.xs elf_i386.xu
SRCS+= eelf_i386.c
CLEANFILES+= eelf_i386.c
eelf_i386.c: emulparams/elf_i386.sh emultempl/elf32.em \
scripttempl/elf.sc genscripts.sh emultempl/stringify.sed
env LIB_PATH="/usr/lib" \
sh ${SRCDIR}/ld/genscripts.sh ${SRCDIR}/ld ${DESTDIR}/usr/lib \
1998-05-04 21:29:54 +00:00
${HOST} i386-unknown-freebsdelf i386-unknown-freebsdelf \
elf_i386 "" elf_i386 i386-unknown-freebsdelf