1998-03-01 23:41:17 +00:00
|
|
|
#
|
1999-08-27 23:37:10 +00:00
|
|
|
# $FreeBSD$
|
1998-03-01 23:41:17 +00:00
|
|
|
#
|
|
|
|
|
|
|
|
.include "../Makefile.inc0"
|
|
|
|
|
|
|
|
.PATH: ${SRCDIR}/opcodes
|
|
|
|
|
|
|
|
LIB= opcodes
|
1998-03-12 02:55:43 +00:00
|
|
|
SRCS+= dis-buf.c disassemble.c
|
1999-03-01 04:01:57 +00:00
|
|
|
CFLAGS+= -I${SRCDIR}/opcodes -I${SRCDIR}/bfd
|
1998-03-01 23:41:17 +00:00
|
|
|
NOPROFILE= true
|
|
|
|
NOPIC= true
|
1998-03-12 05:14:19 +00:00
|
|
|
INTERNALLIB= true
|
|
|
|
INTERNALSTATICLIB=true
|
1998-03-01 23:41:17 +00:00
|
|
|
|
1999-11-06 21:04:46 +00:00
|
|
|
# If set, BINUTILSDISTDIR is the path to a directory containing the full GNU
|
|
|
|
# binutils release. FreeBSD only distributes the bits that are required to
|
|
|
|
# build native architectures. BINUTILSDISTDIR is needed to build cross tools.
|
|
|
|
.if defined(BINUTILSDISTDIR) && exists(${BINUTILSDISTDIR})
|
|
|
|
.PATH: ${BINUTILSDISTDIR}/bfd ${BINUTILSDISTDIR}/opcodes
|
|
|
|
CFLAGS+= -I${BINUTILSDISTDIR}/opcodes -I${BINUTILSDISTDIR}/bfd
|
|
|
|
CFLAGS+= -I${BINUTILSDISTDIR}/include
|
|
|
|
.endif
|
|
|
|
|
1998-03-01 23:41:17 +00:00
|
|
|
.include <bsd.lib.mk>
|