4 SRCS+= cpu-mips.c elf32-mips.c elf32-target.h elf32.c elflink.c
5 SRCS+= coff-mips.c ecoff.c ecofflink.c mips-opc.c mips16-opc.c
6 VECS+= bfd_elf32_littlemips_vec bfd_elf32_bigmips_vec ecoff_little_vec ecoff_big_vec
7 .if ${MACHINE_ARCH} == "mipsel"
8 CFLAGS+= -DDEFAULT_VECTOR=bfd_elf32_littlemips_vec
10 .if ${MACHINE_ARCH} == "mipseb"
11 CFLAGS+= -DDEFAULT_VECTOR=bfd_elf32_bigmips_vec
13 CFLAGS+= -DHAVE_bfd_elf32_littlemips_vec
14 CFLAGS+= -DHAVE_bfd_elf32_bigmips_vec
15 CFLAGS+= -DHAVE_ecoff_little_vec
16 CFLAGS+= -DHAVE_ecoff_big_vec
17 CLEANFILES+= elf32-target.h
19 elf32-target.h: elfxx-target.h
20 sed -e s/NN/32/g ${.ALLSRC} > ${.TARGET}