12e280533SJohn Polstra# 2*9b7a44a6SPeter Wemm# $FreeBSD$ 32e280533SJohn Polstra# 42e280533SJohn Polstra 52e280533SJohn Polstra.include "../Makefile.inc0" 62e280533SJohn Polstra 72e280533SJohn Polstra.PATH: ${SRCDIR}/binutils 82e280533SJohn Polstra 92e280533SJohn PolstraLIB= binutils 10ab5ad3a4SJohn PolstraSRCS+= arlex.l arparse.y arsup.c bucomm.c debug.c filemode.c \ 112e280533SJohn Polstra ieee.c rdcoff.c rddbg.c stabs.c wrstabs.c version.c 120781becdSWarner Losh.if ${MACHINE_ARCH} == "mipseb" 130781becdSWarner LoshCFLAGS+= -DTARGET=\"elf32-bigmips\" 140781becdSWarner Losh.elif ${MACHINE_ARCH} == "mipsel" 150781becdSWarner LoshCFLAGS+= -DTARGET=\"elf32-littlemips\" 160781becdSWarner Losh.else 17d8db061dSJohn BirrellCFLAGS+= -DTARGET=\"${MACHINE_ARCH}-unknown-freebsdelf\" 180781becdSWarner Losh.endif 192e280533SJohn PolstraCFLAGS+= -DVERSION=\"${VERSION}\" 202e280533SJohn PolstraCFLAGS+= -I${SRCDIR}/binutils 212e280533SJohn PolstraCFLAGS+= -I${SRCDIR}/bfd 222e280533SJohn PolstraNOPROFILE= true 232e280533SJohn PolstraNOPIC= true 24f07eaee2SJohn PolstraINTERNALLIB= true 25f07eaee2SJohn PolstraINTERNALSTATICLIB=true 262e280533SJohn Polstra 272e280533SJohn Polstra.include <bsd.lib.mk> 28