19b7a44a6SPeter Wemm# $FreeBSD$ 22e280533SJohn Polstra 32e280533SJohn Polstra.include "../Makefile.inc0" 42e280533SJohn Polstra 52e280533SJohn Polstra.PATH: ${SRCDIR}/binutils 62e280533SJohn Polstra 72e280533SJohn PolstraLIB= binutils 8ab5ad3a4SJohn PolstraSRCS+= arlex.l arparse.y arsup.c bucomm.c debug.c filemode.c \ 91b1d4811SDavid E. O'Brien ieee.c rdcoff.c rddbg.c rename.c stabs.c unwind-ia64.c \ 104f376ae1SDavid E. O'Brien wrstabs.c version.c binemul.c budemang.c emul_vanilla.c 11*7ff8c436SJohan KarlssonWARNS?= 0 12bd3aef3dSPeter Wemm.if ${TARGET_ARCH} == "amd64" 13bd3aef3dSPeter WemmBINUTILS_ARCH=x86_64 14bd3aef3dSPeter Wemm.else 15bd3aef3dSPeter WemmBINUTILS_ARCH=${TARGET_ARCH} 16bd3aef3dSPeter Wemm.endif 17bd3aef3dSPeter WemmCFLAGS+= -DTARGET=\"${BINUTILS_ARCH}-unknown-freebsd\" 18a1a1118aSDavid E. O'BrienCFLAGS+= -DBFD_VERSION_STRING=\"${VERSION}\" 192e280533SJohn PolstraCFLAGS+= -I${SRCDIR}/binutils 202e280533SJohn PolstraCFLAGS+= -I${SRCDIR}/bfd 21f07eaee2SJohn PolstraINTERNALLIB= true 222e280533SJohn Polstra 232e280533SJohn Polstra.include <bsd.lib.mk> 24