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