2e734fae4e
for those who want to objdump --disassemble things that they're not supposed to. 8-)
21 lines
501 B
Makefile
21 lines
501 B
Makefile
#
|
|
# $FreeBSD$
|
|
#
|
|
SRCS+= cpu-i386.c elf32-i386.c elf32-target.h elf32.c elflink.c
|
|
VECS+= bfd_elf32_i386_vec
|
|
.if ${MACHINE_ARCH} == "i386"
|
|
CFLAGS+= -DDEFAULT_VECTOR=bfd_elf32_i386_vec
|
|
.endif
|
|
CFLAGS+= -DHAVE_bfd_elf32_i386_vec
|
|
|
|
.if defined(BINUTILSDISTDIR) && exists(${BINUTILSDISTDIR})
|
|
SRCS+= pe-i386.c pei-i386.c
|
|
VECS+= i386pe_vec i386pei_vec
|
|
CFLAGS+= -DHAVE_i386pe_vec -DHAVE_i386pei_vec
|
|
.endif
|
|
|
|
CLEANFILES+= elf32-target.h
|
|
|
|
elf32-target.h: elfxx-target.h
|
|
sed -e s/NN/32/g ${.ALLSRC} > ${.TARGET}
|