1998-03-01 23:41:17 +00:00
|
|
|
#
|
1999-04-22 07:19:20 +00:00
|
|
|
# $Id: Makefile,v 1.5 1998/06/04 01:09:28 bde Exp $
|
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 \
|
1998-03-01 23:41:17 +00:00
|
|
|
ieee.c rdcoff.c rddbg.c stabs.c wrstabs.c version.c
|
1999-04-22 07:19:20 +00:00
|
|
|
.if ${MACHINE_ARCH} == "mipseb"
|
|
|
|
CFLAGS+= -DTARGET=\"elf32-bigmips\"
|
|
|
|
.elif ${MACHINE_ARCH} == "mipsel"
|
|
|
|
CFLAGS+= -DTARGET=\"elf32-littlemips\"
|
|
|
|
.else
|
1998-05-04 21:21:17 +00:00
|
|
|
CFLAGS+= -DTARGET=\"${MACHINE_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>
|