1# $FreeBSD: head/gnu/usr.bin/binutils/libbfd/Makefile.arm 160578 2006-07-22 14:37:17Z obrien $
2
3DEFAULT_VECTOR= bfd_elf32_littlearm_vec
4
5SRCS+= \
6 cpu-arm.c \
7 elf32.c \
8 elf32-gen.c \
9 elflink.c \
10 elfarm-nabi.c \
11 elfarm-oabi.c \
12 elf32-arm-fbsd.c \
13 elf32-target.h
14VECS+= ${DEFAULT_VECTOR} \
15 bfd_elf32_bigarm_vec
16
17.if ${TARGET_ARCH} == "arm"
18CFLAGS+= -DDEFAULT_VECTOR=${DEFAULT_VECTOR}
19.endif
20
21CLEANFILES+= elf32-arm-fbsd.c
22
23elf32-arm-fbsd.c: elfarm-nabi.c
24 cat ${.ALLSRC} | sed s/ELFOSABI_ARM/ELFOSABI_FREEBSD/g >${.TARGET}
2
3DEFAULT_VECTOR= bfd_elf32_littlearm_vec
4
5SRCS+= \
6 cpu-arm.c \
7 elf32.c \
8 elf32-gen.c \
9 elflink.c \
10 elfarm-nabi.c \
11 elfarm-oabi.c \
12 elf32-arm-fbsd.c \
13 elf32-target.h
14VECS+= ${DEFAULT_VECTOR} \
15 bfd_elf32_bigarm_vec
16
17.if ${TARGET_ARCH} == "arm"
18CFLAGS+= -DDEFAULT_VECTOR=${DEFAULT_VECTOR}
19.endif
20
21CLEANFILES+= elf32-arm-fbsd.c
22
23elf32-arm-fbsd.c: elfarm-nabi.c
24 cat ${.ALLSRC} | sed s/ELFOSABI_ARM/ELFOSABI_FREEBSD/g >${.TARGET}