1998-03-12 02:55:43 +00:00
|
|
|
#
|
1998-05-04 21:16:46 +00:00
|
|
|
# $Id: Makefile.i386,v 1.3 1998/03/30 02:21:22 jdp Exp $
|
1998-03-12 02:55:43 +00:00
|
|
|
#
|
1998-03-30 02:21:27 +00:00
|
|
|
SRCS+= cpu-i386.c elf32-i386.c elf32.c elflink.c
|
1998-05-04 21:16:46 +00:00
|
|
|
VECS+= bfd_elf32_i386_vec
|
|
|
|
.if ${MACHINE_ARCH} == "i386"
|
1998-03-12 02:55:43 +00:00
|
|
|
CFLAGS+= -DDEFAULT_VECTOR=bfd_elf32_i386_vec
|
1998-05-04 21:16:46 +00:00
|
|
|
.endif
|
1998-03-12 02:55:43 +00:00
|
|
|
CFLAGS+= -DHAVE_bfd_elf32_i386_vec
|
|
|
|
CLEANFILES+= elf32-target.h
|
|
|
|
|
1998-05-04 21:16:46 +00:00
|
|
|
beforedepend: elf32-target.h
|
1998-03-12 02:55:43 +00:00
|
|
|
|
1998-05-04 21:16:46 +00:00
|
|
|
elf32-i386.o: elf32-target.h
|
1998-03-12 02:55:43 +00:00
|
|
|
|
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}
|