1 # $DragonFly: src/gnu/usr.bin/binutils217/libopcodes/Makefile,v 1.1 2007/04/13 12:24:32 corecode Exp $
3 .
include "../Makefile.inc0"
5 .PATH
: ${SRCDIR}/opcodes
8 SRCS
+= dis-buf.c disassemble.c dis-init.c
9 CFLAGS
+= -I
${SRCDIR}/opcodes
-I
${SRCDIR}/bfd
-I
${.OBJDIR
}/..
/libbfd
12 # If set, BINUTILSDISTDIR is the path to a directory containing the full GNU
13 # binutils release. FreeBSD only distributes the bits that are required to
14 # build native architectures. BINUTILSDISTDIR is needed to build cross tools.
15 .if defined
(BINUTILSDISTDIR
) && exists
(${BINUTILSDISTDIR})
16 .PATH
: ${BINUTILSDISTDIR}/bfd
${BINUTILSDISTDIR}/opcodes
17 CFLAGS
+= -I
${BINUTILSDISTDIR}/opcodes
-I
${BINUTILSDISTDIR}/bfd
18 CFLAGS
+= -I
${BINUTILSDISTDIR}/include