1999-08-27 23:37:10 +00:00
|
|
|
# $FreeBSD$
|
2001-10-14 00:58:59 +00:00
|
|
|
|
|
|
|
SRCS+= cpu-i386.c elf32-i386.c elf32-target.h elf32.c elflink.c
|
|
|
|
VECS+= bfd_elf32_i386_vec
|
1999-12-17 15:50:45 +00:00
|
|
|
.if ${TARGET_ARCH} == "i386"
|
2001-10-14 00:58:59 +00:00
|
|
|
CFLAGS+= -DDEFAULT_VECTOR=bfd_elf32_i386_vec
|
1998-05-04 21:16:46 +00:00
|
|
|
.endif
|
2001-10-14 00:58:59 +00:00
|
|
|
CFLAGS+= -DHAVE_bfd_elf32_i386_vec
|
1999-11-06 21:09:40 +00:00
|
|
|
|
|
|
|
.if defined(BINUTILSDISTDIR) && exists(${BINUTILSDISTDIR})
|
2001-10-14 00:58:59 +00:00
|
|
|
SRCS+= pe-i386.c pei-i386.c
|
|
|
|
VECS+= i386pe_vec i386pei_vec
|
|
|
|
CFLAGS+= -DHAVE_i386pe_vec -DHAVE_i386pei_vec
|
1999-11-06 21:09:40 +00:00
|
|
|
.endif
|
|
|
|
|
1998-03-12 02:55:43 +00:00
|
|
|
CLEANFILES+= elf32-target.h
|
|
|
|
|
1998-05-04 21:16:46 +00:00
|
|
|
elf32-target.h: elfxx-target.h
|
1998-03-12 02:55:43 +00:00
|
|
|
sed -e s/NN/32/g ${.ALLSRC} > ${.TARGET}
|