Initial import from FreeBSD RELENG_4:
[games.git] / gnu / usr.bin / binutils / libopcodes / Makefile
1 # $FreeBSD: src/gnu/usr.bin/binutils/libopcodes/Makefile,v 1.6.2.3 2002/09/01 23:39:17 obrien Exp $
2
3 .include "../Makefile.inc0"
4
5 .PATH: ${SRCDIR}/opcodes
6
7 LIB=    opcodes
8 SRCS+=  dis-buf.c disassemble.c
9 CFLAGS+= -I${SRCDIR}/opcodes -I${SRCDIR}/bfd
10 INTERNALLIB=    true
11
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
19 .endif
20
21 .include <bsd.lib.mk>