1#
2# $FreeBSD: head/gnu/usr.bin/binutils/libbfd/Makefile.i386 54748 1999-12-17 15:50:45Z marcel $
3#
4SRCS+= cpu-i386.c elf32-i386.c elf32-target.h elf32.c elflink.c
5VECS+= bfd_elf32_i386_vec
6.if ${TARGET_ARCH} == "i386"
7CFLAGS+= -DDEFAULT_VECTOR=bfd_elf32_i386_vec
8.endif
9CFLAGS+= -DHAVE_bfd_elf32_i386_vec
10
11.if defined(BINUTILSDISTDIR) && exists(${BINUTILSDISTDIR})
12SRCS+= pe-i386.c pei-i386.c
13VECS+= i386pe_vec i386pei_vec
14CFLAGS+= -DHAVE_i386pe_vec -DHAVE_i386pei_vec
15.endif
16
17CLEANFILES+= elf32-target.h
18
19elf32-target.h: elfxx-target.h
20 sed -e s/NN/32/g ${.ALLSRC} > ${.TARGET}
2# $FreeBSD: head/gnu/usr.bin/binutils/libbfd/Makefile.i386 54748 1999-12-17 15:50:45Z marcel $
3#
4SRCS+= cpu-i386.c elf32-i386.c elf32-target.h elf32.c elflink.c
5VECS+= bfd_elf32_i386_vec
6.if ${TARGET_ARCH} == "i386"
7CFLAGS+= -DDEFAULT_VECTOR=bfd_elf32_i386_vec
8.endif
9CFLAGS+= -DHAVE_bfd_elf32_i386_vec
10
11.if defined(BINUTILSDISTDIR) && exists(${BINUTILSDISTDIR})
12SRCS+= pe-i386.c pei-i386.c
13VECS+= i386pe_vec i386pei_vec
14CFLAGS+= -DHAVE_i386pe_vec -DHAVE_i386pei_vec
15.endif
16
17CLEANFILES+= elf32-target.h
18
19elf32-target.h: elfxx-target.h
20 sed -e s/NN/32/g ${.ALLSRC} > ${.TARGET}