1#
2# $FreeBSD: head/gnu/usr.bin/binutils/libbfd/Makefile.i386 52926 1999-11-06 21:09:40Z jb $
3#
4SRCS+= cpu-i386.c elf32-i386.c elf32-target.h elf32.c elflink.c
5VECS+= bfd_elf32_i386_vec
6.if ${MACHINE_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 52926 1999-11-06 21:09:40Z jb $
3#
4SRCS+= cpu-i386.c elf32-i386.c elf32-target.h elf32.c elflink.c
5VECS+= bfd_elf32_i386_vec
6.if ${MACHINE_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}