opnsense-src/gnu/usr.bin/binutils/libbfd/Makefile.amd64
Franco Fichtner 402e7dde73 src: initial commit based on FreeBSD-10.0
Taken from:	https://github.com/freebsd/freebsd.git
Commit id:	d44ce30d3054a38723f89a161c5e003e64d1aaae
2014-11-09 09:30:14 +01:00

30 lines
533 B
Makefile

# $FreeBSD$
.include "${.CURDIR}/Makefile.i386"
# Get the i386 VECS.
I386_VECS:= ${VECS}
DEFAULT_VECTOR= bfd_elf64_x86_64_freebsd_vec
SRCS+= elf64-x86-64.c \
efi-app-x86_64.c \
efi-app-ia32.c \
elf64.c \
elf64-gen.c \
elf64-target.h \
pepigen.c \
pex64igen.c
VECS= ${DEFAULT_VECTOR} \
bfd_elf64_x86_64_vec \
bfd_efi_app_x86_64_vec \
${I386_VECS}
CLEANFILES+= pepigen.c pex64igen.c
pepigen.c: peXXigen.c
sed -e s/XX/pep/g ${.ALLSRC} > ${.TARGET}
pex64igen.c: peXXigen.c
sed -e s/XX/pex64/g ${.ALLSRC} > ${.TARGET}