1#
| 1#
|
2# $FreeBSD: head/gnu/usr.bin/binutils/ld/Makefile.powerpc 52957 1999-11-07 06:01:35Z jb $
| 2# $FreeBSD: head/gnu/usr.bin/binutils/ld/Makefile.powerpc 54748 1999-12-17 15:50:45Z marcel $
|
3# 4
| 3# 4
|
5.if ${MACHINE_ARCH} == "powerpc"
| 5.if ${TARGET_ARCH} == "powerpc"
|
6HOST= powerpc-unknown-freebsd 7CFLAGS+= -DDEFAULT_EMULATION=\"elf_powerpc\" 8CFLAGS+= -DTARGET=\"powerpc-unknown-freebsd\" 9_powerpc_path= \"/usr/lib\" 10.else 11_powerpc_path= \"/usr/cross/powerpc-freebsd/usr/lib\" 12.endif 13EMS+= ld_elf32ppc_emulation \ 14 ld_ppcmacos_emulation \ 15 ld_ppcnw_emulation \ 16 ld_ppcpe_emulation \ 17 ld_aixrs6_emulation \ 18 ld_rs6000lynx_emulation 19LDSCRIPTS+= elf32ppc.x \ 20 elf32ppc.xbn \ 21 elf32ppc.xn \ 22 elf32ppc.xr \ 23 elf32ppc.xs \ 24 elf32ppc.xu \ 25 ppcmacos.x \ 26 ppcmacos.xbn \ 27 ppcmacos.xn \ 28 ppcmacos.xr \ 29 ppcmacos.xu \ 30 ppcnw.x \ 31 ppcnw.xbn \ 32 ppcnw.xn \ 33 ppcnw.xr \ 34 ppcnw.xu \ 35 ppcpe.x \ 36 ppcpe.xbn \ 37 ppcpe.xn \ 38 ppcpe.xr \ 39 ppcpe.xu \ 40 aixrs6.x \ 41 aixrs6.xbn \ 42 aixrs6.xn \ 43 aixrs6.xr \ 44 aixrs6.xu \ 45 rs6000lynx.x \ 46 rs6000lynx.xbn \ 47 rs6000lynx.xn \ 48 rs6000lynx.xr \ 49 rs6000lynx.xu 50SRCS+= eelf32ppc.c \ 51 eppcmacos.c \ 52 eppcnw.c \ 53 eppcpe.c \ 54 eaixrs6.c \ 55 ers6000lynx.c 56CLEANFILES+= eelf32ppc.c \ 57 eppcmacos.c \ 58 eppcnw.c \ 59 eppcpe.c \ 60 eaixrs6.c \ 61 ers6000lynx.c 62 63eelf32ppc.c: emulparams/elf32ppc.sh emultempl/elf32.em \ 64 scripttempl/elfppc.sc genscripts.sh emultempl/stringify.sed 65 sh ${.CURDIR}/genscripts.sh ${BINUTILSDISTDIR}/ld \ 66 ${_powerpc_path} ${HOST} powerpc-unknown-freebsd \ 67 powerpc-unknown-freebsd elf32ppc "" elf32ppc 68 69eppcmacos.c: emulparams/ppcmacos.sh emultempl/aix.em \ 70 scripttempl/aix.sc genscripts.sh emultempl/stringify.sed 71 sh ${.CURDIR}/genscripts.sh ${BINUTILSDISTDIR}/ld \ 72 /usr/cross/powerpc_macos/usr/lib ${HOST} \ 73 powerpc-unknown-freebsdmacos \ 74 powerpc-unknown-freebsdmacos ppcmacos "" ppcmacos 75 76eppcnw.c: emulparams/ppcnw.sh emultempl/elf32.em \ 77 scripttempl/nw.sc genscripts.sh emultempl/stringify.sed 78 sh ${.CURDIR}/genscripts.sh ${BINUTILSDISTDIR}/ld \ 79 /usr/cross/powerpc_nw/usr/lib ${HOST} powerpc-unknown-freebsdnw \ 80 powerpc-unknown-freebsdnw ppcnw "" ppcnw 81 82eppcpe.c: emulparams/ppcpe.sh emultempl/pe.em \ 83 scripttempl/ppcpe.sc genscripts.sh emultempl/stringify.sed 84 sh ${.CURDIR}/genscripts.sh ${BINUTILSDISTDIR}/ld \ 85 /usr/cross/powerpc_pe/usr/lib ${HOST} powerpc-unknown-freebsdpe \ 86 powerpc-unknown-freebsdpe ppcpe "" ppcpe 87 88eaixrs6.c: emulparams/aixrs6.sh emultempl/aix.em \ 89 scripttempl/aix.sc genscripts.sh emultempl/stringify.sed 90 sh ${.CURDIR}/genscripts.sh ${BINUTILSDISTDIR}/ld \ 91 /usr/cross/rs6000-lynx/lib ${HOST} aixcoff-rs6000 \ 92 aixcoff-rs6000 aixrs6 "" aixrs6 93 94ers6000lynx.c: emulparams/rs6000lynx.sh emultempl/aix.em \ 95 scripttempl/aix.sc genscripts.sh emultempl/stringify.sed 96 sh ${.CURDIR}/genscripts.sh ${BINUTILSDISTDIR}/ld \ 97 /usr/cross/rs6000-lynx/lib ${HOST} aixcoff-rs6000 \ 98 aixcoff-rs6000 rs6000lynx "" rs6000lynx
| 6HOST= powerpc-unknown-freebsd 7CFLAGS+= -DDEFAULT_EMULATION=\"elf_powerpc\" 8CFLAGS+= -DTARGET=\"powerpc-unknown-freebsd\" 9_powerpc_path= \"/usr/lib\" 10.else 11_powerpc_path= \"/usr/cross/powerpc-freebsd/usr/lib\" 12.endif 13EMS+= ld_elf32ppc_emulation \ 14 ld_ppcmacos_emulation \ 15 ld_ppcnw_emulation \ 16 ld_ppcpe_emulation \ 17 ld_aixrs6_emulation \ 18 ld_rs6000lynx_emulation 19LDSCRIPTS+= elf32ppc.x \ 20 elf32ppc.xbn \ 21 elf32ppc.xn \ 22 elf32ppc.xr \ 23 elf32ppc.xs \ 24 elf32ppc.xu \ 25 ppcmacos.x \ 26 ppcmacos.xbn \ 27 ppcmacos.xn \ 28 ppcmacos.xr \ 29 ppcmacos.xu \ 30 ppcnw.x \ 31 ppcnw.xbn \ 32 ppcnw.xn \ 33 ppcnw.xr \ 34 ppcnw.xu \ 35 ppcpe.x \ 36 ppcpe.xbn \ 37 ppcpe.xn \ 38 ppcpe.xr \ 39 ppcpe.xu \ 40 aixrs6.x \ 41 aixrs6.xbn \ 42 aixrs6.xn \ 43 aixrs6.xr \ 44 aixrs6.xu \ 45 rs6000lynx.x \ 46 rs6000lynx.xbn \ 47 rs6000lynx.xn \ 48 rs6000lynx.xr \ 49 rs6000lynx.xu 50SRCS+= eelf32ppc.c \ 51 eppcmacos.c \ 52 eppcnw.c \ 53 eppcpe.c \ 54 eaixrs6.c \ 55 ers6000lynx.c 56CLEANFILES+= eelf32ppc.c \ 57 eppcmacos.c \ 58 eppcnw.c \ 59 eppcpe.c \ 60 eaixrs6.c \ 61 ers6000lynx.c 62 63eelf32ppc.c: emulparams/elf32ppc.sh emultempl/elf32.em \ 64 scripttempl/elfppc.sc genscripts.sh emultempl/stringify.sed 65 sh ${.CURDIR}/genscripts.sh ${BINUTILSDISTDIR}/ld \ 66 ${_powerpc_path} ${HOST} powerpc-unknown-freebsd \ 67 powerpc-unknown-freebsd elf32ppc "" elf32ppc 68 69eppcmacos.c: emulparams/ppcmacos.sh emultempl/aix.em \ 70 scripttempl/aix.sc genscripts.sh emultempl/stringify.sed 71 sh ${.CURDIR}/genscripts.sh ${BINUTILSDISTDIR}/ld \ 72 /usr/cross/powerpc_macos/usr/lib ${HOST} \ 73 powerpc-unknown-freebsdmacos \ 74 powerpc-unknown-freebsdmacos ppcmacos "" ppcmacos 75 76eppcnw.c: emulparams/ppcnw.sh emultempl/elf32.em \ 77 scripttempl/nw.sc genscripts.sh emultempl/stringify.sed 78 sh ${.CURDIR}/genscripts.sh ${BINUTILSDISTDIR}/ld \ 79 /usr/cross/powerpc_nw/usr/lib ${HOST} powerpc-unknown-freebsdnw \ 80 powerpc-unknown-freebsdnw ppcnw "" ppcnw 81 82eppcpe.c: emulparams/ppcpe.sh emultempl/pe.em \ 83 scripttempl/ppcpe.sc genscripts.sh emultempl/stringify.sed 84 sh ${.CURDIR}/genscripts.sh ${BINUTILSDISTDIR}/ld \ 85 /usr/cross/powerpc_pe/usr/lib ${HOST} powerpc-unknown-freebsdpe \ 86 powerpc-unknown-freebsdpe ppcpe "" ppcpe 87 88eaixrs6.c: emulparams/aixrs6.sh emultempl/aix.em \ 89 scripttempl/aix.sc genscripts.sh emultempl/stringify.sed 90 sh ${.CURDIR}/genscripts.sh ${BINUTILSDISTDIR}/ld \ 91 /usr/cross/rs6000-lynx/lib ${HOST} aixcoff-rs6000 \ 92 aixcoff-rs6000 aixrs6 "" aixrs6 93 94ers6000lynx.c: emulparams/rs6000lynx.sh emultempl/aix.em \ 95 scripttempl/aix.sc genscripts.sh emultempl/stringify.sed 96 sh ${.CURDIR}/genscripts.sh ${BINUTILSDISTDIR}/ld \ 97 /usr/cross/rs6000-lynx/lib ${HOST} aixcoff-rs6000 \ 98 aixcoff-rs6000 rs6000lynx "" rs6000lynx
|