Makefile.amd64 revision 213274
1210579Sgabor# $FreeBSD: head/gnu/usr.bin/binutils/libbfd/Makefile.amd64 213274 2010-09-29 14:41:03Z rpaulo $ 2210579Sgabor 3210579Sgabor.include "${.CURDIR}/Makefile.i386" 4210579Sgabor 5210579Sgabor# Get the i386 DEFAULT_VECTOR and VECS. 6210579SgaborI386_VECS:= ${DEFAULT_VECTOR} # ${VECS} 7210622Sgabor 8210579SgaborDEFAULT_VECTOR= bfd_elf64_x86_64_vec 9210579Sgabor 10210579SgaborSRCS+= elf64-amd64-fbsd.c \ 11210579Sgabor efi-app-x86_64.c \ 12210622Sgabor efi-app-ia32.c \ 13210622Sgabor elf64.c \ 14 elf64-gen.c \ 15 elf64-target.h \ 16 pepigen.c # peigen.c 17 18VECS= ${DEFAULT_VECTOR} \ 19 bfd_efi_app_x86_64_vec \ 20 bfd_efi_app_ia32_vec \ 21 ${I386_VECS} 22 23CLEANFILES+= elf64-amd64-fbsd.c pepigen.c peigen.c 24 25elf64-amd64-fbsd.c: ${.CURDIR}/elf-fbsd-brand.c ${SRCDIR}/bfd/elf64-x86-64.c 26 cat ${.ALLSRC:M*elf-fbsd-brand.c} > ${.TARGET} 27 echo "#define elf_backend_post_process_headers elf_fbsd_post_process_headers" \ 28 >> ${.TARGET} 29 cat ${.ALLSRC:M*elf64-x86-64.c} >> ${.TARGET} 30 31pepigen.c: peXXigen.c 32 sed -e s/XX/pep/g ${.ALLSRC} > ${.TARGET} 33 34peigen.c: peXXigen.c 35 sed -e s/XX/pe/g ${.ALLSRC} > ${.TARGET} 36