]> CyberLeo.Net >> Repos - FreeBSD/releng/9.2.git/blob - gnu/usr.bin/binutils/libopcodes/Makefile
- Copy stable/9 to releng/9.2 as part of the 9.2-RELEASE cycle.
[FreeBSD/releng/9.2.git] / gnu / usr.bin / binutils / libopcodes / Makefile
1 # $FreeBSD$
2
3 .include "../Makefile.inc0"
4
5 .PATH: ${SRCDIR}/opcodes
6
7 LIB=    opcodes
8 SRCS+=  dis-buf.c dis-init.c disassemble.c i386-opc.c
9 CFLAGS+= -D_GNU_SOURCE
10 CFLAGS+= -I${SRCDIR}/opcodes -I${SRCDIR}/bfd
11 INTERNALLIB=
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
18 CFLAGS+= -I${BINUTILSDISTDIR}/opcodes -I${BINUTILSDISTDIR}/bfd
19 CFLAGS+= -I${BINUTILSDISTDIR}/include
20 .endif
21
22 .include <bsd.lib.mk>