summaryrefslogtreecommitdiff
path: root/tools/mdsetimage/Makefile
blob: 19296b23a306709f75972c1e500c83d4f90344b2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#	$NetBSD: Makefile,v 1.8 2009/10/27 14:20:21 tsutsui Exp $

NOMAN=	# defined

.include <bsd.own.mk>

HOSTPROGNAME=	${MACHINE_GNU_PLATFORM}-mdsetimage

.if $(HAVE_BINUTILS) == "219"
HOST_SRCDIR=	external/gpl3/binutils/usr.sbin/mdsetimage
.else
HOST_SRCDIR=	gnu/usr.sbin/mdsetimage
.endif

TOOLCHAINOBJ!=	cd ${.CURDIR}/../binutils && ${PRINTOBJDIR}
BFDDIR=		${TOOLCHAINOBJ}/build/bfd
IBERTYDIR=	${TOOLCHAINOBJ}/build/libiberty

.include "${.CURDIR}/../Makefile.host"