2000-04-02 22:36:56 +00:00
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
2000-04-03 03:48:49 +00:00
|
|
|
SRCS+= aout32.c \
|
|
|
|
cpu-sparc.c \
|
2000-04-02 22:36:56 +00:00
|
|
|
elf32-sparc.c \
|
|
|
|
elf32-target.h \
|
|
|
|
elf32.c \
|
|
|
|
elf64-sparc.c \
|
|
|
|
elf64-target.h \
|
|
|
|
elf64.c \
|
2000-04-03 03:48:49 +00:00
|
|
|
elflink.c \
|
|
|
|
sunos.c
|
|
|
|
VECS+= bfd_elf64_sparc_vec bfd_elf32_sparc_vec sunos_big_vec
|
2000-04-02 22:36:56 +00:00
|
|
|
.if ${TARGET_ARCH} == "sparc64"
|
|
|
|
CFLAGS+= -DDEFAULT_VECTOR=bfd_elf64_sparc_vec
|
|
|
|
.endif
|
2000-04-03 03:48:49 +00:00
|
|
|
CFLAGS+= -DHAVE_bfd_elf64_sparc_vec -DHAVE_bfd_elf32_sparc_vec \
|
|
|
|
-DHAVE_sunos_big_vec
|
2000-04-02 22:36:56 +00:00
|
|
|
CLEANFILES+= elf64-target.h elf32-target.h
|
|
|
|
|
|
|
|
elf64-target.h: elfxx-target.h
|
|
|
|
sed -e s/NN/64/g ${.ALLSRC} > ${.TARGET}
|
|
|
|
|
|
|
|
elf32-target.h: elfxx-target.h
|
|
|
|
sed -e s/NN/32/g ${.ALLSRC} > ${.TARGET}
|