3 .include "../Makefile.inc0"
5 .PATH: ${SRCDIR}/opcodes
8 SRCS+= dis-buf.c dis-init.c disassemble.c i386-opc.c
10 CFLAGS+= -I${SRCDIR}/opcodes -I${SRCDIR}/bfd
13 # If set, BINUTILSDISTDIR is the path to a directory containing the full GNU
14 # binutils release. FreeBSD only distributes the bits that are required to
15 # build native architectures. BINUTILSDISTDIR is needed to build cross tools.
16 .if defined(BINUTILSDISTDIR) && exists(${BINUTILSDISTDIR})
17 .PATH: ${BINUTILSDISTDIR}/bfd ${BINUTILSDISTDIR}/opcodes
18 CFLAGS+= -I${BINUTILSDISTDIR}/opcodes -I${BINUTILSDISTDIR}/bfd
19 CFLAGS+= -I${BINUTILSDISTDIR}/include