Home | History | Annotate | Line # | Download | only in mdsetimage
Makefile revision 1.11
      1 #	$NetBSD: Makefile,v 1.11 2016/02/01 14:17:21 christos Exp $
      2 
      3 NOMAN=	# defined
      4 
      5 .include <bsd.own.mk>
      6 
      7 HOSTPROGNAME=	${MACHINE_GNU_PLATFORM}-mdsetimage
      8 
      9 HOST_SRCDIR=	external/gpl3/binutils/usr.sbin/mdsetimage
     10 
     11 TOOLCHAINOBJ!=	cd ${.CURDIR}/../binutils && ${PRINTOBJDIR}
     12 BFDDIR=		${TOOLCHAINOBJ}/build/bfd
     13 IBERTYDIR=	${TOOLCHAINOBJ}/build/libiberty
     14 
     15 .include "${.CURDIR}/../Makefile.host"
     16 
     17 LIBDL!=		grep -- -ldl ${TOOLCHAINOBJ}/build/ld/Makefile || echo no
     18 
     19 .if ${LIBDL} != "no"
     20 LDADD+=	-ldl
     21 .endif
     22