xref: /freebsd-12.1/gnu/usr.bin/binutils/libbfd/Makefile.amd64 (revision 06a31d6a)
  • Home
  • History
  • Annotate
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# $FreeBSD$
2
3.include "${.CURDIR}/Makefile.i386"
4
5#	Get the i386 DEFAULT_VECTOR and VECS.
6I386_VECS:=	${DEFAULT_VECTOR} ${VECS}
7
8DEFAULT_VECTOR=	bfd_elf64_x86_64_vec
9
10VECS=	bfd_elf64_x86_64_vec ${I386_VECS}
11
12SRCS+=	elf64-amd64-fbsd.c elf64-target.h elf64-gen.c elf64.c
13
14CLEANFILES+=	elf64-target.h
15
16elf64-target.h:	elfxx-target.h
17	sed -e s/NN/64/g ${.ALLSRC} > ${.TARGET}
18
19CLEANFILES+=	elf64-amd64-fbsd.c
20
21elf64-amd64-fbsd.c: ${.CURDIR}/elf-fbsd-brand.c ${SRCDIR}/bfd/elf64-x86-64.c
22	cat ${.ALLSRC:M*elf-fbsd-brand.c} > ${.TARGET}
23	echo "#define elf_backend_post_process_headers elf_fbsd_post_process_headers" \
24	    >> ${.TARGET}
25	cat ${.ALLSRC:M*elf64-x86-64.c} >> ${.TARGET}
26

served by {OpenGrok

Last Index Update: Fri May 15 20:09:11 GMT 2026