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}/binutils
|
|
|
|
|
|
|
|
LIB= binutils
|
1998-03-12 02:55:43 +00:00
|
|
|
SRCS+= arlex.l arparse.y arsup.c bucomm.c debug.c filemode.c \
|
2000-05-22 08:09:42 +00:00
|
|
|
ieee.c rdcoff.c rddbg.c rename.c stabs.c wrstabs.c version.c
|
1999-12-17 15:50:45 +00:00
|
|
|
.if ${TARGET_ARCH} == "mipseb"
|
1999-04-22 07:19:20 +00:00
|
|
|
CFLAGS+= -DTARGET=\"elf32-bigmips\"
|
1999-12-17 15:50:45 +00:00
|
|
|
.elif ${TARGET_ARCH} == "mipsel"
|
1999-04-22 07:19:20 +00:00
|
|
|
CFLAGS+= -DTARGET=\"elf32-littlemips\"
|
|
|
|
.else
|
1999-12-17 15:50:45 +00:00
|
|
|
CFLAGS+= -DTARGET=\"${TARGET_ARCH}-unknown-freebsdelf\"
|
1999-04-22 07:19:20 +00:00
|
|
|
.endif
|
1998-03-01 23:41:17 +00:00
|
|
|
CFLAGS+= -DVERSION=\"${VERSION}\"
|
|
|
|
CFLAGS+= -I${SRCDIR}/binutils
|
|
|
|
CFLAGS+= -I${SRCDIR}/bfd
|
|
|
|
NOPROFILE= true
|
|
|
|
NOPIC= true
|
1998-03-12 05:14:19 +00:00
|
|
|
INTERNALLIB= true
|
|
|
|
INTERNALSTATICLIB=true
|
1998-03-01 23:41:17 +00:00
|
|
|
|
|
|
|
.include <bsd.lib.mk>
|