101552010SJohn Birrell# $FreeBSD$ 201552010SJohn Birrell 3*d4dfcdb5SDavid E. O'BrienSRCS+= \ 401552010SJohn Birrell cpu-powerpc.c \ 5*d4dfcdb5SDavid E. O'Brien cpu-rs6000.c \ 6*d4dfcdb5SDavid E. O'Brien elf32.c \ 7*d4dfcdb5SDavid E. O'Brien elf32-gen.c \ 801552010SJohn Birrell elf32-ppc.c \ 901552010SJohn Birrell elf32-target.h \ 1001552010SJohn Birrell elflink.c \ 1101552010SJohn Birrell ppcboot.c \ 12*d4dfcdb5SDavid E. O'Brien #xcofflink.c 1301552010SJohn BirrellVECS+= bfd_elf32_powerpc_vec \ 1401552010SJohn Birrell bfd_elf32_powerpcle_vec \ 1501552010SJohn Birrell ppcboot_vec 16bbd7c7f0SDavid E. O'Brien 17ecc4dcbdSMarcel Moolenaar.if ${TARGET_ARCH} == "powerpc" 1801552010SJohn BirrellCFLAGS+= -DDEFAULT_VECTOR=bfd_elf32_powerpc_vec 1901552010SJohn Birrell.endif 2001552010SJohn BirrellCFLAGS+= -DHAVE_bfd_elf32_powerpc_vec \ 2101552010SJohn Birrell -DHAVE_bfd_elf32_powerpcle_vec \ 2201552010SJohn Birrell -DHAVE_ppcboot_vec 2301552010SJohn BirrellCLEANFILES+= elf32-target.h 2401552010SJohn Birrell 2501552010SJohn Birrellelf32-target.h: elfxx-target.h 2601552010SJohn Birrell sed -e s/NN/32/g ${.ALLSRC} > ${.TARGET} 27