]> CyberLeo.Net >> Repos - FreeBSD/releng/8.1.git/blob - gnu/usr.bin/binutils/libbfd/Makefile.amd64
Copy stable/8 to releng/8.1 in preparation for 8.1-RC1.
[FreeBSD/releng/8.1.git] / gnu / usr.bin / binutils / libbfd / Makefile.amd64
1 # $FreeBSD$
2
3 .include "${.CURDIR}/Makefile.i386"
4
5 #       Get the i386 DEFAULT_VECTOR and VECS.
6 I386_VECS:=     ${DEFAULT_VECTOR} # ${VECS}
7
8 DEFAULT_VECTOR= bfd_elf64_x86_64_vec
9
10 SRCS+=  elf64-amd64-fbsd.c \
11         efi-app-ia32.c \
12         elf64.c \
13         elf64-gen.c \
14         elf64-target.h
15
16 VECS=   ${DEFAULT_VECTOR} \
17         bfd_efi_app_ia32_vec \
18         ${I386_VECS}
19
20 CLEANFILES+=    elf64-amd64-fbsd.c
21
22 elf64-amd64-fbsd.c: ${.CURDIR}/elf-fbsd-brand.c ${SRCDIR}/bfd/elf64-x86-64.c
23         cat ${.ALLSRC:M*elf-fbsd-brand.c} > ${.TARGET}
24         echo "#define elf_backend_post_process_headers elf_fbsd_post_process_headers" \
25             >> ${.TARGET}
26         cat ${.ALLSRC:M*elf64-x86-64.c} >> ${.TARGET}