summaryrefslogtreecommitdiffstats
path: root/gnu/usr.bin/binutils/libbfd/Makefile.amd64
blob: 31e6e3e8bbda92658939b3c1a6f2de49eaacb1e2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# $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}
OpenPOWER on IntegriCloud