freebsd-dev/gnu/usr.bin/binutils/libbfd/Makefile.i386
2002-12-02 09:59:05 +00:00

18 lines
450 B
Makefile

# $FreeBSD$
DEFAULT_VECTOR= bfd_elf32_i386_freebsd_vec
SRCS+= cpu-i386.c elf32-i386-fbsd.c elf32-target.h elf32.c elflink.c
VECS= ${DEFAULT_VECTOR}
.if ${TARGET_ARCH} == "i386"
CFLAGS+= -DDEFAULT_VECTOR=${DEFAULT_VECTOR}
.if defined(BINUTILSDISTDIR) && exists(${BINUTILSDISTDIR})
SRCS+= pe-i386.c pei-i386.c
VECS+= i386pe_vec i386pei_vec
.endif
CLEANFILES+= elf32-target.h
elf32-target.h: elfxx-target.h
sed -e s/NN/32/g ${.ALLSRC} > ${.TARGET}