Add the DragonFly cvs id and perform general cleanups on cvs/rcs/sccs ids. Most
[dragonfly.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 # $DragonFly: src/gnu/usr.bin/binutils/libopcodes/Attic/Makefile,v 1.2 2003/06/17 04:25:45 dillon Exp $
3
4 .include "../Makefile.inc0"
5
6 .PATH: ${SRCDIR}/opcodes
7
8 LIB=    opcodes
9 SRCS+=  dis-buf.c disassemble.c
10 CFLAGS+= -I${SRCDIR}/opcodes -I${SRCDIR}/bfd
11 INTERNALLIB=    true
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>