Makefile.powerpc revision 84914
1# $FreeBSD: head/gnu/usr.bin/binutils/ld/Makefile.powerpc 84914 2001-10-14 02:13:55Z obrien $ 2 3TARGET_TUPLE?= powerpc-unknown-freebsd 4 5.if ${TARGET_ARCH} == "powerpc" 6HOST= ${TARGET_TUPLE} 7CFLAGS+= -DDEFAULT_EMULATION=\"elf_powerpc\" 8CFLAGS+= -DTARGET=\"${TARGET_TUPLE}\" 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 scripttempl/elfppc.sc \ 64 genscripts.sh stringify.sed 65 sh ${.CURDIR}/genscripts.sh ${BINUTILSDISTDIR}/ld \ 66 ${_powerpc_path} ${HOST} ${TARGET_TUPLE} \ 67 ${TARGET_TUPLE} elf32ppc "" elf32ppc 68 69eppcmacos.c: emulparams/ppcmacos.sh emultempl/aix.em scripttempl/aix.sc \ 70 genscripts.sh stringify.sed 71 sh ${.CURDIR}/genscripts.sh ${BINUTILSDISTDIR}/ld \ 72 /usr/cross/powerpc_macos/usr/lib ${HOST} \ 73 ${TARGET_TUPLE}macos \ 74 ${TARGET_TUPLE}macos ppcmacos "" ppcmacos 75 76eppcnw.c: emulparams/ppcnw.sh emultempl/elf32.em scripttempl/nw.sc \ 77 genscripts.sh stringify.sed 78 sh ${.CURDIR}/genscripts.sh ${BINUTILSDISTDIR}/ld \ 79 /usr/cross/powerpc_nw/usr/lib ${HOST} ${TARGET_TUPLE}nw \ 80 ${TARGET_TUPLE}nw ppcnw "" ppcnw 81 82eppcpe.c: emulparams/ppcpe.sh emultempl/pe.em scripttempl/ppcpe.sc \ 83 genscripts.sh stringify.sed 84 sh ${.CURDIR}/genscripts.sh ${BINUTILSDISTDIR}/ld \ 85 /usr/cross/powerpc_pe/usr/lib ${HOST} ${TARGET_TUPLE}pe \ 86 ${TARGET_TUPLE}pe ppcpe "" ppcpe 87 88eaixrs6.c: emulparams/aixrs6.sh emultempl/aix.em scripttempl/aix.sc \ 89 genscripts.sh 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 scripttempl/aix.sc \ 95 genscripts.sh stringify.sed 96 sh ${.CURDIR}/genscripts.sh ${BINUTILSDISTDIR}/ld \ 97 /usr/cross/rs6000-lynx/lib ${HOST} aixcoff-rs6000 \ 98 aixcoff-rs6000 rs6000lynx "" rs6000lynx 99