1#
| 1#
|
2# $FreeBSD: head/gnu/usr.bin/binutils/ld/Makefile.i386 52957 1999-11-07 06:01:35Z jb $
| 2# $FreeBSD: head/gnu/usr.bin/binutils/ld/Makefile.i386 54748 1999-12-17 15:50:45Z marcel $
|
3# 4
| 3# 4
|
5.if ${MACHINE_ARCH} == "i386"
| 5.if ${TARGET_ARCH} == "i386"
|
6HOST= i386-unknown-freebsdelf 7CFLAGS+= -DDEFAULT_EMULATION=\"elf_i386\" 8CFLAGS+= -DTARGET=\"i386-unknown-freebsdelf\" 9_i386_path= \"/usr/lib\" 10.else 11_i386_path= \"/usr/cross/i386-freebsd/usr/lib\" 12.endif 13EMS+= ld_elf_i386_emulation 14LDSCRIPTS+= elf_i386.x elf_i386.xbn elf_i386.xn elf_i386.xr \ 15 elf_i386.xs elf_i386.xu 16SRCS+= eelf_i386.c 17CLEANFILES+= eelf_i386.c 18 19eelf_i386.c: emulparams/elf_i386.sh emultempl/elf32.em \ 20 scripttempl/elf.sc genscripts.sh emultempl/stringify.sed 21 sh ${.CURDIR}/genscripts.sh ${SRCDIR}/ld ${_i386_path} \ 22 ${HOST} i386-unknown-freebsdelf i386-unknown-freebsdelf \ 23 elf_i386 "" elf_i386 i386-unknown-freebsdelf 24 25.if defined(BINUTILSDISTDIR) && exists(${BINUTILSDISTDIR}) 26EMS+= ld_i386pe_emulation 27LDSCRIPTS+= i386pe.x \ 28 i386pe.xbn \ 29 i386pe.xn \ 30 i386pe.xr \ 31 i386pe.xu 32SRCS+= ei386pe.c 33CLEANFILES+= ei386pe.c 34 35ei386pe.c: emulparams/i386pe.sh emultempl/pe.em \ 36 scripttempl/pe.sc genscripts.sh emultempl/stringify.sed 37 sh ${.CURDIR}/genscripts.sh ${BINUTILSDISTDIR}/ld \ 38 /usr/cross/winnt/lib ${HOST} i386-unknown-freebsdwinnt \ 39 i386-unknown-freebsdwinnt i386pe "" i386pe \ 40 i386-unknown-freebsdwinnt 41.endif
| 6HOST= i386-unknown-freebsdelf 7CFLAGS+= -DDEFAULT_EMULATION=\"elf_i386\" 8CFLAGS+= -DTARGET=\"i386-unknown-freebsdelf\" 9_i386_path= \"/usr/lib\" 10.else 11_i386_path= \"/usr/cross/i386-freebsd/usr/lib\" 12.endif 13EMS+= ld_elf_i386_emulation 14LDSCRIPTS+= elf_i386.x elf_i386.xbn elf_i386.xn elf_i386.xr \ 15 elf_i386.xs elf_i386.xu 16SRCS+= eelf_i386.c 17CLEANFILES+= eelf_i386.c 18 19eelf_i386.c: emulparams/elf_i386.sh emultempl/elf32.em \ 20 scripttempl/elf.sc genscripts.sh emultempl/stringify.sed 21 sh ${.CURDIR}/genscripts.sh ${SRCDIR}/ld ${_i386_path} \ 22 ${HOST} i386-unknown-freebsdelf i386-unknown-freebsdelf \ 23 elf_i386 "" elf_i386 i386-unknown-freebsdelf 24 25.if defined(BINUTILSDISTDIR) && exists(${BINUTILSDISTDIR}) 26EMS+= ld_i386pe_emulation 27LDSCRIPTS+= i386pe.x \ 28 i386pe.xbn \ 29 i386pe.xn \ 30 i386pe.xr \ 31 i386pe.xu 32SRCS+= ei386pe.c 33CLEANFILES+= ei386pe.c 34 35ei386pe.c: emulparams/i386pe.sh emultempl/pe.em \ 36 scripttempl/pe.sc genscripts.sh emultempl/stringify.sed 37 sh ${.CURDIR}/genscripts.sh ${BINUTILSDISTDIR}/ld \ 38 /usr/cross/winnt/lib ${HOST} i386-unknown-freebsdwinnt \ 39 i386-unknown-freebsdwinnt i386pe "" i386pe \ 40 i386-unknown-freebsdwinnt 41.endif
|