diff options
Diffstat (limited to 'gnu/usr.bin/binutils/libbfd/Makefile.amd64')
-rw-r--r-- | gnu/usr.bin/binutils/libbfd/Makefile.amd64 | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/gnu/usr.bin/binutils/libbfd/Makefile.amd64 b/gnu/usr.bin/binutils/libbfd/Makefile.amd64 index 1e25890..e0374f9 100644 --- a/gnu/usr.bin/binutils/libbfd/Makefile.amd64 +++ b/gnu/usr.bin/binutils/libbfd/Makefile.amd64 @@ -20,14 +20,13 @@ VECS= ${DEFAULT_VECTOR} \ bfd_efi_app_ia32_vec \ ${I386_VECS} -CLEANFILES+= elf64-amd64-fbsd.c pepigen.c peigen.c +CLEANFILES+= elf64-amd64-fbsd.c pepigen.c # peigen.c -elf64-amd64-fbsd.c: ${.CURDIR}/elf-fbsd-brand.c ${SRCDIR}/bfd/elf64-x86-64.c - cat ${.ALLSRC:M*elf-fbsd-brand.c} > ${.TARGET} - echo "#define elf_backend_post_process_headers elf_fbsd_post_process_headers" \ - >> ${.TARGET} - cat ${.ALLSRC:M*elf64-x86-64.c} >> ${.TARGET} +elf64-amd64-fbsd.c: elf-fbsd-brand.c elf64-x86-64.c + cat ${.ALLSRC} > ${.TARGET} pepigen.c: peXXigen.c sed -e s/XX/pep/g ${.ALLSRC} > ${.TARGET} +peigen.c: peXXigen.c + sed -e s/XX/pe/g ${.ALLSRC} > ${.TARGET} |