1# $FreeBSD: head/gnu/usr.bin/binutils/libbfd/Makefile.arm 162243 2006-09-12 07:03:58Z obrien $
2
3.if defined(TARGET_BIG_ENDIAN)
4DEFAULT_VECTOR= bfd_elf32_bigarm_vec
5.else
6DEFAULT_VECTOR= bfd_elf32_littlearm_vec
7.endif
8
9SRCS+= cpu-arm.c \
10 elf32-arm-fbsd.c \
11 elf32.c \
12 elf32-gen.c \
13 elf32-target.h \
14 elflink.c
15
16VECS+= ${DEFAULT_VECTOR}
17.if defined(TARGET_BIG_ENDIAN)
18VECS+= bfd_elf32_littlearm_vec
19.else
20VECS+= bfd_elf32_bigarm_vec
21.end
22
23CLEANFILES+= elf32-arm-fbsd.c
24
25# XXX: We should really add the FreeBSD case in elf32_arm_nabi_grok_prstatus
26# instead of defining our own elf32_fbsd_arm_grok_prstatus.
27#
28elf32-arm-fbsd.c: elfarm-nabi.c
29 cat ${.ALLSRC} | sed \
--- 16 unchanged lines hidden ---
2
3.if defined(TARGET_BIG_ENDIAN)
4DEFAULT_VECTOR= bfd_elf32_bigarm_vec
5.else
6DEFAULT_VECTOR= bfd_elf32_littlearm_vec
7.endif
8
9SRCS+= cpu-arm.c \
10 elf32-arm-fbsd.c \
11 elf32.c \
12 elf32-gen.c \
13 elf32-target.h \
14 elflink.c
15
16VECS+= ${DEFAULT_VECTOR}
17.if defined(TARGET_BIG_ENDIAN)
18VECS+= bfd_elf32_littlearm_vec
19.else
20VECS+= bfd_elf32_bigarm_vec
21.end
22
23CLEANFILES+= elf32-arm-fbsd.c
24
25# XXX: We should really add the FreeBSD case in elf32_arm_nabi_grok_prstatus
26# instead of defining our own elf32_fbsd_arm_grok_prstatus.
27#
28elf32-arm-fbsd.c: elfarm-nabi.c
29 cat ${.ALLSRC} | sed \
--- 16 unchanged lines hidden ---