Home | History | Annotate | Line # | Download | only in dbsym
Makefile revision 1.11
      1  1.11  christos #	$NetBSD: Makefile,v 1.11 2017/01/06 20:27:19 christos Exp $
      2   1.3     lukem 
      3   1.3     lukem NOMAN=	# defined
      4   1.1   thorpej 
      5   1.2        tv .include <bsd.own.mk>
      6   1.1   thorpej 
      7   1.2        tv HOSTPROGNAME=	${MACHINE_GNU_PLATFORM}-dbsym
      8   1.6   tsutsui 
      9   1.6   tsutsui HOST_SRCDIR=    external/gpl3/binutils/usr.sbin/dbsym
     10   1.1   thorpej 
     11   1.4       mrg TOOLCHAINOBJ!=	cd ${.CURDIR}/../binutils && ${PRINTOBJDIR}
     12   1.2        tv BFDDIR=		${TOOLCHAINOBJ}/build/bfd
     13   1.2        tv IBERTYDIR=	${TOOLCHAINOBJ}/build/libiberty
     14   1.1   thorpej 
     15   1.1   thorpej .include "${.CURDIR}/../Makefile.host"
     16   1.8  christos 
     17  1.10  christos LDMAKEFILE=${TOOLCHAINOBJ}/build/ld/Makefile
     18  1.10  christos .if exists(${LDMAKEFILE})
     19  1.11  christos HAVE_LIBDL!=	grep -- -ldl ${LDMAKEFILE} || echo no
     20  1.11  christos .else
     21  1.11  christos HAVE_LIBDL=	no
     22  1.10  christos .endif
     23   1.8  christos 
     24  1.10  christos .if ${HAVE_LIBDL} != "no"
     25  1.10  christos LDADD+=	-ldl
     26   1.8  christos .endif
     27