1999-11-06 21:28:22 +00:00
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
SRCS+= cofflink.c \
|
|
|
|
cpu-powerpc.c \
|
|
|
|
elf32-ppc.c \
|
|
|
|
elf32-target.h \
|
|
|
|
elf32.c \
|
|
|
|
elflink.c \
|
|
|
|
pe-ppc.c \
|
|
|
|
pei-ppc.c \
|
|
|
|
ppcboot.c \
|
|
|
|
xcofflink.c
|
|
|
|
VECS+= bfd_elf32_powerpc_vec \
|
|
|
|
bfd_elf32_powerpcle_vec \
|
|
|
|
bfd_powerpc_pe_vec \
|
|
|
|
bfd_powerpc_pei_vec \
|
|
|
|
bfd_powerpcle_pe_vec \
|
|
|
|
bfd_powerpcle_pei_vec \
|
|
|
|
ppcboot_vec
|
1999-12-17 15:50:45 +00:00
|
|
|
.if ${TARGET_ARCH} == "powerpc"
|
1999-11-06 21:28:22 +00:00
|
|
|
CFLAGS+= -DDEFAULT_VECTOR=bfd_elf32_powerpc_vec
|
|
|
|
.endif
|
|
|
|
CFLAGS+= -DHAVE_bfd_elf32_powerpc_vec \
|
|
|
|
-DHAVE_bfd_elf32_powerpcle_vec \
|
|
|
|
-DHAVE_bfd_powerpc_pe_vec \
|
|
|
|
-DHAVE_bfd_powerpc_pei_vec \
|
|
|
|
-DHAVE_bfd_powerpcle_pe_vec \
|
|
|
|
-DHAVE_bfd_powerpcle_pei_vec \
|
|
|
|
-DHAVE_ppcboot_vec
|
|
|
|
CLEANFILES+= elf32-target.h
|
|
|
|
|
|
|
|
elf32-target.h: elfxx-target.h
|
|
|
|
sed -e s/NN/32/g ${.ALLSRC} > ${.TARGET}
|