1# $FreeBSD: releng/10.2/gnu/usr.bin/binutils/libopcodes/Makefile 218822 2011-02-18 20:54:12Z dim $ 2 3.include "../Makefile.inc0" 4 5.PATH: ${SRCDIR}/opcodes 6 7LIB= opcodes 8SRCS+= dis-buf.c dis-init.c disassemble.c i386-opc.c 9CFLAGS+= -D_GNU_SOURCE 10CFLAGS+= -I${SRCDIR}/opcodes -I${SRCDIR}/bfd 11INTERNALLIB= 12 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 18CFLAGS+= -I${BINUTILSDISTDIR}/opcodes -I${BINUTILSDISTDIR}/bfd 19CFLAGS+= -I${BINUTILSDISTDIR}/include 20.endif 21 22.include <bsd.lib.mk> 23