2000-04-02 18:36:56 -04:00
|
|
|
# $FreeBSD$
|
2001-10-13 20:58:59 -04:00
|
|
|
|
2002-12-02 04:59:05 -05:00
|
|
|
DEFAULT_VECTOR= bfd_elf64_sparc_vec
|
|
|
|
|
|
2001-10-13 20:58:59 -04:00
|
|
|
SRCS+= aout32.c \
|
|
|
|
|
cpu-sparc.c \
|
|
|
|
|
elf32-sparc.c \
|
|
|
|
|
elf32-target.h \
|
|
|
|
|
elf32.c \
|
|
|
|
|
elf64-sparc.c \
|
|
|
|
|
elf64-target.h \
|
|
|
|
|
elf64.c \
|
|
|
|
|
elflink.c \
|
|
|
|
|
sparcnetbsd.c \
|
|
|
|
|
sunos.c
|
2002-12-02 04:59:05 -05:00
|
|
|
VECS= ${DEFAULT_VECTOR} bfd_elf32_sparc_vec sparcnetbsd_vec sunos_big_vec
|
2001-10-13 20:58:59 -04:00
|
|
|
|
2000-04-02 18:36:56 -04:00
|
|
|
.if ${TARGET_ARCH} == "sparc64"
|
2002-12-02 04:59:05 -05:00
|
|
|
CFLAGS+= -DDEFAULT_VECTOR=${DEFAULT_VECTOR}
|
2000-04-02 18:36:56 -04:00
|
|
|
.endif
|
2002-12-02 04:53:59 -05:00
|
|
|
|
2000-04-16 19:42:25 -04:00
|
|
|
CLEANFILES+= elf32-target.h elf64-target.h
|
2000-04-02 18:36:56 -04:00
|
|
|
elf32-target.h: elfxx-target.h
|
|
|
|
|
sed -e s/NN/32/g ${.ALLSRC} > ${.TARGET}
|
2000-04-16 19:42:25 -04:00
|
|
|
|
|
|
|
|
elf64-target.h: elfxx-target.h
|
|
|
|
|
sed -e s/NN/64/g ${.ALLSRC} > ${.TARGET}
|