Makefile revision 33976
1# 2# $Id$ 3# 4 5.include "../Makefile.inc0" 6 7.PATH: ${SRCDIR}/bfd 8 9LIB= bfd 10SRCS= aout32.c archive.c archures.c bfd.c binary.c \ 11 cache.c coff-i386.c coffgen.c cofflink.c corefile.c \ 12 cpu-i386.c elf.c elf32-i386.c elf32.c elflink.c \ 13 format.c hash.c i386bsd.c i386freebsd.c ihex.c \ 14 init.c libbfd.c linker.c opncls.c reloc.c section.c \ 15 srec.c stab-syms.c stabs.c syms.c targets.c tekhex.c 16CFLAGS+= -DDEFAULT_VECTOR=bfd_elf32_i386_vec 17CFLAGS+= -DSELECT_VECS="&bfd_elf32_i386_vec,&i386freebsd_vec,&i386bsd_vec,&i386coff_vec" 18CFLAGS+= -DSELECT_ARCHITECTURES="&bfd_i386_arch" 19CFLAGS+= -DHAVE_bfd_elf32_i386_vec 20CFLAGS+= -DHAVE_i386freebsd_vec 21CFLAGS+= -DHAVE_i386bsd_vec 22CFLAGS+= -DHAVE_i386coff_vec 23CFLAGS+= -I${SRCDIR}/bfd 24NOPROFILE= true 25NOPIC= true 26CLEANFILES+= elf32-target.h targmatch.h 27 28beforedepend: elf32-target.h targmatch.h 29 30targets.o: targmatch.h 31 32elf32-i386.o: elf32-target.h 33 34elf32-target.h: elfxx-target.h 35 sed -e s/NN/32/g ${.ALLSRC} > ${.TARGET} 36 37targmatch.h: targmatch.sed config.bfd 38 sed -f ${.ALLSRC:M*.sed} ${.ALLSRC:M*.bfd} > ${.TARGET} 39 40install: 41 42.include <bsd.lib.mk> 43