freebsd-dev/gnu/usr.bin/binutils/libbfd/Makefile.powerpc

35 lines
730 B
Makefile
Raw Normal View History

# $FreeBSD$
2001-10-14 00:58:59 +00:00
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
.if ${TARGET_ARCH} == "powerpc"
2001-10-14 00:58:59 +00:00
CFLAGS+= -DDEFAULT_VECTOR=bfd_elf32_powerpc_vec
.endif
2001-10-14 00:58:59 +00:00
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}