Home | History | Annotate | Line # | Download | only in dbsym
Makefile revision 1.8
      1 #	$NetBSD: Makefile,v 1.8 2016/02/01 13:48:01 christos Exp $
      2 
      3 NOMAN=	# defined
      4 
      5 .include <bsd.own.mk>
      6 
      7 HOSTPROGNAME=	${MACHINE_GNU_PLATFORM}-dbsym
      8 
      9 HOST_SRCDIR=    external/gpl3/binutils/usr.sbin/dbsym
     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
     18 
     19 .if !empty(LIBDL)
     20 LDADD+= -ldl
     21 .endif
     22