Stop branding DragonFly binaries with the FreeBSD ABI.
[dragonfly.git] / gnu / usr.bin / binutils215 / libbfd / Makefile.i386
1 # $DragonFly: src/gnu/usr.bin/binutils215/libbfd/Attic/Makefile.i386,v 1.2 2005/06/01 18:07:10 joerg Exp $
2
3 # see main Makefile
4 SRCS+=  cpu-i386.c 
5 SRCS+=  elf32-i386.c elf32-target.h elf32.c elflink.c
6 SRCS+=  elf64-x86-64.c elf64-target.h elf64-gen.c elf64.c
7 VECS+=  bfd_elf32_i386_vec
8 VECS+=  bfd_elf64_x86_64_vec
9 .if ${TARGET_ARCH} == "i386"
10 CFLAGS+= -DDEFAULT_VECTOR=bfd_elf32_i386_vec
11 .endif
12 CFLAGS+= -DHAVE_bfd_elf32_i386_vec
13
14 .if     defined(BINUTILSDISTDIR) && exists(${BINUTILSDISTDIR})
15 SRCS+=  pe-i386.c pei-i386.c
16 VECS+=  i386pe_vec i386pei_vec
17 CFLAGS+= -DHAVE_i386pe_vec -DHAVE_i386pei_vec
18 .endif
19
20 CLEANFILES+=    elf32-target.h
21
22 elf32-target.h: elfxx-target.h
23         sed -e s/NN/32/g ${.ALLSRC} > ${.TARGET}
24
25 CLEANFILES+=    elf64-target.h
26
27 elf64-target.h: elfxx-target.h
28         sed -e s/NN/64/g ${.ALLSRC} > ${.TARGET}