15 lines
443 B
Makefile
15 lines
443 B
Makefile
# $FreeBSD$
|
|
|
|
SRCS+= cpu-i386.c elf64-x86-64.c elf64-target.h elf64-gen.c elf64.c \
|
|
elf32-i386.c elf32-target.h elf32.c efi-app-ia32.c elf32-gen.c elflink.c
|
|
VECS+= bfd_elf64_x86_64_vec bfd_elf32_i386_vec
|
|
CFLAGS+= -DDEFAULT_VECTOR=bfd_elf64_x86_64_vec
|
|
|
|
CLEANFILES+= elf64-target.h elf32-target.h
|
|
|
|
elf64-target.h: elfxx-target.h
|
|
sed -e s/NN/64/g ${.ALLSRC} > ${.TARGET}
|
|
|
|
elf32-target.h: elfxx-target.h
|
|
sed -e s/NN/32/g ${.ALLSRC} > ${.TARGET}
|