Home | History | Annotate | Line # | Download | only in dbsym
Makefile revision 1.15.14.1
      1  1.15.14.1  perseant #	$NetBSD: Makefile,v 1.15.14.1 2024/07/01 01:01:14 perseant 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.15.14.1  perseant HOST_SRCDIR=    external/gpl3/${EXTERNAL_BINUTILS_SUBDIR}/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.15.14.1  perseant SFRAMEDIR?=	${TOOLCHAINOBJ}/build/libsframe
     12       1.12  christos IBERTYDIR?=	${TOOLCHAINOBJ}/build/libiberty
     13        1.1   thorpej 
     14        1.1   thorpej .include "${.CURDIR}/../Makefile.host"
     15        1.8  christos 
     16       1.10  christos LDMAKEFILE=${TOOLCHAINOBJ}/build/ld/Makefile
     17       1.10  christos .if exists(${LDMAKEFILE})
     18       1.11  christos HAVE_LIBDL!=	grep -- -ldl ${LDMAKEFILE} || echo no
     19       1.11  christos .else
     20       1.11  christos HAVE_LIBDL=	no
     21       1.10  christos .endif
     22        1.8  christos 
     23       1.10  christos .if ${HAVE_LIBDL} != "no"
     24       1.10  christos LDADD+=	-ldl
     25        1.8  christos .endif
     26