d4dfcdb535
This lets us get on the with the task at hand -- porting FreeBSD. We can get fancy later on.
27 lines
510 B
Makefile
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}
|