summaryrefslogtreecommitdiffstats
path: root/gnu/usr.bin/binutils/libbinutils/Makefile
blob: 660ecd7b4cb56417511094c8261cf97e88597c35 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
#
# $Id: Makefile,v 1.5 1998/06/04 01:09:28 bde Exp $
#

.include "../Makefile.inc0"

.PATH: ${SRCDIR}/binutils

LIB=		binutils
SRCS+=		arlex.l arparse.y arsup.c bucomm.c debug.c filemode.c \
		ieee.c rdcoff.c rddbg.c stabs.c wrstabs.c version.c
.if ${MACHINE_ARCH} == "mipseb"
CFLAGS+=	-DTARGET=\"elf32-bigmips\"
.elif ${MACHINE_ARCH} == "mipsel"
CFLAGS+=	-DTARGET=\"elf32-littlemips\"
.else
CFLAGS+=	-DTARGET=\"${MACHINE_ARCH}-unknown-freebsdelf\"
.endif
CFLAGS+=	-DVERSION=\"${VERSION}\"
CFLAGS+=	-I${SRCDIR}/binutils
CFLAGS+=	-I${SRCDIR}/bfd
NOPROFILE=	true
NOPIC=		true
INTERNALLIB=	true
INTERNALSTATICLIB=true

.include <bsd.lib.mk>
OpenPOWER on IntegriCloud