freebsd-nq/gnu/usr.bin/binutils/libbfd/Makefile.powerpc
David E. O'Brien d4dfcdb535 Update to Binutils 2.12.0 and stick to the native emulation for now.
This lets us get on the with the task at hand -- porting FreeBSD.
We can get fancy later on.
2002-05-17 03:43:47 +00:00

27 lines
510 B
Makefile

# $FreeBSD$
SRCS+= \
cpu-powerpc.c \
cpu-rs6000.c \
elf32.c \
elf32-gen.c \
elf32-ppc.c \
elf32-target.h \
elflink.c \
ppcboot.c \
#xcofflink.c
VECS+= bfd_elf32_powerpc_vec \
bfd_elf32_powerpcle_vec \
ppcboot_vec
.if ${TARGET_ARCH} == "powerpc"
CFLAGS+= -DDEFAULT_VECTOR=bfd_elf32_powerpc_vec
.endif
CFLAGS+= -DHAVE_bfd_elf32_powerpc_vec \
-DHAVE_bfd_elf32_powerpcle_vec \
-DHAVE_ppcboot_vec
CLEANFILES+= elf32-target.h
elf32-target.h: elfxx-target.h
sed -e s/NN/32/g ${.ALLSRC} > ${.TARGET}