freebsd-dev/gnu/usr.bin/binutils/libopcodes/Makefile

23 lines
682 B
Makefile
Raw Normal View History

1999-08-27 23:37:10 +00:00
# $FreeBSD$
.include "../Makefile.inc0"
.PATH: ${SRCDIR}/opcodes
2001-10-14 01:31:37 +00:00
LIB= opcodes
SRCS+= dis-buf.c dis-init.c disassemble.c
CFLAGS+= -D_GNU_SOURCE
2001-10-14 01:31:37 +00:00
CFLAGS+= -I${SRCDIR}/opcodes -I${SRCDIR}/bfd
INTERNALLIB=
# 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})
2001-10-14 01:31:37 +00:00
.PATH: ${BINUTILSDISTDIR}/bfd ${BINUTILSDISTDIR}/opcodes
CFLAGS+= -I${BINUTILSDISTDIR}/opcodes -I${BINUTILSDISTDIR}/bfd
CFLAGS+= -I${BINUTILSDISTDIR}/include
.endif
.include <bsd.lib.mk>