summaryrefslogtreecommitdiff
path: root/gnu/usr.bin/binutils/Makefile
blob: 6fff60e1825bb1fca6d9614b975335f6e93199d8 (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
28
29
30
31
32
33
34
#	$NetBSD: Makefile,v 1.17 2001/12/31 23:04:11 thorpej Exp $

.include <bsd.own.mk>

.if defined(USE_NEW_TOOLCHAIN)

.if ${MKBFD} != "no"
.include "${.CURDIR}/common/arch/${MACHINE_ARCH}/defs.mk"

SUBDIR=		common gas gprof ld ${G_PROGRAMS:C/-new$//:cxxfilt=c++filt}
SUBDIR:=	${SUBDIR:O} # alphabetize
.endif	# MKBFD != no

.else
#
# XXX - BEGIN - Old toolchain build goop - delete when everything migrated - XXX
#
.if (${MACHINE_ARCH} != sparc64)
SUBDIR=		common .WAIT addr2line ar c++filt nm objcopy objdump ranlib \
		size strings strip

.endif

TEXINFO=	binutils.info
INFOFLAGS=	-I${.CURDIR}/../../dist/binutils
.PATH: ${.CURDIR}/../../dist/binutils

.include <bsd.info.mk>
#
# XXX - END - Old toolchain build goop - delete when everything migrated - XXX
#
.endif

.include <bsd.subdir.mk>