1# 2# $FreeBSD$ 3# 4SRCS+= aout32.c \ 5 cpu-sparc.c \ 6 elf32-sparc.c \ 7 elf32-target.h \ 8 elf32.c \ 9 elf64-sparc.c \ 10 elf64-target.h \ 11 elf64.c \ 12 elflink.c \ 13 sunos.c 14VECS+= bfd_elf64_sparc_vec bfd_elf32_sparc_vec sunos_big_vec 15.if ${TARGET_ARCH} == "sparc64" 16CFLAGS+= -DDEFAULT_VECTOR=bfd_elf64_sparc_vec 17.endif 18CFLAGS+= -DHAVE_bfd_elf64_sparc_vec -DHAVE_bfd_elf32_sparc_vec \ 19 -DHAVE_sunos_big_vec 20CLEANFILES+= elf64-target.h elf32-target.h 21 22elf64-target.h: elfxx-target.h 23 sed -e s/NN/64/g ${.ALLSRC} > ${.TARGET} 24 25elf32-target.h: elfxx-target.h 26 sed -e s/NN/32/g ${.ALLSRC} > ${.TARGET} 27