NetBSD/gnu/usr.bin/binutils/Makefile
mrg d409bb8e80 framework to build binutils 2.14. note lib{bfd,opcodes,iberty} framework
is moving here, keeping everything together.

tested with: vax (old config), mac68k (old config), i386 (new config)
and shark (new config).  tested i386 binaries only so far, but the
system seems to be surviving the self-hosted test.

XXX: note that this isn't *all* the bits required to run a binutils
2.14 world for arm or i386; these will come soon enough...
2003-11-27 15:02:21 +00:00

18 lines
476 B
Makefile

# $NetBSD: Makefile,v 1.21 2003/11/27 15:02:21 mrg Exp $
.include <bsd.own.mk>
.if ${MKBFD} != "no" && exists(${.CURDIR}/common/arch/${MACHINE_ARCH}/defs.mk)
.include "${.CURDIR}/common/arch/${MACHINE_ARCH}/defs.mk"
. if ${HAVE_BINUTILS214} == "yes"
SUBDIR= libopcodes libbfd libiberty
. endif
SSUBDIR+= common gas gprof ld ${G_PROGRAMS:C/-new$//:C/sysdump//:C/srconv//:cxxfilt=c++filt}
SUBDIR+= ${SSUBDIR:O} # alphabetize
.endif # MKBFD != no
.include <bsd.subdir.mk>